Skip to content

Commit

Permalink
PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Bombardi committed Sep 12, 2022
1 parent a03a2d3 commit 39e454b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ Thumbs.db
# Yarn
yarn.lock
yarn-error.log

# pnpm
pnpm-lock.yaml
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
auto-install-peers=true
strict-peer-dependencies=false
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
"version": "14.2.0",
"license": "MIT",
"private": false,
"packageManager": "[email protected]",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"webpack",
"@angular-devkit/*"
]
}
},
"scripts": {
"ng": "ng",
"start": "ng serve --open",
Expand All @@ -14,13 +23,14 @@
"e2e": "ng e2e",
"clean": "rimraf dist",
"build:package": "ng-packagr -p ng-package.json",
"build:dist": "npm run build:package && npm run build:styles && npm run copyfiles",
"build:dist": "pnpm build:package && pnpm build:styles && pnpm copyfiles",
"build:styles": "sass lib/modules/scheduler/calendar-scheduler-view.component.scss | postcss --output dist/css/angular-calendar-scheduler.css",
"copyfiles": "copyfiles CHANGELOG.md dist && copyfiles -u 1 lib/modules/**/package.json dist && copyfiles -u 1 lib/**/*.scss dist/scss",
"release:git": "git add . package.json && git commit -m \"chore: bump version number\" && standard-version --release-as patch && git push --follow-tags origin master",
"release:npm": "npm run build:dist && npm publish dist",
"release:yarn": "npm run build:dist && yarn publish dist",
"release": "npm run release:git && npm run release:yarn",
"release:yarn": "yarn build:dist && yarn publish dist",
"release:pnpm": "pnpm build:dist && pnpm publish dist",
"release": "pnpm release:git && pnpm release:pnpm",
"postinstall": "ngcc"
},
"repository": {
Expand Down

0 comments on commit 39e454b

Please sign in to comment.