more release stuff

This commit is contained in:
EthanShoeDev
2025-10-06 20:22:19 -04:00
parent c61f8ac01c
commit 10372a5bfb
5 changed files with 11 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ export default {
},
hooks: {
'before:init': ['pnpm run lint:check', 'pnpm run typecheck'],
'before:init': ['turbo run lint:check'],
'before:github:release': 'pnpm run build:signed:apk',
'after:release': 'echo "Released ${npm.name} v${version}"',

View File

@@ -35,8 +35,8 @@ export default {
},
hooks: {
'before:init': ['pnpm run lint:check', 'pnpm run test'],
'before:npm:release': 'pnpm run build',
'before:init': ['turbo run lint:check'],
'before:npm:release': 'turbo run build:android build:ios',
'after:release': 'echo "Published ${npm.name} v${version} to npm"',
},
} satisfies Config;

View File

@@ -47,7 +47,8 @@
"fmt:rust:check": "cd rust/uniffi-russh && just fmt-check",
"update-rust": "cd rust/uniffi-russh && just update-deps",
"test": "jest",
"release": "release-it --only-version"
"release": "release-it",
"release:dry": "release-it --dry-run"
},
"keywords": [
"react-native",

View File

@@ -35,8 +35,8 @@ export default {
},
hooks: {
'before:init': ['pnpm run lint:check', 'pnpm run test'],
'before:npm:release': 'pnpm run build',
'before:init': ['turbo run lint:check'],
'before:npm:release': 'turbo run build',
'after:release': 'echo "Published ${npm.name} v${version} to npm"',
},
} satisfies Config;

View File

@@ -15,7 +15,9 @@
"build:main": "tsc -b && vite build",
"build:internal": "tsc -b && vite build --config vite.config.internal.ts",
"dev": "vite --config vite.config.internal.ts",
"preview": "vite preview"
"preview": "vite preview",
"release": "release-it",
"release:dry": "release-it --dry-run"
},
"dependencies": {
"js-base64": "^3.7.8"