From 59a75da95b26d88a661d34f11c0e12ddb34bbf43 Mon Sep 17 00:00:00 2001 From: Ryan Tremblay Date: Fri, 15 Mar 2024 11:07:06 -0700 Subject: [PATCH] Enable prettier ESLint plugin/rules and formatters and format on save (#14872) * Enable prettier ESLint plugin/rules Fix format and lint scripts for Mac Make prettier default formatter for more file types in VSCode to match the format script Enable formatOnSave Format a bunch of json files * Revert accidental change to package-lock.json --------- Co-authored-by: Ryan Tremblay --- .eslintrc.js | 5 +- .vscode/settings.json | 25 +- lerna.json | 10 +- nx.json | 76 +++--- package.json | 228 +++++++++--------- packages/dev/buildTools/package.json | 56 ++--- packages/dev/buildTools/tsconfig.build.json | 2 +- packages/dev/buildTools/tsconfig.json | 2 +- packages/dev/core/package.json | 68 +++--- packages/dev/core/tsconfig.build.json | 7 +- packages/dev/core/tsconfig.json | 3 +- packages/dev/core/tsconfig.test.json | 3 +- packages/dev/gui/tsconfig.build.json | 7 +- packages/dev/gui/tsconfig.nocomposite.json | 5 +- packages/dev/inspector/package.json | 88 +++---- packages/dev/inspector/tsconfig.build.json | 5 +- packages/dev/inspector/tsconfig.json | 2 +- .../dev/inspector/tsconfig.nocomposite.json | 5 +- packages/dev/loaders/tsconfig.json | 2 +- .../dev/loaders/tsconfig.nocomposite.json | 5 +- packages/dev/materials/package.json | 58 +++-- packages/dev/materials/tsconfig.build.json | 5 +- .../dev/materials/tsconfig.nocomposite.json | 5 +- packages/dev/postProcesses/package.json | 59 +++-- .../postProcesses/tsconfig.nocomposite.json | 5 +- packages/dev/proceduralTextures/package.json | 59 +++-- .../tsconfig.nocomposite.json | 5 +- packages/dev/serializers/package.json | 49 ++-- .../dev/serializers/tsconfig.nocomposite.json | 5 +- packages/dev/sharedUiComponents/package.json | 115 +++++---- packages/dev/sharedUiComponents/tsconfig.json | 2 +- .../tsconfig.nocomposite.json | 5 +- tsconfig.devpackages.json | 1 - tsconfig.json | 12 +- tsconfig.test.json | 3 +- tsdoc.json | 2 +- 36 files changed, 479 insertions(+), 515 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 607b4e2275c..69c4113ffd5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -176,7 +176,7 @@ const rules = { }, plugins: [ // "react" - // "prettier", // add this if we want to use prettier error reporting + "prettier", "jest", // "@typescript-eslint" "babylonjs", @@ -190,7 +190,7 @@ const rules = { "plugin:import/typescript", "plugin:jest/recommended", // "plugin:jsdoc/recommended", - "prettier", + "plugin:prettier/recommended", ], settings: { react: { @@ -263,7 +263,6 @@ const rules = { "no-fallthrough": "warn", "no-async-promise-executor": "warn", "no-throw-literal": "error", - // "prettier/prettier": "error" // add this if we want to use prettier error reporting. }, }; diff --git a/.vscode/settings.json b/.vscode/settings.json index 0408b36ec44..1c3e0c3a85d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,5 @@ { - "cSpell.words": [ - "babylonjs" - ], + "cSpell.words": ["babylonjs"], "files.exclude": { "**/node_modules": true, "**/dist": false, @@ -12,9 +10,28 @@ "**/packages/dev/**/ShadersWGSL/**/*.ts": true, "**/*.fragment.ts": true, "**/*.vertex.ts": true, - "**/*.compute.ts": true, + "**/*.compute.ts": true + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "[typescriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[scss]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[css]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "editor.formatOnSave": true } diff --git a/lerna.json b/lerna.json index a1c50c2111f..d4c0ac1a5c0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ -{ - "packages": ["packages/**/*"], - "version": "independent", - "allowBranch": ["master", "preview"] -} +{ + "packages": ["packages/**/*"], + "version": "independent", + "allowBranch": ["master", "preview"] +} diff --git a/nx.json b/nx.json index dbb2985aebc..d282dfa0733 100644 --- a/nx.json +++ b/nx.json @@ -1,41 +1,35 @@ -{ - "extends": "@nrwl/workspace/presets/npm.json", - "npmScope": "babylonjs", - "tasksRunnerOptions": { - "default": { - "runner": "nx/tasks-runners/default", - "options": { - "cacheableOperations": [ - "build", - "test", - "lint", - "package", - "prepare" - ] - } - } - }, - "targetDependencies": { - "build": [ - { - "target": "build", - "projects": "dependencies" - } - ], - "prepare": [ - { - "target": "prepare", - "projects": "dependencies" - } - ], - "package": [ - { - "target": "package", - "projects": "dependencies" - } - ] - }, - "affected": { - "defaultBase": "main" - } -} \ No newline at end of file +{ + "extends": "@nrwl/workspace/presets/npm.json", + "npmScope": "babylonjs", + "tasksRunnerOptions": { + "default": { + "runner": "nx/tasks-runners/default", + "options": { + "cacheableOperations": ["build", "test", "lint", "package", "prepare"] + } + } + }, + "targetDependencies": { + "build": [ + { + "target": "build", + "projects": "dependencies" + } + ], + "prepare": [ + { + "target": "prepare", + "projects": "dependencies" + } + ], + "package": [ + { + "target": "package", + "projects": "dependencies" + } + ] + }, + "affected": { + "defaultBase": "main" + } +} diff --git a/package.json b/package.json index b934209a71f..58319416baf 100644 --- a/package.json +++ b/package.json @@ -1,114 +1,114 @@ -{ - "name": "@babylonjs/root", - "version": "1.0.0", - "private": true, - "repository": { - "type": "git", - "url": "https://github.com/BabylonJS/bjs-monorepo" - }, - "devDependencies": { - "@alex_neo/jest-expect-message": "~1.0.5", - "@dev/build-tools": "^1.0.0", - "@nrwl/tao": "^18.0.4", - "@nrwl/workspace": "^18.0.4", - "@playwright/test": "^1.37.1", - "@types/expect-puppeteer": "~5.0.3", - "@types/fs-extra": "^9.0.13", - "@types/jest": "~27.4.0", - "@types/jest-environment-puppeteer": "~5.0.0", - "@types/jest-expect-message": "~1.0.3", - "@types/puppeteer": "~5.4.4", - "@types/selenium-webdriver": "^4.1.2", - "@typescript-eslint/eslint-plugin": "~6.9.0", - "@typescript-eslint/parser": "~6.9.0", - "ajv": "~8.12.0", - "chokidar": "~3.5.2", - "concurrently": "~8.0.1", - "dotenv": "~16.0.0", - "es-check": "^7.1.1", - "eslint": "^8.11.0", - "eslint-config-prettier": "~9.0.0", - "eslint-formatter-azure-devops": "^1.2.0", - "eslint-plugin-import": "~2.26.0", - "eslint-plugin-jest": "~27.4.3", - "eslint-plugin-jsdoc": "~46.2.6", - "eslint-plugin-prettier": "~5.0.0", - "eslint-plugin-tsdoc": "~0.2.14", - "fs-extra": "^10.0.1", - "jest": "^29.7.0", - "jest-environment-jsdom": "^29.5.0", - "jest-junit": "~13.2.0", - "mini-css-extract-plugin": "~2.6.0", - "nx": "^18.0.4", - "prettier": "^3.0.3", - "rimraf": "~3.0.2", - "selenium-webdriver": "^4.3.1", - "ts-jest": "~29.1.0", - "ts-node": "~10.9.0", - "ts-patch": "3.0.2", - "tslib": "^2.4.0", - "typedoc": "^0.25.7", - "typescript": "~5.1.0", - "webpack": "^5.73.0", - "webpack-cli": "^5.1.0" - }, - "optionalDependencies": { - "canvas": "~2.11.0" - }, - "workspaces": [ - "packages/**/*" - ], - "scripts": { - "build:dev": "npm run build:assets && npm run build:source && npm run build:declaration -w @tools/babylon-server", - "build:lts": "npm run build:assets && npm run build:source:lts", - "build:source": "tsc -b ./tsconfig.devpackages.json", - "build:source:lts": "npx nx run-many --target=compile --projects=@lts/core,@lts/gui,@lts/loaders,@lts/materials,@lts/post-processes,@lts/procedural-textures,@lts/serializers --parallel=1", - "build:umd": "nx run-many --target=build --parallel --maxParallel=6 --projects=babylonjs,babylonjs-gui,babylonjs-inspector,babylonjs-loaders,babylonjs-materials,babylonjs-serializers,babylonjs-post-process,babylonjs-procedural-textures,babylonjs-node-editor,babylonjs-node-geometry-editor,babylonjs-gui-editor,babylonjs-ktx2decoder,babylonjs-viewer-assets,babylonjs-viewer,babylonjs-accessibility", - "build:es6": "nx run-many --target=build --parallel --maxParallel=6 --projects=@babylonjs/core,@babylonjs/gui,@babylonjs/loaders,@babylonjs/materials,@babylonjs/serializers,@babylonjs/post-processes,@babylonjs/procedural-textures,@babylonjs/node-editor,@babylonjs/node-geometry-editor,@babylonjs/inspector,@babylonjs/gui-editor,@babylonjs/viewer,@babylonjs/shared-ui-components,@babylonjs/accessibility,@babylonjs/ktx2decoder", - "watch:shaders": "build-tools -c build-shaders --global --watch", - "watch:assets": "build-tools -c pa --global --watch", - "watch:source:dev": "tsc -b ./tsconfig.devpackages.json -w", - "watch:source:lts": "npx nx run-many --target=watch:lts --all --parallel --maxParallel=20", - "build:assets": "build-tools -c pa --global", - "build:shaders": "build-tools -c build-shaders --global", - "watch:dev": "npx build-tools -c dw -wa -wd", - "watch:dev:skip-compile": "npx build-tools -c dw -wa -wd -sc", - "watch-dev-test": "concurrently --kill-others -m 2 -n typescript,declarations,server,shaders \"tsc -b ./tsconfig.devpackages.json --watch\" \"npm run watch:declaration -w @tools/babylon-server\" \"npm run watch-shaders\"", - "watch-and-serve:dev": "concurrently \"npm run watch-dev-test\" \"npm run serve -w @tools/babylon-server\"", - "watch-lts": "npx nx run-many --target=watch:lts --all --parallel --maxParallel=20", - "build:babylonjs": "nx build babylonjs", - "build:tools": "npm run build -w @dev/build-tools && npm run build -w eslint-plugin-babylonjs", - "build:test-tools": "npm run build -w @tools/test-tools", - "test": "jest --runInBand", - "test:unit": "jest --selectProjects=unit", - "test:visualization": "jest --selectProjects=visualization --runInBand", - "test:integration": "jest --selectProjects=integration --runInBand && npm run test -w @tools/memory-leak-tests", - "test:performance": "jest --selectProjects=performance --runInBand", - "test:interactions": "jest --selectProjects=interactions --runInBand", - "test:escheck": "nx run-many --target=test:escheck --parallel --maxParallel=6", - "test:docs": "node ./scripts/typedoc-generator.js", - "prepare": "ts-patch install -s && npm run build:tools && npm i @dev/build-tools -D && npm run build:assets && npm run build:test-tools", - "clean": "npx nx run-many --target=clean --all && npm run build:tools", - "format": "npm run format:check && npm run format:fix", - "format:check": "prettier --check ./packages/**/src/**/*.{ts,tsx,js,json,scss,css}", - "format:fix": "prettier --write ./packages/**/src/**/*.{ts,tsx,js,json,scss,css}", - "lint": "npm run lint:check && npm run lint:fix", - "lint:check": "eslint ./packages/**/src/**/*.{ts,tsx,js,json} --quiet", - "lint:check-ci": "eslint -f node_modules/eslint-formatter-azure-devops/index.js ./packages/**/src/**/*.{ts,tsx,js,json} --quiet", - "update-all-dependencies": "npm update -ws", - "prepare-snapshot": "npm run build:snapshot -w @tools/babylon-server && build-tools -c ps", - "start": "concurrently --kill-others -m 2 -n dev-watch,cdn-server \"npm run watch:dev:skip-compile\" \"npm run serve -w @tools/babylon-server\"" - }, - "engines": { - "node": ">=14.0.0 <21.0.0", - "npm": ">=8.0.0" - }, - "changelog": { - "nextVersion": "Unreleased", - "ignoreCommitters": [], - "feature": "New Feature" - }, - "dependencies": { - "lerna": "^7.4.2" - } -} +{ + "name": "@babylonjs/root", + "version": "1.0.0", + "private": true, + "repository": { + "type": "git", + "url": "https://github.com/BabylonJS/bjs-monorepo" + }, + "devDependencies": { + "@alex_neo/jest-expect-message": "~1.0.5", + "@dev/build-tools": "^1.0.0", + "@nrwl/tao": "^18.0.4", + "@nrwl/workspace": "^18.0.4", + "@playwright/test": "^1.37.1", + "@types/expect-puppeteer": "~5.0.3", + "@types/fs-extra": "^9.0.13", + "@types/jest": "~27.4.0", + "@types/jest-environment-puppeteer": "~5.0.0", + "@types/jest-expect-message": "~1.0.3", + "@types/puppeteer": "~5.4.4", + "@types/selenium-webdriver": "^4.1.2", + "@typescript-eslint/eslint-plugin": "~6.9.0", + "@typescript-eslint/parser": "~6.9.0", + "ajv": "~8.12.0", + "chokidar": "~3.5.2", + "concurrently": "~8.0.1", + "dotenv": "~16.0.0", + "es-check": "^7.1.1", + "eslint": "^8.11.0", + "eslint-config-prettier": "~9.0.0", + "eslint-formatter-azure-devops": "^1.2.0", + "eslint-plugin-import": "~2.26.0", + "eslint-plugin-jest": "~27.4.3", + "eslint-plugin-jsdoc": "~46.2.6", + "eslint-plugin-prettier": "~5.0.0", + "eslint-plugin-tsdoc": "~0.2.14", + "fs-extra": "^10.0.1", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.5.0", + "jest-junit": "~13.2.0", + "mini-css-extract-plugin": "~2.6.0", + "nx": "^18.0.4", + "prettier": "^3.0.3", + "rimraf": "~3.0.2", + "selenium-webdriver": "^4.3.1", + "ts-jest": "~29.1.0", + "ts-node": "~10.9.0", + "ts-patch": "3.0.2", + "tslib": "^2.4.0", + "typedoc": "^0.25.7", + "typescript": "~5.1.0", + "webpack": "^5.73.0", + "webpack-cli": "^5.1.0" + }, + "optionalDependencies": { + "canvas": "~2.11.0" + }, + "workspaces": [ + "packages/**/*" + ], + "scripts": { + "build:dev": "npm run build:assets && npm run build:source && npm run build:declaration -w @tools/babylon-server", + "build:lts": "npm run build:assets && npm run build:source:lts", + "build:source": "tsc -b ./tsconfig.devpackages.json", + "build:source:lts": "npx nx run-many --target=compile --projects=@lts/core,@lts/gui,@lts/loaders,@lts/materials,@lts/post-processes,@lts/procedural-textures,@lts/serializers --parallel=1", + "build:umd": "nx run-many --target=build --parallel --maxParallel=6 --projects=babylonjs,babylonjs-gui,babylonjs-inspector,babylonjs-loaders,babylonjs-materials,babylonjs-serializers,babylonjs-post-process,babylonjs-procedural-textures,babylonjs-node-editor,babylonjs-node-geometry-editor,babylonjs-gui-editor,babylonjs-ktx2decoder,babylonjs-viewer-assets,babylonjs-viewer,babylonjs-accessibility", + "build:es6": "nx run-many --target=build --parallel --maxParallel=6 --projects=@babylonjs/core,@babylonjs/gui,@babylonjs/loaders,@babylonjs/materials,@babylonjs/serializers,@babylonjs/post-processes,@babylonjs/procedural-textures,@babylonjs/node-editor,@babylonjs/node-geometry-editor,@babylonjs/inspector,@babylonjs/gui-editor,@babylonjs/viewer,@babylonjs/shared-ui-components,@babylonjs/accessibility,@babylonjs/ktx2decoder", + "watch:shaders": "build-tools -c build-shaders --global --watch", + "watch:assets": "build-tools -c pa --global --watch", + "watch:source:dev": "tsc -b ./tsconfig.devpackages.json -w", + "watch:source:lts": "npx nx run-many --target=watch:lts --all --parallel --maxParallel=20", + "build:assets": "build-tools -c pa --global", + "build:shaders": "build-tools -c build-shaders --global", + "watch:dev": "npx build-tools -c dw -wa -wd", + "watch:dev:skip-compile": "npx build-tools -c dw -wa -wd -sc", + "watch-dev-test": "concurrently --kill-others -m 2 -n typescript,declarations,server,shaders \"tsc -b ./tsconfig.devpackages.json --watch\" \"npm run watch:declaration -w @tools/babylon-server\" \"npm run watch-shaders\"", + "watch-and-serve:dev": "concurrently \"npm run watch-dev-test\" \"npm run serve -w @tools/babylon-server\"", + "watch-lts": "npx nx run-many --target=watch:lts --all --parallel --maxParallel=20", + "build:babylonjs": "nx build babylonjs", + "build:tools": "npm run build -w @dev/build-tools && npm run build -w eslint-plugin-babylonjs", + "build:test-tools": "npm run build -w @tools/test-tools", + "test": "jest --runInBand", + "test:unit": "jest --selectProjects=unit", + "test:visualization": "jest --selectProjects=visualization --runInBand", + "test:integration": "jest --selectProjects=integration --runInBand && npm run test -w @tools/memory-leak-tests", + "test:performance": "jest --selectProjects=performance --runInBand", + "test:interactions": "jest --selectProjects=interactions --runInBand", + "test:escheck": "nx run-many --target=test:escheck --parallel --maxParallel=6", + "test:docs": "node ./scripts/typedoc-generator.js", + "prepare": "ts-patch install -s && npm run build:tools && npm i @dev/build-tools -D && npm run build:assets && npm run build:test-tools", + "clean": "npx nx run-many --target=clean --all && npm run build:tools", + "format": "npm run format:check && npm run format:fix", + "format:check": "prettier --check \"packages/**/src/**/*.{ts,tsx,js,json,scss,css}\"", + "format:fix": "prettier --write \"packages/**/src/**/*.{ts,tsx,js,json,scss,css}\"", + "lint": "npm run lint:check && npm run lint:fix", + "lint:check": "eslint \"packages/**/src/**/*.{ts,tsx,js,json}\" --quiet", + "lint:check-ci": "eslint -f node_modules/eslint-formatter-azure-devops/index.js \"packages/**/src/**/*.{ts,tsx,js,json}\" --quiet", + "update-all-dependencies": "npm update -ws", + "prepare-snapshot": "npm run build:snapshot -w @tools/babylon-server && build-tools -c ps", + "start": "concurrently --kill-others -m 2 -n dev-watch,cdn-server \"npm run watch:dev:skip-compile\" \"npm run serve -w @tools/babylon-server\"" + }, + "engines": { + "node": ">=14.0.0 <21.0.0", + "npm": ">=8.0.0" + }, + "changelog": { + "nextVersion": "Unreleased", + "ignoreCommitters": [], + "feature": "New Feature" + }, + "dependencies": { + "lerna": "^7.4.2" + } +} diff --git a/packages/dev/buildTools/package.json b/packages/dev/buildTools/package.json index 8c5810f28ba..9d03cfd7408 100644 --- a/packages/dev/buildTools/package.json +++ b/packages/dev/buildTools/package.json @@ -1,28 +1,28 @@ -{ - "name": "@dev/build-tools", - "version": "1.0.0", - "main": "dist/index", - "module": "dist/index", - "types": "dist/index", - "private": true, - "files": [ - "dist" - ], - "scripts": { - "build": "npm run compile", - "compile": "tsc -b tsconfig.build.json" - }, - "sideEffects": true, - "devDependencies": { - "@types/glob": "^7.2.0", - "@types/mv": "^2.1.2", - "@types/node": "^16.11.6", - "mv": "^2.1.1" - }, - "bin": { - "build-tools": "./dist/index.js" - }, - "dependencies": { - "dotenv": "^16.0.0" - } -} +{ + "name": "@dev/build-tools", + "version": "1.0.0", + "main": "dist/index", + "module": "dist/index", + "types": "dist/index", + "private": true, + "files": [ + "dist" + ], + "scripts": { + "build": "npm run compile", + "compile": "tsc -b tsconfig.build.json" + }, + "sideEffects": true, + "devDependencies": { + "@types/glob": "^7.2.0", + "@types/mv": "^2.1.2", + "@types/node": "^16.11.6", + "mv": "^2.1.1" + }, + "bin": { + "build-tools": "./dist/index.js" + }, + "dependencies": { + "dotenv": "^16.0.0" + } +} diff --git a/packages/dev/buildTools/tsconfig.build.json b/packages/dev/buildTools/tsconfig.build.json index 795f3045eab..452929a0c39 100644 --- a/packages/dev/buildTools/tsconfig.build.json +++ b/packages/dev/buildTools/tsconfig.build.json @@ -7,7 +7,7 @@ "outDir": "./dist", "rootDir": "./src", "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, + "allowSyntheticDefaultImports": true }, "include": ["./src/**/*"] diff --git a/packages/dev/buildTools/tsconfig.json b/packages/dev/buildTools/tsconfig.json index 957014f1f92..405796aeac3 100644 --- a/packages/dev/buildTools/tsconfig.json +++ b/packages/dev/buildTools/tsconfig.json @@ -5,6 +5,6 @@ "target": "es2017", "module": "esnext", "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, + "allowSyntheticDefaultImports": true } } diff --git a/packages/dev/core/package.json b/packages/dev/core/package.json index 70a7222d2b7..895c8774e78 100644 --- a/packages/dev/core/package.json +++ b/packages/dev/core/package.json @@ -1,34 +1,34 @@ -{ - "name": "@dev/core", - "version": "1.0.0", - "main": "dist/index", - "module": "dist/index", - "esnext": "dist/index", - "types": "dist/index", - "private": true, - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run clean && npm run compile", - "test": "jest -c ../../../jest.config.ts", - "clean": "rimraf dist && rimraf tsconfig.build.tsbuildinfo", - "lint": "npm run lint:check", - "lint:check": "eslint src/**/*.{ts,tsx}", - "lint:fix": "eslint src/**/*.{ts,tsx} --fix", - "precompile": "npm run compile:assets", - "compile": "npm run compile:source", - "compile:source": "tsc -b tsconfig.build.json", - "compile:assets": "build-tools -c process-assets --isCore", - "watch:assets": "build-tools -c process-assets --isCore --watch", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "build-tools -c dev-watch --packages \"core\" -wa" - }, - "sideEffects": false, - "devDependencies": { - "@dev/build-tools": "^1.0.0", - "@types/draco3d": "^1.4.3", - "@types/draco3dgltf": "^1.4.0" - } -} +{ + "name": "@dev/core", + "version": "1.0.0", + "main": "dist/index", + "module": "dist/index", + "esnext": "dist/index", + "types": "dist/index", + "private": true, + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run clean && npm run compile", + "test": "jest -c ../../../jest.config.ts", + "clean": "rimraf dist && rimraf tsconfig.build.tsbuildinfo", + "lint": "npm run lint:check", + "lint:check": "eslint src/**/*.{ts,tsx}", + "lint:fix": "eslint src/**/*.{ts,tsx} --fix", + "precompile": "npm run compile:assets", + "compile": "npm run compile:source", + "compile:source": "tsc -b tsconfig.build.json", + "compile:assets": "build-tools -c process-assets --isCore", + "watch:assets": "build-tools -c process-assets --isCore --watch", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "build-tools -c dev-watch --packages \"core\" -wa" + }, + "sideEffects": false, + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@types/draco3d": "^1.4.3", + "@types/draco3dgltf": "^1.4.0" + } +} diff --git a/packages/dev/core/tsconfig.build.json b/packages/dev/core/tsconfig.build.json index b4c8c6035b0..ab4f9ebc827 100644 --- a/packages/dev/core/tsconfig.build.json +++ b/packages/dev/core/tsconfig.build.json @@ -7,13 +7,10 @@ "rootDir": "./src", "skipLibCheck": true, "paths": { - "core/*": ["dev/core/src/*"], + "core/*": ["dev/core/src/*"] } }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/core/tsconfig.json b/packages/dev/core/tsconfig.json index f6f4924d570..e796d9d53a3 100644 --- a/packages/dev/core/tsconfig.json +++ b/packages/dev/core/tsconfig.json @@ -1,6 +1,5 @@ { "extends": "../../../tsconfig.json", - "compilerOptions": { - }, + "compilerOptions": {} } diff --git a/packages/dev/core/tsconfig.test.json b/packages/dev/core/tsconfig.test.json index f5c62030faf..fcb99b75734 100644 --- a/packages/dev/core/tsconfig.test.json +++ b/packages/dev/core/tsconfig.test.json @@ -1,6 +1,5 @@ { "extends": "../../../tsconfig.test.json", - "compilerOptions": { - }, + "compilerOptions": {} } diff --git a/packages/dev/gui/tsconfig.build.json b/packages/dev/gui/tsconfig.build.json index a3833621744..2a98b4af580 100644 --- a/packages/dev/gui/tsconfig.build.json +++ b/packages/dev/gui/tsconfig.build.json @@ -7,7 +7,7 @@ "rootDir": "./src", "paths": { "core/*": ["dev/core/dist/*"], - "gui/*": ["dev/gui/src/*"], + "gui/*": ["dev/gui/src/*"] } }, @@ -18,8 +18,5 @@ ], "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/gui/tsconfig.nocomposite.json b/packages/dev/gui/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/gui/tsconfig.nocomposite.json +++ b/packages/dev/gui/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/inspector/package.json b/packages/dev/inspector/package.json index 3e4159cd603..31079b12f6e 100644 --- a/packages/dev/inspector/package.json +++ b/packages/dev/inspector/package.json @@ -1,44 +1,44 @@ -{ - "name": "@dev/inspector", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run clean && npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo", - "precompile": "npm run compile:assets", - "compile": "npm run compile:source", - "compile:source": "tsc -b tsconfig.build.json", - "compile:assets": "build-tools -c process-assets", - "watch:assets": "build-tools -c process-assets --watch", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "build-tools -c dev-watch --packages \"inspector\" -wa" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/gui": "^1.0.0", - "@dev/loaders": "^1.0.0", - "@dev/materials": "^1.0.0", - "@dev/serializers": "^1.0.0", - "@dev/shared-ui-components": "^1.0.0", - "@fortawesome/fontawesome-svg-core": "^6.1.0", - "@fortawesome/free-regular-svg-icons": "^6.0.0", - "@fortawesome/free-solid-svg-icons": "^6.0.0", - "@fortawesome/react-fontawesome": "^0.2.0", - "@types/react": "^17.0.30", - "@types/react-dom": "^17.0.10", - "gif.js.optimized": "^1.0.1", - "sass": "^1.62.1", - "re-resizable": "^4.9.1", - "react": "^17.0.2", - "react-contextmenu": "RaananW/react-contextmenu", - "react-dom": "^17.0.2" - }, - "sideEffects": false -} +{ + "name": "@dev/inspector", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run clean && npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo", + "precompile": "npm run compile:assets", + "compile": "npm run compile:source", + "compile:source": "tsc -b tsconfig.build.json", + "compile:assets": "build-tools -c process-assets", + "watch:assets": "build-tools -c process-assets --watch", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "build-tools -c dev-watch --packages \"inspector\" -wa" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/gui": "^1.0.0", + "@dev/loaders": "^1.0.0", + "@dev/materials": "^1.0.0", + "@dev/serializers": "^1.0.0", + "@dev/shared-ui-components": "^1.0.0", + "@fortawesome/fontawesome-svg-core": "^6.1.0", + "@fortawesome/free-regular-svg-icons": "^6.0.0", + "@fortawesome/free-solid-svg-icons": "^6.0.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "@types/react": "^17.0.30", + "@types/react-dom": "^17.0.10", + "gif.js.optimized": "^1.0.1", + "sass": "^1.62.1", + "re-resizable": "^4.9.1", + "react": "^17.0.2", + "react-contextmenu": "RaananW/react-contextmenu", + "react-dom": "^17.0.2" + }, + "sideEffects": false +} diff --git a/packages/dev/inspector/tsconfig.build.json b/packages/dev/inspector/tsconfig.build.json index 2140cd5dd32..2a7791451bd 100644 --- a/packages/dev/inspector/tsconfig.build.json +++ b/packages/dev/inspector/tsconfig.build.json @@ -33,8 +33,5 @@ ], "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/inspector/tsconfig.json b/packages/dev/inspector/tsconfig.json index 9cfc78506c4..39f2fe3c12c 100644 --- a/packages/dev/inspector/tsconfig.json +++ b/packages/dev/inspector/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "../../../tsconfig.json", + "extends": "../../../tsconfig.json" } diff --git a/packages/dev/inspector/tsconfig.nocomposite.json b/packages/dev/inspector/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/inspector/tsconfig.nocomposite.json +++ b/packages/dev/inspector/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/loaders/tsconfig.json b/packages/dev/loaders/tsconfig.json index 9cfc78506c4..39f2fe3c12c 100644 --- a/packages/dev/loaders/tsconfig.json +++ b/packages/dev/loaders/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "../../../tsconfig.json", + "extends": "../../../tsconfig.json" } diff --git a/packages/dev/loaders/tsconfig.nocomposite.json b/packages/dev/loaders/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/loaders/tsconfig.nocomposite.json +++ b/packages/dev/loaders/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/materials/package.json b/packages/dev/materials/package.json index 5631c3b5da8..142afe30137 100644 --- a/packages/dev/materials/package.json +++ b/packages/dev/materials/package.json @@ -1,30 +1,28 @@ -{ - "name": "@dev/materials", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist" - ], - "scripts": { - "build": "npm run clean && npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo", - "precompile": "build-tools -c build-shaders --package core", - "compile": "tsc -b tsconfig.build.json", - "watch:assets": "build-tools -c build-shaders --package core --watch", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "concurrently \"npm run watch:assets\" \"npm run watch:source\" --kill-others", - "watch:dev": "npm run watch", - "watch:lts": "npm run watch:shaders" - - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/build-tools": "^1.0.0" - }, - "sideEffects": false, - "dependencies": { - } -} +{ + "name": "@dev/materials", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist" + ], + "scripts": { + "build": "npm run clean && npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo", + "precompile": "build-tools -c build-shaders --package core", + "compile": "tsc -b tsconfig.build.json", + "watch:assets": "build-tools -c build-shaders --package core --watch", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "concurrently \"npm run watch:assets\" \"npm run watch:source\" --kill-others", + "watch:dev": "npm run watch", + "watch:lts": "npm run watch:shaders" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/build-tools": "^1.0.0" + }, + "sideEffects": false, + "dependencies": {} +} diff --git a/packages/dev/materials/tsconfig.build.json b/packages/dev/materials/tsconfig.build.json index b62cf48728d..a85e0033f51 100644 --- a/packages/dev/materials/tsconfig.build.json +++ b/packages/dev/materials/tsconfig.build.json @@ -18,8 +18,5 @@ ], "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/materials/tsconfig.nocomposite.json b/packages/dev/materials/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/materials/tsconfig.nocomposite.json +++ b/packages/dev/materials/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/postProcesses/package.json b/packages/dev/postProcesses/package.json index 5859972150c..48e79732be6 100644 --- a/packages/dev/postProcesses/package.json +++ b/packages/dev/postProcesses/package.json @@ -1,30 +1,29 @@ -{ - "name": "@dev/post-processes", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run clean && npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo", - "precompile": "build-tools -c build-shaders --package core", - "compile": "tsc -b tsconfig.build.json", - "watch:assets": "build-tools -c build-shaders --package core --watch", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "concurrently \"npm run watch:assets\" \"npm run watch:source\" --kill-others", - "watch:dev": "npm run watch", - "watch:lts": "npm run watch:assets" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/build-tools": "^1.0.0" - }, - "sideEffects": false, - "dependencies": { - } -} +{ + "name": "@dev/post-processes", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run clean && npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo", + "precompile": "build-tools -c build-shaders --package core", + "compile": "tsc -b tsconfig.build.json", + "watch:assets": "build-tools -c build-shaders --package core --watch", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "concurrently \"npm run watch:assets\" \"npm run watch:source\" --kill-others", + "watch:dev": "npm run watch", + "watch:lts": "npm run watch:assets" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/build-tools": "^1.0.0" + }, + "sideEffects": false, + "dependencies": {} +} diff --git a/packages/dev/postProcesses/tsconfig.nocomposite.json b/packages/dev/postProcesses/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/postProcesses/tsconfig.nocomposite.json +++ b/packages/dev/postProcesses/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/proceduralTextures/package.json b/packages/dev/proceduralTextures/package.json index 139ae301d16..ce3e1e594b9 100644 --- a/packages/dev/proceduralTextures/package.json +++ b/packages/dev/proceduralTextures/package.json @@ -1,30 +1,29 @@ -{ - "name": "@dev/procedural-textures", - "version": "1.0.0", - "private": true, - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo", - "precompile": "build-tools -c build-shaders --package core", - "compile": "tsc -b tsconfig.build.json", - "watch:assets": "build-tools -c build-shaders --package procedural-textures --watch", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "concurrently \"npm run watch:assets\" \"npm run watch:source\" --kill-others", - "watch:dev": "npm run watch", - "watch:lts": "npm run watch:assets" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/build-tools": "^1.0.0" - }, - "sideEffects": false, - "dependencies": { - } -} +{ + "name": "@dev/procedural-textures", + "version": "1.0.0", + "private": true, + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo", + "precompile": "build-tools -c build-shaders --package core", + "compile": "tsc -b tsconfig.build.json", + "watch:assets": "build-tools -c build-shaders --package procedural-textures --watch", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "concurrently \"npm run watch:assets\" \"npm run watch:source\" --kill-others", + "watch:dev": "npm run watch", + "watch:lts": "npm run watch:assets" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/build-tools": "^1.0.0" + }, + "sideEffects": false, + "dependencies": {} +} diff --git a/packages/dev/proceduralTextures/tsconfig.nocomposite.json b/packages/dev/proceduralTextures/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/proceduralTextures/tsconfig.nocomposite.json +++ b/packages/dev/proceduralTextures/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/serializers/package.json b/packages/dev/serializers/package.json index 4ec80de5da0..4886ccaf35b 100644 --- a/packages/dev/serializers/package.json +++ b/packages/dev/serializers/package.json @@ -1,25 +1,24 @@ -{ - "name": "@dev/serializers", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo", - "compile": "tsc -b tsconfig.build.json", - "watch": "tsc -b tsconfig.build.json -w", - "watch:dev": "npm run watch" - }, - "devDependencies": { - "@dev/core": "^1.0.0" - }, - "sideEffects": false, - "dependencies": { - } -} +{ + "name": "@dev/serializers", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo", + "compile": "tsc -b tsconfig.build.json", + "watch": "tsc -b tsconfig.build.json -w", + "watch:dev": "npm run watch" + }, + "devDependencies": { + "@dev/core": "^1.0.0" + }, + "sideEffects": false, + "dependencies": {} +} diff --git a/packages/dev/serializers/tsconfig.nocomposite.json b/packages/dev/serializers/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/serializers/tsconfig.nocomposite.json +++ b/packages/dev/serializers/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/packages/dev/sharedUiComponents/package.json b/packages/dev/sharedUiComponents/package.json index 36bfafaf211..5825f27d872 100644 --- a/packages/dev/sharedUiComponents/package.json +++ b/packages/dev/sharedUiComponents/package.json @@ -1,58 +1,57 @@ -{ - "name": "@dev/shared-ui-components", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run clean && npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo", - "precompile": "npm run compile:assets", - "compile": "npm run compile:source", - "compile:source": "tsc -b tsconfig.build.json", - "compile:assets": "build-tools -c process-assets", - "watch:assets": "build-tools -c process-assets --watch", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "build-tools -c dev-watch --packages \"shared-ui-components\" -wa", - "storybook": "sb dev -p 6006", - "build-storybook": "sb build" - }, - "peerDependencies": { - "@fortawesome/fontawesome-svg-core": "^6.1.0", - "@fortawesome/free-solid-svg-icons": "^6.1.0", - "@fortawesome/react-fontawesome": "^0.2.0", - "@types/react": "^17.0.30", - "@types/react-dom": "^17.0.10", - "react": "^17.0.2", - "react-dom": "^17.0.2", - "react-dnd": "15.0.1", - "react-dnd-touch-backend": "15.0.1" - }, - "devDependencies": { - "@babel/core": "^7.17.9", - "@dev/core": "^1.0.0", - "@dev/gui": "^1.0.0", - "@fortawesome/fontawesome-svg-core": "^6.1.0", - "@fortawesome/free-solid-svg-icons": "^6.0.0", - "@fortawesome/react-fontawesome": "^0.2.0", - "@storybook/addon-actions": "^7.0.0", - "@storybook/addon-essentials": "^7.0.0", - "@storybook/addon-interactions": "^7.0.0", - "@storybook/addon-links": "^7.0.0", - "@storybook/react": "^7.0.0", - "@storybook/react-webpack5": "^7.0.0", - "@storybook/cli": "^7.0.0", - "@storybook/testing-library": "^0.1.0", - "sass": "^1.62.1" - }, - "sideEffects": false, - "resolutions": { - "webpack": "^5.73.0" - } -} - +{ + "name": "@dev/shared-ui-components", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run clean && npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo", + "precompile": "npm run compile:assets", + "compile": "npm run compile:source", + "compile:source": "tsc -b tsconfig.build.json", + "compile:assets": "build-tools -c process-assets", + "watch:assets": "build-tools -c process-assets --watch", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "build-tools -c dev-watch --packages \"shared-ui-components\" -wa", + "storybook": "sb dev -p 6006", + "build-storybook": "sb build" + }, + "peerDependencies": { + "@fortawesome/fontawesome-svg-core": "^6.1.0", + "@fortawesome/free-solid-svg-icons": "^6.1.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "@types/react": "^17.0.30", + "@types/react-dom": "^17.0.10", + "react": "^17.0.2", + "react-dom": "^17.0.2", + "react-dnd": "15.0.1", + "react-dnd-touch-backend": "15.0.1" + }, + "devDependencies": { + "@babel/core": "^7.17.9", + "@dev/core": "^1.0.0", + "@dev/gui": "^1.0.0", + "@fortawesome/fontawesome-svg-core": "^6.1.0", + "@fortawesome/free-solid-svg-icons": "^6.0.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "@storybook/addon-actions": "^7.0.0", + "@storybook/addon-essentials": "^7.0.0", + "@storybook/addon-interactions": "^7.0.0", + "@storybook/addon-links": "^7.0.0", + "@storybook/react": "^7.0.0", + "@storybook/react-webpack5": "^7.0.0", + "@storybook/cli": "^7.0.0", + "@storybook/testing-library": "^0.1.0", + "sass": "^1.62.1" + }, + "sideEffects": false, + "resolutions": { + "webpack": "^5.73.0" + } +} diff --git a/packages/dev/sharedUiComponents/tsconfig.json b/packages/dev/sharedUiComponents/tsconfig.json index 9cfc78506c4..39f2fe3c12c 100644 --- a/packages/dev/sharedUiComponents/tsconfig.json +++ b/packages/dev/sharedUiComponents/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "../../../tsconfig.json", + "extends": "../../../tsconfig.json" } diff --git a/packages/dev/sharedUiComponents/tsconfig.nocomposite.json b/packages/dev/sharedUiComponents/tsconfig.nocomposite.json index 5b0102e12fd..ac6e0689f89 100644 --- a/packages/dev/sharedUiComponents/tsconfig.nocomposite.json +++ b/packages/dev/sharedUiComponents/tsconfig.nocomposite.json @@ -8,8 +8,5 @@ }, "include": ["./src/**/*.ts", "./src/**/*.tsx"], - "exclude": [ - "**/node_modules", - "**/dist", - ] + "exclude": ["**/node_modules", "**/dist"] } diff --git a/tsconfig.devpackages.json b/tsconfig.devpackages.json index c48097cb068..5de7cf9ae9d 100644 --- a/tsconfig.devpackages.json +++ b/tsconfig.devpackages.json @@ -46,7 +46,6 @@ { "path": "packages/tools/ktx2Decoder/tsconfig.build.json" } - ], "include": [] } diff --git a/tsconfig.json b/tsconfig.json index 5db3fb80303..4c8eb574f92 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,12 +21,12 @@ "loaders/*": ["dev/loaders/src/*"], "serializers/*": ["dev/serializers/src/*"], "inspector/*": ["dev/inspector/src/*"], - "node-editor/*":["tools/nodeEditor/src/*"], - "node-geometry-editor/*":["tools/nodeGeometryEditor/src/*"], - "gui-editor/*":["tools/guiEditor/src/*"], - "accessibility/*":["tools/accessibility/src/*"], - "viewer/*":["tools/viewer/src/*"], - "ktx2decoder/*":["tools/ktx2Decoder/src/*"], + "node-editor/*": ["tools/nodeEditor/src/*"], + "node-geometry-editor/*": ["tools/nodeGeometryEditor/src/*"], + "gui-editor/*": ["tools/guiEditor/src/*"], + "accessibility/*": ["tools/accessibility/src/*"], + "viewer/*": ["tools/viewer/src/*"], + "ktx2decoder/*": ["tools/ktx2Decoder/src/*"], "shared-ui-components/*": ["dev/sharedUiComponents/src/*"], "@tools/gui-editor/*": ["tools/guiEditor/src/*"], "@tools/node-editor/*": ["tools/nodeEditor/src/*"], diff --git a/tsconfig.test.json b/tsconfig.test.json index f36907ccf32..584c93d0101 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -1,6 +1,5 @@ { "extends": "./tsconfig.build.json", - "compilerOptions": { - } + "compilerOptions": {} } diff --git a/tsdoc.json b/tsdoc.json index dea6758b0ef..015852f19fd 100644 --- a/tsdoc.json +++ b/tsdoc.json @@ -14,4 +14,4 @@ "syntaxKind": "modifier" } ] -} \ No newline at end of file +}