Skip to content

Commit

Permalink
build: 🔖 change pre alpha publish step
Browse files Browse the repository at this point in the history
build: add force publish flag

build: add dist tag

build: update lockfile
  • Loading branch information
dylankelly committed Jun 28, 2023
1 parent 1b62620 commit e5904be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
8 changes: 1 addition & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,12 @@ jobs:
command: |
corepack enable
corepack prepare pnpm@8.6.2 --activate
- run:
name: Bump version to latest prerelease
command: pnpm release:pre --yes
- run:
name: Publish alpha prerelease to NPM
command: |
npm config set access public
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
pnpm release:publish --yes
pnpm release:publish-pre --yes
publish:
<<: *defaults
steps:
Expand All @@ -262,9 +259,6 @@ jobs:
command: |
corepack enable
corepack prepare pnpm@8.6.2 --activate
# - run:
# name: Bump version to production release
# command: pnpm release:prod --yes
- run:
name: Publish prod release to NPM
command: |
Expand Down
7 changes: 2 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
"exact": true,
"command": {
"publish": {
"message": "chore(release): publish %s [skip ci]",
"conventionalCommits": true
"message": "chore(release): publish %s [skip ci]"
}
},
"packages": [
"packages/*"
]
"packages": ["packages/*"]
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
"build:storybook": "pnpm -F ripple-storybook build",
"postinstall": "husky install && pnpm build",
"preinstall": "npx only-allow pnpm",
"release:alpha": "lerna version prerelease --preid alpha --yes",
"release:pre": "lerna version --conventional-commits --conventional-prerelease --preid alpha",
"release:prod": "lerna version --conventional-commits --conventional-graduate --create-release github",
"release:prod": "lerna version --force-publish",
"release:publish-pre": "lerna publish --canary minor --preid next --dist-tag next --force-publish",
"release:publish": "lerna publish from-git",
"lint": "eslint . --ext .ts,.vue && pnpm -F @dpc-sdp/ripple-ui-core stylelint",
"test:unit": "jest --colors --runInBand",
Expand Down

0 comments on commit e5904be

Please sign in to comment.