Skip to content

Commit

Permalink
chore: build once before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Sep 8, 2023
1 parent 83b0010 commit 6bff1d6
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 38 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"scripts": {
"changeset": "changeset",
"changeset:publish": "pnpm run build && changeset publish",
"ts-check": "tsc --noEmit",
"build": "npm run build --prefix=packages/magefront && pnpm -r build",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand"
Expand Down
3 changes: 1 addition & 2 deletions packages/magefront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"module": "dist/magefront.mjs",
"types": "dist/magefront.d.ts",
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"browser-sync": "^2.29.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"@babel/core": "~7.22.15",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-concat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1"
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-cssnano/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"cssnano": "^6.0.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-js-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"peerDependencies": {
"magefront": "workspace:~"
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-js-translation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"csv-parse": "^5.5.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"@types/less": "^3.0.4",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-pngquant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"@babel/preset-react": "^7.22.15",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-requirejs-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1"
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-stylus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"@types/stylus": "^0.48.39",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-svgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"magefront-plugin-postcss": "workspace:~",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-terser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"fast-glob": "^3.3.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"dist"
],
"scripts": {
"build": "unbuild",
"prepublishOnly": "pnpm run build"
"build": "unbuild"
},
"dependencies": {
"magefront-plugin-cssnano": "workspace:~",
Expand Down

0 comments on commit 6bff1d6

Please sign in to comment.