Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
49ecf9d4ca | |||
7bd0032007 | |||
866c203856 | |||
3e673bca6b | |||
5c3dfe0920 | |||
c08a9065a1 | |||
f4071f0b64 | |||
335cc19211 | |||
25851c2b64 | |||
73a6ce2786 |
17
package.json
17
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsbundle",
|
"name": "@git.zone/tsbundle",
|
||||||
"version": "2.0.9",
|
"version": "2.0.14",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a bundler using rollup for painless bundling of web projects",
|
"description": "a bundler using rollup for painless bundling of web projects",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -16,25 +16,26 @@
|
|||||||
"tsbundle": "cli.js"
|
"tsbundle": "cli.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@git.zone/tsbuild": "^2.1.69",
|
"@git.zone/tsbuild": "^2.1.70",
|
||||||
"@git.zone/tsrun": "^1.2.46",
|
"@git.zone/tsrun": "^1.2.46",
|
||||||
"@git.zone/tstest": "^1.0.74",
|
"@git.zone/tstest": "^1.0.84",
|
||||||
"@push.rocks/tapbundle": "^5.0.15",
|
"@push.rocks/tapbundle": "^5.0.15",
|
||||||
"@types/node": "^20.5.6"
|
"@types/node": "^20.10.7"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@push.rocks/early": "^4.0.4",
|
"@push.rocks/early": "^4.0.4",
|
||||||
"@push.rocks/smartcli": "^4.0.8",
|
"@push.rocks/smartcli": "^4.0.8",
|
||||||
"@push.rocks/smartfile": "^10.0.30",
|
"@push.rocks/smartdelay": "^3.0.5",
|
||||||
|
"@push.rocks/smartfile": "^11.0.4",
|
||||||
"@push.rocks/smartlog": "^3.0.3",
|
"@push.rocks/smartlog": "^3.0.3",
|
||||||
"@push.rocks/smartlog-destination-local": "^9.0.0",
|
"@push.rocks/smartlog-destination-local": "^9.0.0",
|
||||||
"@push.rocks/smartpath": "^5.0.11",
|
"@push.rocks/smartpath": "^5.0.11",
|
||||||
"@push.rocks/smartpromise": "^4.0.2",
|
"@push.rocks/smartpromise": "^4.0.2",
|
||||||
"@push.rocks/smartspawn": "^3.0.2",
|
"@push.rocks/smartspawn": "^3.0.2",
|
||||||
"@types/html-minifier": "^4.0.2",
|
"@types/html-minifier": "^4.0.5",
|
||||||
"esbuild": "^0.19.2",
|
"esbuild": "^0.19.11",
|
||||||
"html-minifier": "^4.0.0",
|
"html-minifier": "^4.0.0",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.3.3"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
|
2605
pnpm-lock.yaml
generated
2605
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,9 @@
|
|||||||
|
import * as smartdelay from '@push.rocks/smartdelay';
|
||||||
|
|
||||||
const myConst: string = 'hello';
|
const myConst: string = 'hello';
|
||||||
|
|
||||||
|
await smartdelay.delayFor(1000);
|
||||||
|
|
||||||
function sealed(constructor: Function) {
|
function sealed(constructor: Function) {
|
||||||
Object.seal(constructor);
|
Object.seal(constructor);
|
||||||
Object.seal(constructor.prototype);
|
Object.seal(constructor.prototype);
|
||||||
@ -15,4 +19,6 @@ class BugReport {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log(myConst);
|
console.log(myConst);
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsbundle',
|
name: '@git.zone/tsbundle',
|
||||||
version: '2.0.9',
|
version: '2.0.14',
|
||||||
description: 'a bundler using rollup for painless bundling of web projects'
|
description: 'a bundler using rollup for painless bundling of web projects'
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,10 @@ export class TsBundleProcess {
|
|||||||
bundle: true,
|
bundle: true,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
target: 'es2020',
|
target: 'es2022',
|
||||||
outfile: toArg,
|
entryNames: plugins.path.parse(toArg).name,
|
||||||
|
outdir: plugins.path.parse(toArg).dir,
|
||||||
|
// splitting: true,
|
||||||
tsconfig: paths.tsconfigPath
|
tsconfig: paths.tsconfigPath
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -46,10 +48,14 @@ export class TsBundleProcess {
|
|||||||
bundle: true,
|
bundle: true,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
target: 'es2020',
|
target: 'es2022',
|
||||||
minify: true,
|
minify: true,
|
||||||
outfile: toArg,
|
// outfile: toArg,
|
||||||
tsconfig: paths.tsconfigPath
|
entryNames: 'bundle',
|
||||||
|
outdir: plugins.path.parse(toArg).dir,
|
||||||
|
tsconfig: paths.tsconfigPath,
|
||||||
|
// splitting: true,
|
||||||
|
chunkNames: 'chunks/[name]-[hash]',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user