Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove some prepack scripts #7337

Merged
merged 2 commits into from
Feb 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/adapters/angular/v15/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"build:tsc": "tsc -p .",
"build:types": "tsc -d --outDir types && rimraf types/*.js types/*.map types/**/*.js types/**/*.map",
"build:umd": "tsc -m umd --outDir umd",
"build": "npm run build:clean && npm run build:ngc",
"prepack": "npm run build"
"build": "npm run build:clean && npm run build:ngc"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/angular/v16/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"build:tsc": "tsc -p .",
"build:types": "tsc -d --outDir types && rimraf types/*.js types/*.map types/**/*.js types/**/*.map",
"build:umd": "tsc -m umd --outDir umd",
"build": "npm run build:clean && npm run build:ngc",
"prepack": "npm run build"
"build": "npm run build:clean && npm run build:ngc"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/angular/v17/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"build:tsc": "tsc -p .",
"build:types": "tsc -d --outDir types && rimraf types/*.js types/*.map types/**/*.js types/**/*.map",
"build:umd": "tsc -m umd --outDir umd",
"build": "npm run build:clean && npm run build:ngc",
"prepack": "npm run build"
"build": "npm run build:clean && npm run build:ngc"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/angular/v18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"build:tsc": "tsc -p .",
"build:types": "tsc -d --outDir types && rimraf types/*.js types/*.map types/**/*.js types/**/*.map",
"build:umd": "tsc -m umd --outDir umd",
"build": "npm run build:clean && npm run build:ngc",
"prepack": "npm run build"
"build": "npm run build:clean && npm run build:ngc"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/hydrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"hydrate"
],
"scripts": {
"build": "rimraf dist/package.json",
"prepack": "npm run build"
"build": "rimraf dist/package.json"
},
"devDependencies": {
"@public-ui/components": "workspace:*",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"preact"
],
"scripts": {
"build": "unbuild",
"prepack": "unbuild"
"build": "unbuild"
},
"dependencies": {
"@public-ui/react": "workspace:*"
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/react-standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"react"
],
"scripts": {
"build": "webpack",
"prepack": "pnpm build"
"build": "webpack"
},
"devDependencies": {
"@public-ui/react": "workspace:*",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"react"
],
"scripts": {
"build": "unbuild",
"prepack": "unbuild"
"build": "unbuild"
},
"devDependencies": {
"@public-ui/components": "workspace:*",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"solidjs"
],
"scripts": {
"build": "unbuild",
"prepack": "unbuild"
"build": "unbuild"
},
"devDependencies": {
"@public-ui/components": "workspace:*",
Expand Down
3 changes: 1 addition & 2 deletions packages/adapters/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"vue"
],
"scripts": {
"build": "unbuild",
"prepack": "unbuild"
"build": "unbuild"
},
"devDependencies": {
"@babel/types": "7.26.7",
Expand Down
1 change: 0 additions & 1 deletion packages/themes/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"dev": "rollup -c --watch",
"format": "prettier --check src",
"lint": "tsc --noemit && eslint src",
"prepack": "pnpm build",
"prepare": "cpy \"node_modules/@public-ui/components/assets/**/*\" assets --dot",
"start": "npm-run-all --parallel dev serve",
"serve": "cross-env THEME_MODULE=\"`pwd`/dist\" THEME_EXPORT=DEFAULT npm --prefix \"node_modules/@public-ui/sample-react/\" start",
Expand Down
1 change: 0 additions & 1 deletion packages/themes/ecl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"dev": "rollup -c --watch",
"format": "prettier --check src",
"lint": "tsc --noemit && eslint src",
"prepack": "pnpm build",
"prepare": "cpy \"node_modules/@public-ui/components/assets/**/*\" assets --dot",
"start:ec": "npm-run-all --parallel dev serve:ec",
"start:eu": "npm-run-all --parallel dev serve:eu",
Expand Down
1 change: 0 additions & 1 deletion packages/themes/itzbund/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"dev": "rollup -c --watch",
"format": "prettier --check src",
"lint": "tsc --noemit && eslint src",
"prepack": "pnpm build",
"prepare": "cpy \"node_modules/@public-ui/components/assets/**/*\" assets --dot",
"start": "npm-run-all --parallel dev serve",
"serve": "cross-env THEME_MODULE=\"`pwd`/dist\" THEME_EXPORT=ITZBund npm --prefix \"node_modules/@public-ui/sample-react/\" start",
Expand Down
1 change: 0 additions & 1 deletion packages/themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"dev": "rollup -c --watch",
"format": "prettier --check src",
"lint": "tsc --noemit && eslint src",
"prepack": "pnpm build",
"prepare": "cpy \"node_modules/@public-ui/components/assets/**/*\" assets --dot",
"test-all": "pnpm -r --workspace-concurrency=1 test",
"test-update-all": "pnpm -r --workspace-concurrency=1 test-update"
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/kolibri-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
},
"description": "CLI for executing some helpful commands for KoliBri projects.",
"scripts": {
"build": "tsc",
"reset": "pnpm i @public-ui/components@1.1.7",
"format": "prettier -c src",
"lint": "tsc --noemit && eslint src",
"prepack": "tsc",
"start": "rimraf test && cpy \"../../samples/react/src/components\" test/src && cpy \"../../samples/react/public/*.html\" test/ && ts-node src/index.ts migrate --ignore-uncommitted-changes --test-tasks test",
"restart": "pnpm reset && pnpm start",
"unused": "knip",
Expand Down
Loading