@slicemachine/init 2.6.4-dev-upgrade-legacy.2 → 2.7.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/dist/SliceMachineInitProcess.cjs +29 -30
- package/dist/SliceMachineInitProcess.cjs.map +1 -1
- package/dist/SliceMachineInitProcess.d.ts +3 -1
- package/dist/SliceMachineInitProcess.js +29 -30
- package/dist/SliceMachineInitProcess.js.map +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +2 -2
- package/dist/_node_modules/@babel/code-frame/lib/index.js +2 -2
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +3 -3
- package/dist/_node_modules/@babel/highlight/lib/index.js +3 -3
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js +1 -1
- package/dist/_node_modules/cross-spawn/index.cjs +1 -1
- package/dist/_node_modules/cross-spawn/index.js +1 -1
- package/dist/_node_modules/dir-glob/index.cjs +2 -2
- package/dist/_node_modules/dir-glob/index.js +2 -2
- package/dist/_node_modules/fast-glob/out/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/index.js +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/async.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/readers/async.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/reader.js +2 -2
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/stream.js +2 -2
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/sync.js +2 -2
- package/dist/_node_modules/fast-glob/out/utils/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/utils/index.js +1 -1
- package/dist/_node_modules/get-stream/index.cjs +1 -1
- package/dist/_node_modules/get-stream/index.js +1 -1
- package/dist/_node_modules/js-tokens/index.cjs +1 -1
- package/dist/_node_modules/js-tokens/index.js +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.cjs +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.js +1 -1
- package/dist/_node_modules/map-obj/index.cjs +1 -1
- package/dist/_node_modules/map-obj/index.js +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
- package/dist/_node_modules/parse-json/index.cjs +2 -2
- package/dist/_node_modules/parse-json/index.js +2 -2
- package/dist/_node_modules/path-key/index.cjs +1 -1
- package/dist/_node_modules/path-key/index.js +1 -1
- package/dist/_node_modules/path-type/index.cjs +1 -1
- package/dist/_node_modules/path-type/index.js +1 -1
- package/dist/_node_modules/signal-exit/index.cjs +1 -1
- package/dist/_node_modules/signal-exit/index.js +1 -1
- package/dist/_virtual/index10.cjs +2 -2
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.cjs +2 -2
- package/dist/_virtual/index11.js +2 -2
- package/dist/_virtual/index12.cjs +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.cjs +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.cjs +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.cjs +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.cjs +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index17.cjs +2 -2
- package/dist/_virtual/index17.js +2 -2
- package/dist/_virtual/index18.cjs +2 -2
- package/dist/_virtual/index18.js +2 -2
- package/dist/_virtual/index19.cjs +2 -2
- package/dist/_virtual/index19.js +2 -2
- package/dist/_virtual/index3.cjs +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.cjs +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.cjs +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.cjs +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.cjs +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.cjs +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.cjs +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/constants.cjs +2 -0
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +2 -0
- package/dist/constants.js.map +1 -1
- package/dist/lib/checkIsSentryEnabled.cjs +5 -0
- package/dist/lib/checkIsSentryEnabled.cjs.map +1 -0
- package/dist/lib/checkIsSentryEnabled.d.ts +9 -0
- package/dist/lib/checkIsSentryEnabled.js +5 -0
- package/dist/lib/checkIsSentryEnabled.js.map +1 -0
- package/dist/lib/sentryErrorHandlers.cjs +31 -0
- package/dist/lib/sentryErrorHandlers.cjs.map +1 -0
- package/dist/lib/sentryErrorHandlers.d.ts +1 -0
- package/dist/lib/sentryErrorHandlers.js +14 -0
- package/dist/lib/sentryErrorHandlers.js.map +1 -0
- package/dist/lib/setupSentry.cjs +37 -0
- package/dist/lib/setupSentry.cjs.map +1 -0
- package/dist/lib/setupSentry.d.ts +1 -0
- package/dist/lib/setupSentry.js +20 -0
- package/dist/lib/setupSentry.js.map +1 -0
- package/dist/lib/updateSentryContext.cjs +45 -0
- package/dist/lib/updateSentryContext.cjs.map +1 -0
- package/dist/lib/updateSentryContext.d.ts +8 -0
- package/dist/lib/updateSentryContext.js +28 -0
- package/dist/lib/updateSentryContext.js.map +1 -0
- package/dist/packages/init/package.json.cjs +6 -5
- package/dist/packages/init/package.json.cjs.map +1 -1
- package/dist/packages/init/package.json.js +6 -5
- package/dist/packages/init/package.json.js.map +1 -1
- package/package.json +6 -5
- package/src/SliceMachineInitProcess.ts +31 -51
- package/src/constants.ts +3 -0
- package/src/lib/checkIsSentryEnabled.ts +12 -0
- package/src/lib/sentryErrorHandlers.ts +13 -0
- package/src/lib/setupSentry.ts +23 -0
- package/src/lib/updateSentryContext.ts +42 -0
package/dist/_virtual/index6.js
CHANGED
package/dist/_virtual/index7.cjs
CHANGED
package/dist/_virtual/index7.js
CHANGED
package/dist/_virtual/index8.cjs
CHANGED
package/dist/_virtual/index8.js
CHANGED
package/dist/_virtual/index9.cjs
CHANGED
package/dist/_virtual/index9.js
CHANGED
package/dist/constants.cjs
CHANGED
|
@@ -5,8 +5,10 @@ const START_SCRIPT_VALUE = "start-slicemachine";
|
|
|
5
5
|
const GIGET_PROVIDER = "github";
|
|
6
6
|
const GIGET_ORGANIZATION = "prismicio-community";
|
|
7
7
|
const SLICE_MACHINE_INIT_USER_AGENT = "slice-machine-init";
|
|
8
|
+
const SENTRY_EXPRESS_DSN = {}.VITE_SENTRY_EXPRESS_DSN || "https://d3e69d5189266d8d7f60f71ccc9353fc@o146123.ingest.sentry.io/4505917981982720";
|
|
8
9
|
exports.GIGET_ORGANIZATION = GIGET_ORGANIZATION;
|
|
9
10
|
exports.GIGET_PROVIDER = GIGET_PROVIDER;
|
|
11
|
+
exports.SENTRY_EXPRESS_DSN = SENTRY_EXPRESS_DSN;
|
|
10
12
|
exports.SLICE_MACHINE_INIT_USER_AGENT = SLICE_MACHINE_INIT_USER_AGENT;
|
|
11
13
|
exports.START_SCRIPT_KEY = START_SCRIPT_KEY;
|
|
12
14
|
exports.START_SCRIPT_VALUE = START_SCRIPT_VALUE;
|
package/dist/constants.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.cjs","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\nexport const GIGET_PROVIDER = \"github\";\nexport const GIGET_ORGANIZATION = \"prismicio-community\";\nexport const SLICE_MACHINE_INIT_USER_AGENT = \"slice-machine-init\";\n"],"names":[],"mappings":";;AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;AAC3B,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"constants.cjs","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\nexport const GIGET_PROVIDER = \"github\";\nexport const GIGET_ORGANIZATION = \"prismicio-community\";\nexport const SLICE_MACHINE_INIT_USER_AGENT = \"slice-machine-init\";\nexport const SENTRY_EXPRESS_DSN =\n\timport.meta.env.VITE_SENTRY_EXPRESS_DSN ||\n\t\"https://d3e69d5189266d8d7f60f71ccc9353fc@o146123.ingest.sentry.io/4505917981982720\";\n"],"names":[],"mappings":";;AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;AAC3B,MAAM,gCAAgC;AAChC,MAAA,qBACI,CAAA,EAAA,2BAChB;;;;;;;"}
|
package/dist/constants.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export declare const START_SCRIPT_VALUE = "start-slicemachine";
|
|
|
3
3
|
export declare const GIGET_PROVIDER = "github";
|
|
4
4
|
export declare const GIGET_ORGANIZATION = "prismicio-community";
|
|
5
5
|
export declare const SLICE_MACHINE_INIT_USER_AGENT = "slice-machine-init";
|
|
6
|
+
export declare const SENTRY_EXPRESS_DSN: any;
|
package/dist/constants.js
CHANGED
|
@@ -3,9 +3,11 @@ const START_SCRIPT_VALUE = "start-slicemachine";
|
|
|
3
3
|
const GIGET_PROVIDER = "github";
|
|
4
4
|
const GIGET_ORGANIZATION = "prismicio-community";
|
|
5
5
|
const SLICE_MACHINE_INIT_USER_AGENT = "slice-machine-init";
|
|
6
|
+
const SENTRY_EXPRESS_DSN = {}.VITE_SENTRY_EXPRESS_DSN || "https://d3e69d5189266d8d7f60f71ccc9353fc@o146123.ingest.sentry.io/4505917981982720";
|
|
6
7
|
export {
|
|
7
8
|
GIGET_ORGANIZATION,
|
|
8
9
|
GIGET_PROVIDER,
|
|
10
|
+
SENTRY_EXPRESS_DSN,
|
|
9
11
|
SLICE_MACHINE_INIT_USER_AGENT,
|
|
10
12
|
START_SCRIPT_KEY,
|
|
11
13
|
START_SCRIPT_VALUE
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\nexport const GIGET_PROVIDER = \"github\";\nexport const GIGET_ORGANIZATION = \"prismicio-community\";\nexport const SLICE_MACHINE_INIT_USER_AGENT = \"slice-machine-init\";\n"],"names":[],"mappings":"AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;AAC3B,MAAM,gCAAgC;"}
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["// Those contants should be unique to the init script, if they are needed elsewhere then they should be extracted to the manager\nexport const START_SCRIPT_KEY = \"slicemachine\";\nexport const START_SCRIPT_VALUE = \"start-slicemachine\";\nexport const GIGET_PROVIDER = \"github\";\nexport const GIGET_ORGANIZATION = \"prismicio-community\";\nexport const SLICE_MACHINE_INIT_USER_AGENT = \"slice-machine-init\";\nexport const SENTRY_EXPRESS_DSN =\n\timport.meta.env.VITE_SENTRY_EXPRESS_DSN ||\n\t\"https://d3e69d5189266d8d7f60f71ccc9353fc@o146123.ingest.sentry.io/4505917981982720\";\n"],"names":[],"mappings":"AACO,MAAM,mBAAmB;AACzB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB;AACvB,MAAM,qBAAqB;AAC3B,MAAM,gCAAgC;AAChC,MAAA,qBACI,CAAA,EAAA,2BAChB;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const checkIsSentryEnabled = () => ({}).VITE_ENABLE_SENTRY === void 0 ? true : {}.VITE_ENABLE_SENTRY === "true";
|
|
4
|
+
exports.checkIsSentryEnabled = checkIsSentryEnabled;
|
|
5
|
+
//# sourceMappingURL=checkIsSentryEnabled.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkIsSentryEnabled.cjs","sources":["../../../src/lib/checkIsSentryEnabled.ts"],"sourcesContent":["/**\n * Checks whether or not Sentry is enabled.\n *\n * Sentry is enabled automatically in production but can be disabled by setting\n * `VITE_ENABLE_SENTRY` to `false`.\n *\n * @returns Whether or not Sentry is enabled.\n */\nexport const checkIsSentryEnabled = (): boolean =>\n\timport.meta.env.VITE_ENABLE_SENTRY === undefined\n\t\t? import.meta.env.PROD\n\t\t: import.meta.env.VITE_ENABLE_SENTRY === \"true\";\n"],"names":[],"mappings":";;AAQa,MAAA,uBAAuB,OACnB,CAAA,GAAA,uBAAuB,SACpC,OACgB,CAAA,EAAA,uBAAuB;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks whether or not Sentry is enabled.
|
|
3
|
+
*
|
|
4
|
+
* Sentry is enabled automatically in production but can be disabled by setting
|
|
5
|
+
* `VITE_ENABLE_SENTRY` to `false`.
|
|
6
|
+
*
|
|
7
|
+
* @returns Whether or not Sentry is enabled.
|
|
8
|
+
*/
|
|
9
|
+
export declare const checkIsSentryEnabled: () => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkIsSentryEnabled.js","sources":["../../../src/lib/checkIsSentryEnabled.ts"],"sourcesContent":["/**\n * Checks whether or not Sentry is enabled.\n *\n * Sentry is enabled automatically in production but can be disabled by setting\n * `VITE_ENABLE_SENTRY` to `false`.\n *\n * @returns Whether or not Sentry is enabled.\n */\nexport const checkIsSentryEnabled = (): boolean =>\n\timport.meta.env.VITE_ENABLE_SENTRY === undefined\n\t\t? import.meta.env.PROD\n\t\t: import.meta.env.VITE_ENABLE_SENTRY === \"true\";\n"],"names":[],"mappings":"AAQa,MAAA,uBAAuB,OACnB,CAAA,GAAA,uBAAuB,SACpC,OACgB,CAAA,EAAA,uBAAuB;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Sentry = require("@sentry/node");
|
|
4
|
+
const checkIsSentryEnabled = require("./checkIsSentryEnabled.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const Sentry__namespace = /* @__PURE__ */ _interopNamespaceDefault(Sentry);
|
|
22
|
+
function trackSentryError(error) {
|
|
23
|
+
if (!checkIsSentryEnabled.checkIsSentryEnabled()) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
Sentry__namespace.captureException(error, {
|
|
27
|
+
...error instanceof Error ? { extra: { cause: error.cause } } : {}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
exports.trackSentryError = trackSentryError;
|
|
31
|
+
//# sourceMappingURL=sentryErrorHandlers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentryErrorHandlers.cjs","sources":["../../../src/lib/sentryErrorHandlers.ts"],"sourcesContent":["import * as Sentry from \"@sentry/node\";\n\nimport { checkIsSentryEnabled } from \"./checkIsSentryEnabled\";\n\nexport function trackSentryError(error: unknown): void {\n\tif (!checkIsSentryEnabled()) {\n\t\treturn;\n\t}\n\n\tSentry.captureException(error, {\n\t\t...(error instanceof Error ? { extra: { cause: error.cause } } : {}),\n\t});\n}\n"],"names":["checkIsSentryEnabled","Sentry"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIM,SAAU,iBAAiB,OAAc;AAC1C,MAAA,CAACA,6CAAwB;AAC5B;AAAA,EACA;AAEDC,oBAAO,iBAAiB,OAAO;AAAA,IAC9B,GAAI,iBAAiB,QAAQ,EAAE,OAAO,EAAE,OAAO,MAAM,YAAY,CAAA;AAAA,EAAA,CACjE;AACF;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function trackSentryError(error: unknown): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Sentry from "@sentry/node";
|
|
2
|
+
import { checkIsSentryEnabled } from "./checkIsSentryEnabled.js";
|
|
3
|
+
function trackSentryError(error) {
|
|
4
|
+
if (!checkIsSentryEnabled()) {
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
Sentry.captureException(error, {
|
|
8
|
+
...error instanceof Error ? { extra: { cause: error.cause } } : {}
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
trackSentryError
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=sentryErrorHandlers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentryErrorHandlers.js","sources":["../../../src/lib/sentryErrorHandlers.ts"],"sourcesContent":["import * as Sentry from \"@sentry/node\";\n\nimport { checkIsSentryEnabled } from \"./checkIsSentryEnabled\";\n\nexport function trackSentryError(error: unknown): void {\n\tif (!checkIsSentryEnabled()) {\n\t\treturn;\n\t}\n\n\tSentry.captureException(error, {\n\t\t...(error instanceof Error ? { extra: { cause: error.cause } } : {}),\n\t});\n}\n"],"names":[],"mappings":";;AAIM,SAAU,iBAAiB,OAAc;AAC1C,MAAA,CAAC,wBAAwB;AAC5B;AAAA,EACA;AAED,SAAO,iBAAiB,OAAO;AAAA,IAC9B,GAAI,iBAAiB,QAAQ,EAAE,OAAO,EAAE,OAAO,MAAM,YAAY,CAAA;AAAA,EAAA,CACjE;AACF;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Sentry = require("@sentry/node");
|
|
4
|
+
const semver = require("semver");
|
|
5
|
+
const constants = require("../constants.cjs");
|
|
6
|
+
const checkIsSentryEnabled = require("./checkIsSentryEnabled.cjs");
|
|
7
|
+
const _package = require("../packages/init/package.json.cjs");
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
9
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
10
|
+
if (e) {
|
|
11
|
+
for (const k in e) {
|
|
12
|
+
if (k !== "default") {
|
|
13
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: () => e[k]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
const Sentry__namespace = /* @__PURE__ */ _interopNamespaceDefault(Sentry);
|
|
25
|
+
function setupSentry() {
|
|
26
|
+
if (!checkIsSentryEnabled.checkIsSentryEnabled()) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
const isStableVersion = semver.prerelease(_package.version) === null && semver.lte("0.1.0", _package.version);
|
|
30
|
+
Sentry__namespace.init({
|
|
31
|
+
dsn: constants.SENTRY_EXPRESS_DSN,
|
|
32
|
+
release: _package.version,
|
|
33
|
+
environment: isStableVersion ? "production" : "alpha"
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
exports.setupSentry = setupSentry;
|
|
37
|
+
//# sourceMappingURL=setupSentry.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupSentry.cjs","sources":["../../../src/lib/setupSentry.ts"],"sourcesContent":["import * as Sentry from \"@sentry/node\";\nimport semver from \"semver\";\n\nimport { SENTRY_EXPRESS_DSN } from \"../constants\";\nimport { checkIsSentryEnabled } from \"./checkIsSentryEnabled\";\nimport { version } from \"../../package.json\";\n\nexport function setupSentry(): void {\n\tif (!checkIsSentryEnabled()) {\n\t\treturn;\n\t}\n\n\tconst isStableVersion =\n\t\tsemver.prerelease(version) === null && semver.lte(\"0.1.0\", version);\n\n\tSentry.init({\n\t\tdsn: SENTRY_EXPRESS_DSN,\n\t\trelease: version,\n\t\tenvironment: isStableVersion\n\t\t\t? import.meta.env.MODE || \"production\"\n\t\t\t: \"alpha\",\n\t});\n}\n"],"names":["checkIsSentryEnabled","version","Sentry","SENTRY_EXPRESS_DSN"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;SAOgB,cAAW;AACtB,MAAA,CAACA,6CAAwB;AAC5B;AAAA,EACA;AAEK,QAAA,kBACL,OAAO,WAAWC,gBAAO,MAAM,QAAQ,OAAO,IAAI,SAASA,SAAAA,OAAO;AAEnEC,oBAAO,KAAK;AAAA,IACX,KAAKC,UAAA;AAAA,IACL,SAASF,SAAA;AAAA,IACT,aAAa,kBACV,eACA;AAAA,EAAA,CACH;AACF;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setupSentry(): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Sentry from "@sentry/node";
|
|
2
|
+
import semver from "semver";
|
|
3
|
+
import { SENTRY_EXPRESS_DSN } from "../constants.js";
|
|
4
|
+
import { checkIsSentryEnabled } from "./checkIsSentryEnabled.js";
|
|
5
|
+
import { version } from "../packages/init/package.json.js";
|
|
6
|
+
function setupSentry() {
|
|
7
|
+
if (!checkIsSentryEnabled()) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
const isStableVersion = semver.prerelease(version) === null && semver.lte("0.1.0", version);
|
|
11
|
+
Sentry.init({
|
|
12
|
+
dsn: SENTRY_EXPRESS_DSN,
|
|
13
|
+
release: version,
|
|
14
|
+
environment: isStableVersion ? "production" : "alpha"
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
setupSentry
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=setupSentry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupSentry.js","sources":["../../../src/lib/setupSentry.ts"],"sourcesContent":["import * as Sentry from \"@sentry/node\";\nimport semver from \"semver\";\n\nimport { SENTRY_EXPRESS_DSN } from \"../constants\";\nimport { checkIsSentryEnabled } from \"./checkIsSentryEnabled\";\nimport { version } from \"../../package.json\";\n\nexport function setupSentry(): void {\n\tif (!checkIsSentryEnabled()) {\n\t\treturn;\n\t}\n\n\tconst isStableVersion =\n\t\tsemver.prerelease(version) === null && semver.lte(\"0.1.0\", version);\n\n\tSentry.init({\n\t\tdsn: SENTRY_EXPRESS_DSN,\n\t\trelease: version,\n\t\tenvironment: isStableVersion\n\t\t\t? import.meta.env.MODE || \"production\"\n\t\t\t: \"alpha\",\n\t});\n}\n"],"names":[],"mappings":";;;;;SAOgB,cAAW;AACtB,MAAA,CAAC,wBAAwB;AAC5B;AAAA,EACA;AAEK,QAAA,kBACL,OAAO,WAAW,OAAO,MAAM,QAAQ,OAAO,IAAI,SAAS,OAAO;AAEnE,SAAO,KAAK;AAAA,IACX,KAAK;AAAA,IACL,SAAS;AAAA,IACT,aAAa,kBACV,eACA;AAAA,EAAA,CACH;AACF;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Sentry = require("@sentry/node");
|
|
4
|
+
const checkIsSentryEnabled = require("./checkIsSentryEnabled.cjs");
|
|
5
|
+
function _interopNamespaceDefault(e) {
|
|
6
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
+
if (e) {
|
|
8
|
+
for (const k in e) {
|
|
9
|
+
if (k !== "default") {
|
|
10
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => e[k]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
n.default = e;
|
|
19
|
+
return Object.freeze(n);
|
|
20
|
+
}
|
|
21
|
+
const Sentry__namespace = /* @__PURE__ */ _interopNamespaceDefault(Sentry);
|
|
22
|
+
async function updateSentryContext({ manager, repositoryName, framework }) {
|
|
23
|
+
if (!checkIsSentryEnabled.checkIsSentryEnabled()) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
let userProfile;
|
|
27
|
+
try {
|
|
28
|
+
userProfile = await manager.user.getProfile();
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
if (userProfile) {
|
|
32
|
+
Sentry__namespace.setUser({ id: userProfile.shortId });
|
|
33
|
+
}
|
|
34
|
+
if (repositoryName) {
|
|
35
|
+
Sentry__namespace.setTag("repository", repositoryName);
|
|
36
|
+
Sentry__namespace.setContext("Repository Data", {
|
|
37
|
+
name: repositoryName
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
if (framework) {
|
|
41
|
+
Sentry__namespace.setTag("framework", framework);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.updateSentryContext = updateSentryContext;
|
|
45
|
+
//# sourceMappingURL=updateSentryContext.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateSentryContext.cjs","sources":["../../../src/lib/updateSentryContext.ts"],"sourcesContent":["import * as Sentry from \"@sentry/node\";\n\nimport { PrismicUserProfile, SliceMachineManager } from \"@slicemachine/manager\";\nimport { checkIsSentryEnabled } from \"./checkIsSentryEnabled\";\n\ntype UpdateSentryContextArgs = {\n\tmanager: SliceMachineManager;\n\trepositoryName: string;\n\tframework: string;\n};\n\nexport async function updateSentryContext({\n\tmanager,\n\trepositoryName,\n\tframework,\n}: UpdateSentryContextArgs): Promise<void> {\n\tif (!checkIsSentryEnabled()) {\n\t\treturn;\n\t}\n\n\tlet userProfile: PrismicUserProfile | undefined;\n\ttry {\n\t\tuserProfile = await manager.user.getProfile();\n\t} catch {\n\t\t// User is not logged in, it doesn't matter\n\t}\n\n\tif (userProfile) {\n\t\tSentry.setUser({ id: userProfile.shortId });\n\t}\n\n\tif (repositoryName) {\n\t\tSentry.setTag(\"repository\", repositoryName);\n\t\tSentry.setContext(\"Repository Data\", {\n\t\t\tname: repositoryName,\n\t\t});\n\t}\n\n\tif (framework) {\n\t\tSentry.setTag(\"framework\", framework);\n\t}\n}\n"],"names":["checkIsSentryEnabled","Sentry"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAWA,eAAsB,oBAAoB,EACzC,SACA,gBACA,aACyB;AACrB,MAAA,CAACA,6CAAwB;AAC5B;AAAA,EACA;AAEG,MAAA;AACA,MAAA;AACW,kBAAA,MAAM,QAAQ,KAAK;UAChC;AAAA,EAED;AAED,MAAI,aAAa;AAChBC,sBAAO,QAAQ,EAAE,IAAI,YAAY,QAAS,CAAA;AAAA,EAC1C;AAED,MAAI,gBAAgB;AACZA,sBAAA,OAAO,cAAc,cAAc;AAC1CA,sBAAO,WAAW,mBAAmB;AAAA,MACpC,MAAM;AAAA,IAAA,CACN;AAAA,EACD;AAED,MAAI,WAAW;AACPA,sBAAA,OAAO,aAAa,SAAS;AAAA,EACpC;AACF;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SliceMachineManager } from "@slicemachine/manager";
|
|
2
|
+
type UpdateSentryContextArgs = {
|
|
3
|
+
manager: SliceMachineManager;
|
|
4
|
+
repositoryName: string;
|
|
5
|
+
framework: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function updateSentryContext({ manager, repositoryName, framework, }: UpdateSentryContextArgs): Promise<void>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Sentry from "@sentry/node";
|
|
2
|
+
import { checkIsSentryEnabled } from "./checkIsSentryEnabled.js";
|
|
3
|
+
async function updateSentryContext({ manager, repositoryName, framework }) {
|
|
4
|
+
if (!checkIsSentryEnabled()) {
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
let userProfile;
|
|
8
|
+
try {
|
|
9
|
+
userProfile = await manager.user.getProfile();
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
if (userProfile) {
|
|
13
|
+
Sentry.setUser({ id: userProfile.shortId });
|
|
14
|
+
}
|
|
15
|
+
if (repositoryName) {
|
|
16
|
+
Sentry.setTag("repository", repositoryName);
|
|
17
|
+
Sentry.setContext("Repository Data", {
|
|
18
|
+
name: repositoryName
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
if (framework) {
|
|
22
|
+
Sentry.setTag("framework", framework);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
updateSentryContext
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=updateSentryContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateSentryContext.js","sources":["../../../src/lib/updateSentryContext.ts"],"sourcesContent":["import * as Sentry from \"@sentry/node\";\n\nimport { PrismicUserProfile, SliceMachineManager } from \"@slicemachine/manager\";\nimport { checkIsSentryEnabled } from \"./checkIsSentryEnabled\";\n\ntype UpdateSentryContextArgs = {\n\tmanager: SliceMachineManager;\n\trepositoryName: string;\n\tframework: string;\n};\n\nexport async function updateSentryContext({\n\tmanager,\n\trepositoryName,\n\tframework,\n}: UpdateSentryContextArgs): Promise<void> {\n\tif (!checkIsSentryEnabled()) {\n\t\treturn;\n\t}\n\n\tlet userProfile: PrismicUserProfile | undefined;\n\ttry {\n\t\tuserProfile = await manager.user.getProfile();\n\t} catch {\n\t\t// User is not logged in, it doesn't matter\n\t}\n\n\tif (userProfile) {\n\t\tSentry.setUser({ id: userProfile.shortId });\n\t}\n\n\tif (repositoryName) {\n\t\tSentry.setTag(\"repository\", repositoryName);\n\t\tSentry.setContext(\"Repository Data\", {\n\t\t\tname: repositoryName,\n\t\t});\n\t}\n\n\tif (framework) {\n\t\tSentry.setTag(\"framework\", framework);\n\t}\n}\n"],"names":[],"mappings":";;AAWA,eAAsB,oBAAoB,EACzC,SACA,gBACA,aACyB;AACrB,MAAA,CAAC,wBAAwB;AAC5B;AAAA,EACA;AAEG,MAAA;AACA,MAAA;AACW,kBAAA,MAAM,QAAQ,KAAK;UAChC;AAAA,EAED;AAED,MAAI,aAAa;AAChB,WAAO,QAAQ,EAAE,IAAI,YAAY,QAAS,CAAA;AAAA,EAC1C;AAED,MAAI,gBAAgB;AACZ,WAAA,OAAO,cAAc,cAAc;AAC1C,WAAO,WAAW,mBAAmB;AAAA,MACpC,MAAM;AAAA,IAAA,CACN;AAAA,EACD;AAED,MAAI,WAAW;AACP,WAAA,OAAO,aAAa,SAAS;AAAA,EACpC;AACF;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const name = "@slicemachine/init";
|
|
4
|
-
const version = "2.
|
|
4
|
+
const version = "2.7.0";
|
|
5
5
|
const description = "Init Prismic Slice Machine in your project";
|
|
6
6
|
const keywords = [
|
|
7
7
|
"typescript",
|
|
@@ -42,7 +42,7 @@ const scripts = {
|
|
|
42
42
|
dev: "vite build --watch",
|
|
43
43
|
format: "prettier --write .",
|
|
44
44
|
lint: "eslint --max-warnings 0 --ext .js,.ts .",
|
|
45
|
-
prepack: "
|
|
45
|
+
prepack: "npm run build",
|
|
46
46
|
size: "size-limit",
|
|
47
47
|
test: "yarn lint && yarn types && yarn unit && yarn build && yarn size",
|
|
48
48
|
types: "tsc --noEmit",
|
|
@@ -54,7 +54,8 @@ const scripts = {
|
|
|
54
54
|
const dependencies = {
|
|
55
55
|
"@antfu/ni": "^0.20.0",
|
|
56
56
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
57
|
-
"@
|
|
57
|
+
"@sentry/node": "^7.70.0",
|
|
58
|
+
"@slicemachine/manager": "^0.11.3",
|
|
58
59
|
chalk: "^4.1.2",
|
|
59
60
|
giget: "^1.1.2",
|
|
60
61
|
globby: "^13.1.3",
|
|
@@ -67,7 +68,7 @@ const dependencies = {
|
|
|
67
68
|
};
|
|
68
69
|
const devDependencies = {
|
|
69
70
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
70
|
-
"@slicemachine/plugin-kit": "0.4.17
|
|
71
|
+
"@slicemachine/plugin-kit": "0.4.17",
|
|
71
72
|
"@types/listr": "0.14.4",
|
|
72
73
|
"@types/prompts": "2.4.3",
|
|
73
74
|
"@types/semver": "7.3.13",
|
|
@@ -93,7 +94,7 @@ const devDependencies = {
|
|
|
93
94
|
"vite-plugin-sdk": "0.1.1",
|
|
94
95
|
vitest: "0.32.0"
|
|
95
96
|
};
|
|
96
|
-
const gitHead = "
|
|
97
|
+
const gitHead = "df64b3d13403caf3988d3e93d18f52b3f5c327b9";
|
|
97
98
|
const pkg = {
|
|
98
99
|
name,
|
|
99
100
|
version,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "@slicemachine/init";
|
|
2
|
-
const version = "2.
|
|
2
|
+
const version = "2.7.0";
|
|
3
3
|
const description = "Init Prismic Slice Machine in your project";
|
|
4
4
|
const keywords = [
|
|
5
5
|
"typescript",
|
|
@@ -40,7 +40,7 @@ const scripts = {
|
|
|
40
40
|
dev: "vite build --watch",
|
|
41
41
|
format: "prettier --write .",
|
|
42
42
|
lint: "eslint --max-warnings 0 --ext .js,.ts .",
|
|
43
|
-
prepack: "
|
|
43
|
+
prepack: "npm run build",
|
|
44
44
|
size: "size-limit",
|
|
45
45
|
test: "yarn lint && yarn types && yarn unit && yarn build && yarn size",
|
|
46
46
|
types: "tsc --noEmit",
|
|
@@ -52,7 +52,8 @@ const scripts = {
|
|
|
52
52
|
const dependencies = {
|
|
53
53
|
"@antfu/ni": "^0.20.0",
|
|
54
54
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
55
|
-
"@
|
|
55
|
+
"@sentry/node": "^7.70.0",
|
|
56
|
+
"@slicemachine/manager": "^0.11.3",
|
|
56
57
|
chalk: "^4.1.2",
|
|
57
58
|
giget: "^1.1.2",
|
|
58
59
|
globby: "^13.1.3",
|
|
@@ -65,7 +66,7 @@ const dependencies = {
|
|
|
65
66
|
};
|
|
66
67
|
const devDependencies = {
|
|
67
68
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
68
|
-
"@slicemachine/plugin-kit": "0.4.17
|
|
69
|
+
"@slicemachine/plugin-kit": "0.4.17",
|
|
69
70
|
"@types/listr": "0.14.4",
|
|
70
71
|
"@types/prompts": "2.4.3",
|
|
71
72
|
"@types/semver": "7.3.13",
|
|
@@ -91,7 +92,7 @@ const devDependencies = {
|
|
|
91
92
|
"vite-plugin-sdk": "0.1.1",
|
|
92
93
|
vitest: "0.32.0"
|
|
93
94
|
};
|
|
94
|
-
const gitHead = "
|
|
95
|
+
const gitHead = "df64b3d13403caf3988d3e93d18f52b3f5c327b9";
|
|
95
96
|
const pkg = {
|
|
96
97
|
name,
|
|
97
98
|
version,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/init",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Init Prismic Slice Machine in your project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dev": "vite build --watch",
|
|
42
42
|
"format": "prettier --write .",
|
|
43
43
|
"lint": "eslint --max-warnings 0 --ext .js,.ts .",
|
|
44
|
-
"prepack": "
|
|
44
|
+
"prepack": "npm run build",
|
|
45
45
|
"size": "size-limit",
|
|
46
46
|
"test": "yarn lint && yarn types && yarn unit && yarn build && yarn size",
|
|
47
47
|
"types": "tsc --noEmit",
|
|
@@ -53,7 +53,8 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@antfu/ni": "^0.20.0",
|
|
55
55
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
56
|
-
"@
|
|
56
|
+
"@sentry/node": "^7.70.0",
|
|
57
|
+
"@slicemachine/manager": "^0.11.3",
|
|
57
58
|
"chalk": "^4.1.2",
|
|
58
59
|
"giget": "^1.1.2",
|
|
59
60
|
"globby": "^13.1.3",
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
69
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
69
|
-
"@slicemachine/plugin-kit": "0.4.17
|
|
70
|
+
"@slicemachine/plugin-kit": "0.4.17",
|
|
70
71
|
"@types/listr": "0.14.4",
|
|
71
72
|
"@types/prompts": "2.4.3",
|
|
72
73
|
"@types/semver": "7.3.13",
|
|
@@ -92,5 +93,5 @@
|
|
|
92
93
|
"vite-plugin-sdk": "0.1.1",
|
|
93
94
|
"vitest": "0.32.0"
|
|
94
95
|
},
|
|
95
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "df64b3d13403caf3988d3e93d18f52b3f5c327b9"
|
|
96
97
|
}
|