From 27af930192baee52afd1f282206be0b4f8220d64 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:52:41 +0900 Subject: [PATCH] fix: remove deploy:prod, the local bypass around CI/CD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Production is deployed by CD on merge to main; deploy:prod let anyone with the shared clasp token rewrite prod HEAD without review or CI. Removing the script closes the accidental path. pnpm run deploy (dev push) stays. Same change as apps-script-fleet#199 — package.json is not template-synced, hence the per-repo PR. Part of h13/apps-script-fleet#194 (stage 1). --- README.ja.md | 1 - README.md | 15 +++++++-------- package.json | 1 - 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.ja.md b/README.ja.md index c4f03b6..f580563 100644 --- a/README.ja.md +++ b/README.ja.md @@ -73,7 +73,6 @@ Apps Script エディタで `setupTrigger` を選択して ▶ 実行。初回 | `pnpm run test -- --watch` | Jest ウォッチモード | | `pnpm run build` | TypeScript をバンドルして `dist/` に出力 | | `pnpm run deploy` | check → build → dev 環境へ clasp push | -| `pnpm run deploy:prod` | check → build → 本番環境へ clasp push | ## プロジェクト構成 diff --git a/README.md b/README.md index af0ec24..4c113e9 100644 --- a/README.md +++ b/README.md @@ -66,14 +66,13 @@ Run `setupTrigger` in the Apps Script editor (▶). First run requires `script.s ## Development Commands -| Command | Description | -| -------------------------- | ---------------------------------------- | -| `pnpm run check` | lint + typecheck + test (all checks) | -| `pnpm run test` | Jest with coverage | -| `pnpm run test -- --watch` | Jest watch mode | -| `pnpm run build` | Bundle TypeScript and output to `dist/` | -| `pnpm run deploy` | check → build → clasp push to dev | -| `pnpm run deploy:prod` | check → build → clasp push to production | +| Command | Description | +| -------------------------- | --------------------------------------- | +| `pnpm run check` | lint + typecheck + test (all checks) | +| `pnpm run test` | Jest with coverage | +| `pnpm run test -- --watch` | Jest watch mode | +| `pnpm run build` | Bundle TypeScript and output to `dist/` | +| `pnpm run deploy` | check → build → clasp push to dev | ## Project Structure diff --git a/package.json b/package.json index a4fd81c..687f04e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "check": "pnpm run lint && pnpm run lint:css && pnpm run lint:html && pnpm run typecheck && pnpm run test", "clean": "rimraf build dist", "deploy": "pnpm run check && pnpm run build && cp .clasp-dev.json .clasp.json && clasp push -f", - "deploy:prod": "pnpm run check && pnpm run build && cp .clasp-prod.json .clasp.json && clasp push", "format": "oxfmt --write .", "lint": "oxlint --fix src/ test/", "lint:css": "stylelint --allow-empty-input '**/*.{css,scss,html}'",