angular-cn/integration/cli-hello-world-ivy-compat
George Kalpakas 7eb3e3bce6 build: fix build scripts on macOS (#33854)
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
2019-11-15 16:05:00 -08:00
..
e2e test: fix typo in cli e2e descriptions (#33175) 2019-10-21 15:54:06 -04:00
src test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
.editorconfig build: rename cli-hello-world-ivy test to cli-hello-world-ivy-compat (#28372) 2019-02-07 12:36:51 -08:00
.gitignore test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
README.md test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
angular.json test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
browserslist test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
debug-test.sh build: fix build scripts on macOS (#33854) 2019-11-15 16:05:00 -08:00
karma.conf.js test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
package.json test(ngcc): build `zone.js` from source in `scripts/build-packages-dist.sh` (#33733) 2019-11-12 09:55:16 -08:00
tsconfig.app.json test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
tsconfig.json test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
tsconfig.spec.json test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
tslint.json test: update integration/cli-hello-world-ivy-compat project structure (#33175) 2019-10-21 15:54:06 -04:00
yarn.lock test(ngcc): build `zone.js` from source in `scripts/build-packages-dist.sh` (#33733) 2019-11-12 09:55:16 -08:00

README.md

CliHelloWorldIvy

This project was generated with Angular CLI version 9.0.0-next.9.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.