@osdk/maker-experimental 0.3.0-beta.5 → 0.4.0-beta.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/build/cjs/{chunk-FZ56D34B.cjs → chunk-J6ZZCBPC.cjs} +3 -3
- package/build/cjs/{chunk-FZ56D34B.cjs.map → chunk-J6ZZCBPC.cjs.map} +1 -1
- package/build/cjs/index.cjs +5 -5
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/{prompt-6FZ62QK3.cjs → prompt-DSHDNBY3.cjs} +3 -3
- package/build/cjs/{prompt-6FZ62QK3.cjs.map → prompt-DSHDNBY3.cjs.map} +1 -1
- package/package.json +6 -6
|
@@ -7,11 +7,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
7
7
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5.
|
|
10
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5._hzct63haoas42yozpstq4l7odu/node_modules/tsup/assets/cjs_shims.js
|
|
11
11
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
12
12
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
13
13
|
|
|
14
14
|
exports.__require = __require;
|
|
15
15
|
exports.importMetaUrl = importMetaUrl;
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-J6ZZCBPC.cjs.map
|
|
17
|
+
//# sourceMappingURL=chunk-J6ZZCBPC.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5.
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/.pnpm/tsup@8.5.0_@microsoft+api-extractor@7.52.11_@types+node@18.19.124__@swc+core@1.7.39_jiti@2.5._hzct63haoas42yozpstq4l7odu/node_modules/tsup/assets/cjs_shims.js"],"names":[],"mappings":";;;;;;;;;;AAKA,IAAM,gBAAA,GAAmB,MAAM,OAAO,QAAA,KAAa,cAAc,IAAI,GAAA,CAAI,CAAQ,KAAA,EAAA,UAAU,CAAE,CAAA,CAAA,CAAE,OAAO,QAAS,CAAA,aAAA,IAAiB,SAAS,aAAc,CAAA,GAAA,IAAO,IAAI,GAAI,CAAA,SAAA,EAAW,QAAS,CAAA,OAAO,CAAE,CAAA,IAAA;AAC5L,IAAM,gCAAgD,gBAAA","file":"chunk-J6ZZCBPC.cjs","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () => typeof document === 'undefined' ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;\nexport const importMetaUrl = /* @__PURE__ */getImportMetaUrl();"]}
|
package/build/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJ6ZZCBPC_cjs = require('./chunk-J6ZZCBPC.cjs');
|
|
4
4
|
var util = require('util');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var g$1 = require('process');
|
|
@@ -1081,7 +1081,7 @@ function createConsola2(options = {}) {
|
|
|
1081
1081
|
},
|
|
1082
1082
|
stdout: process.stdout,
|
|
1083
1083
|
stderr: process.stderr,
|
|
1084
|
-
prompt: (...args) => import('./prompt-
|
|
1084
|
+
prompt: (...args) => import('./prompt-DSHDNBY3.cjs').then((m) => m.prompt(...args)),
|
|
1085
1085
|
reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
1086
1086
|
...options
|
|
1087
1087
|
});
|
|
@@ -2020,8 +2020,8 @@ new YargsParser({
|
|
|
2020
2020
|
// TODO: figure out a way to combine ESM and CJS coverage, such that
|
|
2021
2021
|
// we can exercise all the lines below:
|
|
2022
2022
|
require: (path2) => {
|
|
2023
|
-
if (typeof
|
|
2024
|
-
return
|
|
2023
|
+
if (typeof chunkJ6ZZCBPC_cjs.__require !== "undefined") {
|
|
2024
|
+
return chunkJ6ZZCBPC_cjs.__require(path2);
|
|
2025
2025
|
} else if (path2.match(/\.json$/)) {
|
|
2026
2026
|
return JSON.parse(fs.readFileSync(path2, "utf8"));
|
|
2027
2027
|
} else {
|
|
@@ -2202,7 +2202,7 @@ var y18n2 = (opts) => {
|
|
|
2202
2202
|
var y18n_default = y18n2;
|
|
2203
2203
|
var __dirname$1;
|
|
2204
2204
|
try {
|
|
2205
|
-
__dirname$1 = url.fileURLToPath(
|
|
2205
|
+
__dirname$1 = url.fileURLToPath(chunkJ6ZZCBPC_cjs.importMetaUrl);
|
|
2206
2206
|
} catch (e) {
|
|
2207
2207
|
__dirname$1 = process.cwd();
|
|
2208
2208
|
}
|