Skip to content

Commit 3883b5a

Browse files
committed
fix(release): updated release scripts
1 parent 718bf05 commit 3883b5a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

packages/firebaseui-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dist"
1818
],
1919
"scripts": {
20-
"prepare": "tsup",
20+
"prepare": "pnpm run build",
2121
"emulators:start": "firebase emulators:start -P demo-firebaseui",
2222
"build": "tsup",
2323
"build:local": "pnpm run build && pnpm pack",
@@ -31,7 +31,7 @@
3131
"test:integration:watch": "vitest tests/integration",
3232
"test": "vitest run",
3333
"publish:tags": "sh -c 'TAG=\"${npm_package_name}@${npm_package_version}\"; git tag --list \"$TAG\" | grep . || git tag \"$TAG\"; git push origin \"$TAG\"'",
34-
"release": "pnpm pack --pack-destination ../../releases/"
34+
"release": "pnpm run build && pnpm pack --pack-destination --pack-destination ../../releases/"
3535
},
3636
"keywords": [
3737
"firebase",

packages/firebaseui-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dist"
1717
],
1818
"scripts": {
19-
"prepare": "tsup",
19+
"prepare": "pnpm run build",
2020
"build": "tsup",
2121
"build:local": "pnpm run build && pnpm pack",
2222
"dev": "tsup --watch",
@@ -28,7 +28,7 @@
2828
"test:integration": "vitest run tests/integration",
2929
"test:integration:watch": "vitest tests/integration",
3030
"publish:tags": "sh -c 'TAG=\"${npm_package_name}@${npm_package_version}\"; git tag --list \"$TAG\" | grep . || git tag \"$TAG\"; git push origin \"$TAG\"'",
31-
"release": "pnpm pack --pack-destination ../../releases/"
31+
"release": "pnpm run build && pnpm pack --pack-destination --pack-destination ../../releases/"
3232
},
3333
"peerDependencies": {
3434
"@firebase-ui/core": "workspace:*",

packages/firebaseui-styles/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"src"
88
],
99
"scripts": {
10-
"prepare": "tsup",
10+
"prepare": "pnpm run build",
1111
"build": "npx -y @tailwindcss/cli -i ./src.css -o ./dist.css --minify",
1212
"build:local": "pnpm run build && pnpm pack",
1313
"publish:tags": "sh -c 'TAG=\"${npm_package_name}@${npm_package_version}\"; git tag --list \"$TAG\" | grep . || git tag \"$TAG\"; git push origin \"$TAG\"'",
14-
"release": "pnpm pack --pack-destination ../../releases/"
14+
"release": "pnpm run build && pnpm pack --pack-destination ../../releases/"
1515
},
1616
"devDependencies": {
1717
"tailwindcss": "^4.0.0"

packages/firebaseui-translations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"format": "prettier --write \"src/**/*.ts\"",
2626
"clean": "rimraf dist",
2727
"publish:tags": "sh -c 'TAG=\"${npm_package_name}@${npm_package_version}\"; git tag --list \"$TAG\" | grep . || git tag \"$TAG\"; git push origin \"$TAG\"'",
28-
"release": "pnpm pack --pack-destination ../../releases/"
28+
"release": "npm run build && pnpm pack --pack-destination ../../releases/"
2929
},
3030
"devDependencies": {
3131
"prettier": "^3.1.1",

0 commit comments

Comments
 (0)