Skip to content

Commit

Permalink
chore: adjust to lerna publish
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Sep 29, 2022
1 parent 5d2c7d9 commit 3afff5c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ Thumbs.db
.husky/_/

projects/demo/src/assets
projects/lib/dist
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build": "ng build && rimraf projects/lib/dist/package.json",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"format:check": "prettier --check ./projects",
Expand All @@ -13,6 +13,7 @@
"precommit": "lint-staged --allow-empty",
"link": "cd dist && npm link",
"release": "cd dist && npm publish",
"release:canary": "lerna publish prepatch --canary --preid beta --dist-tag beta --yes --no-changelog",
"update:registry": "lerna run update:registry && sed -i -e \"s#nexus.balgroupit.com/repository/npm#registry.npmjs.org#g\" package-lock.json\n",
"postinstall": "npm run copy:fonts",
"copy:fonts": "copyfiles --flat node_modules/@baloise/design-system-next-fonts/lib/* projects/demo/src/assets"
Expand Down Expand Up @@ -62,6 +63,7 @@
"lint-staged": "^12.3.4",
"ng-packagr": "^14.0.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "~4.6.2"
}
}
1 change: 0 additions & 1 deletion projects/lib/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/web-app-ng-utils",
"lib": {
"entryFile": "src/public-api.ts"
}
Expand Down
16 changes: 14 additions & 2 deletions projects/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,23 @@
"@angular/common": ">=12.0.0",
"@angular/core": ">=12.0.0",
"@angular/forms": ">=12.0.0",
"@baloise/design-system-next-components-angular": "^10.15.2-beta.2",
"@baloise/design-system-next-components-angular": ">=10.15.2-beta.2",
"@baloise/web-app-google-utils": ">=1.2.0",
"query-string": ">=7.0.0"
},
"dependencies": {
"tslib": "^2.3.0"
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/"
],
"module": "dist/fesm2015/baloise-web-app-ng-utils.mjs",
"es2020": "dist/fesm2020/baloise-web-app-ng-utils.mjs",
"esm2020": "dist/esm2020/baloise-web-app-ng-utils.mjs",
"fesm2020": "dist/fesm2020/baloise-web-app-ng-utils.mjs",
"fesm2015": "dist/fesm2015/baloise-web-app-ng-utils.mjs",
"typings": "dist/index.d.ts"
}

0 comments on commit 3afff5c

Please sign in to comment.