@storm-software/workspace-tools 1.7.34 → 1.7.36
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 +24 -12
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +37 -15
- package/src/executors/tsup/get-config.js +31 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.7.35](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.34...workspace-tools-v1.7.35) (2023-11-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Added extra logging to tsup patch ([6c58d8a](https://github.com/storm-software/storm-ops/commit/6c58d8a369d5ee4b28804903b49ae2ea141e7abd))
|
|
7
|
+
|
|
8
|
+
## [1.7.34](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.33...workspace-tools-v1.7.34) (2023-11-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Resolved issue with package export lookup in tsup patch ([ba53a36](https://github.com/storm-software/storm-ops/commit/ba53a3606b60e78d0f66894c6e3bc5d116ddaacd))
|
|
14
|
+
|
|
1
15
|
## [1.7.33](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.32...workspace-tools-v1.7.33) (2023-11-20)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -408390,9 +408390,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
408390
408390
|
}
|
|
408391
408391
|
});
|
|
408392
408392
|
|
|
408393
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
408393
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
408394
408394
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
408395
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
408395
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
|
|
408396
408396
|
"use strict";
|
|
408397
408397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
408398
408398
|
var version = "8.0.0";
|
|
@@ -410039,9 +410039,9 @@ var require_resolve_from = __commonJS({
|
|
|
410039
410039
|
}
|
|
410040
410040
|
});
|
|
410041
410041
|
|
|
410042
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410042
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
410043
410043
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
410044
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410044
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
|
|
410045
410045
|
"use strict";
|
|
410046
410046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
410047
410047
|
function _interopRequireDefault(obj) {
|
|
@@ -410320,9 +410320,9 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
410320
410320
|
}
|
|
410321
410321
|
});
|
|
410322
410322
|
|
|
410323
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410323
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
410324
410324
|
var require_chunk_UIX4URMV = __commonJS({
|
|
410325
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
410325
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
|
|
410326
410326
|
"use strict";
|
|
410327
410327
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
410328
410328
|
function _interopRequireWildcard(obj) {
|
|
@@ -411256,9 +411256,9 @@ var require_dist2 = __commonJS({
|
|
|
411256
411256
|
}
|
|
411257
411257
|
});
|
|
411258
411258
|
|
|
411259
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
411259
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
411260
411260
|
var require_chunk_7G76EW2R = __commonJS({
|
|
411261
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
411261
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
|
|
411262
411262
|
"use strict";
|
|
411263
411263
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
411264
411264
|
function _interopRequireDefault(obj) {
|
|
@@ -465064,9 +465064,9 @@ var require_chokidar = __commonJS({
|
|
|
465064
465064
|
}
|
|
465065
465065
|
});
|
|
465066
465066
|
|
|
465067
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
465067
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js
|
|
465068
465068
|
var require_dist5 = __commonJS({
|
|
465069
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=
|
|
465069
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=mbej3fsdqjmxhdiqcxx3ntmck4_@swc+core@1.3.96_ts-node@10.9.1_typescript@5.2.2/node_modules/tsup/dist/index.js"(exports) {
|
|
465070
465070
|
"use strict";
|
|
465071
465071
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
465072
465072
|
function _interopRequireDefault(obj) {
|
|
@@ -467359,12 +467359,21 @@ var require_dist5 = __commonJS({
|
|
|
467359
467359
|
if (!rawTsconfig) {
|
|
467360
467360
|
throw new Error(`Unable to find ${tsconfig || "tsconfig.json"}`);
|
|
467361
467361
|
}
|
|
467362
|
+
if (!rawTsconfig.data) {
|
|
467363
|
+
rawTsconfig.data = {};
|
|
467364
|
+
}
|
|
467365
|
+
if (!rawTsconfig.data.compilerOptions) {
|
|
467366
|
+
rawTsconfig.data.compilerOptions = {};
|
|
467367
|
+
}
|
|
467368
|
+
logger.info("tsc", "Getting temporary declaration directory");
|
|
467362
467369
|
let declarationDir = _chunkGQ77QZBOjs.ensureTempDeclarationDir.call(void 0);
|
|
467370
|
+
logger.info("tsc", declarationDir);
|
|
467371
|
+
logger.info("tsc", "Parsing tsconfig.json");
|
|
467363
467372
|
let parsedTsconfig = _typescript2.default.parseJsonConfigFileContent(
|
|
467364
467373
|
{
|
|
467365
467374
|
...rawTsconfig.data,
|
|
467366
467375
|
compilerOptions: {
|
|
467367
|
-
...
|
|
467376
|
+
...rawTsconfig.data.compilerOptions,
|
|
467368
467377
|
...compilerOptions,
|
|
467369
467378
|
// Enable declaration emit and disable javascript emit
|
|
467370
467379
|
noEmit: false,
|
|
@@ -467375,15 +467384,18 @@ var require_dist5 = __commonJS({
|
|
|
467375
467384
|
}
|
|
467376
467385
|
},
|
|
467377
467386
|
_typescript2.default.sys,
|
|
467378
|
-
tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
|
|
467387
|
+
options.workspaceRoot ? options.workspaceRoot : tsconfig ? _path.dirname.call(void 0, tsconfig) : options.projectRoot
|
|
467379
467388
|
);
|
|
467389
|
+
logger.info("tsc", parsedTsconfig);
|
|
467380
467390
|
let host = _typescript2.default.createCompilerHost(parsedTsconfig.options);
|
|
467381
467391
|
let program = _typescript2.default.createProgram(
|
|
467382
467392
|
parsedTsconfig.fileNames,
|
|
467383
467393
|
parsedTsconfig.options,
|
|
467384
467394
|
host
|
|
467385
467395
|
);
|
|
467396
|
+
logger.info("tsc", "Emitting DTS files");
|
|
467386
467397
|
let fileMapping = emitDtsFiles(program, host);
|
|
467398
|
+
logger.info("tsc", fileMapping);
|
|
467387
467399
|
return getExports(options, program, fileMapping);
|
|
467388
467400
|
}
|
|
467389
467401
|
function runTypeScriptCompiler(options) {
|