Skip to content

Commit

Permalink
[packages][xs]: replace prepublish with prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
olayway committed Jun 8, 2023
1 parent c3246ee commit e82e2ae
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .changeset/fuzzy-berries-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@portaljs/remark-wiki-link': patch
'@portaljs/remark-callouts': patch
'@portaljs/remark-embed': patch
'@portaljs/components': patch
'@portaljs/ckan': patch
'@portaljs/core': patch
---

Fix: replace deprecated `prepublish` script with `prepare`
2 changes: 1 addition & 1 deletion packages/ckan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build": "tsc && vite build && npm run build-tailwind",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"build-tailwind": "NODE_ENV=production npx tailwindcss -o ./dist/styles.css --minify",
"prepublish": "npm run build"
"prepare": "npm run build"
},
"peerDependencies": {
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"build-tailwind": "NODE_ENV=production npx tailwindcss -o ./dist/styles.css --minify",
"prepublish": "npm run build"
"prepare": "npm run build"
},
"peerDependencies": {
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"access": "public"
},
"scripts": {
"prepublish": "nx build core"
"prepare": "nx build core"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-callouts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"access": "public"
},
"scripts": {
"prepublish": "nx build remark-callouts"
"prepare": "nx build remark-callouts"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"access": "public"
},
"scripts": {
"prepublish": "nx build remark-embed"
"prepare": "nx build remark-embed"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-wiki-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"access": "public"
},
"scripts": {
"prepublish": "nx build remark-wiki-link"
"prepare": "nx build remark-wiki-link"
},
"files": [
"dist"
Expand Down

1 comment on commit e82e2ae

@vercel
Copy link

@vercel vercel bot commented on e82e2ae Jun 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

portaljs-storybook – ./packages/components

storybook.portaljs.org
portaljs-storybook-datopian1.vercel.app
portaljs-storybook-git-main-datopian1.vercel.app
portaljs-storybook.vercel.app

Please sign in to comment.