mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 13:00:39 +00:00
fix: streamline deployment commands in configuration files
This commit is contained in:
+2
-2
@@ -15,8 +15,8 @@
|
|||||||
"domains:sync": "node scripts/sync-global-domains.mjs",
|
"domains:sync": "node scripts/sync-global-domains.mjs",
|
||||||
"i18n": "node scripts/i18n-validate.cjs",
|
"i18n": "node scripts/i18n-validate.cjs",
|
||||||
"i18n:validate": "node scripts/i18n-validate.cjs",
|
"i18n:validate": "node scripts/i18n-validate.cjs",
|
||||||
"deploy": "npm run build && wrangler deploy",
|
"deploy": "wrangler deploy",
|
||||||
"deploy:kv": "npm run build && wrangler deploy -c wrangler.kv.toml",
|
"deploy:kv": "wrangler deploy -c wrangler.kv.toml",
|
||||||
"deploy:demo": "npm run build:demo && wrangler pages deploy dist --project-name nw-demo"
|
"deploy:demo": "npm run build:demo && wrangler pages deploy dist --project-name nw-demo"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ name = "nodewarden"
|
|||||||
main = "src/index.ts"
|
main = "src/index.ts"
|
||||||
compatibility_date = "2024-01-01"
|
compatibility_date = "2024-01-01"
|
||||||
|
|
||||||
|
[build]
|
||||||
|
command = "npm run build"
|
||||||
|
|
||||||
[assets]
|
[assets]
|
||||||
binding = "ASSETS"
|
binding = "ASSETS"
|
||||||
directory = "./dist"
|
directory = "./dist"
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ name = "nodewarden"
|
|||||||
main = "src/index.ts"
|
main = "src/index.ts"
|
||||||
compatibility_date = "2024-01-01"
|
compatibility_date = "2024-01-01"
|
||||||
|
|
||||||
|
[build]
|
||||||
|
command = "npm run build"
|
||||||
|
|
||||||
[assets]
|
[assets]
|
||||||
binding = "ASSETS"
|
binding = "ASSETS"
|
||||||
directory = "./dist"
|
directory = "./dist"
|
||||||
|
|||||||
Reference in New Issue
Block a user