projectops 4.107.0 → 4.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -114,7 +114,7 @@ Every card above is a real record from this repository. You open an issue (or `/
114
114
  | Design & upkeep | `/pro-oss-consult` | Score a repo as an open-source project and fix what you approve |
115
115
  | Design & upkeep | `/pro-skill-creator` | Create, review and improve a skill |
116
116
 
117
- **Extras** (optional plugin): `/pro-synology-expose`, `/pro-skill-bug` (report a suspected skill bug from any session), `/pro-disk-cleanup` (reclaim disk space safely), `/pro-remote-link` (a link to open Orca or Paseo from outside). Install: `claude plugin install projectops-extras@projectops-marketplace --scope user`
117
+ **Extras** (optional plugin): `/pro-synology-expose`, `/pro-skill-bug` (report a suspected skill bug from any session), `/pro-disk-cleanup` (reclaim disk space safely), `/pro-remote-link` (a link to open Orca or Paseo from outside), `/pro-project-blueprint` (start a new repo with your usual layout, branches, public-repo secrets and deploy). Install: `claude plugin install projectops-extras@projectops-marketplace --scope user`
118
118
 
119
119
  ```bash
120
120
  # Claude Code
@@ -163,7 +163,7 @@ Supported types: `spring`, `flutter`, `react` (incl. Next.js), `node`, `python`,
163
163
  Everything is on the **[docs site](https://cassiiopeia.github.io/projectops/)**, in English and [Korean](https://cassiiopeia.github.io/projectops/ko/): [Getting started](https://cassiiopeia.github.io/projectops/getting-started) · [CLI](https://cassiiopeia.github.io/projectops/cli) · [Agent Skills](https://cassiiopeia.github.io/projectops/skills) · [Versioning](https://cassiiopeia.github.io/projectops/version-control) · [Changelog](https://cassiiopeia.github.io/projectops/changelog-automation) · [SSH + Docker deploy](https://cassiiopeia.github.io/projectops/ssh-docker-deployment-guide) · [Flutter CI/CD](https://cassiiopeia.github.io/projectops/flutter-cicd-overview) · [Troubleshooting](https://cassiiopeia.github.io/projectops/troubleshooting)
164
164
 
165
165
  <!-- AUTO-VERSION-SECTION: DO NOT EDIT MANUALLY -->
166
- ## Latest version : v4.107.0 (2026-11-18)
166
+ ## Latest version : v4.109.0 (2026-11-21)
167
167
 
168
168
  [View full version history](CHANGELOG.md)
169
169
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectops",
3
- "version": "4.107.0",
3
+ "version": "4.109.0",
4
4
  "description": "One npx install for GitHub release automation: semantic versioning, changelogs, release PRs, CI/CD workflows and AI agent skills",
5
5
  "keywords": [
6
6
  "github-actions",
@@ -37,6 +37,7 @@ function subDeploy(s, dev) {
37
37
  export const DEPLOY_TRIGGER_WORKFLOWS = new Set([
38
38
  "PROJECT-FLUTTER-ANDROID-FIREBASE-CICD.yaml", "PROJECT-FLUTTER-ANDROID-PLAYSTORE-CICD.yaml",
39
39
  "PROJECT-FLUTTER-ANDROID-SELFHOSTED-CICD.yaml", "PROJECT-FLUTTER-IOS-TESTFLIGHT.yaml",
40
+ "PROJECT-REACT-NATIVE-EXPO-ANDROID-PLAYSTORE-CICD.yaml", "PROJECT-REACT-NATIVE-EXPO-IOS-TESTFLIGHT.yaml",
40
41
  "PROJECT-SPRING-SIMPLE-CICD.yaml", "PROJECT-PYTHON-SIMPLE-CICD.yaml", "PROJECT-REACT-CICD.yaml",
41
42
  "PROJECT-COMMON-VERCEL-DEPLOY.yaml", "PROJECT-NODE-NPM-PUBLISH.yaml",
42
43
  "PROJECT-SPRING-NEXUS-PUBLISH.yml", "PROJECT-SPRING-GITHUB-PACKAGES-PUBLISH.yml",
@@ -31,6 +31,8 @@ export function copyScripts(tempDir, targetRoot = ".") {
31
31
  "apply_build_profile.py",
32
32
  // Build number rules for iOS/Android test builds and iOS releases (#643). The only home of the numbering rules.
33
33
  "build_number.py",
34
+ // Step outputs ($GITHUB_OUTPUT) + JSON result line, imported by build_number, ios_release and expo_app
35
+ "github_output.py",
34
36
  // App Store Connect lookups (#643). Used by ios_release.py, so it must be copied with it.
35
37
  "asc_client.py",
36
38
  // iOS version pre-check, upload rejection classification, retries from archive to upload (#643).
@@ -39,6 +41,8 @@ export function copyScripts(tempDir, targetRoot = ".") {
39
41
  "ios_release_rules.py",
40
42
  // Xcode selection for Flutter iOS builds (empty = latest on the runner) and missing SDK diagnosis (#758). The only home of the selection rules.
41
43
  "select_xcode.py",
44
+ // React Native Expo build helpers: package manager, app config, version into app.json, iOS signing files (#1240)
45
+ "expo_app.py",
42
46
  // Closes issues labelled done when a release is merged (#771). Works only in repos with the close_on_release option on.
43
47
  "close_issues_on_release.py",
44
48
  // Reads the Play Store/TestFlight deploy mode from the code config (.github/config/store-deploy.json) (#767).
@@ -24,6 +24,8 @@ const SCAN_PRUNE = new Set([
24
24
  "android", "ios", ".gradle", "venv", ".venv", "__pycache__",
25
25
  // Keeps the template's own .github/scripts/*.py from being misdetected as python (#671)
26
26
  ".github",
27
+ // Template download folder of this installer (holds the template's own scripts)
28
+ ".template_download_temp",
27
29
  ]);
28
30
  export function listScanFiles(root, maxDepth = 3) {
29
31
  const files = [];
@@ -44,8 +46,34 @@ export function listScanFiles(root, maxDepth = 3) {
44
46
  return files;
45
47
  }
46
48
 
49
+ // Monorepo marker scan: folders up to 2 levels down, a folder with markers is a project (not descended into) (#1243)
50
+ const MONOREPO_MARKER_DEPTH = 2;
51
+ // detectTypesFromMarkers push order
52
+ const MARKER_TYPE_ORDER = ["flutter", "spring", "python", "react", "react-native", "react-native-expo", "node"];
53
+ export function detectTypesInSubfolders(root, maxDepth = MONOREPO_MARKER_DEPTH) {
54
+ const found = [];
55
+ const walk = (rel, depth) => {
56
+ if (depth > maxDepth) return;
57
+ let entries;
58
+ try { entries = readdirSync(join(root, rel), { withFileTypes: true }); } catch { return; }
59
+ for (const e of entries) {
60
+ if (!e.isDirectory() || e.name.startsWith(".") || SCAN_PRUNE.has(e.name)) continue;
61
+ const childRel = rel ? `${rel}/${e.name}` : e.name;
62
+ const dir = join(root, childRel);
63
+ const types = detectTypesFromMarkers({ has: hasFile(dir), read: readFile(dir) });
64
+ if (types.length === 1 && types[0] === "basic") walk(childRel, depth + 1);
65
+ else found.push(...types);
66
+ }
67
+ };
68
+ walk("", 1);
69
+ // Same order as the root scan (first = primary type), not folder name order
70
+ const unique = [...new Set(found)].sort((left, right) => MARKER_TYPE_ORDER.indexOf(left) - MARKER_TYPE_ORDER.indexOf(right));
71
+ // Same rule as the root scan: a plain node folder (tooling scripts) does not count next to a real project
72
+ return unique.length > 1 ? unique.filter((type) => type !== "node") : unique;
73
+ }
74
+
47
75
  // Type detection — version.yml project_types first (source of truth), else a marker scan.
48
- // With no markers at all (basic fallback), a secondary recommendation from extension frequency (#458).
76
+ // No root markers: markers in subfolders (monorepo, #1243), then a recommendation from extension frequency (#458).
49
77
  export function detectTypes(root) {
50
78
  const vy = join(root, "version.yml");
51
79
  if (existsSync(vy)) {
@@ -58,6 +86,8 @@ export function detectTypes(root) {
58
86
  }
59
87
  const byMarkers = detectTypesFromMarkers({ has: hasFile(root), read: readFile(root) });
60
88
  if (byMarkers.length === 1 && byMarkers[0] === "basic") {
89
+ const inSubfolders = detectTypesInSubfolders(root);
90
+ if (inSubfolders.length) return inSubfolders; // Folders are settled by resolveProjectPaths (single candidate > automatic)
61
91
  const scanned = suggestTypesByExtScan(listScanFiles(root));
62
92
  if (scanned.length) return scanned; // Recommendation — the user confirms it in the wizard's confirm/edit loop
63
93
  }
@@ -130,7 +160,7 @@ export function findSpringAppYml(root, base = ".") {
130
160
  return hit;
131
161
  }
132
162
 
133
- // Builds the real set of 4 resolvers — shared by index and interactive.
163
+ // Builds the real set of resolvers — shared by index and interactive.
134
164
  // paths: Map<type, path> (monorepo paths).
135
165
  export function makeResolvers(root, repoName, paths) {
136
166
  const springBase = (t) => paths.get(t || "spring") || paths.get("spring") || ".";
@@ -142,5 +172,7 @@ export function makeResolvers(root, repoName, paths) {
142
172
  },
143
173
  "spring-app-yml-path": (t) => findSpringAppYml(root, springBase(t)) || "",
144
174
  "flutter-root": () => paths.get("flutter") || ".",
175
+ // Expo app folder (#1240) — APP_ROOT of the react-native-expo workflows
176
+ "expo-root": () => paths.get("react-native-expo") || ".",
145
177
  };
146
178
  }
@@ -181,7 +181,7 @@ export const FLAG_DETAILS = {
181
181
  },
182
182
  "--deploy": {
183
183
  when: "Set it when the app is deployed by this repo. Library repos use --publish instead.",
184
- effect: "docker-ssh installs the SSH + Docker server deploy workflows (SIMPLE-CICD, NONSTOP-*, PR-PREVIEW for spring/python; CICD for react). vercel installs the Vercel deploy workflow. none installs no deploy workflow. Mobile types (flutter, react-native*) ignore it — their store deploy workflows are part of the type.",
184
+ effect: "docker-ssh installs the SSH + Docker server deploy workflows (SIMPLE-CICD, NONSTOP-*, PR-PREVIEW for spring/python; CICD for react). vercel installs the Vercel deploy workflow. none installs no deploy workflow. Mobile types (flutter, react-native-expo) ignore it — their store deploy workflows are part of the type. react-native (bare) has no workflows yet.",
185
185
  omitted: "docker-ssh for server stacks, none for mobile apps and library repos.",
186
186
  example: "npx projectops --mode full --force --type spring --deploy vercel",
187
187
  caution: "docker-ssh workflows need server secrets (SERVER_HOST, SERVER_USER, SERVER_PASSWORD or SSH_KEY, DOCKERHUB_*). Until they are registered the workflows fail — the completion summary lists the missing secrets.",
@@ -54,7 +54,7 @@ export function isPlaceholderDefault(value) {
54
54
  }
55
55
 
56
56
  // resolver — value computation is delegated to injected resolvers (keeps it pure).
57
- // resolvers: { repo, "spring-app-yml-dir"(type), "spring-app-yml-path"(type), "flutter-root" }
57
+ // resolvers: { repo, "spring-app-yml-dir"(type), "spring-app-yml-path"(type), "flutter-root", "expo-root" }
58
58
  export function resolveToken(name, type, resolvers = {}) {
59
59
  const fn = resolvers[name];
60
60
  return typeof fn === "function" ? (fn(type) ?? "") : "";
@@ -40,10 +40,15 @@ export default {
40
40
  "done.spring.title": "Extra setup for Spring projects:",
41
41
  "done.spring.1": "The version in build.gradle is synced automatically",
42
42
  "done.spring.2": "CI/CD workflows need GitHub Secrets",
43
- "done.spring.3": "Details: .github/workflows/project-types/spring/README.md",
43
+ "done.spring.3": "Details: https://cassiiopeia.github.io/projectops/ssh-docker-deployment-guide",
44
44
  "done.flutter.title": "Flutter deployment wizards:",
45
45
  "done.flutter.open": "Open them in a browser, fill in the values and generate the files",
46
- "done.workflowGuide": "Workflow guide",
46
+ "done.expo.title": "React Native Expo app workflows (no EAS — builds run on GitHub Actions):",
47
+ "done.expo.1": "CI on develop, test APK and TestFlight builds from an `@projectops app build` comment",
48
+ "done.expo.2": "Store deploy on a push to the deploy branch: Play Store (internal > closed testing) and TestFlight",
49
+ "done.expo.3": "Secrets and first-time setup: https://cassiiopeia.github.io/projectops/react-native-expo-cicd",
50
+ "done.reactNativeBare": "react-native (bare) has no app workflows yet; only version sync is installed. Expo projects: use --type react-native-expo",
51
+ "done.workflowGuide": "Workflow guide: https://cassiiopeia.github.io/projectops/npx-wizard",
47
52
  "done.verify.ok": "Install check: no unreplaced values",
48
53
  "done.verify.bad": "Install check: {count} unreplaced values",
49
54
  "done.verify.explain1": "Template values are still present at the places below. Left as they are, deployment will fail.",
@@ -40,10 +40,15 @@ export default {
40
40
  "done.spring.title": "Spring 프로젝트 추가 설정:",
41
41
  "done.spring.1": "build.gradle의 버전 정보가 자동 동기화됩니다",
42
42
  "done.spring.2": "CI/CD 워크플로우에서 GitHub Secrets 설정이 필요합니다",
43
- "done.spring.3": "자세한 설정 방법: .github/workflows/project-types/spring/README.md",
43
+ "done.spring.3": "자세한 설정 방법: https://cassiiopeia.github.io/projectops/ko/ssh-docker-deployment-guide",
44
44
  "done.flutter.title": "Flutter 배포 마법사 사용법:",
45
45
  "done.flutter.open": "브라우저에서 열어 필요한 정보 입력 후 파일 생성",
46
- "done.workflowGuide": "워크플로우 가이드",
46
+ "done.expo.title": "React Native Expo 앱 워크플로 (EAS 없이 GitHub Actions에서 빌드):",
47
+ "done.expo.1": "develop CI, `@projectops app build` 댓글로 테스트 APK·TestFlight 빌드",
48
+ "done.expo.2": "배포 브랜치 push 시 스토어 배포: Play 스토어(내부 > 비공개 테스트)와 TestFlight",
49
+ "done.expo.3": "Secret과 처음 설정: https://cassiiopeia.github.io/projectops/ko/react-native-expo-cicd",
50
+ "done.reactNativeBare": "react-native(bare)는 아직 앱 워크플로가 없어 버전 동기화만 설치됩니다. Expo 프로젝트라면 --type react-native-expo",
51
+ "done.workflowGuide": "워크플로우 가이드: https://cassiiopeia.github.io/projectops/ko/npx-wizard",
47
52
  "done.verify.ok": "설치 검증: 치환되지 않은 값 없음",
48
53
  "done.verify.bad": "설치 검증: 치환되지 않은 값 {count}건",
49
54
  "done.verify.explain1": "아래 위치에 템플릿 값이 그대로 남아 있습니다. 그대로 두면 배포 시점에 실패합니다.",
package/src/ui/summary.js CHANGED
@@ -195,9 +195,20 @@ export function printSummary(ctx, targetRoot = ".", write = null) {
195
195
  err(` • ${t("done.flutter.open")}`);
196
196
  err("");
197
197
  }
198
+ if (types.includes("react-native-expo")) {
199
+ err(` 💡 ${t("done.expo.title")}`);
200
+ err(` • ${t("done.expo.1")}`);
201
+ err(` • ${t("done.expo.2")}`);
202
+ err(` • ${t("done.expo.3")}`);
203
+ err("");
204
+ }
205
+ if (types.includes("react-native")) {
206
+ err(` ⚠️ ${t("done.reactNativeBare")}`);
207
+ err("");
208
+ }
198
209
 
199
210
  err(` 📖 TEMPLATE REPO: ${TEMPLATE_REPO_WEB_URL}`);
200
- err(` 📚 ${t("done.workflowGuide")}: .github/workflows/project-types/README.md`);
211
+ err(` 📚 ${t("done.workflowGuide")}`);
201
212
 
202
213
  // Post-install verification: expand only when something is wrong, one line otherwise.
203
214
  const verification = ctx?.verification;