Skip to content

Conversation

@mgmarlow
Copy link
Contributor

@mgmarlow mgmarlow commented Sep 8, 2017

New build process will create the node_modules/angular-playground/dist/ directory and package.json file without the extra stuff that was causing errors in the CLI example.

To start developing in an example, do the following:

  1. npm i in root, angular-playground
  2. npm i in example, angular-playground/example-app-angular-cli
  3. npm playground:fresh

@@ -0,0 +1,5 @@
if (Test-Path "./dist") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this script or change it to run with node

"playground:fresh": "npm i ../ && npm run playground",
"playground": "angular-playground",
"playground2": "angular-playground angular-playground2.json",
"playground:fresh": "node ../scripts/build-examples.js && npm run playground",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove fresh and just have "npm run playground"

Development Steps:
1. `npm i` in root (`angular-playground/`)
2. `npm i` in this directory (`example-app-angular-cli`)
3. `npm run playground:fresh`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to "npm run playground"

@lurock lurock merged commit 8feedb5 into SoCreate:master Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants