@cimplify/cli 0.5.4 → 0.6.1

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.
Files changed (29) hide show
  1. package/dist/{add-FU46PRCJ.mjs → add-5EMD74VD.mjs} +1 -1
  2. package/dist/cancel-HANLRA6Q.mjs +34 -0
  3. package/dist/{chunk-A6BBQWTB.mjs → chunk-DAHD6YWI.mjs} +1 -1
  4. package/dist/{chunk-72IHRRLU.mjs → chunk-O6RONGAI.mjs} +1 -1
  5. package/dist/{chunk-OPWMPCPM.mjs → chunk-OILDQUAD.mjs} +16 -16
  6. package/dist/dispatcher.mjs +12 -10
  7. package/dist/{doctor-FZCJWAPT.mjs → doctor-YPO2MQZF.mjs} +2 -2
  8. package/dist/{explain-4I6JLKDW.mjs → explain-L5ZDNMHC.mjs} +1 -1
  9. package/dist/{introspect-5ODUL6UC.mjs → introspect-PQ476BL7.mjs} +2 -2
  10. package/dist/{list-EKOWQ53I.mjs → list-5ORRWEYK.mjs} +1 -1
  11. package/dist/{update-NHGK3AAH.mjs → update-4AZUFFQ3.mjs} +1 -1
  12. package/package.json +1 -1
  13. package/templates/storefront-auto/next.config.ts +6 -0
  14. package/templates/storefront-auto/package.json +1 -1
  15. package/templates/storefront-bakery/next.config.ts +6 -0
  16. package/templates/storefront-bakery/package.json +1 -1
  17. package/templates/storefront-fashion/next.config.ts +6 -0
  18. package/templates/storefront-fashion/package.json +1 -1
  19. package/templates/storefront-grocery/next.config.ts +6 -0
  20. package/templates/storefront-grocery/package.json +1 -1
  21. package/templates/storefront-pharmacy/next.config.ts +6 -0
  22. package/templates/storefront-pharmacy/package.json +1 -1
  23. package/templates/storefront-restaurant/next.config.ts +6 -0
  24. package/templates/storefront-restaurant/package.json +1 -1
  25. package/templates/storefront-retail/next.config.ts +6 -0
  26. package/templates/storefront-retail/package.json +1 -1
  27. package/templates/storefront-services/next.config.ts +6 -0
  28. package/templates/storefront-services/package.json +1 -1
  29. package/dist/{deploy-3IFXUWPM.mjs → deploy-7BPO5BNB.mjs} +1 -1
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { TEMPLATES } from './chunk-OPWMPCPM.mjs';
3
- import { package_default } from './chunk-72IHRRLU.mjs';
2
+ import { TEMPLATES } from './chunk-OILDQUAD.mjs';
3
+ import { package_default } from './chunk-O6RONGAI.mjs';
4
4
 
5
5
  // src/dispatcher.ts
6
6
  var VERSION = package_default.version ?? "unknown";
@@ -27,6 +27,7 @@ Project:
27
27
 
28
28
  Deploy:
29
29
  cimplify deploy [flags] Push current SHA + trigger a build
30
+ cimplify cancel <deploy-id> Cancel a pending or in-progress deployment
30
31
  cimplify rollback <deploy-id> Re-deploy a previous deployment's SHA
31
32
  cimplify status Show the latest deployment for the linked project
32
33
  cimplify logs [flags] Stream build logs for the latest (or given) deployment
@@ -127,22 +128,23 @@ var COMMANDS = {
127
128
  projects: () => import('./projects-JSEC2YCX.mjs'),
128
129
  link: () => import('./link-DZSILT5N.mjs'),
129
130
  unlink: () => import('./unlink-RFK74SFP.mjs'),
130
- deploy: () => import('./deploy-3IFXUWPM.mjs'),
131
+ deploy: () => import('./deploy-7BPO5BNB.mjs'),
132
+ cancel: () => import('./cancel-HANLRA6Q.mjs'),
131
133
  rollback: () => import('./rollback-DD4RNRFM.mjs'),
132
134
  env: () => import('./env-7ISJ73YI.mjs'),
133
135
  domains: () => import('./domains-AHH56CL7.mjs'),
134
136
  logs: () => import('./logs-YNN2PQ24.mjs'),
135
137
  status: () => import('./status-JSYXM5RT.mjs'),
136
138
  dev: () => import('./dev-ONW2S77K.mjs'),
137
- introspect: () => import('./introspect-5ODUL6UC.mjs'),
138
- doctor: () => import('./doctor-FZCJWAPT.mjs'),
139
- explain: () => import('./explain-4I6JLKDW.mjs'),
139
+ introspect: () => import('./introspect-PQ476BL7.mjs'),
140
+ doctor: () => import('./doctor-YPO2MQZF.mjs'),
141
+ explain: () => import('./explain-L5ZDNMHC.mjs'),
140
142
  assets: () => import('./assets-EBEMMENZ.mjs'),
141
143
  repo: () => import('./repo-WOBWKEAO.mjs'),
142
- list: () => import('./list-EKOWQ53I.mjs'),
143
- add: () => import('./add-FU46PRCJ.mjs'),
144
- update: () => import('./update-NHGK3AAH.mjs'),
145
- upgrade: () => import('./update-NHGK3AAH.mjs'),
144
+ list: () => import('./list-5ORRWEYK.mjs'),
145
+ add: () => import('./add-5EMD74VD.mjs'),
146
+ update: () => import('./update-4AZUFFQ3.mjs'),
147
+ upgrade: () => import('./update-4AZUFFQ3.mjs'),
146
148
  "auth-step-up": () => import('./auth-step-up-BIUYQJP6.mjs')
147
149
  };
