diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 394c86f7..00000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -*.ts linguist-detectable=true -*.css linguist-detectable=false diff --git a/.stylelintignore b/.stylelintignore deleted file mode 100644 index b51898f1..00000000 --- a/.stylelintignore +++ /dev/null @@ -1,7 +0,0 @@ -**/*.min.css - -.vscode/ -.idea/ -node_modules/ -dist/ -build/ \ No newline at end of file diff --git a/.stylelintrc.js b/.stylelintrc.js deleted file mode 100644 index af97a96d..00000000 --- a/.stylelintrc.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - extends: [ - 'stylelint-config-standard', - 'stylelint-config-recess-order', - 'stylelint-config-prettier', - ], - rules: { - 'unit-whitelist': ['em', 'rem', '%', 's', 'px', 'deg'], - 'block-no-empty': true, - 'at-rule-no-unknown': null, - }, - overrides: [{ - files: ["**/*.scss"], - customSyntax: "postcss-scss" - }] -} diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index 4427187b..00000000 --- a/jsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "module": "ESNext", - "moduleResolution": "Node", - "target": "ES2020", - "jsx": "react", - "allowImportingTsExtensions": true, - "strictNullChecks": true, - "strictFunctionTypes": true - }, - "exclude": [ - "node_modules", - "**/node_modules/*" - ] -} \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 00000000..c38d6dc3 Binary files /dev/null and b/public/favicon.ico differ diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 17b92ebd..00000000 --- a/sonar-project.properties +++ /dev/null @@ -1,19 +0,0 @@ -sonar.projectKey=Eunomiac_eunos-blades -sonar.organization=eunomiac - -# This is the name and version displayed in the SonarCloud UI. -sonar.projectName=eunos-blades -sonar.projectVersion=0.1 - - -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -sonar.sources=. - -# Encoding of the source code. Default is default system encoding -#sonar.sourceEncoding=UTF-8 - -# Inclusions: SonarCloud & SonarLint will ONLY scan matching files -sonar.inclusions=**/*.ts,**/*.d.ts,**/*.scss,**/*.hbs - -# Exclusions: SonarCloud & SonarLint will not scan matching files: -sonar.exclusions=**/data-import/** \ No newline at end of file diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 00000000..c38d6dc3 Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/index.html b/src/index.html new file mode 100644 index 00000000..3b1fba4b --- /dev/null +++ b/src/index.html @@ -0,0 +1,14 @@ + + + + + + Initial Index (for Vite) + + + + + + \ No newline at end of file diff --git a/src/style.css b/src/style.css new file mode 100644 index 00000000..d4302322 --- /dev/null +++ b/src/style.css @@ -0,0 +1,9 @@ +/* only required in dev + + in prod, foundry loads style.css, as compiled by vite/rollup + in prod, the import lancer.scss line at the top of lancer.ts indicates those rules + should be compiled into style.css + + in dev, foundry loads style.css, this file, which is a no-op + in dev, lancer.ts imports lancer.scss directly + */ \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000..24e8de8d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,54 @@ +{ + "extends": "@tsconfig/node21/tsconfig.json", + "compilerOptions": { + "allowJs": false, + "allowSyntheticDefaultImports": true, + "baseUrl": ".", + "checkJs": false, + "forceConsistentCasingInFileNames": true, + "isolatedModules": true, + "lib": [ + "ESNext", + "DOM" + ], + "module": "ESNext", + "moduleResolution": "node", + "noImplicitAny": true, + "noImplicitOverride": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "paths": { + "*": [ + "*", + "D:/Users/Ryan/Documents/Projects/.CODING/FoundryVTT/FoundryDevData/Data/modules/*", + "D:/LTSC Programs/FoundryVTT/resources/app/*" + ] + }, + "plugins": [ + { + "name": "typescript-eslint-language-service" + } + ], + "rootDir": ".", + "skipLibCheck": true, + "strictNullChecks": true, + "sourceMap": false, + "target": "ES2022", + "traceResolution": false, + "typeRoots": [ + "./node_modules/@types", + "./node_modules/@league-of-foundry-developers", + "./src/ts/@types" + ], + }, + "include": [ + "./src/ts/**/*.ts" ], + "exclude": [ + "dist/**", + "/scripts/**", + "POSTCSSgulpfile.js", + "node_modules/**", + ".dev-refs/**/*.*", + "**/*.js" + ] +}