Skip to content

Commit a3c3fb3

Browse files
committed
setup project stuff
1 parent c222208 commit a3c3fb3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
registry-url: 'https://registry.npmjs.org'
1515
- run: npm ci
1616
- run: npm run build-prod:lib
17-
- run: npm run publish:lib
17+
- run: npm run prepare-publish:lib
18+
- run: npm publish --access public ./dist/angular-editor/
1819
env:
1920
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build:lib": "ng-packagr -p projects/angular-editor/ng-package.json",
1414
"build-prod:lib": "ng-packagr -p projects/angular-editor/ng-package.json -c projects/angular-editor/tsconfig.lib.prod.json",
1515
"publish:lib": "npm run copy:readme && npm run copy:changelog && npm run copy:license && npm publish --tag next --access public ./dist/angular-editor ",
16+
"prepare-publish:lib": "npm run copy:readme && npm run copy:changelog && npm run copy:license",
1617
"copy:readme": "cpx README.md dist/angular-editor",
1718
"copy:changelog": "cpx CHANGELOG.md dist/angular-editor",
1819
"copy:license": "cpx LICENSE dist/angular-editor",

projects/angular-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cluetec/angular-editor",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "A simple native WYSIWYG editor for Angular 14+. Rich Text editor component for Angular.",
55
"author": "Michael Niedermaier <[email protected]>",
66
"repository": "https://github.com/cluetec/angular-editor",

0 commit comments

Comments
 (0)