@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.
- package/dist/{add-FU46PRCJ.mjs → add-5EMD74VD.mjs} +1 -1
- package/dist/cancel-HANLRA6Q.mjs +34 -0
- package/dist/{chunk-A6BBQWTB.mjs → chunk-DAHD6YWI.mjs} +1 -1
- package/dist/{chunk-72IHRRLU.mjs → chunk-O6RONGAI.mjs} +1 -1
- package/dist/{chunk-OPWMPCPM.mjs → chunk-OILDQUAD.mjs} +16 -16
- package/dist/dispatcher.mjs +12 -10
- package/dist/{doctor-FZCJWAPT.mjs → doctor-YPO2MQZF.mjs} +2 -2
- package/dist/{explain-4I6JLKDW.mjs → explain-L5ZDNMHC.mjs} +1 -1
- package/dist/{introspect-5ODUL6UC.mjs → introspect-PQ476BL7.mjs} +2 -2
- package/dist/{list-EKOWQ53I.mjs → list-5ORRWEYK.mjs} +1 -1
- package/dist/{update-NHGK3AAH.mjs → update-4AZUFFQ3.mjs} +1 -1
- package/package.json +1 -1
- package/templates/storefront-auto/next.config.ts +6 -0
- package/templates/storefront-auto/package.json +1 -1
- package/templates/storefront-bakery/next.config.ts +6 -0
- package/templates/storefront-bakery/package.json +1 -1
- package/templates/storefront-fashion/next.config.ts +6 -0
- package/templates/storefront-fashion/package.json +1 -1
- package/templates/storefront-grocery/next.config.ts +6 -0
- package/templates/storefront-grocery/package.json +1 -1
- package/templates/storefront-pharmacy/next.config.ts +6 -0
- package/templates/storefront-pharmacy/package.json +1 -1
- package/templates/storefront-restaurant/next.config.ts +6 -0
- package/templates/storefront-restaurant/package.json +1 -1
- package/templates/storefront-retail/next.config.ts +6 -0
- package/templates/storefront-retail/package.json +1 -1
- package/templates/storefront-services/next.config.ts +6 -0
- package/templates/storefront-services/package.json +1 -1
- package/dist/{deploy-3IFXUWPM.mjs → deploy-7BPO5BNB.mjs} +1 -1
package/dist/dispatcher.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { TEMPLATES } from './chunk-
|
|
3
|
-
import { package_default } from './chunk-
|
|
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-
|
|
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-
|
|
138
|
-
doctor: () => import('./doctor-
|
|
139
|
-
explain: () => import('./explain-
|
|
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-
|
|
143
|
-
add: () => import('./add-
|
|
144
|
-
update: () => import('./update-
|
|
145
|
-
upgrade: () => import('./update-
|
|
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-
|
|
2
|
+
import { gatherIntrospection } from './chunk-DAHD6YWI.mjs';
|
|
3
3
|
import './chunk-K5464A3L.mjs';
|
|
4
4
|
import './chunk-DBZ3UOQ2.mjs';
|
|
5
|
-
import './chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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';
|