Skip to content

Commit

Permalink
feat: add prepack scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
oktaysenkan committed Oct 5, 2024
1 parent 23d8280 commit 47ee90f
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 13 deletions.
10 changes: 9 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": [
"@oktaytest/native",
"@oktaytest/next",
"@oktaytest/nuxt-app",
"@oktaytest/rollup-react",
"@oktaytest/rspack-react",
"@oktaytest/vite-react",
"@oktaytest/vite-vue"
]
}
16 changes: 16 additions & 0 deletions .changeset/violet-toes-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@oktaytest/typescript-config": patch
"@oktaytest/babel-plugin": patch
"@oktaytest/esbuild": patch
"@oktaytest/webpack": patch
"@oktaytest/rollup": patch
"@oktaytest/rspack": patch
"@oktaytest/metro": patch
"@oktaytest/core": patch
"@oktaytest/nuxt": patch
"@oktaytest/vite": patch
"@oktaytest/vue": patch
"@oktaytest/ui": patch
---

add prepack scripts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"engines": {
"node": ">=18"
},
"version": "0.0.114"
"version": "0.0.0"
}
3 changes: 2 additions & 1 deletion packages/babel-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/metro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/rspack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
},
"scripts": {
"build": "vite build",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down
3 changes: 2 additions & 1 deletion packages/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"prepack": "yarn build"
},
"devDependencies": {
"@oktaytest/typescript-config": "*",
Expand Down

0 comments on commit 47ee90f

Please sign in to comment.