Skip to content

Commit

Permalink
chore: release v7.0.0-alpha.5
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Jan 29, 2025
1 parent a264328 commit 5739201
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ jobs:
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- run:
name: publish
command: cd /home/circleci/welcome-ui/lib && npm publish
command: cd /home/circleci/welcome-ui/lib && npm publish --registry https://registry.npmjs.org

alpha_release:
executor: nodejs
Expand All @@ -227,7 +227,7 @@ jobs:
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- run:
name: publish
command: cd /home/circleci/welcome-ui/lib && npm publish --tag beta
command: cd /home/circleci/welcome-ui/lib && npm publish --tag beta --registry https://registry.npmjs.org

dev_release:
executor: nodejs
Expand Down
4 changes: 3 additions & 1 deletion .dev-releases/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ writeFileSync(packageJSONPath, JSON.stringify(packageJSON, null, 2))
console.info('Done !')
console.info('Publishing ...')

execSync('cd /home/circleci/welcome-ui/lib && npm publish --tag dev')
execSync(
'cd /home/circleci/welcome-ui/lib && npm publish --tag dev --registry https://registry.npmjs.org'
)

console.info('Done !')
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package-lock=false
registry=https://registry.yarnpkg.com
package-lock=false
10 changes: 4 additions & 6 deletions lib/.release-it.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"npm": {
"publish": false,
"skipChecks": true
},
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}"
},
"npm": {
"skipChecks": true,
"publishConfig": {
"registry": "https://registry.yarnpkg.com"
}
},
"github": {
"release": true
}
Expand Down
4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "welcome-ui",
"version": "7.0.0-alpha.4",
"version": "7.0.0-alpha.5",
"description": "Customizable design system with react • styled-components • styled-system and ariakit.",
"files": [
"dist"
Expand Down Expand Up @@ -86,8 +86,8 @@
"@types/lodash.range": "^3.2.9",
"@types/node": "22.9.0",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.11",
"@types/react-datepicker": "^4.15.0",
"@types/react-dom": "18.0.11",
"@xstyled/styled-components": "^3.7.3",
"babel-jest": "^29.7.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"migrate": "node ./scripts/update-imports.js",
"postinstall": "husky install",
"release:dev": "node .dev-releases/version.mjs",
"release:alpha": "cd lib && yarn release-it --preRelease=alpha --no-npm.publish",
"release": "cd lib && yarn release-it --no-npm.publish",
"release:alpha": "cd lib && yarn release-it --preRelease=alpha",
"release": "cd lib && yarn release-it",
"start": "cd website && yarn dev -p 3020",
"export-properties": "node ./scripts/generate-types-doc.js",
"test": "cd lib && yarn test"
Expand Down

0 comments on commit 5739201

Please sign in to comment.