@xylabs/ts-scripts-yarn3 3.14.0 → 3.14.2
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/actions/package/compile/XyConfig.js.map +1 -1
- package/dist/bin/package/clean-outputs.js +6 -2
- package/dist/bin/package/clean-outputs.js.map +1 -1
- package/dist/bin/package/clean-outputs.mjs +6 -2
- package/dist/bin/package/clean-outputs.mjs.map +1 -1
- package/dist/bin/package/clean-typescript.js +6 -2
- package/dist/bin/package/clean-typescript.js.map +1 -1
- package/dist/bin/package/clean-typescript.mjs +6 -2
- package/dist/bin/package/clean-typescript.mjs.map +1 -1
- package/dist/bin/package/clean.js +6 -2
- package/dist/bin/package/clean.js.map +1 -1
- package/dist/bin/package/clean.mjs +6 -2
- package/dist/bin/package/clean.mjs.map +1 -1
- package/dist/bin/package/gen-docs.js +6 -2
- package/dist/bin/package/gen-docs.js.map +1 -1
- package/dist/bin/package/gen-docs.mjs +6 -2
- package/dist/bin/package/gen-docs.mjs.map +1 -1
- package/dist/bin/xy-ts.js +6 -2
- package/dist/bin/xy-ts.js.map +1 -1
- package/dist/bin/xy-ts.mjs +6 -2
- package/dist/bin/xy-ts.mjs.map +1 -1
- package/dist/bin/xy.js +6 -2
- package/dist/bin/xy.js.map +1 -1
- package/dist/bin/xy.mjs +6 -2
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.d.mts +22 -2
- package/dist/index.d.ts +22 -2
- package/package.json +5 -6
- package/src/actions/package/compile/XyConfig.ts +21 -1
- package/src/bin/package/clean-outputs.ts +8 -3
- package/src/bin/package/clean-typescript.ts +8 -3
- package/src/bin/package/clean.ts +8 -3
- package/src/bin/package/gen-docs.ts +8 -3
- package/src/bin/xy-ts.ts +8 -3
- package/src/bin/xy.ts +8 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/actions/package/compile/XyConfig.ts"],"sourcesContent":["import { Options } from 'tsup'\n\nexport type EntryMode = 'all' | 'single' | 'auto' | 'platform'\n\nexport type CompileMode = 'tsup' | 'tsc'\n\nexport interface
|
|
1
|
+
{"version":3,"sources":["../../../../src/actions/package/compile/XyConfig.ts"],"sourcesContent":["import { Options } from 'tsup'\n\nexport type EntryMode = 'all' | 'single' | 'auto' | 'platform'\n\nexport type CompileMode = 'tsup' | 'tsc'\n\n/**\n * Configuration for specifying which paths are targeted.\n */\nexport interface PathConfig {\n /**\n * Glob patterns to exclude (takes precedence over include).\n */\n exclude?: string[]\n /**\n * Glob patterns to include.\n */\n include?: string[]\n}\n\n/**\n * Configuration for Dynamic Share.\n */\nexport interface DynamicShareConfig extends PathConfig {}\n\n/**\n * Configuration for Live Share.\n */\nexport interface LiveShareConfig extends PathConfig {}\n\nexport interface CompileConfig {\n depth?: number\n /** @param entryMode all, single, platform, or auto */\n entryMode?: EntryMode\n /** @param files Manually specify the files to be compiled */\n files?: string[]\n mode?: CompileMode\n}\n\nexport type PackageCompileTsupConfig = CompileConfig & {\n browser?: Record<string, Options | boolean>\n mode?: 'tsup'\n neutral?: Record<string, Options | boolean>\n node?: Record<string, Options | boolean>\n tsup?: {\n options?: Options\n }\n}\n\nexport type PackageCompileTscConfig = CompileConfig & {\n mode: 'tsc'\n}\n\nexport interface XyConfigBase {\n compile?: CompileConfig\n dynamicShare?: DynamicShareConfig\n liveShare?: LiveShareConfig\n publint?: boolean\n verbose?: boolean\n}\n\nexport interface XyTsupConfig extends XyConfigBase {\n compile?: PackageCompileTsupConfig\n}\n\nexport interface XyTscConfig extends XyConfigBase {\n compile?: PackageCompileTscConfig\n}\n\nexport type XyConfig = XyTsupConfig | XyTscConfig\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
var import_forget = require("@xylabs/forget");
|
|
4
3
|
var import_actions = require("../../actions");
|
|
5
|
-
(0,
|
|
4
|
+
(0, import_actions.packageCleanOutputs)().then(() => {
|
|
5
|
+
process.exit(0);
|
|
6
|
+
}).catch((error) => {
|
|
7
|
+
console.error(error);
|
|
8
|
+
process.exit(1);
|
|
9
|
+
});
|
|
6
10
|
//# sourceMappingURL=clean-outputs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanOutputs } from '../../actions'\n\npackageCleanOutputs()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,qBAAoC;AAAA,IAEpC,oCAAoB,EACjB,KAAK,MAAM;AACV,UAAQ,KAAK,CAAC;AAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
|
@@ -3,11 +3,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
|
-
import { forget } from "@xylabs/forget";
|
|
7
6
|
import { packageCleanOutputs } from "../../actions";
|
|
8
7
|
var require_clean_outputs = __commonJS({
|
|
9
8
|
"src/bin/package/clean-outputs.ts"() {
|
|
10
|
-
|
|
9
|
+
packageCleanOutputs().then(() => {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}).catch((error) => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
export default require_clean_outputs();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-outputs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanOutputs } from '../../actions'\n\npackageCleanOutputs()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,2BAA2B;AAFpC;AAAA;AAIA,wBAAoB,EACjB,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
var import_forget = require("@xylabs/forget");
|
|
4
3
|
var import_actions = require("../../actions");
|
|
5
|
-
(0,
|
|
4
|
+
(0, import_actions.packageCleanTypescript)().then(() => {
|
|
5
|
+
process.exit(0);
|
|
6
|
+
}).catch((error) => {
|
|
7
|
+
console.error(error);
|
|
8
|
+
process.exit(1);
|
|
9
|
+
});
|
|
6
10
|
//# sourceMappingURL=clean-typescript.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanTypescript } from '../../actions'\n\npackageCleanTypescript()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,qBAAuC;AAAA,IAEvC,uCAAuB,EACpB,KAAK,MAAM;AACV,UAAQ,KAAK,CAAC;AAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
|
@@ -3,11 +3,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
|
-
import { forget } from "@xylabs/forget";
|
|
7
6
|
import { packageCleanTypescript } from "../../actions";
|
|
8
7
|
var require_clean_typescript = __commonJS({
|
|
9
8
|
"src/bin/package/clean-typescript.ts"() {
|
|
10
|
-
|
|
9
|
+
packageCleanTypescript().then(() => {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}).catch((error) => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
export default require_clean_typescript();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean-typescript.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageCleanTypescript } from '../../actions'\n\npackageCleanTypescript()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,8BAA8B;AAFvC;AAAA;AAIA,2BAAuB,EACpB,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
var import_forget = require("@xylabs/forget");
|
|
4
3
|
var import_actions = require("../../actions");
|
|
5
|
-
(0,
|
|
4
|
+
(0, import_actions.packageClean)().then(() => {
|
|
5
|
+
process.exit(0);
|
|
6
|
+
}).catch((error) => {
|
|
7
|
+
console.error(error);
|
|
8
|
+
process.exit(1);
|
|
9
|
+
});
|
|
6
10
|
//# sourceMappingURL=clean.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageClean } from '../../actions'\n\npackageClean()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,qBAA6B;AAAA,IAE7B,6BAAa,EACV,KAAK,MAAM;AACV,UAAQ,KAAK,CAAC;AAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
|
@@ -3,11 +3,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
|
-
import { forget } from "@xylabs/forget";
|
|
7
6
|
import { packageClean } from "../../actions";
|
|
8
7
|
var require_clean = __commonJS({
|
|
9
8
|
"src/bin/package/clean.ts"() {
|
|
10
|
-
|
|
9
|
+
packageClean().then(() => {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}).catch((error) => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
export default require_clean();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/clean.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageClean } from '../../actions'\n\npackageClean()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,oBAAoB;AAF7B;AAAA;AAIA,iBAAa,EACV,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
var import_forget = require("@xylabs/forget");
|
|
4
3
|
var import_actions = require("../../actions");
|
|
5
|
-
(0,
|
|
4
|
+
(0, import_actions.packageGenDocs)().then(() => {
|
|
5
|
+
process.exit(0);
|
|
6
|
+
}).catch((error) => {
|
|
7
|
+
console.error(error);
|
|
8
|
+
process.exit(1);
|
|
9
|
+
});
|
|
6
10
|
//# sourceMappingURL=gen-docs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageGenDocs } from '../../actions'\n\npackageGenDocs()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,qBAA+B;AAAA,IAE/B,+BAAe,EACZ,KAAK,MAAM;AACV,UAAQ,KAAK,CAAC;AAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
|
@@ -3,11 +3,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
|
-
import { forget } from "@xylabs/forget";
|
|
7
6
|
import { packageGenDocs } from "../../actions";
|
|
8
7
|
var require_gen_docs = __commonJS({
|
|
9
8
|
"src/bin/package/gen-docs.ts"() {
|
|
10
|
-
|
|
9
|
+
packageGenDocs().then(() => {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}).catch((error) => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
export default require_gen_docs();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/bin/package/gen-docs.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { packageGenDocs } from '../../actions'\n\npackageGenDocs()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,sBAAsB;AAF/B;AAAA;AAIA,mBAAe,EACZ,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
|
package/dist/bin/xy-ts.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env ts-node
|
|
2
2
|
"use strict";
|
|
3
|
-
var import_forget = require("@xylabs/forget");
|
|
4
3
|
var import_xy = require("../xy");
|
|
5
|
-
(0,
|
|
4
|
+
(0, import_xy.xy)().then(() => {
|
|
5
|
+
process.exit(0);
|
|
6
|
+
}).catch((error) => {
|
|
7
|
+
console.error(error);
|
|
8
|
+
process.exit(1);
|
|
9
|
+
});
|
|
6
10
|
//# sourceMappingURL=xy-ts.js.map
|
package/dist/bin/xy-ts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/bin/xy-ts.ts"],"sourcesContent":["#!/usr/bin/env ts-node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/bin/xy-ts.ts"],"sourcesContent":["#!/usr/bin/env ts-node\n\nimport { xy } from '../xy'\n\nxy()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,gBAAmB;AAAA,IAEnB,cAAG,EACA,KAAK,MAAM;AACV,UAAQ,KAAK,CAAC;AAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
package/dist/bin/xy-ts.mjs
CHANGED
|
@@ -3,11 +3,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
|
-
import { forget } from "@xylabs/forget";
|
|
7
6
|
import { xy } from "../xy";
|
|
8
7
|
var require_xy_ts = __commonJS({
|
|
9
8
|
"src/bin/xy-ts.ts"() {
|
|
10
|
-
|
|
9
|
+
xy().then(() => {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}).catch((error) => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
export default require_xy_ts();
|
package/dist/bin/xy-ts.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/bin/xy-ts.ts"],"sourcesContent":["#!/usr/bin/env ts-node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/bin/xy-ts.ts"],"sourcesContent":["#!/usr/bin/env ts-node\n\nimport { xy } from '../xy'\n\nxy()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,UAAU;AAFnB;AAAA;AAIA,OAAG,EACA,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
|
package/dist/bin/xy.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
var import_forget = require("@xylabs/forget");
|
|
4
3
|
var import_xy = require("../xy");
|
|
5
|
-
(0,
|
|
4
|
+
(0, import_xy.xy)().then(() => {
|
|
5
|
+
process.exit(0);
|
|
6
|
+
}).catch((error) => {
|
|
7
|
+
console.error(error);
|
|
8
|
+
process.exit(1);
|
|
9
|
+
});
|
|
6
10
|
//# sourceMappingURL=xy.js.map
|
package/dist/bin/xy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xy } from '../xy'\n\nxy()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;AAEA,gBAAmB;AAAA,IAEnB,cAAG,EACA,KAAK,MAAM;AACV,UAAQ,KAAK,CAAC;AAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,UAAQ,MAAM,KAAK;AACnB,UAAQ,KAAK,CAAC;AAChB,CAAC;","names":[]}
|
package/dist/bin/xy.mjs
CHANGED
|
@@ -3,11 +3,15 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
3
3
|
var __commonJS = (cb, mod) => function __require() {
|
|
4
4
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
5
5
|
};
|
|
6
|
-
import { forget } from "@xylabs/forget";
|
|
7
6
|
import { xy } from "../xy";
|
|
8
7
|
var require_xy = __commonJS({
|
|
9
8
|
"src/bin/xy.ts"() {
|
|
10
|
-
|
|
9
|
+
xy().then(() => {
|
|
10
|
+
process.exit(0);
|
|
11
|
+
}).catch((error) => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
11
15
|
}
|
|
12
16
|
});
|
|
13
17
|
export default require_xy();
|
package/dist/bin/xy.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/bin/xy.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { xy } from '../xy'\n\nxy()\n .then(() => {\n process.exit(0)\n })\n .catch((error) => {\n console.error(error)\n process.exit(1)\n })\n"],"mappings":";;;;;AAEA,SAAS,UAAU;AAFnB;AAAA;AAIA,OAAG,EACA,KAAK,MAAM;AACV,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC,EACA,MAAM,CAAC,UAAU;AAChB,cAAQ,MAAM,KAAK;AACnB,cAAQ,KAAK,CAAC;AAAA,IAChB,CAAC;AAAA;AAAA;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -126,10 +126,29 @@ declare const packageCleanTypescript: () => Promise<number>;
|
|
|
126
126
|
|
|
127
127
|
type EntryMode = 'all' | 'single' | 'auto' | 'platform';
|
|
128
128
|
type CompileMode = 'tsup' | 'tsc';
|
|
129
|
-
|
|
129
|
+
/**
|
|
130
|
+
* Configuration for specifying which paths are targeted.
|
|
131
|
+
*/
|
|
132
|
+
interface PathConfig {
|
|
133
|
+
/**
|
|
134
|
+
* Glob patterns to exclude (takes precedence over include).
|
|
135
|
+
*/
|
|
130
136
|
exclude?: string[];
|
|
137
|
+
/**
|
|
138
|
+
* Glob patterns to include.
|
|
139
|
+
*/
|
|
131
140
|
include?: string[];
|
|
132
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Configuration for Dynamic Share.
|
|
144
|
+
*/
|
|
145
|
+
interface DynamicShareConfig extends PathConfig {
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Configuration for Live Share.
|
|
149
|
+
*/
|
|
150
|
+
interface LiveShareConfig extends PathConfig {
|
|
151
|
+
}
|
|
133
152
|
interface CompileConfig {
|
|
134
153
|
depth?: number;
|
|
135
154
|
/** @param entryMode all, single, platform, or auto */
|
|
@@ -152,6 +171,7 @@ type PackageCompileTscConfig = CompileConfig & {
|
|
|
152
171
|
};
|
|
153
172
|
interface XyConfigBase {
|
|
154
173
|
compile?: CompileConfig;
|
|
174
|
+
dynamicShare?: DynamicShareConfig;
|
|
155
175
|
liveShare?: LiveShareConfig;
|
|
156
176
|
publint?: boolean;
|
|
157
177
|
verbose?: boolean;
|
|
@@ -354,4 +374,4 @@ declare const xyLintCommands: (args: Argv) => Argv<{}>;
|
|
|
354
374
|
|
|
355
375
|
declare const xyParseOptions: () => Argv;
|
|
356
376
|
|
|
357
|
-
export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileMode, type CompileParams, type CopyAssetsParams, type DepsPackageParams, type DepsParams, DuplicateDetector, type EntryMode, type GenDocsPackageParams, type GenDocsParams, INIT_CWD, type LintPackageParams, type LintParams, type LiveShareConfig, type PackageCompileTscConfig, type PackageCompileTsupConfig, type PackageCopyAssetsParams, type PackageJsonEx, type PackagePublintParams, type PublintPackageParams, type PublintParams, type ReadFileSyncOptions, type RebuildParams, type RecompilePackageParams, type RecompileParams, type ScriptStep, WINDOWS_NEWLINE_REGEX, type Workspace, type XyConfig, type XyConfigBase, type XyTscConfig, type XyTsupConfig, build, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, copyAssets, createBuildConfig, cycle, dead, defaultBuildConfig, defaultReadFileSyncOptions, deploy, deployMajor, deployMinor, deployNext, deps, depsAll, depsPackage, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, license, lint, lintAll, lintClean, lintPackage, lintProfile, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTsup, packageCopyAssets, packageDeps, packageGenDocs, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, readLines, readNonEmptyLines, rebuild, recompile, recompileAll, recompilePackage, reinstall, relint, retest, runStepAsync, runSteps, runStepsAsync, runXy, runXyWithWarning, safeExit, safeExitAsync, sonar, statics, test, tryReadFileSync, union, up, updateYarnPlugins, updateYarnVersion, updo, withErrnoException, withError, writeLines, xy, xyBuildCommands, xyCommonCommands, xyDeployCommands, xyInstallCommands, xyLintCommands, xyParseOptions, yarn3Only, yarnWorkspace, yarnWorkspaces };
|
|
377
|
+
export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileMode, type CompileParams, type CopyAssetsParams, type DepsPackageParams, type DepsParams, DuplicateDetector, type DynamicShareConfig, type EntryMode, type GenDocsPackageParams, type GenDocsParams, INIT_CWD, type LintPackageParams, type LintParams, type LiveShareConfig, type PackageCompileTscConfig, type PackageCompileTsupConfig, type PackageCopyAssetsParams, type PackageJsonEx, type PackagePublintParams, type PathConfig, type PublintPackageParams, type PublintParams, type ReadFileSyncOptions, type RebuildParams, type RecompilePackageParams, type RecompileParams, type ScriptStep, WINDOWS_NEWLINE_REGEX, type Workspace, type XyConfig, type XyConfigBase, type XyTscConfig, type XyTsupConfig, build, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, copyAssets, createBuildConfig, cycle, dead, defaultBuildConfig, defaultReadFileSyncOptions, deploy, deployMajor, deployMinor, deployNext, deps, depsAll, depsPackage, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, license, lint, lintAll, lintClean, lintPackage, lintProfile, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTsup, packageCopyAssets, packageDeps, packageGenDocs, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, readLines, readNonEmptyLines, rebuild, recompile, recompileAll, recompilePackage, reinstall, relint, retest, runStepAsync, runSteps, runStepsAsync, runXy, runXyWithWarning, safeExit, safeExitAsync, sonar, statics, test, tryReadFileSync, union, up, updateYarnPlugins, updateYarnVersion, updo, withErrnoException, withError, writeLines, xy, xyBuildCommands, xyCommonCommands, xyDeployCommands, xyInstallCommands, xyLintCommands, xyParseOptions, yarn3Only, yarnWorkspace, yarnWorkspaces };
|
package/dist/index.d.ts
CHANGED
|
@@ -126,10 +126,29 @@ declare const packageCleanTypescript: () => Promise<number>;
|
|
|
126
126
|
|
|
127
127
|
type EntryMode = 'all' | 'single' | 'auto' | 'platform';
|
|
128
128
|
type CompileMode = 'tsup' | 'tsc';
|
|
129
|
-
|
|
129
|
+
/**
|
|
130
|
+
* Configuration for specifying which paths are targeted.
|
|
131
|
+
*/
|
|
132
|
+
interface PathConfig {
|
|
133
|
+
/**
|
|
134
|
+
* Glob patterns to exclude (takes precedence over include).
|
|
135
|
+
*/
|
|
130
136
|
exclude?: string[];
|
|
137
|
+
/**
|
|
138
|
+
* Glob patterns to include.
|
|
139
|
+
*/
|
|
131
140
|
include?: string[];
|
|
132
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Configuration for Dynamic Share.
|
|
144
|
+
*/
|
|
145
|
+
interface DynamicShareConfig extends PathConfig {
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Configuration for Live Share.
|
|
149
|
+
*/
|
|
150
|
+
interface LiveShareConfig extends PathConfig {
|
|
151
|
+
}
|
|
133
152
|
interface CompileConfig {
|
|
134
153
|
depth?: number;
|
|
135
154
|
/** @param entryMode all, single, platform, or auto */
|
|
@@ -152,6 +171,7 @@ type PackageCompileTscConfig = CompileConfig & {
|
|
|
152
171
|
};
|
|
153
172
|
interface XyConfigBase {
|
|
154
173
|
compile?: CompileConfig;
|
|
174
|
+
dynamicShare?: DynamicShareConfig;
|
|
155
175
|
liveShare?: LiveShareConfig;
|
|
156
176
|
publint?: boolean;
|
|
157
177
|
verbose?: boolean;
|
|
@@ -354,4 +374,4 @@ declare const xyLintCommands: (args: Argv) => Argv<{}>;
|
|
|
354
374
|
|
|
355
375
|
declare const xyParseOptions: () => Argv;
|
|
356
376
|
|
|
357
|
-
export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileMode, type CompileParams, type CopyAssetsParams, type DepsPackageParams, type DepsParams, DuplicateDetector, type EntryMode, type GenDocsPackageParams, type GenDocsParams, INIT_CWD, type LintPackageParams, type LintParams, type LiveShareConfig, type PackageCompileTscConfig, type PackageCompileTsupConfig, type PackageCopyAssetsParams, type PackageJsonEx, type PackagePublintParams, type PublintPackageParams, type PublintParams, type ReadFileSyncOptions, type RebuildParams, type RecompilePackageParams, type RecompileParams, type ScriptStep, WINDOWS_NEWLINE_REGEX, type Workspace, type XyConfig, type XyConfigBase, type XyTscConfig, type XyTsupConfig, build, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, copyAssets, createBuildConfig, cycle, dead, defaultBuildConfig, defaultReadFileSyncOptions, deploy, deployMajor, deployMinor, deployNext, deps, depsAll, depsPackage, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, license, lint, lintAll, lintClean, lintPackage, lintProfile, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTsup, packageCopyAssets, packageDeps, packageGenDocs, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, readLines, readNonEmptyLines, rebuild, recompile, recompileAll, recompilePackage, reinstall, relint, retest, runStepAsync, runSteps, runStepsAsync, runXy, runXyWithWarning, safeExit, safeExitAsync, sonar, statics, test, tryReadFileSync, union, up, updateYarnPlugins, updateYarnVersion, updo, withErrnoException, withError, writeLines, xy, xyBuildCommands, xyCommonCommands, xyDeployCommands, xyInstallCommands, xyLintCommands, xyParseOptions, yarn3Only, yarnWorkspace, yarnWorkspaces };
|
|
377
|
+
export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileMode, type CompileParams, type CopyAssetsParams, type DepsPackageParams, type DepsParams, DuplicateDetector, type DynamicShareConfig, type EntryMode, type GenDocsPackageParams, type GenDocsParams, INIT_CWD, type LintPackageParams, type LintParams, type LiveShareConfig, type PackageCompileTscConfig, type PackageCompileTsupConfig, type PackageCopyAssetsParams, type PackageJsonEx, type PackagePublintParams, type PathConfig, type PublintPackageParams, type PublintParams, type ReadFileSyncOptions, type RebuildParams, type RecompilePackageParams, type RecompileParams, type ScriptStep, WINDOWS_NEWLINE_REGEX, type Workspace, type XyConfig, type XyConfigBase, type XyTscConfig, type XyTsupConfig, build, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, copyAssets, createBuildConfig, cycle, dead, defaultBuildConfig, defaultReadFileSyncOptions, deploy, deployMajor, deployMinor, deployNext, deps, depsAll, depsPackage, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, license, lint, lintAll, lintClean, lintPackage, lintProfile, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTsup, packageCopyAssets, packageDeps, packageGenDocs, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, readLines, readNonEmptyLines, rebuild, recompile, recompileAll, recompilePackage, reinstall, relint, retest, runStepAsync, runSteps, runStepsAsync, runXy, runXyWithWarning, safeExit, safeExitAsync, sonar, statics, test, tryReadFileSync, union, up, updateYarnPlugins, updateYarnVersion, updo, withErrnoException, withError, writeLines, xy, xyBuildCommands, xyCommonCommands, xyDeployCommands, xyInstallCommands, xyLintCommands, xyParseOptions, yarn3Only, yarnWorkspace, yarnWorkspaces };
|
package/package.json
CHANGED
|
@@ -65,9 +65,8 @@
|
|
|
65
65
|
"@types/yargs": "^17.0.32",
|
|
66
66
|
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
67
67
|
"@typescript-eslint/parser": "^7.16.1",
|
|
68
|
-
"@xylabs/
|
|
69
|
-
"@xylabs/tsconfig": "^3.14.
|
|
70
|
-
"@xylabs/tsconfig-dom": "^3.14.0",
|
|
68
|
+
"@xylabs/tsconfig": "^3.14.2",
|
|
69
|
+
"@xylabs/tsconfig-dom": "^3.14.2",
|
|
71
70
|
"async-mutex": "^0.5.0",
|
|
72
71
|
"chalk": "^4.1.2",
|
|
73
72
|
"cosmiconfig": "^9.0.0",
|
|
@@ -115,8 +114,8 @@
|
|
|
115
114
|
"@types/license-checker": "^25.0.6",
|
|
116
115
|
"@types/lodash": "^4.17.7",
|
|
117
116
|
"@types/parse-git-config": "^3.0.4",
|
|
118
|
-
"@xylabs/eslint-config": "^3.14.
|
|
119
|
-
"@xylabs/tsconfig": "^3.14.
|
|
117
|
+
"@xylabs/eslint-config": "^3.14.2",
|
|
118
|
+
"@xylabs/tsconfig": "^3.14.2",
|
|
120
119
|
"publint": "^0.2.9",
|
|
121
120
|
"typescript": "^5.5.3"
|
|
122
121
|
},
|
|
@@ -169,6 +168,6 @@
|
|
|
169
168
|
"package-clean": "echo Not cleaning..."
|
|
170
169
|
},
|
|
171
170
|
"sideEffects": false,
|
|
172
|
-
"version": "3.14.
|
|
171
|
+
"version": "3.14.2",
|
|
173
172
|
"type": "commonjs"
|
|
174
173
|
}
|
|
@@ -4,11 +4,30 @@ export type EntryMode = 'all' | 'single' | 'auto' | 'platform'
|
|
|
4
4
|
|
|
5
5
|
export type CompileMode = 'tsup' | 'tsc'
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Configuration for specifying which paths are targeted.
|
|
9
|
+
*/
|
|
10
|
+
export interface PathConfig {
|
|
11
|
+
/**
|
|
12
|
+
* Glob patterns to exclude (takes precedence over include).
|
|
13
|
+
*/
|
|
8
14
|
exclude?: string[]
|
|
15
|
+
/**
|
|
16
|
+
* Glob patterns to include.
|
|
17
|
+
*/
|
|
9
18
|
include?: string[]
|
|
10
19
|
}
|
|
11
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Configuration for Dynamic Share.
|
|
23
|
+
*/
|
|
24
|
+
export interface DynamicShareConfig extends PathConfig {}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Configuration for Live Share.
|
|
28
|
+
*/
|
|
29
|
+
export interface LiveShareConfig extends PathConfig {}
|
|
30
|
+
|
|
12
31
|
export interface CompileConfig {
|
|
13
32
|
depth?: number
|
|
14
33
|
/** @param entryMode all, single, platform, or auto */
|
|
@@ -34,6 +53,7 @@ export type PackageCompileTscConfig = CompileConfig & {
|
|
|
34
53
|
|
|
35
54
|
export interface XyConfigBase {
|
|
36
55
|
compile?: CompileConfig
|
|
56
|
+
dynamicShare?: DynamicShareConfig
|
|
37
57
|
liveShare?: LiveShareConfig
|
|
38
58
|
publint?: boolean
|
|
39
59
|
verbose?: boolean
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { forget } from '@xylabs/forget'
|
|
4
|
-
|
|
5
3
|
import { packageCleanOutputs } from '../../actions'
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
packageCleanOutputs()
|
|
6
|
+
.then(() => {
|
|
7
|
+
process.exit(0)
|
|
8
|
+
})
|
|
9
|
+
.catch((error) => {
|
|
10
|
+
console.error(error)
|
|
11
|
+
process.exit(1)
|
|
12
|
+
})
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { forget } from '@xylabs/forget'
|
|
4
|
-
|
|
5
3
|
import { packageCleanTypescript } from '../../actions'
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
packageCleanTypescript()
|
|
6
|
+
.then(() => {
|
|
7
|
+
process.exit(0)
|
|
8
|
+
})
|
|
9
|
+
.catch((error) => {
|
|
10
|
+
console.error(error)
|
|
11
|
+
process.exit(1)
|
|
12
|
+
})
|
package/src/bin/package/clean.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { forget } from '@xylabs/forget'
|
|
4
|
-
|
|
5
3
|
import { packageClean } from '../../actions'
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
packageClean()
|
|
6
|
+
.then(() => {
|
|
7
|
+
process.exit(0)
|
|
8
|
+
})
|
|
9
|
+
.catch((error) => {
|
|
10
|
+
console.error(error)
|
|
11
|
+
process.exit(1)
|
|
12
|
+
})
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { forget } from '@xylabs/forget'
|
|
4
|
-
|
|
5
3
|
import { packageGenDocs } from '../../actions'
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
packageGenDocs()
|
|
6
|
+
.then(() => {
|
|
7
|
+
process.exit(0)
|
|
8
|
+
})
|
|
9
|
+
.catch((error) => {
|
|
10
|
+
console.error(error)
|
|
11
|
+
process.exit(1)
|
|
12
|
+
})
|
package/src/bin/xy-ts.ts
CHANGED
package/src/bin/xy.ts
CHANGED