Skip to content

Commit

Permalink
fix npm publish, v1.0.3
Browse files Browse the repository at this point in the history
fixes #156
  • Loading branch information
JohannesHoppe committed Jul 26, 2022
1 parent bff5076 commit 62626d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/README_contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ cd angular-cli-ghpages/src
npm run prettier
npm run build
npm run test
npm publish dist
npm run publish-to-npm
npm dist-tag add [email protected] next
```

Expand Down
5 changes: 3 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-cli-ghpages",
"version": "1.0.1",
"version": "1.0.3",
"description": "Deploy your Angular app to GitHub pages directly from the Angular CLI. (ng deploy)",
"main": "index.js",
"bin": {
Expand All @@ -12,7 +12,8 @@
"build": "tsc -p tsconfig.build.json",
"postbuild": "copyfiles builders.json collection.json ng-add-schema.json package.json angular-cli-ghpages deploy/schema.json dist && copyfiles ../README.md dist/README.md",
"test": "jest",
"prettier": "prettier --write ."
"prettier": "prettier --write .",
"publish-to-npm": "npm run build && cd dist && npm publish"
},
"schematics": "./collection.json",
"builders": "./builders.json",
Expand Down

0 comments on commit 62626d1

Please sign in to comment.