148
150
  var COMMAND_PREFIXES = {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { gatherIntrospection } from './chunk-A6BBQWTB.mjs';
2
+ import { gatherIntrospection } from './chunk-DAHD6YWI.mjs';
3
3
  import './chunk-K5464A3L.mjs';
4
4
  import './chunk-DBZ3UOQ2.mjs';
5
- import './chunk-72IHRRLU.mjs';
5
+ import './chunk-O6RONGAI.mjs';
6
6
  import { parseArgs, flagBool } from './chunk-C4M3DXKC.mjs';
7
7
  import { ApiClient } from './chunk-MAOO6ZZ5.mjs';
8
8
  import { readAuthOrNull } from './chunk-UBAI443T.mjs';
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { package_default } from './chunk-72IHRRLU.mjs';
2
+ import { package_default } from './chunk-O6RONGAI.mjs';
3
3
  import { parseArgs } from './chunk-C4M3DXKC.mjs';
4
4
  import { bold, dim, info, result, CliError, CLI_ERROR_CODE } from './chunk-E2T2SBP5.mjs';
5
5
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- export { run as default, extractMockSeed, gatherIntrospection, renderIntrospection } from './chunk-A6BBQWTB.mjs';
2
+ export { run as default, extractMockSeed, gatherIntrospection, renderIntrospection } from './chunk-DAHD6YWI.mjs';
3
3
  import './chunk-K5464A3L.mjs';
4
4
  import './chunk-DBZ3UOQ2.mjs';
5
- import './chunk-72IHRRLU.mjs';
5
+ import './chunk-O6RONGAI.mjs';
6
6
  import './chunk-C4M3DXKC.mjs';
7
7
  import './chunk-UBAI443T.mjs';
8
8
  import './chunk-E2T2SBP5.mjs';
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { REGISTRY_INDEX } from './chunk-OPWMPCPM.mjs';
2
+ import { REGISTRY_INDEX } from './chunk-OILDQUAD.mjs';
3
3
  import { parseArgs, flagBool } from './chunk-C4M3DXKC.mjs';
4
4
  import { CliError, CLI_ERROR_CODE, info, bold, dim, green, result } from './chunk-E2T2SBP5.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { package_default } from './chunk-72IHRRLU.mjs';
2
+ import { package_default } from './chunk-O6RONGAI.mjs';
3
3
  import { promptYesNo } from './chunk-ITAFAORS.mjs';
4
4
  import { parseArgs, flagBool, flagString } from './chunk-C4M3DXKC.mjs';
5
5
  import { success, bold, info, dim, result, failure, CliError, CLI_ERROR_CODE, step, isJsonMode } from './chunk-E2T2SBP5.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimplify/cli",
3
- "version": "0.5.4",
3
+ "version": "0.6.1",
4
4
  "description": "Cimplify CLI — deploy, manage env vars, link projects, and scaffold storefronts",
5
5
  "keywords": [
6
6
  "cimplify",
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -19,7 +19,7 @@
19
19
  "check": "bun run typecheck && bun run test:run"
20
20
  },
21
21
  "dependencies": {
22
- "@cimplify/sdk": "^0.46.0",
22
+ "@cimplify/sdk": "^0.46.1",
23
23
  "next": "^16.2.4",
24
24
  "react": "^19.0.0",
25
25
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -7,6 +7,12 @@ const STOREFRONT_URL =
7
7
  ? "https://storefronts.cimplify.io"
8
8
  : "http://127.0.0.1:8787";
9
9
 
10
+ if (STOREFRONT_URL === "http://127.0.0.1:8787") {
11
+ console.warn(
12
+ "[cimplify] next.config resolved the local storefront API URL; production deploys must run with NODE_ENV=production.",
13
+ );
14
+ }
15
+
10
16
  const nextConfig: NextConfig = {
11
17
  // Enable Next 16's `cacheComponents` mode so we can use `'use cache'` +
12
18
  // `cacheTag` / `cacheLife` for SSR caching. Cached chrome streams first,
@@ -17,7 +17,7 @@
17
17
  "check": "bun run typecheck && bun run test:run"
18
18
  },
19
19
  "dependencies": {
20
- "@cimplify/sdk": "^0.46.0",
20
+ "@cimplify/sdk": "^0.46.1",
21
21
  "next": "^16.2.4",
22
22
  "react": "^19.0.0",
23
23
  "react-dom": "^19.0.0"
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { pollDeployment } from './chunk-VTR5R5NQ.mjs';
3
2
  import { gitDetectRoot, gitStatusPorcelain, gitCurrentBranch, gitCurrentSha, gitGetRemoteUrl, isFreestyleRemote, gitPushToUrl, gitPush } from './chunk-K5464A3L.mjs';
3
+ import { pollDeployment } from './chunk-VTR5R5NQ.mjs';
4
4
  import { fetchCloneToken } from './chunk-R3FDBXR6.mjs';
5
5
  import { promptYesNo } from './chunk-ITAFAORS.mjs';
6
6
  import { TOKEN_PURPOSE, ENV_SCOPE, DEPLOY_TRIGGER, DEPLOYMENT_STATUS } from './chunk-MXYUAJEW.mjs';