@gql.tada/cli-utils 1.5.2 → 1.5.3-canary-3fa18b2924b2a434626f169d2fcc088e9d2e91ea
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 +9 -0
- package/dist/chunks/index-chunk.js +19 -21
- package/dist/chunks/index-chunk.js.map +1 -1
- package/dist/chunks/index-chunk.mjs +9 -13
- package/dist/chunks/index-chunk.mjs.map +1 -1
- package/dist/chunks/thread-chunk.js.map +1 -1
- package/dist/chunks/thread-chunk.mjs.map +1 -1
- package/dist/chunks/thread-chunk2.js.map +1 -1
- package/dist/chunks/thread-chunk2.mjs.map +1 -1
- package/dist/chunks/vue-chunk.js +52 -43
- package/dist/chunks/vue-chunk.js.map +1 -1
- package/dist/chunks/vue-chunk.mjs +47 -38
- package/dist/chunks/vue-chunk.mjs.map +1 -1
- package/dist/gql-tada-cli.js.map +1 -1
- package/dist/gql-tada-cli.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @gql.tada/cli-utils
|
|
2
2
|
|
|
3
|
+
## 1.5.3-canary-3fa18b2924b2a434626f169d2fcc088e9d2e91ea
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Support breaking changes in `@vue/language-core@2.0.28` (`getBasePlugins` renamed to `createPlugins`)
|
|
8
|
+
Submitted by [@kitten](https://github.com/kitten) (See [#353](https://github.com/0no-co/gql.tada/pull/353))
|
|
9
|
+
- Bump stack trace limit to 25 when TypeScript is used, which requires a larger stack depths to debug properly
|
|
10
|
+
Submitted by [@kitten](https://github.com/kitten) (See [#355](https://github.com/0no-co/gql.tada/pull/355))
|
|
11
|
+
|
|
3
12
|
## 1.5.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -969,32 +969,25 @@ var buildPluginInfo = t => {
|
|
|
969
969
|
|
|
970
970
|
var F;
|
|
971
971
|
|
|
972
|
-
var
|
|
972
|
+
var k;
|
|
973
973
|
|
|
974
|
-
var
|
|
974
|
+
var b = [ ".svelte", ".vue" ];
|
|
975
975
|
|
|
976
|
-
var transform = e => {
|
|
976
|
+
var transform = async e => {
|
|
977
977
|
var t = n.extname(e.fileName);
|
|
978
978
|
if (".svelte" === t) {
|
|
979
|
-
return (async (...e) => {
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
return require("./svelte-chunk.js");
|
|
983
|
-
}))).transform;
|
|
984
|
-
}
|
|
985
|
-
return F(...e);
|
|
986
|
-
})(e);
|
|
979
|
+
return (async (...e) => (F || (F = await Promise.resolve().then((function() {
|
|
980
|
+
return require("./svelte-chunk.js");
|
|
981
|
+
})))).transform(...e))(e);
|
|
987
982
|
} else if (".vue" === t) {
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
return b(...e);
|
|
995
|
-
})(e);
|
|
983
|
+
await (async () => (k || (k = await Promise.resolve().then((function() {
|
|
984
|
+
return require("./vue-chunk.js");
|
|
985
|
+
})))).check())();
|
|
986
|
+
return (async (...e) => (k || (k = await Promise.resolve().then((function() {
|
|
987
|
+
return require("./vue-chunk.js");
|
|
988
|
+
})))).transform(...e))(e);
|
|
996
989
|
} else {
|
|
997
|
-
throw new Error(`Tried transforming unknown file type "${t}". Supported: ${
|
|
990
|
+
throw new Error(`Tried transforming unknown file type "${t}". Supported: ${b.join(", ")}`);
|
|
998
991
|
}
|
|
999
992
|
};
|
|
1000
993
|
|
|
@@ -1375,7 +1368,7 @@ exports.programFactory = t => {
|
|
|
1375
1368
|
return [ ...e ];
|
|
1376
1369
|
},
|
|
1377
1370
|
createSourceFile: (t, r) => e.createSourceFile(t.fileId, "object" == typeof t.sourceText ? t.sourceText.getText(0, t.sourceText.getLength()) : t.sourceText, c.target || e.ScriptTarget.ESNext, !0, r || (null != t.scriptKind ? t.scriptKind : e.ScriptKind.TSX)),
|
|
1378
|
-
createExternalFiles(r =
|
|
1371
|
+
createExternalFiles(r = b) {
|
|
1379
1372
|
var i = [];
|
|
1380
1373
|
var a = new Set(l);
|
|
1381
1374
|
var s = new Set([ t.rootPath ]);
|
|
@@ -1437,6 +1430,11 @@ exports.programFactory = t => {
|
|
|
1437
1430
|
return f;
|
|
1438
1431
|
},
|
|
1439
1432
|
build() {
|
|
1433
|
+
(() => {
|
|
1434
|
+
if ("stackTraceLimit" in Error && Error.stackTraceLimit < 25) {
|
|
1435
|
+
Error.stackTraceLimit = 25;
|
|
1436
|
+
}
|
|
1437
|
+
})();
|
|
1440
1438
|
i.init({
|
|
1441
1439
|
typescript: e
|
|
1442
1440
|
});
|