@storm-software/workspace-tools 1.62.36 → 1.62.38
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 +24 -0
- package/index.js +7 -9
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +1 -3
- package/src/executors/tsup-browser/executor.js +1 -3
- package/src/executors/tsup-neutral/executor.js +1 -3
- package/src/executors/tsup-node/executor.js +1 -3
- package/src/executors/typia/executor.js +6 -6
- package/src/utils/index.js +1 -3
package/package.json
CHANGED
|
@@ -453270,8 +453270,6 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
453270
453270
|
...rawTsconfig.config,
|
|
453271
453271
|
compilerOptions: {
|
|
453272
453272
|
...rawTsconfig.config?.compilerOptions,
|
|
453273
|
-
rootDir: ".",
|
|
453274
|
-
baseUrl: ".",
|
|
453275
453273
|
outDir: outputPath,
|
|
453276
453274
|
noEmit: false,
|
|
453277
453275
|
emitDeclarationOnly: true,
|
|
@@ -453281,7 +453279,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
453281
453279
|
}
|
|
453282
453280
|
},
|
|
453283
453281
|
import_typescript.sys,
|
|
453284
|
-
|
|
453282
|
+
workspaceRoot
|
|
453285
453283
|
);
|
|
453286
453284
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
453287
453285
|
if (parsedTsconfig.options.paths) {
|
|
@@ -447086,8 +447086,6 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447086
447086
|
...rawTsconfig.config,
|
|
447087
447087
|
compilerOptions: {
|
|
447088
447088
|
...rawTsconfig.config?.compilerOptions,
|
|
447089
|
-
rootDir: ".",
|
|
447090
|
-
baseUrl: ".",
|
|
447091
447089
|
outDir: outputPath,
|
|
447092
447090
|
noEmit: false,
|
|
447093
447091
|
emitDeclarationOnly: true,
|
|
@@ -447097,7 +447095,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447097
447095
|
}
|
|
447098
447096
|
},
|
|
447099
447097
|
import_typescript.sys,
|
|
447100
|
-
|
|
447098
|
+
workspaceRoot
|
|
447101
447099
|
);
|
|
447102
447100
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
447103
447101
|
if (parsedTsconfig.options.paths) {
|
|
@@ -447086,8 +447086,6 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447086
447086
|
...rawTsconfig.config,
|
|
447087
447087
|
compilerOptions: {
|
|
447088
447088
|
...rawTsconfig.config?.compilerOptions,
|
|
447089
|
-
rootDir: ".",
|
|
447090
|
-
baseUrl: ".",
|
|
447091
447089
|
outDir: outputPath,
|
|
447092
447090
|
noEmit: false,
|
|
447093
447091
|
emitDeclarationOnly: true,
|
|
@@ -447097,7 +447095,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447097
447095
|
}
|
|
447098
447096
|
},
|
|
447099
447097
|
import_typescript.sys,
|
|
447100
|
-
|
|
447098
|
+
workspaceRoot
|
|
447101
447099
|
);
|
|
447102
447100
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
447103
447101
|
if (parsedTsconfig.options.paths) {
|
|
@@ -447086,8 +447086,6 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447086
447086
|
...rawTsconfig.config,
|
|
447087
447087
|
compilerOptions: {
|
|
447088
447088
|
...rawTsconfig.config?.compilerOptions,
|
|
447089
|
-
rootDir: ".",
|
|
447090
|
-
baseUrl: ".",
|
|
447091
447089
|
outDir: outputPath,
|
|
447092
447090
|
noEmit: false,
|
|
447093
447091
|
emitDeclarationOnly: true,
|
|
@@ -447097,7 +447095,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
447097
447095
|
}
|
|
447098
447096
|
},
|
|
447099
447097
|
import_typescript.sys,
|
|
447100
|
-
|
|
447098
|
+
workspaceRoot
|
|
447101
447099
|
);
|
|
447102
447100
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
447103
447101
|
if (parsedTsconfig.options.paths) {
|
|
@@ -227504,10 +227504,10 @@ var require_TypiaProgrammer = __commonJS({
|
|
|
227504
227504
|
var typescript_1 = __importDefault(require_typescript());
|
|
227505
227505
|
var ImportTransformer_1 = require_ImportTransformer();
|
|
227506
227506
|
var transform_1 = __importDefault(require_transform());
|
|
227507
|
-
var
|
|
227508
|
-
(function(
|
|
227507
|
+
var TypiaProgrammer2;
|
|
227508
|
+
(function(TypiaProgrammer3) {
|
|
227509
227509
|
var _this = this;
|
|
227510
|
-
|
|
227510
|
+
TypiaProgrammer3.build = function(props) {
|
|
227511
227511
|
return __awaiter(_this, void 0, void 0, function() {
|
|
227512
227512
|
var parent_1, compilerOptions, program, _a, _b, diagnostics, result, _loop_1, diagnostics_1, diagnostics_1_1, diag, printer, _c, _d, file, to, content, e_1_1;
|
|
227513
227513
|
var e_2, _e, e_1, _f;
|
|
@@ -227761,7 +227761,7 @@ var require_TypiaProgrammer = __commonJS({
|
|
|
227761
227761
|
var is_supported_extension = function(filename) {
|
|
227762
227762
|
return filename.endsWith(".ts") && !filename.endsWith(".d.ts") || filename.endsWith(".tsx") && !filename.endsWith(".d.tsx");
|
|
227763
227763
|
};
|
|
227764
|
-
})(
|
|
227764
|
+
})(TypiaProgrammer2 || (exports2.TypiaProgrammer = TypiaProgrammer2 = {}));
|
|
227765
227765
|
}
|
|
227766
227766
|
});
|
|
227767
227767
|
|
|
@@ -227967,14 +227967,14 @@ var _isFunction = (value) => {
|
|
|
227967
227967
|
};
|
|
227968
227968
|
|
|
227969
227969
|
// packages/workspace-tools/src/executors/typia/executor.ts
|
|
227970
|
+
var import_TypiaProgrammer = __toESM(require_TypiaProgrammer());
|
|
227970
227971
|
async function typiaExecutorFn(options, _, config) {
|
|
227971
227972
|
const { writeInfo } = await import("@storm-software/config-tools");
|
|
227972
227973
|
if (options.clean !== false) {
|
|
227973
227974
|
writeInfo(config, `\u{1F9F9} Cleaning output path: ${options.outputPath}`);
|
|
227974
227975
|
(0, import_fs_extra.removeSync)(options.outputPath);
|
|
227975
227976
|
}
|
|
227976
|
-
|
|
227977
|
-
await TypiaProgrammer.build({
|
|
227977
|
+
await import_TypiaProgrammer.TypiaProgrammer.build({
|
|
227978
227978
|
input: options.entryPath,
|
|
227979
227979
|
output: options.outputPath,
|
|
227980
227980
|
project: options.tsConfig
|
package/src/utils/index.js
CHANGED
|
@@ -457348,8 +457348,6 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
457348
457348
|
...rawTsconfig.config,
|
|
457349
457349
|
compilerOptions: {
|
|
457350
457350
|
...rawTsconfig.config?.compilerOptions,
|
|
457351
|
-
rootDir: ".",
|
|
457352
|
-
baseUrl: ".",
|
|
457353
457351
|
outDir: outputPath,
|
|
457354
457352
|
noEmit: false,
|
|
457355
457353
|
emitDeclarationOnly: true,
|
|
@@ -457359,7 +457357,7 @@ Error: ${rawTsconfig.error.messageText}` : ""}`
|
|
|
457359
457357
|
}
|
|
457360
457358
|
},
|
|
457361
457359
|
import_typescript.sys,
|
|
457362
|
-
|
|
457360
|
+
workspaceRoot
|
|
457363
457361
|
);
|
|
457364
457362
|
parsedTsconfig.options.pathsBasePath = correctPaths(workspaceRoot);
|
|
457365
457363
|
if (parsedTsconfig.options.paths) {
|