Skip to content

Commit

Permalink
build updates
Browse files Browse the repository at this point in the history
  • Loading branch information
steveblue committed Feb 11, 2025
1 parent eda0a70 commit 224d87b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ Run `yarn build` to build the project. The build artifacts will be stored in the
- Run `git checkout -b release/X.Y.Z`
- Update version in `projects/swimlane/ngx-ui/package.json`.
- Update changelog in `projects/swimlane/ngx-ui/CHANGELOG.md`
- Run `yarn package` to build the package
- Run `git commit -am "(release): X.Y.Z"`
- Run `git tag X.Y.Z`
- Run `git push origin HEAD --tags`
- Run `npm run publish:lib`
- Run `yarn publish`
- Submit PR
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"build:schematics": "tsc -p ./projects/swimlane/ngx-ui-schematics/tsconfig.json",
"build:schematics:dev": "tsc -p ./projects/swimlane/ngx-ui-schematics/tsconfig.json --watch",
"copy-schematics": "cpx ./projects/swimlane/ngx-ui-schematics/src/collection.json ./dist/swimlane/ngx-ui-schematics/",
"copy-files": "cpx ./README.md ./dist/swimlane/ngx-ui/ && cpx LICENSE dist/swimlane/ngx-ui/",
"package": "yarn build:lib",
"copy-files": "cpx ./README.md ./dist/swimlane/ngx-ui/ && cpx LICENSE dist/swimlane/ngx-ui/ && cpx ./projects/swimlane/ngx-ui/CHANGELOG.md dist/swimlane/ngx-ui/",
"test": "yarn test:prettier && yarn test:lint && yarn test:unit && yarn test:integration",
"test:prettier": "prettier --check \"{src,projects,cypress}/**/*.{js,ts,scss,css,md,json}\"",
"test:lint": "ng lint",
Expand All @@ -30,11 +29,11 @@
"watch:unit": "TZ=America/Los_Angeles ng test @swimlane/ngx-ui --watch --ts-config tsconfig.spec.json",
"cypress:run": "TZ=America/Los_Angeles cypress run",
"cypress:open": "TZ=America/Los_Angeles cypress open",
"package": "yarn build:lib",
"predeploy": "yarn build:lib && yarn build:deploy",
"deploy": "angular-cli-ghpages --dir ./dist/ngx-ui --name=Swimlane [email protected]",
"prepublish:lib": "yarn package",
"publish:lib": "npm publish ./dist/swimlane/ngx-ui --ignore-scripts",
"publish:lib:beta": "npm publish ./dist/swimlane/ngx-ui --ignore-scripts --tag beta",
"publish": "npm publish ./dist/swimlane/ngx-ui --ignore-scripts",
"prepack": "yarn package",
"pack": "npm pack ./dist/swimlane/ngx-ui",
"prepare": "husky install"
Expand Down Expand Up @@ -145,4 +144,4 @@
"yarn": "4.5.1"
},
"packageManager": "[email protected]"
}
}

0 comments on commit 224d87b

Please sign in to comment.