-
-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring the ShaderLab Compiler Module using the LALR Algorithm fo…
…r Enhanced GLSL Compatibility and Reduced Build Size (#2113) * refactor: refactoring the ShaderLab Compiler Module
- Loading branch information
Showing
148 changed files
with
9,170 additions
and
7,264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,19 @@ | |
"test-debug": "cross-env TS_NODE_PROJECT=tsconfig.tests.json floss --path tests -r ts-node/register --debug", | ||
"test-cov": "cross-env TS_NODE_PROJECT=tsconfig.tests.json IS_COV=1 nyc --reporter=lcov floss --path tests -r ts-node/register", | ||
"build": "npm run b:module && npm run b:types", | ||
"build:editor": "npm run b:module:editor && npm run b:types", | ||
"lint": "eslint packages/*/src --ext .ts", | ||
"watch": "cross-env NODE_ENV=development BUILD_TYPE=MODULE rollup -cw -m inline", | ||
"watch:umd": "cross-env NODE_ENV=development BUILD_TYPE=UMD rollup -cw -m inline", | ||
"watch": "cross-env NODE_ENV=release BUILD_TYPE=MODULE rollup -cw -m inline", | ||
"watch:editor": "cross-env NODE_ENV=editor BUILD_TYPE=MODULE rollup -cw -m inline", | ||
"watch:umd": "cross-env NODE_ENV=release BUILD_TYPE=UMD rollup -cw -m inline", | ||
"watch:umd:editor": "cross-env NODE_ENV=editor BUILD_TYPE=UMD rollup -cw -m inline", | ||
"b:types": "pnpm -r --filter=./packages/* run b:types", | ||
"b:module": "cross-env BUILD_TYPE=MODULE rollup -c", | ||
"b:umd": "cross-env BUILD_TYPE=UMD rollup -c", | ||
"b:module": "cross-env BUILD_TYPE=MODULE NODE_ENV=release rollup -c", | ||
"b:module:editor": "cross-env BUILD_TYPE=MODULE NODE_ENV=editor rollup -c", | ||
"b:umd": "cross-env BUILD_TYPE=UMD NODE_ENV=release rollup -c", | ||
"b:miniprogram": "cross-env BUILD_TYPE=MINI rollup -c", | ||
"b:all": "npm run b:types && cross-env BUILD_TYPE=ALL rollup -c", | ||
"b:all": "cross-env NODE_ENV=release npm run b:types && cross-env BUILD_TYPE=ALL NODE_ENV=release rollup -c", | ||
"b:all:editor": "cross-env NODE_ENV=editor npm run b:types && cross-env BUILD_TYPE=ALL rollup -c", | ||
"clean": "pnpm -r exec rm -rf dist && pnpm -r exec rm -rf types", | ||
"e2e:case": "pnpm -C ./e2e run case", | ||
"e2e": "cypress run --browser chrome --headless", | ||
|
@@ -36,32 +41,33 @@ | |
"@types/chai-spies": "^1.0.3", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^18.7.16", | ||
"@types/webxr": "latest", | ||
"@typescript-eslint/eslint-plugin": "^6.1.0", | ||
"@typescript-eslint/parser": "^6.1.0", | ||
"chai": "^4.3.6", | ||
"chai-spies": "^1.0.0", | ||
"cross-env": "^5.2.0", | ||
"cypress": "^12.17.1", | ||
"cypress-recurse": "^1.23.0", | ||
"electron": "^13", | ||
"eslint": "^8.44.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"floss": "^5.0.1", | ||
"fs-extra": "^10.1.0", | ||
"husky": "^8.0.0", | ||
"lint-staged": "^10.5.3", | ||
"nyc": "^15.1.0", | ||
"odiff-bin": "^2.5.0", | ||
"prettier": "^3.0.0", | ||
"rollup": "^2.36.1", | ||
"rollup-plugin-glslify": "^1.2.0", | ||
"rollup-plugin-jscc": "^2.0.0", | ||
"rollup-plugin-modify": "^3.0.0", | ||
"rollup-plugin-serve": "^1.1.0", | ||
"rollup-plugin-swc3": "^0.10.1", | ||
"ts-node": "^10", | ||
"typescript": "^5.1.6", | ||
"@types/webxr": "latest", | ||
"husky": "^8.0.0", | ||
"fs-extra": "^10.1.0", | ||
"cypress": "^12.17.1", | ||
"cypress-recurse": "^1.23.0", | ||
"odiff-bin": "^2.5.0" | ||
"typescript": "^5.1.6" | ||
}, | ||
"lint-staged": { | ||
"*.{ts}": [ | ||
|
@@ -70,4 +76,4 @@ | |
] | ||
}, | ||
"repository": "[email protected]:galacean/runtime.git" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.