Skip to content

Commit

Permalink
release: 2.5.2 (#108)
Browse files Browse the repository at this point in the history
* release: 2.5.2

* npm publish --access public
  • Loading branch information
onhate authored Jan 2, 2024
1 parent 2efe028 commit 50964b2
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 59 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-test.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [16, 18, 20]

steps:
- uses: actions/checkout@v3
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/publish-chromatic.yml

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: npm
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: npm ci
Expand All @@ -27,12 +28,10 @@ jobs:
working-directory: packages/visu
run: npm run test:coverage

- name: Create .npmrc
working-directory: packages/visu
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc

- name: Publish
working-directory: packages/visu
run: npm publish
run: |
mv .npmrc.template .npmrc
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}}
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@droz-js/visu-docs",
"private": true,
"version": "2.5.1",
"version": "2.5.2",
"type": "module",
"scripts": {
"prepublishOnly": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@droz-js/visu-web",
"private": true,
"version": "2.5.1",
"version": "2.5.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@droz-js/monorepo",
"version": "2.5.1",
"version": "2.5.2",
"private": true,
"workspaces": [
"apps/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@droz-js/tsconfig",
"version": "2.5.1",
"version": "2.5.2",
"private": true,
"files": [
"base.json",
Expand Down
3 changes: 3 additions & 0 deletions packages/visu/.npmrc.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
registry=https://registry.npmjs.org/
always-auth=true
2 changes: 1 addition & 1 deletion packages/visu/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@droz-js/visu",
"private": false,
"version": "2.5.1",
"version": "2.5.2",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
Expand Down

0 comments on commit 50964b2

Please sign in to comment.