Skip to content

Commit

Permalink
feat(smoke): include packages-smoke update into release (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Mar 14, 2019
1 parent dfc75f0 commit 8db4b29
Show file tree
Hide file tree
Showing 6 changed files with 3,291 additions and 2,685 deletions.
7 changes: 5 additions & 2 deletions DEV_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
- add the package into bundle.ts which build umd modules for our packages
- add the package into packages-smoke application dependencies to verify it works properly in isolation.

# New Package Dependency Checklist
- run `npm run update-packages-smoke-lock` to update packages-smoke/package-lock.json and commit updated package lock

# Objectives
The aim of the project is to create a set of useful Angular modules which help to bootstrap the development.

Expand Down Expand Up @@ -338,9 +341,9 @@ To start a new release (publish the framework packages on NPM) you need:
3. `npm run release:validate` - this will build prod & AOT builds of the playground app using prepared packages in src/.lib and run e2e tests again it.
4. MANUALLY update a version in main ./package.json to a new one
5.
* `npm run update-packages-smoke-lock` to update `packages-smoke/package-lock.json`
* `npm run version:bump`
* update `package-lock.json`
* update dependent modules with correct peer module versions
* update version in `package-lock.json` and `packages-smoke/package-lock.json`
6.
* `npm run version:changelog`
* fix/expand changelog manually
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"release:dev": "npm-run-all release:prepare:dev publish",
"release": "npm-run-all release:validate publish",
"publish": "./scripts/publish.sh",
"update-packages-smoke-lock": "./scripts/update-packages-smoke-lock.sh",
"cli:firefox-fix": "rimraf node_modules/@angular-devkit/build-angular/node_modules/uglify-es && rimraf node_modules/@angular-devkit/build-angular/node_modules/uglifyjs-webpack-plugin",
"postinstall": "npm run cli:firefox-fix",
"gen:playground": "ng g .:playground",
Expand Down
Loading

0 comments on commit 8db4b29

Please sign in to comment.