@storm-software/workspace-tools 1.13.16 → 1.13.18
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 +14 -0
- package/index.js +12 -12
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +37 -29
- package/src/executors/tsup/get-config.js +25 -25
package/package.json
CHANGED
|
@@ -38399,9 +38399,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
38399
38399
|
}
|
|
38400
38400
|
});
|
|
38401
38401
|
|
|
38402
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
38402
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
38403
38403
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
38404
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
38404
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
38405
38405
|
"use strict";
|
|
38406
38406
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38407
38407
|
var version = "8.0.0";
|
|
@@ -40048,9 +40048,9 @@ var require_resolve_from = __commonJS({
|
|
|
40048
40048
|
}
|
|
40049
40049
|
});
|
|
40050
40050
|
|
|
40051
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40051
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
40052
40052
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
40053
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40053
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
40054
40054
|
"use strict";
|
|
40055
40055
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40056
40056
|
function _interopRequireDefault(obj) {
|
|
@@ -40328,9 +40328,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
40328
40328
|
}
|
|
40329
40329
|
});
|
|
40330
40330
|
|
|
40331
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40331
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
40332
40332
|
var require_chunk_UIX4URMV = __commonJS({
|
|
40333
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
40333
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
40334
40334
|
"use strict";
|
|
40335
40335
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40336
40336
|
function _interopRequireWildcard(obj) {
|
|
@@ -41264,9 +41264,9 @@ var require_dist2 = __commonJS({
|
|
|
41264
41264
|
}
|
|
41265
41265
|
});
|
|
41266
41266
|
|
|
41267
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41267
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
41268
41268
|
var require_chunk_7G76EW2R = __commonJS({
|
|
41269
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
41269
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
41270
41270
|
"use strict";
|
|
41271
41271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41272
41272
|
function _interopRequireDefault(obj) {
|
|
@@ -96264,9 +96264,9 @@ var require_chokidar = __commonJS({
|
|
|
96264
96264
|
}
|
|
96265
96265
|
});
|
|
96266
96266
|
|
|
96267
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
96267
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/index.js
|
|
96268
96268
|
var require_dist6 = __commonJS({
|
|
96269
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
96269
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/index.js"(exports) {
|
|
96270
96270
|
"use strict";
|
|
96271
96271
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
96272
96272
|
function _interopRequireDefault(obj) {
|
|
@@ -98579,8 +98579,8 @@ var require_dist6 = __commonJS({
|
|
|
98579
98579
|
logger.info("tsc", compilerOptions);
|
|
98580
98580
|
const host = _typescript2.default.createCompilerHost(compilerOptions.options);
|
|
98581
98581
|
const program = _typescript2.default.createProgram({
|
|
98582
|
-
rootNames:
|
|
98583
|
-
options:
|
|
98582
|
+
rootNames: compilerOptions.fileNames,
|
|
98583
|
+
options: compilerOptions.options,
|
|
98584
98584
|
host
|
|
98585
98585
|
});
|
|
98586
98586
|
const fileMapping = emitDtsFiles(program, host, options2);
|
|
@@ -105614,12 +105614,10 @@ function modernConfig({
|
|
|
105614
105614
|
entry,
|
|
105615
105615
|
compilerOptions: {
|
|
105616
105616
|
...dtsTsConfig,
|
|
105617
|
-
|
|
105618
|
-
|
|
105619
|
-
|
|
105620
|
-
|
|
105621
|
-
declarationMap: true,
|
|
105622
|
-
emitDeclarationOnly: true
|
|
105617
|
+
options: {
|
|
105618
|
+
...dtsTsConfig.options,
|
|
105619
|
+
outDir: outputPath
|
|
105620
|
+
}
|
|
105623
105621
|
}
|
|
105624
105622
|
},
|
|
105625
105623
|
apiReport,
|
|
@@ -105671,12 +105669,10 @@ function legacyConfig({
|
|
|
105671
105669
|
entry,
|
|
105672
105670
|
compilerOptions: {
|
|
105673
105671
|
...dtsTsConfig,
|
|
105674
|
-
|
|
105675
|
-
|
|
105676
|
-
|
|
105677
|
-
|
|
105678
|
-
declarationMap: true,
|
|
105679
|
-
emitDeclarationOnly: true
|
|
105672
|
+
options: {
|
|
105673
|
+
...dtsTsConfig.options,
|
|
105674
|
+
outDir: outputPath
|
|
105675
|
+
}
|
|
105680
105676
|
}
|
|
105681
105677
|
},
|
|
105682
105678
|
apiReport: false,
|
|
@@ -105729,7 +105725,11 @@ function workerConfig({
|
|
|
105729
105725
|
experimentalDts: {
|
|
105730
105726
|
entry,
|
|
105731
105727
|
compilerOptions: {
|
|
105732
|
-
|
|
105728
|
+
...dtsTsConfig,
|
|
105729
|
+
options: {
|
|
105730
|
+
...dtsTsConfig.options,
|
|
105731
|
+
outDir: (0, import_path2.join)(outDir, "dist")
|
|
105732
|
+
}
|
|
105733
105733
|
}
|
|
105734
105734
|
},
|
|
105735
105735
|
apiReport,
|
|
@@ -106063,7 +106063,7 @@ ${(0, import_fs2.readFileSync)(file, "utf-8")}`,
|
|
|
106063
106063
|
});
|
|
106064
106064
|
const config = getConfig(context.root, projectRoot, sourceRoot, {
|
|
106065
106065
|
...options2,
|
|
106066
|
-
dtsTsConfig: getNormalizedTsConfig(tscOptions),
|
|
106066
|
+
dtsTsConfig: getNormalizedTsConfig(context.root, outputPath, tscOptions),
|
|
106067
106067
|
banner: options2.banner ? { js: `// ${options2.banner}
|
|
106068
106068
|
|
|
106069
106069
|
`, css: `/* ${options2.banner} */
|
|
@@ -106087,10 +106087,18 @@ ${(0, import_fs2.readFileSync)(file, "utf-8")}`,
|
|
|
106087
106087
|
};
|
|
106088
106088
|
}
|
|
106089
106089
|
}
|
|
106090
|
-
function getNormalizedTsConfig(options2) {
|
|
106091
|
-
const readResult = ts2.readConfigFile(options2.tsConfig, ts2.sys.readFile);
|
|
106090
|
+
function getNormalizedTsConfig(workspaceRoot, outputPath, options2) {
|
|
106092
106091
|
const tsConfig = ts2.parseJsonConfigFileContent(
|
|
106093
|
-
|
|
106092
|
+
{
|
|
106093
|
+
...ts2.readConfigFile(options2.tsConfig, ts2.sys.readFile).config,
|
|
106094
|
+
outDir: outputPath,
|
|
106095
|
+
allowJs: true,
|
|
106096
|
+
noEmit: false,
|
|
106097
|
+
declaration: true,
|
|
106098
|
+
declarationMap: true,
|
|
106099
|
+
emitDeclarationOnly: true,
|
|
106100
|
+
declarationDir: (0, import_path3.join)(workspaceRoot, "tmp", ".tsup", "declaration")
|
|
106101
|
+
},
|
|
106094
106102
|
ts2.sys,
|
|
106095
106103
|
(0, import_path3.dirname)(options2.tsConfig)
|
|
106096
106104
|
);
|
|
@@ -240,9 +240,9 @@ var require_brace_expansion = __commonJS({
|
|
|
240
240
|
}
|
|
241
241
|
});
|
|
242
242
|
|
|
243
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
243
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
244
244
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
245
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
245
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
246
246
|
"use strict";
|
|
247
247
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
248
248
|
var version = "8.0.0";
|
|
@@ -6549,9 +6549,9 @@ var require_resolve_from = __commonJS({
|
|
|
6549
6549
|
}
|
|
6550
6550
|
});
|
|
6551
6551
|
|
|
6552
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6552
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
6553
6553
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
6554
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6554
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
6555
6555
|
"use strict";
|
|
6556
6556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6557
6557
|
function _interopRequireDefault(obj) {
|
|
@@ -6829,9 +6829,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
6829
6829
|
}
|
|
6830
6830
|
});
|
|
6831
6831
|
|
|
6832
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6832
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
6833
6833
|
var require_chunk_UIX4URMV = __commonJS({
|
|
6834
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
6834
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
6835
6835
|
"use strict";
|
|
6836
6836
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6837
6837
|
function _interopRequireWildcard(obj) {
|
|
@@ -7765,9 +7765,9 @@ var require_dist2 = __commonJS({
|
|
|
7765
7765
|
}
|
|
7766
7766
|
});
|
|
7767
7767
|
|
|
7768
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
7768
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
7769
7769
|
var require_chunk_7G76EW2R = __commonJS({
|
|
7770
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
7770
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
7771
7771
|
"use strict";
|
|
7772
7772
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7773
7773
|
function _interopRequireDefault(obj) {
|
|
@@ -62765,9 +62765,9 @@ var require_chokidar = __commonJS({
|
|
|
62765
62765
|
}
|
|
62766
62766
|
});
|
|
62767
62767
|
|
|
62768
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
62768
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/index.js
|
|
62769
62769
|
var require_dist6 = __commonJS({
|
|
62770
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
62770
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fk5q4kvjx5c56wwgbibne6hdmm_@microsoft+api-extractor@7.38.3_@swc+core@1._kvd7kwbrv74pslsw52uhqw3dqu/node_modules/tsup/dist/index.js"(exports) {
|
|
62771
62771
|
"use strict";
|
|
62772
62772
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62773
62773
|
function _interopRequireDefault(obj) {
|
|
@@ -65080,8 +65080,8 @@ var require_dist6 = __commonJS({
|
|
|
65080
65080
|
logger.info("tsc", compilerOptions);
|
|
65081
65081
|
const host = _typescript2.default.createCompilerHost(compilerOptions.options);
|
|
65082
65082
|
const program = _typescript2.default.createProgram({
|
|
65083
|
-
rootNames:
|
|
65084
|
-
options:
|
|
65083
|
+
rootNames: compilerOptions.fileNames,
|
|
65084
|
+
options: compilerOptions.options,
|
|
65085
65085
|
host
|
|
65086
65086
|
});
|
|
65087
65087
|
const fileMapping = emitDtsFiles(program, host, options2);
|
|
@@ -72064,12 +72064,10 @@ function modernConfig({
|
|
|
72064
72064
|
entry,
|
|
72065
72065
|
compilerOptions: {
|
|
72066
72066
|
...dtsTsConfig,
|
|
72067
|
-
|
|
72068
|
-
|
|
72069
|
-
|
|
72070
|
-
|
|
72071
|
-
declarationMap: true,
|
|
72072
|
-
emitDeclarationOnly: true
|
|
72067
|
+
options: {
|
|
72068
|
+
...dtsTsConfig.options,
|
|
72069
|
+
outDir: outputPath
|
|
72070
|
+
}
|
|
72073
72071
|
}
|
|
72074
72072
|
},
|
|
72075
72073
|
apiReport,
|
|
@@ -72121,12 +72119,10 @@ function legacyConfig({
|
|
|
72121
72119
|
entry,
|
|
72122
72120
|
compilerOptions: {
|
|
72123
72121
|
...dtsTsConfig,
|
|
72124
|
-
|
|
72125
|
-
|
|
72126
|
-
|
|
72127
|
-
|
|
72128
|
-
declarationMap: true,
|
|
72129
|
-
emitDeclarationOnly: true
|
|
72122
|
+
options: {
|
|
72123
|
+
...dtsTsConfig.options,
|
|
72124
|
+
outDir: outputPath
|
|
72125
|
+
}
|
|
72130
72126
|
}
|
|
72131
72127
|
},
|
|
72132
72128
|
apiReport: false,
|
|
@@ -72179,7 +72175,11 @@ function workerConfig({
|
|
|
72179
72175
|
experimentalDts: {
|
|
72180
72176
|
entry,
|
|
72181
72177
|
compilerOptions: {
|
|
72182
|
-
|
|
72178
|
+
...dtsTsConfig,
|
|
72179
|
+
options: {
|
|
72180
|
+
...dtsTsConfig.options,
|
|
72181
|
+
outDir: (0, import_path2.join)(outDir, "dist")
|
|
72182
|
+
}
|
|
72183
72183
|
}
|
|
72184
72184
|
},
|
|
72185
72185
|
apiReport,
|