@shopify/oxygen-cli 4.6.17-unstable.202504071530.0 → 4.6.19-unstable.202504171409.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/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# @shopify/oxygen-cli
|
2
2
|
|
3
|
+
## 4.6.18
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- e507108: Update @changesets/cli from 2.29.0 to 2.29.1
|
8
|
+
- b9ef01a: Update vite from 6.2.6 to 6.3.0
|
9
|
+
- 5c54c1c: Use Observe proxy for Bugsnag notifier
|
10
|
+
|
11
|
+
## 4.6.17
|
12
|
+
|
13
|
+
### Patch Changes
|
14
|
+
|
15
|
+
- 589036e: Update vite from 6.2.5 to 6.2.6
|
16
|
+
- cbb2eac: Update oclif from 4.17.43 to 4.17.44
|
17
|
+
- 110b5bf: Update @types/node from 22.14.0 to 22.14.1
|
18
|
+
- e213d39: Update @changesets/cli from 2.28.1 to 2.29.0
|
19
|
+
- 5e28e0c: bump cross-spawn and @shopify/cli-kit
|
20
|
+
|
3
21
|
## 4.6.16
|
4
22
|
|
5
23
|
### Patch Changes
|
@@ -11,6 +29,7 @@
|
|
11
29
|
- 9bf03be: Update eslint-plugin-prettier from 5.2.5 to 5.2.6
|
12
30
|
- 930acdf: Update @types/node from 22.13.17 to 22.14.0
|
13
31
|
- 49f4b2d: Update typescript from 5.8.2 to 5.8.3
|
32
|
+
- 0f170de: Update oclif from 4.17.42 to 4.17.43
|
14
33
|
|
15
34
|
## 4.6.15
|
16
35
|
|
@@ -16,6 +16,7 @@ interface DeploymentCompleteQueryVariables extends Variables {
|
|
16
16
|
generateAuthBypassToken: boolean;
|
17
17
|
authBypassTokenDuration?: number;
|
18
18
|
environmentVariables?: EnvironmentVariable[];
|
19
|
+
[key: string]: string | number | boolean | EnvironmentVariable[] | undefined;
|
19
20
|
}
|
20
21
|
interface DeploymentCompleteResponse {
|
21
22
|
deployment: Deployment;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/deploy/graphql/deployment-complete.ts"],"names":[],"mappings":"AAIO,MAAM,uBAA0B,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","file":"deployment-complete.js","sourcesContent":["import {Variables} from 'graphql-request';\n\nimport {OxygenError} from '../types.js';\n\nexport const DeploymentCompleteQuery = `\n mutation DeploymentComplete($deploymentId: ID!, $generateAuthBypassToken: Boolean, $authBypassTokenDuration: Int, $environmentVariables: [EnvironmentVariableInput!]) {\n deploymentComplete(id: $deploymentId, generateAuthBypassToken: $generateAuthBypassToken, authBypassTokenDuration: $authBypassTokenDuration, environmentVariables: $environmentVariables) {\n deployment {\n id\n url\n }\n authBypassToken\n userErrors {\n message\n }\n }\n }\n`;\n\nexport interface DeploymentCompleteQueryData {\n deploymentComplete: DeploymentCompleteResponse;\n}\n\ninterface EnvironmentVariable {\n isSecret: boolean;\n key: string;\n value: string;\n}\n\nexport interface DeploymentCompleteQueryVariables extends Variables {\n deploymentId: string;\n generateAuthBypassToken: boolean;\n authBypassTokenDuration?: number;\n environmentVariables?: EnvironmentVariable[];\n}\n\nexport interface DeploymentCompleteResponse {\n deployment: Deployment;\n authBypassToken: string | null;\n userErrors: OxygenError[];\n}\n\ninterface Deployment {\n id: string;\n url: string;\n}\n"]}
|
1
|
+
{"version":3,"sources":["../../../src/deploy/graphql/deployment-complete.ts"],"names":[],"mappings":"AAIO,MAAM,uBAA0B,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","file":"deployment-complete.js","sourcesContent":["import {Variables} from 'graphql-request';\n\nimport {OxygenError} from '../types.js';\n\nexport const DeploymentCompleteQuery = `\n mutation DeploymentComplete($deploymentId: ID!, $generateAuthBypassToken: Boolean, $authBypassTokenDuration: Int, $environmentVariables: [EnvironmentVariableInput!]) {\n deploymentComplete(id: $deploymentId, generateAuthBypassToken: $generateAuthBypassToken, authBypassTokenDuration: $authBypassTokenDuration, environmentVariables: $environmentVariables) {\n deployment {\n id\n url\n }\n authBypassToken\n userErrors {\n message\n }\n }\n }\n`;\n\nexport interface DeploymentCompleteQueryData {\n deploymentComplete: DeploymentCompleteResponse;\n}\n\ninterface EnvironmentVariable {\n isSecret: boolean;\n key: string;\n value: string;\n}\n\nexport interface DeploymentCompleteQueryVariables extends Variables {\n deploymentId: string;\n generateAuthBypassToken: boolean;\n authBypassTokenDuration?: number;\n environmentVariables?: EnvironmentVariable[];\n [key: string]: string | number | boolean | EnvironmentVariable[] | undefined;\n}\n\nexport interface DeploymentCompleteResponse {\n deployment: Deployment;\n authBypassToken: string | null;\n userErrors: OxygenError[];\n}\n\ninterface Deployment {\n id: string;\n url: string;\n}\n"]}
|
package/dist/utils/bugsnag.js
CHANGED
@@ -13,6 +13,10 @@ function setupBugsnag(disableBugsnag) {
|
|
13
13
|
apiKey: "21fd37fe87ead4b9c5a8eed90752b455",
|
14
14
|
autoDetectErrors: true,
|
15
15
|
appVersion: packageJson.version,
|
16
|
+
endpoints: {
|
17
|
+
notify: "https://error-analytics-production.shopifysvc.com",
|
18
|
+
sessions: "https://error-analytics-sessions-production.shopifysvc.com"
|
19
|
+
},
|
16
20
|
logger: null
|
17
21
|
};
|
18
22
|
return Bugsnag.start(bugsnagServerOptions);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../src/utils/bugsnag.ts"],"names":[],"mappings":";;;AAKA,IAAI,aAAA;AAEJ,SAAS,aAAa,cAAyB,EAAA;AAC7C,EAAA,IAAI,cAAgB,EAAA;AAClB,IAAA;AAAA,GACF,MAAA,IAAY,QAAgB,OAAS,EAAA;AACnC,IAAO,OAAA,OAAA;AAAA;AAGT,EAAA,MAAM,cAAc,eAAgB,EAAA;AAEpC,EAAA,MAAM,oBAA2C,GAAA;AAAA,IAC/C,MAAQ,EAAA,kCAAA;AAAA,IACR,gBAAkB,EAAA,IAAA;AAAA,IAClB,YAAY,WAAY,CAAA,OAAA;AAAA,IACxB,MAAQ,EAAA;AAAA,GACV;AAEA,EAAQ,OAAA,OAAA,CAAgB,MAAM,oBAAoB,CAAA;AACpD;AAEO,SAAS,kBAAkB,cAAyB,EAAA;AACzD,EAAA,aAAA,GAAgB,aAAa,cAAc,CAAA;AAC7C;AAEO,SAAS,UAAa,GAAA;AAC3B,EAAO,OAAA,aAAA;AACT;AAEO,SAAS,aAAA,CACd,OACA,QACgB,EAAA;AAChB,EAAA,IAAI,CAAC,QAAU,EAAA;AACb,IAAO,OAAA,KAAA;AAAA;AAGT,EAAM,MAAA,eAAA,GAAkB,CAAC,OAAoB,KAAA;AAC3C,IAAA,OAAO,QAAQ,OAAQ,CAAA,IAAI,OAAO,QAAU,EAAA,GAAG,GAAG,KAAK,CAAA;AAAA,GACzD;AAEA,EAAA,IAAI,iBAAiB,KAAO,EAAA;AAC1B,IAAA,MAAM,aAAa,MAAO,CAAA,MAAA,CAAO,MAAO,CAAA,cAAA,CAAe,KAAK,CAAC,CAAA;AAC7D,IAAO,MAAA,CAAA,MAAA,CAAO,YAAY,KAAO,EAAA;AAAA,MAC/B,OAAA,EAAS,eAAgB,CAAA,KAAA,CAAM,OAAO,CAAA;AAAA,MACtC,OAAO,KAAM,CAAA,KAAA,GAAQ,eAAgB,CAAA,KAAA,CAAM,KAAK,CAAI,GAAA;AAAA,KACrD,CAAA;AAED,IAAO,OAAA,UAAA;AAAA;AAGT,EAAA,OAAO,gBAAgB,KAAK,CAAA;AAC9B","file":"bugsnag.js","sourcesContent":["import Bugsnag from '@bugsnag/node';\nimport * as BugsnagCore from '@bugsnag/core';\n\nimport {loadPackageJson} from './utils.js';\n\nlet BugsnagClient: BugsnagCore.Client | undefined;\n\nfunction setupBugsnag(disableBugsnag: boolean) {\n if (disableBugsnag) {\n return;\n } else if ((Bugsnag as any)._client) {\n return Bugsnag;\n }\n\n const packageJson = loadPackageJson();\n\n const bugsnagServerOptions: BugsnagCore.Config = {\n apiKey: '21fd37fe87ead4b9c5a8eed90752b455',\n autoDetectErrors: true,\n appVersion: packageJson.version,\n logger: null,\n };\n\n return (Bugsnag as any).start(bugsnagServerOptions);\n}\n\nexport function initializeBugsnag(disableBugsnag: boolean) {\n BugsnagClient = setupBugsnag(disableBugsnag);\n}\n\nexport function getBugsnag() {\n return BugsnagClient;\n}\n\nexport function sanitizeError(\n error: Error | string,\n rootPath?: string,\n): Error | string {\n if (!rootPath) {\n return error;\n }\n\n const replaceRootPath = (message: string) => {\n return message.replace(new RegExp(rootPath, 'g'), '***');\n };\n\n if (error instanceof Error) {\n const cleanError = Object.create(Object.getPrototypeOf(error));\n Object.assign(cleanError, error, {\n message: replaceRootPath(error.message),\n stack: error.stack ? replaceRootPath(error.stack) : undefined,\n });\n\n return cleanError;\n }\n\n return replaceRootPath(error);\n}\n"]}
|
1
|
+
{"version":3,"sources":["../../src/utils/bugsnag.ts"],"names":[],"mappings":";;;AAKA,IAAI,aAAA;AAEJ,SAAS,aAAa,cAAyB,EAAA;AAC7C,EAAA,IAAI,cAAgB,EAAA;AAClB,IAAA;AAAA,GACF,MAAA,IAAY,QAAgB,OAAS,EAAA;AACnC,IAAO,OAAA,OAAA;AAAA;AAGT,EAAA,MAAM,cAAc,eAAgB,EAAA;AAEpC,EAAA,MAAM,oBAA2C,GAAA;AAAA,IAC/C,MAAQ,EAAA,kCAAA;AAAA,IACR,gBAAkB,EAAA,IAAA;AAAA,IAClB,YAAY,WAAY,CAAA,OAAA;AAAA,IACxB,SAAW,EAAA;AAAA,MACT,MAAQ,EAAA,mDAAA;AAAA,MACR,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,MAAQ,EAAA;AAAA,GACV;AAEA,EAAQ,OAAA,OAAA,CAAgB,MAAM,oBAAoB,CAAA;AACpD;AAEO,SAAS,kBAAkB,cAAyB,EAAA;AACzD,EAAA,aAAA,GAAgB,aAAa,cAAc,CAAA;AAC7C;AAEO,SAAS,UAAa,GAAA;AAC3B,EAAO,OAAA,aAAA;AACT;AAEO,SAAS,aAAA,CACd,OACA,QACgB,EAAA;AAChB,EAAA,IAAI,CAAC,QAAU,EAAA;AACb,IAAO,OAAA,KAAA;AAAA;AAGT,EAAM,MAAA,eAAA,GAAkB,CAAC,OAAoB,KAAA;AAC3C,IAAA,OAAO,QAAQ,OAAQ,CAAA,IAAI,OAAO,QAAU,EAAA,GAAG,GAAG,KAAK,CAAA;AAAA,GACzD;AAEA,EAAA,IAAI,iBAAiB,KAAO,EAAA;AAC1B,IAAA,MAAM,aAAa,MAAO,CAAA,MAAA,CAAO,MAAO,CAAA,cAAA,CAAe,KAAK,CAAC,CAAA;AAC7D,IAAO,MAAA,CAAA,MAAA,CAAO,YAAY,KAAO,EAAA;AAAA,MAC/B,OAAA,EAAS,eAAgB,CAAA,KAAA,CAAM,OAAO,CAAA;AAAA,MACtC,OAAO,KAAM,CAAA,KAAA,GAAQ,eAAgB,CAAA,KAAA,CAAM,KAAK,CAAI,GAAA;AAAA,KACrD,CAAA;AAED,IAAO,OAAA,UAAA;AAAA;AAGT,EAAA,OAAO,gBAAgB,KAAK,CAAA;AAC9B","file":"bugsnag.js","sourcesContent":["import Bugsnag from '@bugsnag/node';\nimport * as BugsnagCore from '@bugsnag/core';\n\nimport {loadPackageJson} from './utils.js';\n\nlet BugsnagClient: BugsnagCore.Client | undefined;\n\nfunction setupBugsnag(disableBugsnag: boolean) {\n if (disableBugsnag) {\n return;\n } else if ((Bugsnag as any)._client) {\n return Bugsnag;\n }\n\n const packageJson = loadPackageJson();\n\n const bugsnagServerOptions: BugsnagCore.Config = {\n apiKey: '21fd37fe87ead4b9c5a8eed90752b455',\n autoDetectErrors: true,\n appVersion: packageJson.version,\n endpoints: {\n notify: 'https://error-analytics-production.shopifysvc.com',\n sessions: 'https://error-analytics-sessions-production.shopifysvc.com',\n },\n logger: null,\n };\n\n return (Bugsnag as any).start(bugsnagServerOptions);\n}\n\nexport function initializeBugsnag(disableBugsnag: boolean) {\n BugsnagClient = setupBugsnag(disableBugsnag);\n}\n\nexport function getBugsnag() {\n return BugsnagClient;\n}\n\nexport function sanitizeError(\n error: Error | string,\n rootPath?: string,\n): Error | string {\n if (!rootPath) {\n return error;\n }\n\n const replaceRootPath = (message: string) => {\n return message.replace(new RegExp(rootPath, 'g'), '***');\n };\n\n if (error instanceof Error) {\n const cleanError = Object.create(Object.getPrototypeOf(error));\n Object.assign(cleanError, error, {\n message: replaceRootPath(error.message),\n stack: error.stack ? replaceRootPath(error.stack) : undefined,\n });\n\n return cleanError;\n }\n\n return replaceRootPath(error);\n}\n"]}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
"@shopify:registry": "https://registry.npmjs.org"
|
6
6
|
},
|
7
7
|
"license": "MIT",
|
8
|
-
"version": "4.6.
|
8
|
+
"version": "4.6.19-unstable.202504171409.0",
|
9
9
|
"type": "module",
|
10
10
|
"scripts": {
|
11
11
|
"build": "tsup --sourcemap --clean --config ./tsup.config.ts && oclif manifest",
|
@@ -39,7 +39,8 @@
|
|
39
39
|
"@bugsnag/core": "^8.2.0",
|
40
40
|
"@bugsnag/js": "^8.2.0",
|
41
41
|
"@bugsnag/node": "^8.0.0",
|
42
|
-
"async": "^3.2.6"
|
42
|
+
"async": "^3.2.6",
|
43
|
+
"graphql-request": "^7.1.2"
|
43
44
|
},
|
44
45
|
"peerDependencies": {
|
45
46
|
"@oclif/core": "^3.15.1",
|
@@ -47,11 +48,11 @@
|
|
47
48
|
},
|
48
49
|
"devDependencies": {
|
49
50
|
"@bugsnag/source-maps": "^2.3.3",
|
50
|
-
"@changesets/cli": "^2.
|
51
|
+
"@changesets/cli": "^2.29.1",
|
51
52
|
"@shopify/eslint-plugin": "^48.0.2",
|
52
53
|
"@shopify/prettier-config": "^1.1.4",
|
53
54
|
"@types/async": "^3.2.24",
|
54
|
-
"@types/node": "^22.14.
|
55
|
+
"@types/node": "^22.14.1",
|
55
56
|
"eslint": "^8.57.1",
|
56
57
|
"eslint-plugin-node": "^11.1.0",
|
57
58
|
"eslint-plugin-prettier": "^5.2.6",
|
@@ -59,7 +60,7 @@
|
|
59
60
|
"oclif": "^4",
|
60
61
|
"tsup": "^8.4.0",
|
61
62
|
"typescript": "^5.8.3",
|
62
|
-
"vite": "^6.
|
63
|
+
"vite": "^6.3.0",
|
63
64
|
"vitest": "^3.1.1"
|
64
65
|
},
|
65
66
|
"prettier": "@shopify/prettier-config",
|