@d1g1tal/tsbuild 1.6.2 → 1.6.3
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 +6 -0
- package/dist/{ET53LOOP.js → XQW6Y6DJ.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/tsbuild.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [1.6.3](https://github.com/D1g1talEntr0py/tsbuild/compare/v1.6.2...v1.6.3) (2026-03-18)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* updated regex to allow minified output to have the proper extensions in the imports (23ab153ec4e1e07a10a4c21b692491031557f03b)
|
|
6
|
+
|
|
1
7
|
## [1.6.2](https://github.com/D1g1talEntr0py/tsbuild/compare/v1.6.1...v1.6.2) (2026-03-18)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -1391,7 +1391,7 @@ async function bundleDeclarations(options) {
|
|
|
1391
1391
|
// src/plugins/output.ts
|
|
1392
1392
|
import { extname } from "node:path";
|
|
1393
1393
|
var FileMode = { READ_WRITE: 438, READ_WRITE_EXECUTE: 493 };
|
|
1394
|
-
var relativeSpecifierPattern = /(from\s
|
|
1394
|
+
var relativeSpecifierPattern = /(from\s*['"])(\.\.?\/[^'"]*?)(['"])/g;
|
|
1395
1395
|
function rewriteRelativeSpecifiers(code) {
|
|
1396
1396
|
return code.replace(relativeSpecifierPattern, (_, before, path, after) => {
|
|
1397
1397
|
if (/\.[a-z]+$/i.test(path)) return before + path + after;
|
|
@@ -2115,7 +2115,7 @@ var _TypeScriptProject = class _TypeScriptProject {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
async build() {
|
|
2117
2117
|
const tsLogo = TextFormat.bgBlue(TextFormat.bold(TextFormat.whiteBright(" TS ")));
|
|
2118
|
-
Logger.header(`${tsLogo} tsbuild v${"1.6.
|
|
2118
|
+
Logger.header(`${tsLogo} tsbuild v${"1.6.3"}${this.configuration.compilerOptions.incremental && this.configuration.buildCache?.isValid() ? " [incremental]" : ""}`);
|
|
2119
2119
|
try {
|
|
2120
2120
|
const processes = [];
|
|
2121
2121
|
const filesWereEmitted = await this.typeCheck();
|
package/dist/index.js
CHANGED
package/dist/tsbuild.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BuildError,
|
|
4
4
|
TypeScriptProject
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./XQW6Y6DJ.js";
|
|
6
6
|
import "./7FPDHUPW.js";
|
|
7
7
|
|
|
8
8
|
// src/tsbuild.ts
|
|
@@ -30,7 +30,7 @@ if (help) {
|
|
|
30
30
|
process.exit(0);
|
|
31
31
|
}
|
|
32
32
|
if (version) {
|
|
33
|
-
console.log("1.6.
|
|
33
|
+
console.log("1.6.3");
|
|
34
34
|
process.exit(0);
|
|
35
35
|
}
|
|
36
36
|
var typeScriptOptions = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d1g1tal/tsbuild",
|
|
3
3
|
"author": "D1g1talEntr0py",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A fast, ESM-only TypeScript build tool combining the TypeScript API for type checking and declaration generation, esbuild for bundling, and SWC for decorator metadata.",
|
|
7
7
|
"homepage": "https://github.com/D1g1talEntr0py/tsbuild#readme",
|