7eb3e3bce6
In #33823, `scripts/package-builds.sh` (which is used by both `build-packages-dist.sh` and `build-ivy-npm-packages.sh`) was updated to use `realpath`. It turns out that `realpath` does not exist on macOS, so the build scripts do not work there. In order to fix this (and also reduce the likelihood of introducing similar issues in the future), this commit changes these bash scripts to Node.js scripts (using [ShellJS](https://github.com/shelljs/shelljs) for a cross-platform implementation of Unix shell commands where necessary). PR Close #33854
21 lines
786 B
JSON
21 lines
786 B
JSON
{
|
|
"name": "language_service_plugin",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"description": "Angular Language Service plugin integration test",
|
|
"dependencies": {
|
|
"@angular/core": "file:../../dist/packages-dist/core",
|
|
"@angular/language-service": "file:../../dist/packages-dist/language-service",
|
|
"@types/node": "file:../../node_modules/@types/node",
|
|
"jasmine": "file:../../node_modules/jasmine",
|
|
"typescript": "file:../../node_modules/typescript"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"build-dist": "node ../../scripts/build-packages-dist.js && yarn install --check-files",
|
|
"cleanup": "rm -rf ti-*.log tsserver.log",
|
|
"golden": "yarn build && node generate.js",
|
|
"test": "yarn cleanup && yarn build && jasmine test.js"
|
|
}
|
|
}
|