Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
4892c8f7ae | |||
687f01d1a3 | |||
071b3e222f | |||
fa41dbf332 | |||
c45a216379 | |||
00046837a7 | |||
ed22b539f2 | |||
43c7021aea | |||
b21009f815 | |||
deba95dfa6 | |||
50e6fec9b0 | |||
f7c2a67d81 | |||
91e3502965 | |||
0afddbefce |
179
changelog.md
Normal file
179
changelog.md
Normal file
@ -0,0 +1,179 @@
|
||||
# Changelog
|
||||
|
||||
## 2024-07-22 - 2.1.84 - fix(cli)
|
||||
Fixed transpilation order issue in tsfolders command
|
||||
|
||||
- Corrected the transpilation order so 'ts_shared' is processed before other folders in the 'tsfolders' CLI command.
|
||||
|
||||
## 2024-07-21 - 2.1.83 - fix(cli)
|
||||
Ensure 'ts_shared' folder is compiled first if present
|
||||
|
||||
- Added logic to make sure the 'ts_shared' folder is compiled first when running 'tsfolders' command.
|
||||
|
||||
## 2024-06-24 - 2.1.82 - fix(core)
|
||||
Minor improvements and optimizations in core TypeScript compiler integration.
|
||||
|
||||
- Updated TypeScript dependency to latest version 5.5.2.
|
||||
- Enhanced logging in compiler process.
|
||||
- Improved handling of CLI commands for better flexibility.
|
||||
- Compiled output directories are now more structured.
|
||||
- Refactored internal compiler options merge function.
|
||||
|
||||
## 2024-06-24 - 2.1.81 - fix(dependencies)
|
||||
Update dependencies to latest versions
|
||||
|
||||
- Upgraded @push.rocks/smartcli from ^4.0.10 to ^4.0.11
|
||||
- Upgraded @push.rocks/smartfile from ^11.0.14 to ^11.0.21
|
||||
- Upgraded @push.rocks/smartlog from ^3.0.3 to ^3.0.7
|
||||
- Upgraded @push.rocks/smartpromise from ^4.0.3 to ^4.0.4
|
||||
- Upgraded typescript from 5.4.5 to 5.5.2
|
||||
- Upgraded @git.zone/tsrun from ^1.2.46 to ^1.2.47
|
||||
- Upgraded @types/node from ^20.12.11 to ^20.14.8
|
||||
|
||||
## 2024-05-17 - 2.1.80 - core
|
||||
Fix multiple core issues.
|
||||
|
||||
- Various small fixes and updates to the core functionality.
|
||||
|
||||
## 2024-05-17 - 2.1.76 to 2.1.79 - core
|
||||
Routine core updates and fixes.
|
||||
|
||||
- Several minor enhancements and bug fixes.
|
||||
|
||||
## 2024-05-14 - 2.1.74 to 2.1.75 - core
|
||||
General core maintenance updates.
|
||||
|
||||
- Core updated to fix minor bugs.
|
||||
|
||||
## 2024-05-10 - 2.1.72 to 2.1.73 - core
|
||||
Minor core updates.
|
||||
|
||||
- Improvements and fixes to core components.
|
||||
|
||||
## 2024-01-08 - 2.1.70 to 2.1.71 - core
|
||||
Core functionality enhancements.
|
||||
|
||||
- Small fixes and updates in the core.
|
||||
|
||||
## 2023-08-26 - 2.1.66 to 2.1.69 - core
|
||||
Regular core updates and fixes.
|
||||
|
||||
- Various updates to improve core functionality.
|
||||
|
||||
## 2023-06-03 - 2.1.65 - core
|
||||
Core maintenance update.
|
||||
|
||||
- Fixed issues in core functionality.
|
||||
|
||||
## 2022-08-03 - 2.1.63 to 2.1.64 - core
|
||||
Minor core updates and fixes.
|
||||
|
||||
- Updated core functionality with minor fixes.
|
||||
|
||||
## 2022-05-25 - 2.1.61 to 2.1.62 - core
|
||||
Routine core updates.
|
||||
|
||||
- Fixed minor bugs in the core.
|
||||
|
||||
## 2022-03-24 - 2.1.60 - core
|
||||
Core functionality update.
|
||||
|
||||
- Fixed various minor issues in core.
|
||||
|
||||
## 2022-03-18 - 2.1.57 to 2.1.59 - core
|
||||
Minor core updates and enhancements.
|
||||
|
||||
- Updated core components with small fixes.
|
||||
|
||||
## 2022-03-15 - 2.1.50 to 2.1.56 - core
|
||||
Several core bug fixes.
|
||||
|
||||
- Fixed various minor issues in the core functionality.
|
||||
|
||||
## 2022-03-14 - 2.1.49 - core
|
||||
Core update.
|
||||
|
||||
- Fixed minor bugs in the core.
|
||||
|
||||
## 2022-03-12 - 2.1.43 to 2.1.48 - core
|
||||
General core maintenance updates.
|
||||
|
||||
- Core updated to fix minor bugs and improve functionality.
|
||||
|
||||
## 2022-03-11 - 2.1.33 to 2.1.42 - core
|
||||
Core functionality enhancements and fixes.
|
||||
|
||||
- Multiple updates to improve core functionality and fix bugs.
|
||||
|
||||
## 2022-03-11 - 2.1.29 to 2.1.32 - core
|
||||
Routine core updates.
|
||||
|
||||
- Minor bug fixes and improvements in core functionality.
|
||||
|
||||
## 2022-01-19 - 2.1.28 to 2.1.29 - core
|
||||
Core bug fixes.
|
||||
|
||||
- Updated core to address minor issues.
|
||||
|
||||
## 2021-10-06 - 2.1.27 - core
|
||||
Minor core update.
|
||||
|
||||
- Fixed core bugs.
|
||||
|
||||
## 2021-09-08 - 2.1.26 - core
|
||||
Core update.
|
||||
|
||||
- Fixed minor bugs in the core.
|
||||
|
||||
## 2021-08-17 - 2.1.25 - core
|
||||
Core bug fixes.
|
||||
|
||||
- Small updates to improve core functionality.
|
||||
|
||||
## 2020-08-11 - 2.1.24 - core
|
||||
Routine core update.
|
||||
|
||||
- Fixed minor bugs in the core.
|
||||
|
||||
## 2020-05-14 - 2.1.23 - core
|
||||
General core updates.
|
||||
|
||||
- Fixes to improve core stability.
|
||||
|
||||
## 2020-03-13 - 2.1.20 to 2.1.22 - core
|
||||
Minor core updates.
|
||||
|
||||
- Enhancements and fixes for core functionality.
|
||||
|
||||
## 2020-03-09 - 2.1.19 - core
|
||||
Maintenance core update.
|
||||
|
||||
- Fixes addressing minor issues in core functionality.
|
||||
|
||||
## 2019-08-26 - 2.1.16 to 2.1.17 - core
|
||||
Routine minor core updates.
|
||||
|
||||
- Improvement and fixes within the core functionality.
|
||||
|
||||
## 2019-01-27 - 2.1.6 - custom directory compilation
|
||||
Now picking up TypeScript files correctly.
|
||||
|
||||
- Resolved compilation issues with custom directories.
|
||||
|
||||
## 2018-12-05 - 2.1.0 to 2.1.1 - core
|
||||
Minor core updates.
|
||||
|
||||
- Small enhancements and fixes applied to core functionality.
|
||||
|
||||
## 2018-12-05 - 2.0.22 - cli options
|
||||
Now support --web for web compilations targeting Google Chrome.
|
||||
|
||||
- Added new CLI option for web compilation.
|
||||
|
||||
## 2018-07-25 - 2.0.15 to 2.0.19 - various
|
||||
Multiple fixes across core, dependency, and compiler modules.
|
||||
|
||||
- Packagename fix in core.
|
||||
- Dependency updates.
|
||||
- Compiler options fixed.
|
||||
- Initial core updates.
|
16
package.json
16
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@git.zone/tsbuild",
|
||||
"version": "2.1.77",
|
||||
"version": "2.1.84",
|
||||
"private": false,
|
||||
"description": "TypeScript nightly to easily make use of latest features",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -29,18 +29,18 @@
|
||||
"homepage": "https://gitlab.com/pushrocks/tsn#README",
|
||||
"dependencies": {
|
||||
"@push.rocks/early": "^4.0.4",
|
||||
"@push.rocks/smartcli": "^4.0.10",
|
||||
"@push.rocks/smartcli": "^4.0.11",
|
||||
"@push.rocks/smartdelay": "^3.0.5",
|
||||
"@push.rocks/smartfile": "^11.0.14",
|
||||
"@push.rocks/smartlog": "^3.0.3",
|
||||
"@push.rocks/smartfile": "^11.0.21",
|
||||
"@push.rocks/smartlog": "^3.0.7",
|
||||
"@push.rocks/smartpath": "^5.0.18",
|
||||
"@push.rocks/smartpromise": "^4.0.3",
|
||||
"typescript": "5.4.5"
|
||||
"@push.rocks/smartpromise": "^4.0.4",
|
||||
"typescript": "5.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsrun": "^1.2.46",
|
||||
"@git.zone/tsrun": "^1.2.47",
|
||||
"@push.rocks/tapbundle": "^5.0.23",
|
||||
"@types/node": "^20.12.11"
|
||||
"@types/node": "^20.14.8"
|
||||
},
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
|
3169
pnpm-lock.yaml
generated
3169
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
0
readme.hints.md
Normal file
0
readme.hints.md
Normal file
@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsbuild',
|
||||
version: '2.1.77',
|
||||
version: '2.1.84',
|
||||
description: 'TypeScript nightly to easily make use of latest features'
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ export const compilerOptionsDefault: CompilerOptions = {
|
||||
module: plugins.typescript.ModuleKind.NodeNext,
|
||||
target: plugins.typescript.ScriptTarget.ESNext,
|
||||
moduleResolution: plugins.typescript.ModuleResolutionKind.NodeNext,
|
||||
lib: ['lib.dom.d.ts', 'es2022'],
|
||||
lib: ['lib.dom.d.ts', 'lib.es2022.d.ts'],
|
||||
noImplicitAny: true,
|
||||
esModuleInterop: true,
|
||||
useDefineForClassFields: false,
|
||||
|
@ -37,14 +37,23 @@ export const runCli = async () => {
|
||||
*/
|
||||
tsbuildCli.addCommand('tsfolders').subscribe(async (argvArg) => {
|
||||
const tsFolders = await plugins.smartfile.fs.listFolders(paths.cwd, /^ts/);
|
||||
// lets make sure shared is always transpiled first
|
||||
const indexShared = tsFolders.indexOf('ts_shared');
|
||||
if (indexShared > -1) {
|
||||
tsFolders.splice(indexShared, 1);
|
||||
tsFolders.unshift('ts_shared');
|
||||
}
|
||||
|
||||
|
||||
// lets make sure interfaces are always transpiled first
|
||||
const index = tsFolders.indexOf('ts_interfaces');
|
||||
if (index > -1) {
|
||||
tsFolders.splice(index, 1);
|
||||
const indexInterfaces = tsFolders.indexOf('ts_interfaces');
|
||||
if (indexInterfaces > -1) {
|
||||
tsFolders.splice(indexInterfaces, 1);
|
||||
tsFolders.unshift('ts_interfaces');
|
||||
}
|
||||
const compilationCommandObject: { [key: string]: string } = {};
|
||||
console.log(`compiling in this order:`);
|
||||
console.log(tsFolders);
|
||||
for (const tsFolder of tsFolders) {
|
||||
compilationCommandObject[`./${tsFolder}/**/*.ts`] = `./dist_${tsFolder}`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user