@cimplify/cli 0.2.6 → 0.2.8

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.
@@ -147,7 +147,7 @@ async function connectRepo(client, businessId, projectId, args) {
147
147
  if (provider === REPO_PROVIDER.FREESTYLE) {
148
148
  throw new CliError(
149
149
  CLI_ERROR_CODE.INVALID_INPUT,
150
- "Cannot connect a Freestyle URL \u2014 use `cimplify repo provision` instead."
150
+ "That URL points at Cimplify's managed Git host \u2014 use `cimplify repo provision` instead."
151
151
  );
152
152
  }
153
153
  const body = {
@@ -163,7 +163,7 @@ async function connectRepo(client, businessId, projectId, args) {
163
163
  async function repoInfo(client, businessId, projectId) {
164
164
  const repo = await client.get(repoEndpoint(businessId, projectId));
165
165
  if (!repo) {
166
- info(dim("No repo attached. Run `cimplify repo provision` to mint a Freestyle repo,"));
166
+ info(dim("No repo attached. Run `cimplify repo provision` to mint a managed Git repo,"));
167
167
  info(dim("or `cimplify repo connect <url>` to link an existing remote."));
168
168
  result({ repo: null });
169
169
  return;
@@ -175,7 +175,7 @@ async function unlinkRepo(client, businessId, projectId, args) {
175
175
  const purge = flagBool(args, FLAG_PURGE);
176
176
  const skipPrompt = flagBool(args, FLAG_YES);
177
177
  if (!skipPrompt) {
178
- const message = purge ? "Unlink and DELETE the upstream Freestyle repo? This cannot be undone." : "Unlink the repo from this project? (Upstream repo will be preserved.)";
178
+ const message = purge ? "Unlink and DELETE the upstream managed repo? This cannot be undone." : "Unlink the repo from this project? (Upstream repo will be preserved.)";
179
179
  const proceed = await promptYesNo(message, false);
180
180
  if (!proceed) {
181
181
  throw new CliError(CLI_ERROR_CODE.ABORTED, "Aborted by user.");
@@ -2,7 +2,7 @@
2
2
  // package.json
3
3
  var package_default = {
4
4
  name: "@cimplify/cli",
5
- version: "0.2.6",
5
+ version: "0.2.8",
6
6
  description: "Cimplify CLI \u2014 deploy, manage env vars, link projects, and scaffold storefronts",
7
7
  keywords: [
8
8
  "cimplify",
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { pollDeployment } from './chunk-JOUXICGV.mjs';
3
- import { fetchCloneToken } from './chunk-2Y4JWLPE.mjs';
3
+ import { fetchCloneToken } from './chunk-KPGRCXQY.mjs';
4
4
  import { promptYesNo } from './chunk-L6474RPL.mjs';
5
5
  import { TOKEN_PURPOSE, ENV_SCOPE, DEPLOY_TRIGGER, DEPLOYMENT_STATUS } from './chunk-MXYUAJEW.mjs';
6
6
  import { parseArgs, flagBool, flagString } from './chunk-4SBJVRGM.mjs';
@@ -123,7 +123,7 @@ async function run(argv) {
123
123
  if (!flagBool(args, FLAG_NO_PUSH)) {
124
124
  const originUrl = await gitGetRemoteUrl(root);
125
125
  if (isFreestyleRemote(originUrl)) {
126
- step(`Pushing ${branch} to Freestyle (with minted clone token)`);
126
+ step(`Pushing ${branch} (managed remote \u2014 minting short-TTL clone token)`);
127
127
  const token = await fetchCloneToken(
128
128
  client,
129
129
  link.businessId,
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { package_default } from './chunk-GJCVMLSU.mjs';
3
- import { TEMPLATES } from './chunk-G2P6KHM5.mjs';
2
+ import { package_default } from './chunk-UPEHLREA.mjs';
3
+ import { TEMPLATES } from './chunk-H2HJQGFY.mjs';
4
4
 
5
5
  // src/dispatcher.ts
6
6
  var VERSION = package_default.version ?? "unknown";
@@ -40,14 +40,14 @@ Components (eject from @cimplify/sdk's registry):
40
40
  cimplify add --all [--dir <path>] Eject the entire registry at once
41
41
 
42
42
  Repo:
43
- cimplify repo provision Mint a Freestyle Git repo for the linked project
43
+ cimplify repo provision Mint a managed Git repo for the linked project
44
44
  cimplify repo connect <url> [--provider=\u2026] Connect an existing remote (GitHub, Gitea, external)
45
45
  cimplify repo info Show the linked project's repo metadata
46
46
  cimplify repo unlink [--purge] [--yes] Unlink the repo (use --purge to also delete upstream)
47
47
  cimplify repo rotate-token Rotate the access token (alias of provision)
48
48
  cimplify repo clone-url Mint a short-lived auth-embedded clone URL (stdout)
49
49
 
50
- Note: \`cimplify projects create <name>\` auto-provisions a Freestyle repo unless --no-repo is passed.
50
+ Note: \`cimplify projects create <name>\` auto-provisions a managed Git repo unless --no-repo is passed.
51
51
  Use --connect <url> on create to attach an existing remote instead.
52
52
 
53
53
  Domains:
@@ -118,21 +118,21 @@ var COMMANDS = {
118
118
  login: () => import('./login-RSKGT6GU.mjs'),
119
119
  logout: () => import('./logout-ZFZLSJ32.mjs'),
120
120
  whoami: () => import('./whoami-DIJZYZIN.mjs'),
121
- projects: () => import('./projects-IHDG76PK.mjs'),
121
+ projects: () => import('./projects-5CJOZ3MT.mjs'),
122
122
  link: () => import('./link-P4K2HRXY.mjs'),
123
123
  unlink: () => import('./unlink-5ABCT7B6.mjs'),
124
- deploy: () => import('./deploy-M37L5P6H.mjs'),
124
+ deploy: () => import('./deploy-6KVOROT3.mjs'),
125
125
  rollback: () => import('./rollback-36O4NOEL.mjs'),
126
126
  env: () => import('./env-FDBPGU3W.mjs'),
127
127
  domains: () => import('./domains-2ZQ7AG27.mjs'),
128
128
  logs: () => import('./logs-E2AGTDCF.mjs'),
129
129
  status: () => import('./status-6AT4HF63.mjs'),
130
130
  dev: () => import('./dev-AQP6TMYK.mjs'),
131
- repo: () => import('./repo-XMMLZHLC.mjs'),
132
- list: () => import('./list-FL6JZ6A4.mjs'),
133
- add: () => import('./add-7N2EZR6W.mjs'),
134
- update: () => import('./update-SDU66352.mjs'),
135
- upgrade: () => import('./update-SDU66352.mjs')
131
+ repo: () => import('./repo-E6SBKVDG.mjs'),
132
+ list: () => import('./list-44MLIFI2.mjs'),
133
+ add: () => import('./add-7PTWJV4F.mjs'),
134
+ update: () => import('./update-6KEG7EWK.mjs'),
135
+ upgrade: () => import('./update-6KEG7EWK.mjs')
136
136
  };
137
137
  var GLOBAL_FLAGS = /* @__PURE__ */ new Set(["--json", "--yes", "-y"]);
138
138
  function extractGlobalFlags(argv) {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { REGISTRY_INDEX } from './chunk-G2P6KHM5.mjs';
2
+ import { REGISTRY_INDEX } from './chunk-H2HJQGFY.mjs';
3
3
  import { parseArgs, flagBool } from './chunk-4SBJVRGM.mjs';
4
4
  import { CliError, CLI_ERROR_CODE, info, bold, dim, green, result } from './chunk-NZ4RG62Z.mjs';
5
5
 
@@ -124,7 +124,7 @@ async function createProject(client, businessId, name, options = {}) {
124
124
  if (provider === REPO_PROVIDER.FREESTYLE) {
125
125
  throw new CliError(
126
126
  CLI_ERROR_CODE.INVALID_INPUT,
127
- "Cannot connect a Freestyle URL \u2014 Freestyle repos are provisioned, not connected."
127
+ "That URL points at Cimplify's managed Git host \u2014 managed repos are provisioned, not connected. Use `cimplify repo provision` instead."
128
128
  );
129
129
  }
130
130
  const repoBody = {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- export { run as default, fetchCloneToken } from './chunk-2Y4JWLPE.mjs';
2
+ export { run as default, fetchCloneToken } from './chunk-KPGRCXQY.mjs';
3
3
  import './chunk-L6474RPL.mjs';
4
4
  import './chunk-MXYUAJEW.mjs';
5
5
  import './chunk-4SBJVRGM.mjs';
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { package_default } from './chunk-GJCVMLSU.mjs';
2
+ import { package_default } from './chunk-UPEHLREA.mjs';
3
3
  import { promptYesNo } from './chunk-L6474RPL.mjs';
4
4
  import { parseArgs, flagBool, flagString } from './chunk-4SBJVRGM.mjs';
5
5
  import { success, bold, info, dim, result, failure, CliError, CLI_ERROR_CODE, step, isJsonMode } from './chunk-NZ4RG62Z.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimplify/cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Cimplify CLI — deploy, manage env vars, link projects, and scaffold storefronts",
5
5
  "keywords": [
6
6
  "cimplify",
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.45.3",
20
+ "@cimplify/sdk": "^0.45.4",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -19,7 +19,7 @@
19
19
  "check": "bun run typecheck && bun run test:run"
20
20
  },
21
21
  "dependencies": {
22
- "@cimplify/sdk": "^0.45.3",
22
+ "@cimplify/sdk": "^0.45.4",
23
23
  "next": "^16.2.4",
24
24
  "react": "^19.0.0",
25
25
  "react-dom": "^19.0.0"
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.45.3",
20
+ "@cimplify/sdk": "^0.45.4",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.45.3",
20
+ "@cimplify/sdk": "^0.45.4",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.45.3",
20
+ "@cimplify/sdk": "^0.45.4",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.45.3",
20
+ "@cimplify/sdk": "^0.45.4",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"