diff --git a/suite/fixtures/babylon/packages/dev/addons/package.json b/suite/fixtures/babylon/packages/dev/addons/package.json index 2baad88b372..2c83139eb59 100644 --- a/suite/fixtures/babylon/packages/dev/addons/package.json +++ b/suite/fixtures/babylon/packages/dev/addons/package.json @@ -1,29 +1,29 @@ -{ - "name": "@dev/addons", - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "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 *.tsbuildinfo -g", - "precompile": "npm run compile:assets", - "compile": "tsc -b tsconfig.build.json", - "compile:assets": "build-tools -c process-assets --package ..", - "watch": "tsc -b tsconfig.build.json -w", - "watch:dev": "npm run watch" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@recast-navigation/core": "^0.43.0", - "@recast-navigation/generators": "^0.43.0", - "@recast-navigation/wasm": "^0.43.0" - }, - "sideEffects": true -} +{ + "name": "@dev/addons", + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "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 *.tsbuildinfo -g", + "precompile": "npm run compile:assets", + "compile": "tsc -b tsconfig.build.json", + "compile:assets": "build-tools -c process-assets --package ..", + "watch": "tsc -b tsconfig.build.json -w", + "watch:dev": "npm run watch" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@recast-navigation/core": "^0.43.0", + "@recast-navigation/generators": "^0.43.0", + "@recast-navigation/wasm": "^0.43.0" + }, + "sideEffects": true +} diff --git a/suite/fixtures/babylon/packages/dev/buildTools/package.json b/suite/fixtures/babylon/packages/dev/buildTools/package.json index 0e3dbeb7a6b..af7e830189b 100644 --- a/suite/fixtures/babylon/packages/dev/buildTools/package.json +++ b/suite/fixtures/babylon/packages/dev/buildTools/package.json @@ -1,24 +1,24 @@ -{ - "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/mv": "^2.1.2", - "mv": "^2.1.1" - }, - "bin": "./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/mv": "^2.1.2", + "mv": "^2.1.1" + }, + "bin": "./dist/index.js", + "dependencies": { + "dotenv": "^16.0.0" + } +} diff --git a/suite/fixtures/babylon/packages/dev/core/package.json b/suite/fixtures/babylon/packages/dev/core/package.json index 9e1922af1fa..01ea1c2a35e 100644 --- a/suite/fixtures/babylon/packages/dev/core/package.json +++ b/suite/fixtures/babylon/packages/dev/core/package.json @@ -1,37 +1,37 @@ -{ - "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": [ - "**/*", - "!src/Maths/ThinMaths/**" - ], - "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": [ + "**/*", + "!src/Maths/ThinMaths/**" + ], + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@types/draco3d": "^1.4.3", + "@types/draco3dgltf": "^1.4.0" + } +} diff --git a/suite/fixtures/babylon/packages/dev/gui/package.json b/suite/fixtures/babylon/packages/dev/gui/package.json index fbdf6ff13e7..94ce5076efa 100644 --- a/suite/fixtures/babylon/packages/dev/gui/package.json +++ b/suite/fixtures/babylon/packages/dev/gui/package.json @@ -1,28 +1,28 @@ -{ - "name": "@dev/gui", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run compile", - "test": "jest -c ../../../jest.config.ts", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g", - "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 \"gui\" -wa" - }, - "devDependencies": { - "@dev/core": "^1.0.0" - }, - "sideEffects": false -} +{ + "name": "@dev/gui", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run compile", + "test": "jest -c ../../../jest.config.ts", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g", + "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 \"gui\" -wa" + }, + "devDependencies": { + "@dev/core": "^1.0.0" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/dev/inspector-v2/package.json b/suite/fixtures/babylon/packages/dev/inspector-v2/package.json index dcbb5ae7074..f7c0af1ac19 100644 --- a/suite/fixtures/babylon/packages/dev/inspector-v2/package.json +++ b/suite/fixtures/babylon/packages/dev/inspector-v2/package.json @@ -1,45 +1,45 @@ -{ - "name": "@dev/inspector", - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "private": true, - "sideEffects": true, - "scripts": { - "build": "npm run clean && npm run compile", - "test": "jest -c ../../../jest.config.ts", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g", - "compile": "tsc -b tsconfig.build.json", - "serve": "webpack serve --mode development", - "watch": "tsc -b tsconfig.build.json -w", - "watch:dev": "npm run watch" - }, - "devDependencies": { - "@dev/addons": "1.0.0", - "@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", - "@fluentui-contrib/react-virtualizer": "^0.5.3", - "@fluentui/react-components": "^9.70.0", - "@fluentui/react-icons": "^2.0.310", - "@pmmmwh/react-refresh-webpack-plugin": "^0.6.0", - "@tools/gui-editor": "1.0.0", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "gif.js.optimized": "^1.0.1", - "html-webpack-plugin": "^5.5.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-refresh": "^0.17.0", - "react-refresh-typescript": "^2.0.10", - "usehooks-ts": "^3.1.1", - "webpack": "^5.103.0", - "webpack-cli": "6.0.1" - }, - "dependencies": { - "@babylonjs/havok": "^1.3.10" - } -} +{ + "name": "@dev/inspector", + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "private": true, + "sideEffects": true, + "scripts": { + "build": "npm run clean && npm run compile", + "test": "jest -c ../../../jest.config.ts", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g", + "compile": "tsc -b tsconfig.build.json", + "serve": "webpack serve --mode development", + "watch": "tsc -b tsconfig.build.json -w", + "watch:dev": "npm run watch" + }, + "devDependencies": { + "@dev/addons": "1.0.0", + "@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", + "@fluentui-contrib/react-virtualizer": "^0.5.3", + "@fluentui/react-components": "^9.70.0", + "@fluentui/react-icons": "^2.0.310", + "@pmmmwh/react-refresh-webpack-plugin": "^0.6.0", + "@tools/gui-editor": "1.0.0", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "gif.js.optimized": "^1.0.1", + "html-webpack-plugin": "^5.5.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-refresh": "^0.17.0", + "react-refresh-typescript": "^2.0.10", + "usehooks-ts": "^3.1.1", + "webpack": "^5.103.0", + "webpack-cli": "6.0.1" + }, + "dependencies": { + "@babylonjs/havok": "^1.3.10" + } +} diff --git a/suite/fixtures/babylon/packages/dev/inspector/package.json b/suite/fixtures/babylon/packages/dev/inspector/package.json index 0e6b08d0467..6ab2e368b48 100644 --- a/suite/fixtures/babylon/packages/dev/inspector/package.json +++ b/suite/fixtures/babylon/packages/dev/inspector/package.json @@ -1,44 +1,44 @@ -{ - "name": "@dev/inspector-legacy", - "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 -g", - "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-legacy\" -wa" - }, - "devDependencies": { - "@dev/addons": "^1.0.0", - "@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": "^18.0.0", - "@types/react-dom": "^18.0.0", - "gif.js.optimized": "^1.0.1", - "re-resizable": "^6.9.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "sass": "^1.62.1" - }, - "sideEffects": false -} +{ + "name": "@dev/inspector-legacy", + "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 -g", + "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-legacy\" -wa" + }, + "devDependencies": { + "@dev/addons": "^1.0.0", + "@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": "^18.0.0", + "@types/react-dom": "^18.0.0", + "gif.js.optimized": "^1.0.1", + "re-resizable": "^6.9.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.62.1" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/dev/loaders/package.json b/suite/fixtures/babylon/packages/dev/loaders/package.json index f7c9bde948a..07dbeed33e4 100644 --- a/suite/fixtures/babylon/packages/dev/loaders/package.json +++ b/suite/fixtures/babylon/packages/dev/loaders/package.json @@ -1,24 +1,24 @@ -{ - "name": "@dev/loaders", - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "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 *.tsbuildinfo -g", - "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": true -} +{ + "name": "@dev/loaders", + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "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 *.tsbuildinfo -g", + "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": true +} diff --git a/suite/fixtures/babylon/packages/dev/lottiePlayer/package.json b/suite/fixtures/babylon/packages/dev/lottiePlayer/package.json index 1b1fd73eb0a..f40fd13ff1c 100644 --- a/suite/fixtures/babylon/packages/dev/lottiePlayer/package.json +++ b/suite/fixtures/babylon/packages/dev/lottiePlayer/package.json @@ -1,28 +1,28 @@ -{ - "name": "@dev/lottie-player", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "type": "module", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run compile", - "test": "jest -c ../../../jest.config.ts", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g", - "precompile": "", - "compile": "npm run compile:source", - "compile:source": "tsc -b tsconfig.build.json", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "build-tools -c dev-watch --packages \"lottie-player\" -wa" - }, - "sideEffects": true, - "devDependencies": { - "@dev/build-tools": "^1.0.0", - "@dev/core": "^1.0.0" - } -} +{ + "name": "@dev/lottie-player", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "type": "module", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run compile", + "test": "jest -c ../../../jest.config.ts", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g", + "precompile": "", + "compile": "npm run compile:source", + "compile:source": "tsc -b tsconfig.build.json", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "build-tools -c dev-watch --packages \"lottie-player\" -wa" + }, + "sideEffects": true, + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@dev/core": "^1.0.0" + } +} diff --git a/suite/fixtures/babylon/packages/dev/materials/package.json b/suite/fixtures/babylon/packages/dev/materials/package.json index 61ca01bc726..01ccb5236c4 100644 --- a/suite/fixtures/babylon/packages/dev/materials/package.json +++ b/suite/fixtures/babylon/packages/dev/materials/package.json @@ -1,27 +1,27 @@ -{ - "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 -g", - "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": "npx nx run-many --targets watch:assets watch:source --projects @dev/materials --parallel 2 --skipNxCache true --outputStyle stream", - "watch:dev": "npm run watch", - "watch:lts": "npm run watch:shaders" - }, - "devDependencies": { - "@dev/build-tools": "^1.0.0", - "@dev/core": "^1.0.0" - }, - "sideEffects": false -} +{ + "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 -g", + "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": "npx nx run-many --targets watch:assets watch:source --projects @dev/materials --parallel 2 --skipNxCache true --outputStyle stream", + "watch:dev": "npm run watch", + "watch:lts": "npm run watch:shaders" + }, + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@dev/core": "^1.0.0" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/dev/postProcesses/package.json b/suite/fixtures/babylon/packages/dev/postProcesses/package.json index c012c832d33..be19fb6f072 100644 --- a/suite/fixtures/babylon/packages/dev/postProcesses/package.json +++ b/suite/fixtures/babylon/packages/dev/postProcesses/package.json @@ -1,28 +1,28 @@ -{ - "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 -g", - "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": "npx nx run-many --targets watch:assets watch:source --projects @dev/post-processes --parallel 2 --skipNxCache true --outputStyle stream", - "watch:dev": "npm run watch", - "watch:lts": "npm run watch:assets" - }, - "devDependencies": { - "@dev/build-tools": "^1.0.0", - "@dev/core": "^1.0.0" - }, - "sideEffects": false -} +{ + "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 -g", + "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": "npx nx run-many --targets watch:assets watch:source --projects @dev/post-processes --parallel 2 --skipNxCache true --outputStyle stream", + "watch:dev": "npm run watch", + "watch:lts": "npm run watch:assets" + }, + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@dev/core": "^1.0.0" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/dev/proceduralTextures/package.json b/suite/fixtures/babylon/packages/dev/proceduralTextures/package.json index 07a5b29b461..f814ea9277f 100644 --- a/suite/fixtures/babylon/packages/dev/proceduralTextures/package.json +++ b/suite/fixtures/babylon/packages/dev/proceduralTextures/package.json @@ -1,28 +1,28 @@ -{ - "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 -g", - "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": "npx nx run-many --targets watch:assets watch:source --projects @dev/procedural-textures --parallel 2 --skipNxCache true --outputStyle stream", - "watch:dev": "npm run watch", - "watch:lts": "npm run watch:assets" - }, - "devDependencies": { - "@dev/build-tools": "^1.0.0", - "@dev/core": "^1.0.0" - }, - "sideEffects": false -} +{ + "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 -g", + "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": "npx nx run-many --targets watch:assets watch:source --projects @dev/procedural-textures --parallel 2 --skipNxCache true --outputStyle stream", + "watch:dev": "npm run watch", + "watch:lts": "npm run watch:assets" + }, + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@dev/core": "^1.0.0" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/dev/serializers/package.json b/suite/fixtures/babylon/packages/dev/serializers/package.json index c2409172b01..49d0627274e 100644 --- a/suite/fixtures/babylon/packages/dev/serializers/package.json +++ b/suite/fixtures/babylon/packages/dev/serializers/package.json @@ -1,23 +1,23 @@ -{ - "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 -g", - "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 -} +{ + "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 -g", + "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 +} diff --git a/suite/fixtures/babylon/packages/dev/smartFilterBlocks/package.json b/suite/fixtures/babylon/packages/dev/smartFilterBlocks/package.json index 565aa536113..3b4c4fdd159 100644 --- a/suite/fixtures/babylon/packages/dev/smartFilterBlocks/package.json +++ b/suite/fixtures/babylon/packages/dev/smartFilterBlocks/package.json @@ -1,25 +1,25 @@ -{ - "name": "@dev/smart-filters-blocks", - "private": true, - "version": "1.0.0", - "readme": "README.md", - "main": "dist/index", - "module": "dist/index", - "types": "dist/index", - "type": "module", - "sideEffects": false, - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "tsc -b tsconfig.build.json", - "test": "jest -c ../../../jest.config.ts --passWithNoTests", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g && rimraf --glob ./src/blocks/**/*.block.ts && rimraf --glob ./src/blocks/**/*.fragment.ts", - "watch": "build-tools -c dev-watch --packages \"smart-filters-blocks\" -wa" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/smart-filters": "^1.0.0" - } -} +{ + "name": "@dev/smart-filters-blocks", + "private": true, + "version": "1.0.0", + "readme": "README.md", + "main": "dist/index", + "module": "dist/index", + "types": "dist/index", + "type": "module", + "sideEffects": false, + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "tsc -b tsconfig.build.json", + "test": "jest -c ../../../jest.config.ts --passWithNoTests", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g && rimraf --glob ./src/blocks/**/*.block.ts && rimraf --glob ./src/blocks/**/*.fragment.ts", + "watch": "build-tools -c dev-watch --packages \"smart-filters-blocks\" -wa" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/smart-filters": "^1.0.0" + } +} diff --git a/suite/fixtures/babylon/packages/dev/smartFilters/package.json b/suite/fixtures/babylon/packages/dev/smartFilters/package.json index 236303ab961..dc5883ab9ee 100644 --- a/suite/fixtures/babylon/packages/dev/smartFilters/package.json +++ b/suite/fixtures/babylon/packages/dev/smartFilters/package.json @@ -1,32 +1,32 @@ -{ - "name": "@dev/smart-filters", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "type": "module", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run compile", - "test": "jest -c ../../../jest.config.ts", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g", - "precompile": "", - "compile": "npm run compile:source", - "compile:source": "tsc -b tsconfig.build.json", - "watch:source": "tsc -b tsconfig.build.json -w", - "watch": "build-tools -c dev-watch --packages \"smart-filters\" -wa", - "update-version": "node src/utils/buildTools/recordVersionNumber.js ../../public/@babylonjs/smart-filters" - }, - "sideEffects": [ - "./dist/utils/buildTools/**" - ], - "devDependencies": { - "@dev/build-tools": "^1.0.0", - "@dev/core": "^1.0.0", - "@dev/shared-ui-components": "^1.0.0" - } -} +{ + "name": "@dev/smart-filters", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "type": "module", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run compile", + "test": "jest -c ../../../jest.config.ts", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g", + "precompile": "", + "compile": "npm run compile:source", + "compile:source": "tsc -b tsconfig.build.json", + "watch:source": "tsc -b tsconfig.build.json -w", + "watch": "build-tools -c dev-watch --packages \"smart-filters\" -wa", + "update-version": "node src/utils/buildTools/recordVersionNumber.js ../../public/@babylonjs/smart-filters" + }, + "sideEffects": [ + "./dist/utils/buildTools/**" + ], + "devDependencies": { + "@dev/build-tools": "^1.0.0", + "@dev/core": "^1.0.0", + "@dev/shared-ui-components": "^1.0.0" + } +} diff --git a/suite/fixtures/babylon/packages/tools/accessibility/package.json b/suite/fixtures/babylon/packages/tools/accessibility/package.json index 530288f9468..4302049e86d 100644 --- a/suite/fixtures/babylon/packages/tools/accessibility/package.json +++ b/suite/fixtures/babylon/packages/tools/accessibility/package.json @@ -1,35 +1,35 @@ -{ - "name": "@tools/accessibility", - "description": "This package is for increasing accessibility of 3D content. It contains HTML twin renderer that renders html twins of the scene objects for 3D content in DOM, thus the 3D content is compatible with screen readers and keyboard navigation.", - "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 -g", - "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 --package \"inspector\" -wa" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/gui": "^1.0.0", - "@dev/loaders": "^1.0.0", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "sass": "^1.62.1" - }, - "sideEffects": false -} +{ + "name": "@tools/accessibility", + "description": "This package is for increasing accessibility of 3D content. It contains HTML twin renderer that renders html twins of the scene objects for 3D content in DOM, thus the 3D content is compatible with screen readers and keyboard navigation.", + "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 -g", + "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 --package \"inspector\" -wa" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/gui": "^1.0.0", + "@dev/loaders": "^1.0.0", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.62.1" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/tools/eslintBabylonPlugin/package.json b/suite/fixtures/babylon/packages/tools/eslintBabylonPlugin/package.json index 070e55f32a0..cc4e504ede1 100644 --- a/suite/fixtures/babylon/packages/tools/eslintBabylonPlugin/package.json +++ b/suite/fixtures/babylon/packages/tools/eslintBabylonPlugin/package.json @@ -1,32 +1,32 @@ -{ - "name": "eslint-plugin-babylonjs", - "private": true, - "version": "1.0.0", - "description": "An ESLint plugin that validates TypeScript doc comments for the babylon repository", - "keywords": [ - "TypeScript", - "documentation", - "doc", - "comments", - "JSDoc", - "TSDoc", - "ESLint", - "plugin" - ], - "license": "Apache-2.0", - "main": "dist/index.js", - "typings": "dist/index.d.ts", - "scripts": { - "build": "tsc -b tsconfig.build.json" - }, - "dependencies": { - "@microsoft/tsdoc": "~0.14.1", - "@microsoft/tsdoc-config": "~0.16.1" - }, - "devDependencies": { - "@types/eslint": "^9.6.0" - }, - "peerDependencies": { - "eslint": "^9.0.0" - } -} +{ + "name": "eslint-plugin-babylonjs", + "private": true, + "version": "1.0.0", + "description": "An ESLint plugin that validates TypeScript doc comments for the babylon repository", + "keywords": [ + "TypeScript", + "documentation", + "doc", + "comments", + "JSDoc", + "TSDoc", + "ESLint", + "plugin" + ], + "license": "Apache-2.0", + "main": "dist/index.js", + "typings": "dist/index.d.ts", + "scripts": { + "build": "tsc -b tsconfig.build.json" + }, + "dependencies": { + "@microsoft/tsdoc": "~0.14.1", + "@microsoft/tsdoc-config": "~0.16.1" + }, + "devDependencies": { + "@types/eslint": "^9.6.0" + }, + "peerDependencies": { + "eslint": "^9.0.0" + } +} diff --git a/suite/fixtures/babylon/packages/tools/reflector/package.json b/suite/fixtures/babylon/packages/tools/reflector/package.json index 81ed6e9bec2..3e6a723eb66 100644 --- a/suite/fixtures/babylon/packages/tools/reflector/package.json +++ b/suite/fixtures/babylon/packages/tools/reflector/package.json @@ -1,26 +1,26 @@ -{ - "name": "@tools/reflector", - "version": "0.0.1", - "main": "index.js", - "type": "module", - "private": true, - "scripts": { - "build": "tsc -p tsconfig.build.json", - "start": "node ./dist/index.js", - "start:ssl": "node ./dist/index.js --ssl" - }, - "devDependencies": { - "@types/ws": "^8.5.2", - "https": "^1.0.0", - "ts-loader": "^9.2.6", - "webpack": "^5.103.0", - "webpack-cli": "6.0.1" - }, - "dependencies": { - "ws": "^8.5.0" - }, - "optionalDependencies": { - "bufferutil": "^4.0.3", - "utf-8-validate": "^5.0.4" - } -} +{ + "name": "@tools/reflector", + "version": "0.0.1", + "main": "index.js", + "type": "module", + "private": true, + "scripts": { + "build": "tsc -p tsconfig.build.json", + "start": "node ./dist/index.js", + "start:ssl": "node ./dist/index.js --ssl" + }, + "devDependencies": { + "@types/ws": "^8.5.2", + "https": "^1.0.0", + "ts-loader": "^9.2.6", + "webpack": "^5.103.0", + "webpack-cli": "6.0.1" + }, + "dependencies": { + "ws": "^8.5.0" + }, + "optionalDependencies": { + "bufferutil": "^4.0.3", + "utf-8-validate": "^5.0.4" + } +} diff --git a/suite/fixtures/babylon/packages/tools/smartFiltersDebugger/package.json b/suite/fixtures/babylon/packages/tools/smartFiltersDebugger/package.json index 0292f689658..f6c96d5126c 100644 --- a/suite/fixtures/babylon/packages/tools/smartFiltersDebugger/package.json +++ b/suite/fixtures/babylon/packages/tools/smartFiltersDebugger/package.json @@ -1,44 +1,44 @@ -{ - "name": "@tools/smart-filters-debugger", - "private": true, - "version": "0.1.0", - "description": "A browser extension to allow for debugging Babylon.js Smart Filters in websites", - "license": "MIT", - "readme": "README.md", - "sideEffects": false, - "files": [ - "dist", - "src", - "license.md", - "readme.md" - ], - "scripts": { - "clean": "rimraf dist && rimraf tsconfig.build.tsbuildinfo", - "build": "npm run clean && npm run compile", - "compile": "webpack --env=prod", - "watch": "webpack --env=dev --watch" - }, - "devDependencies": { - "@fortawesome/fontawesome-svg-core": "^6.1.0", - "@fortawesome/free-solid-svg-icons": "^6.1.0", - "@fortawesome/react-fontawesome": "^0.2.0", - "@tools/smart-filters-editor-control": "^1.0.0", - "@types/chrome": "^0.0.268", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "copy-webpack-plugin": "^11.0.0", - "css-loader": "^7.1.0", - "file-loader": "^6.2.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "sass": "^1.62.1", - "sass-loader": "^16.0.0", - "source-map-loader": "^4.0.0", - "style-loader": "^3.3.0", - "ts-loader": "^9.2.6", - "url-loader": "^4.1.1", - "webpack": "^5.103.0", - "webpack-cli": "6.0.1", - "webpack-dev-server": "^5.2.2" - } -} +{ + "name": "@tools/smart-filters-debugger", + "private": true, + "version": "0.1.0", + "description": "A browser extension to allow for debugging Babylon.js Smart Filters in websites", + "license": "MIT", + "readme": "README.md", + "sideEffects": false, + "files": [ + "dist", + "src", + "license.md", + "readme.md" + ], + "scripts": { + "clean": "rimraf dist && rimraf tsconfig.build.tsbuildinfo", + "build": "npm run clean && npm run compile", + "compile": "webpack --env=prod", + "watch": "webpack --env=dev --watch" + }, + "devDependencies": { + "@fortawesome/fontawesome-svg-core": "^6.1.0", + "@fortawesome/free-solid-svg-icons": "^6.1.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "@tools/smart-filters-editor-control": "^1.0.0", + "@types/chrome": "^0.0.268", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "copy-webpack-plugin": "^11.0.0", + "css-loader": "^7.1.0", + "file-loader": "^6.2.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.62.1", + "sass-loader": "^16.0.0", + "source-map-loader": "^4.0.0", + "style-loader": "^3.3.0", + "ts-loader": "^9.2.6", + "url-loader": "^4.1.1", + "webpack": "^5.103.0", + "webpack-cli": "6.0.1", + "webpack-dev-server": "^5.2.2" + } +} diff --git a/suite/fixtures/babylon/packages/tools/smartFiltersEditor/package.json b/suite/fixtures/babylon/packages/tools/smartFiltersEditor/package.json index 86ff2868b38..48c9b7dc3b2 100644 --- a/suite/fixtures/babylon/packages/tools/smartFiltersEditor/package.json +++ b/suite/fixtures/babylon/packages/tools/smartFiltersEditor/package.json @@ -1,43 +1,43 @@ -{ - "name": "@tools/smart-filters-editor", - "private": true, - "version": "1.0.0", - "description": "The Smart Filters Editor tool is a web-based tool that allows you to create and edit Smart Filters for Babylon.js.", - "license": "MIT", - "scripts": { - "build": "npm run clean && npm run compile", - "build:deployment": "npm run clean && webpack --env mode=production", - "compile": "tsc -b tsconfig.build.json", - "serve": "webpack serve", - "serve:prod": "webpack serve --env mode=production", - "serve:https": "webpack serve --env mode=development --server-type https --host ::", - "serve:dev": "webpack serve --env mode=development --env watch=all", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/shared-ui-components": "^1.0.0", - "@dev/smart-filters": "^1.0.0", - "@dev/smart-filters-blocks": "^1.0.0", - "@fortawesome/fontawesome-svg-core": "^6.1.0", - "@fortawesome/free-solid-svg-icons": "^6.1.0", - "@fortawesome/react-fontawesome": "^0.2.0", - "@tools/smart-filters-editor-control": "^1.0.0", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "css-loader": "^7.1.0", - "file-loader": "^6.2.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "sass": "^1.62.0", - "sass-loader": "^16.0.0", - "source-map-loader": "^4.0.0", - "style-loader": "^3.3.0", - "ts-loader": "^9.2.6", - "url-loader": "^4.1.1", - "webpack": "^5.103.0", - "webpack-bundle-analyzer": "^4.10.0", - "webpack-cli": "^6.0.1", - "webpack-dev-server": "^5.2.2" - } -} +{ + "name": "@tools/smart-filters-editor", + "private": true, + "version": "1.0.0", + "description": "The Smart Filters Editor tool is a web-based tool that allows you to create and edit Smart Filters for Babylon.js.", + "license": "MIT", + "scripts": { + "build": "npm run clean && npm run compile", + "build:deployment": "npm run clean && webpack --env mode=production", + "compile": "tsc -b tsconfig.build.json", + "serve": "webpack serve", + "serve:prod": "webpack serve --env mode=production", + "serve:https": "webpack serve --env mode=development --server-type https --host ::", + "serve:dev": "webpack serve --env mode=development --env watch=all", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/shared-ui-components": "^1.0.0", + "@dev/smart-filters": "^1.0.0", + "@dev/smart-filters-blocks": "^1.0.0", + "@fortawesome/fontawesome-svg-core": "^6.1.0", + "@fortawesome/free-solid-svg-icons": "^6.1.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "@tools/smart-filters-editor-control": "^1.0.0", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "css-loader": "^7.1.0", + "file-loader": "^6.2.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.62.0", + "sass-loader": "^16.0.0", + "source-map-loader": "^4.0.0", + "style-loader": "^3.3.0", + "ts-loader": "^9.2.6", + "url-loader": "^4.1.1", + "webpack": "^5.103.0", + "webpack-bundle-analyzer": "^4.10.0", + "webpack-cli": "^6.0.1", + "webpack-dev-server": "^5.2.2" + } +} diff --git a/suite/fixtures/babylon/packages/tools/smartFiltersEditorControl/package.json b/suite/fixtures/babylon/packages/tools/smartFiltersEditorControl/package.json index e0ecd787208..be6fee5bf41 100644 --- a/suite/fixtures/babylon/packages/tools/smartFiltersEditorControl/package.json +++ b/suite/fixtures/babylon/packages/tools/smartFiltersEditorControl/package.json @@ -1,39 +1,39 @@ -{ - "name": "@tools/smart-filters-editor-control", - "private": true, - "version": "1.0.0", - "description": "The editor control used in Smart Filters applications.", - "readme": "README.md", - "main": "dist/index", - "module": "dist/index", - "esnext": "dist/index", - "types": "dist/index", - "type": "module", - "sideEffects": true, - "files": [ - "dist", - "src", - "license.md", - "readme.md" - ], - "scripts": { - "clean": "rimraf dist && rimraf tsconfig.build.tsbuildinfo", - "build": "tsc -p ./tsconfig.build.json", - "test": "jest -c ../../../jest.config.ts --passWithNoTests" - }, - "peerDependencies": { - "@babylonjs/core": "^8.0.1", - "@babylonjs/shared-ui-components": "^8.0.1", - "@fortawesome/fontawesome-svg-core": "^6.1.0", - "@fortawesome/free-solid-svg-icons": "^6.1.0", - "@fortawesome/react-fontawesome": "^0.2.0", - "react": "^18.2.0", - "react-dom": "^18.2.0" - }, - "devDependencies": { - "@dev/core": "^1.0.0", - "@dev/shared-ui-components": "^1.0.0", - "@dev/smart-filters": "^1.0.0", - "@dev/smart-filters-blocks": "^1.0.0" - } -} +{ + "name": "@tools/smart-filters-editor-control", + "private": true, + "version": "1.0.0", + "description": "The editor control used in Smart Filters applications.", + "readme": "README.md", + "main": "dist/index", + "module": "dist/index", + "esnext": "dist/index", + "types": "dist/index", + "type": "module", + "sideEffects": true, + "files": [ + "dist", + "src", + "license.md", + "readme.md" + ], + "scripts": { + "clean": "rimraf dist && rimraf tsconfig.build.tsbuildinfo", + "build": "tsc -p ./tsconfig.build.json", + "test": "jest -c ../../../jest.config.ts --passWithNoTests" + }, + "peerDependencies": { + "@babylonjs/core": "^8.0.1", + "@babylonjs/shared-ui-components": "^8.0.1", + "@fortawesome/fontawesome-svg-core": "^6.1.0", + "@fortawesome/free-solid-svg-icons": "^6.1.0", + "@fortawesome/react-fontawesome": "^0.2.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "devDependencies": { + "@dev/core": "^1.0.0", + "@dev/shared-ui-components": "^1.0.0", + "@dev/smart-filters": "^1.0.0", + "@dev/smart-filters-blocks": "^1.0.0" + } +} diff --git a/suite/fixtures/babylon/packages/tools/tests/package.json b/suite/fixtures/babylon/packages/tools/tests/package.json index 6e3df5a10dd..d4d4bea874d 100644 --- a/suite/fixtures/babylon/packages/tools/tests/package.json +++ b/suite/fixtures/babylon/packages/tools/tests/package.json @@ -1,43 +1,43 @@ -{ - "name": "@tools/tests", - "private": true, - "version": "1.0.0", - "types": "dist/index", - "main": "dist/index", - "module": "dist/index", - "files": [ - "dist", - "src" - ], - "scripts": { - "test": "jest --runInBand -c ../../../jest.config.ts", - "test:debug": "set DEBUG=true && npm run test", - "update": "jest -u", - "build": "node ./build.js", - "analyse": "webpack --profile --json > stats.json", - "generate-file-size-report": "node ./scripts/generateFileSizes.js", - "test:playwright": "playwright test --config ../../../playwright.config.ts" - }, - "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", - "@tools/test-tools": "^1.0.0", - "@types/jest": "^27.4.0", - "@types/jest-image-snapshot": "^4.3.1", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "browserstack-local": "^1.5.5", - "jest": "^29.7.0", - "jest-puppeteer": "^10.0.1", - "puppeteer": "^22.1.0", - "sass": "^1.62.1" - }, - "optionalDependencies": { - "jest-image-snapshot": "^6.1.0" - }, - "sideEffects": false -} +{ + "name": "@tools/tests", + "private": true, + "version": "1.0.0", + "types": "dist/index", + "main": "dist/index", + "module": "dist/index", + "files": [ + "dist", + "src" + ], + "scripts": { + "test": "jest --runInBand -c ../../../jest.config.ts", + "test:debug": "set DEBUG=true && npm run test", + "update": "jest -u", + "build": "node ./build.js", + "analyse": "webpack --profile --json > stats.json", + "generate-file-size-report": "node ./scripts/generateFileSizes.js", + "test:playwright": "playwright test --config ../../../playwright.config.ts" + }, + "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", + "@tools/test-tools": "^1.0.0", + "@types/jest": "^27.4.0", + "@types/jest-image-snapshot": "^4.3.1", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "browserstack-local": "^1.5.5", + "jest": "^29.7.0", + "jest-puppeteer": "^10.0.1", + "puppeteer": "^22.1.0", + "sass": "^1.62.1" + }, + "optionalDependencies": { + "jest-image-snapshot": "^6.1.0" + }, + "sideEffects": false +} diff --git a/suite/fixtures/babylon/packages/tools/testsMemoryLeaks/package.json b/suite/fixtures/babylon/packages/tools/testsMemoryLeaks/package.json index 4762a130c26..44b1659edf1 100644 --- a/suite/fixtures/babylon/packages/tools/testsMemoryLeaks/package.json +++ b/suite/fixtures/babylon/packages/tools/testsMemoryLeaks/package.json @@ -1,22 +1,22 @@ -{ - "name": "@tools/memory-leak-tests", - "version": "1.0.0", - "main": "dist/index", - "module": "dist/index", - "types": "dist/index", - "private": true, - "files": [ - "dist" - ], - "scripts": { - "build": "npm run clean && npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g", - "compile": "tsc -b tsconfig.build.json", - "watch": "tsc -b tsconfig.build.json --watch", - "test": "npm run compile && node ./dist/index.js" - }, - "sideEffects": true, - "dependencies": { - "memlab": "^1.1.28" - } -} +{ + "name": "@tools/memory-leak-tests", + "version": "1.0.0", + "main": "dist/index", + "module": "dist/index", + "types": "dist/index", + "private": true, + "files": [ + "dist" + ], + "scripts": { + "build": "npm run clean && npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g", + "compile": "tsc -b tsconfig.build.json", + "watch": "tsc -b tsconfig.build.json --watch", + "test": "npm run compile && node ./dist/index.js" + }, + "sideEffects": true, + "dependencies": { + "memlab": "^1.1.28" + } +} diff --git a/suite/fixtures/babylon/packages/tools/viewer/package.json b/suite/fixtures/babylon/packages/tools/viewer/package.json index 502c3f2ab8d..7393aa6c3eb 100644 --- a/suite/fixtures/babylon/packages/tools/viewer/package.json +++ b/suite/fixtures/babylon/packages/tools/viewer/package.json @@ -1,46 +1,46 @@ -{ - "name": "@tools/viewer", - "version": "1.0.0", - "private": true, - "sideEffects": false, - "description": "A viewer using BabylonJS to display 3D elements natively", - "scripts": { - "start:web": "npm run serve -- --open packages/tools/viewer/test/apps/web/index.html", - "start:analyze": "npm run bundle:analyze && npm run serve -- --open packages/tools/viewer/test/apps/web/analyze.html", - "start:coverage": "npm run bundle:analyze && npm run instrument && npm run serve -- --open packages/tools/viewer/test/apps/web/coverage.html", - "serve": "cross-env COVERAGE_DIR=dist/coverage/raw vite", - "build": "npm run compile", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g", - "compile": "tsc -b tsconfig.build.json", - "watch": "npm run compile -- -w", - "watch:dev": "npm run watch", - "bundle:analyze": "rimraf dist/analyze && rollup -c rollup.config.analyze.mjs", - "bundle:coverage": "rimraf dist/coverage && rollup -c rollup.config.coverage.mjs", - "analyze": "npm run bundle:analyze && node ../../../scripts/folderSizeFlameChart.mjs dist/analyze \"**/*.js\" dist/analyze/flameChart", - "import-chains": "node -e \"require('../../../scripts/queryRollupStats.js').queryRollupStats(process.argv[1], process.argv[2], 'dist/analyze/stats.json')\"", - "instrument": "npm run bundle:coverage && nyc --exclude-node-modules=false instrument dist/coverage/original dist/coverage/instrumented", - "report-coverage": "node generateCoverageReports.mjs dist/analyze dist/coverage dist/coverage/original dist/coverage/raw", - "test": "echo \"Error: no test specified\" && exit 1" - }, - "dependencies": { - "@dev/core": "1.0.0", - "@dev/loaders": "1.0.0", - "lit": "^3.2.0" - }, - "devDependencies": { - "@rollup/plugin-alias": "^5.1.0", - "@rollup/plugin-commonjs": "^26.0.1", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-terser": "^0.4.4", - "@rollup/plugin-typescript": "^11.1.6", - "chalk": "^5.3.0", - "commondir": "^1.0.1", - "cross-env": "^7.0.3", - "nyc": "^17.0.0", - "open": "^10.1.0", - "rollup": "^4.18.0", - "rollup-plugin-minify-template-literals": "^1.1.7", - "rollup-plugin-visualizer": "^5.12.0", - "vite": "^6.2.1" - } -} +{ + "name": "@tools/viewer", + "version": "1.0.0", + "private": true, + "sideEffects": false, + "description": "A viewer using BabylonJS to display 3D elements natively", + "scripts": { + "start:web": "npm run serve -- --open packages/tools/viewer/test/apps/web/index.html", + "start:analyze": "npm run bundle:analyze && npm run serve -- --open packages/tools/viewer/test/apps/web/analyze.html", + "start:coverage": "npm run bundle:analyze && npm run instrument && npm run serve -- --open packages/tools/viewer/test/apps/web/coverage.html", + "serve": "cross-env COVERAGE_DIR=dist/coverage/raw vite", + "build": "npm run compile", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g", + "compile": "tsc -b tsconfig.build.json", + "watch": "npm run compile -- -w", + "watch:dev": "npm run watch", + "bundle:analyze": "rimraf dist/analyze && rollup -c rollup.config.analyze.mjs", + "bundle:coverage": "rimraf dist/coverage && rollup -c rollup.config.coverage.mjs", + "analyze": "npm run bundle:analyze && node ../../../scripts/folderSizeFlameChart.mjs dist/analyze \"**/*.js\" dist/analyze/flameChart", + "import-chains": "node -e \"require('../../../scripts/queryRollupStats.js').queryRollupStats(process.argv[1], process.argv[2], 'dist/analyze/stats.json')\"", + "instrument": "npm run bundle:coverage && nyc --exclude-node-modules=false instrument dist/coverage/original dist/coverage/instrumented", + "report-coverage": "node generateCoverageReports.mjs dist/analyze dist/coverage dist/coverage/original dist/coverage/raw", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "dependencies": { + "@dev/core": "1.0.0", + "@dev/loaders": "1.0.0", + "lit": "^3.2.0" + }, + "devDependencies": { + "@rollup/plugin-alias": "^5.1.0", + "@rollup/plugin-commonjs": "^26.0.1", + "@rollup/plugin-node-resolve": "^15.2.3", + "@rollup/plugin-terser": "^0.4.4", + "@rollup/plugin-typescript": "^11.1.6", + "chalk": "^5.3.0", + "commondir": "^1.0.1", + "cross-env": "^7.0.3", + "nyc": "^17.0.0", + "open": "^10.1.0", + "rollup": "^4.18.0", + "rollup-plugin-minify-template-literals": "^1.1.7", + "rollup-plugin-visualizer": "^5.12.0", + "vite": "^6.2.1" + } +} diff --git a/suite/fixtures/babylon/packages/tools/vsm/package.json b/suite/fixtures/babylon/packages/tools/vsm/package.json index 3199c081424..4f9b0b9b3d2 100644 --- a/suite/fixtures/babylon/packages/tools/vsm/package.json +++ b/suite/fixtures/babylon/packages/tools/vsm/package.json @@ -1,48 +1,48 @@ -{ - "name": "@tools/visual-state-manager", - "private": true, - "version": "0.0.1", - "description": "Babylon.js Visual State Manager Tool. This is a very early alpha version and so is not usable yet.", - "files": [ - "dist" - ], - "types": "dist/index.d.ts", - "main": "dist/index.js", - "module": "dist/index.js", - "scripts": { - "build": "npm run clean && npm run compile", - "build:declaration": "build-tools -c pud --config ./config.json", - "build:deployment": "npm run clean && webpack --env mode=production", - "compile": "tsc -b tsconfig.build.json --verbose", - "postcompile": "build-tools -c pa", - "serve": "webpack serve", - "serve:prod": "webpack serve --env mode=production", - "serve:https": "webpack serve --env mode=development --server-type https --host ::", - "serve:dev": "webpack serve --env mode=development --env watch=all", - "clean": "rimraf dist && rimraf *.tsbuildinfo -g" - }, - "dependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0" - }, - "devDependencies": { - "@dev/build-tools": "1.0.0", - "@dev/core": "1.0.0", - "@dev/gui": "1.0.0", - "@dev/shared-ui-components": "1.0.0", - "@svgr/webpack": "^7.0.0", - "@types/dagre": "^0.7.47", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "copy-webpack-plugin": "^11.0.0", - "css-loader": "^7.1.0", - "sass-loader": "^16.0.0", - "split.js": "^1.6.5", - "style-loader": "^3.3.0", - "url-loader": "^4.1.1", - "webpack": "^5.103.0", - "webpack-cli": "6.0.1", - "webpack-merge": "^5.8.0" - }, - "sideEffects": true -} +{ + "name": "@tools/visual-state-manager", + "private": true, + "version": "0.0.1", + "description": "Babylon.js Visual State Manager Tool. This is a very early alpha version and so is not usable yet.", + "files": [ + "dist" + ], + "types": "dist/index.d.ts", + "main": "dist/index.js", + "module": "dist/index.js", + "scripts": { + "build": "npm run clean && npm run compile", + "build:declaration": "build-tools -c pud --config ./config.json", + "build:deployment": "npm run clean && webpack --env mode=production", + "compile": "tsc -b tsconfig.build.json --verbose", + "postcompile": "build-tools -c pa", + "serve": "webpack serve", + "serve:prod": "webpack serve --env mode=production", + "serve:https": "webpack serve --env mode=development --server-type https --host ::", + "serve:dev": "webpack serve --env mode=development --env watch=all", + "clean": "rimraf dist && rimraf *.tsbuildinfo -g" + }, + "dependencies": { + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "devDependencies": { + "@dev/build-tools": "1.0.0", + "@dev/core": "1.0.0", + "@dev/gui": "1.0.0", + "@dev/shared-ui-components": "1.0.0", + "@svgr/webpack": "^7.0.0", + "@types/dagre": "^0.7.47", + "@types/react": "^18.0.0", + "@types/react-dom": "^18.0.0", + "copy-webpack-plugin": "^11.0.0", + "css-loader": "^7.1.0", + "sass-loader": "^16.0.0", + "split.js": "^1.6.5", + "style-loader": "^3.3.0", + "url-loader": "^4.1.1", + "webpack": "^5.103.0", + "webpack-cli": "6.0.1", + "webpack-merge": "^5.8.0" + }, + "sideEffects": true +}