fix(core): update

This commit is contained in:
Philipp Kunz 2023-10-03 19:12:49 +02:00
parent 8bd279637b
commit 73a6ce2786
5 changed files with 672 additions and 1161 deletions

View File

@ -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.81",
"@push.rocks/tapbundle": "^5.0.15", "@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.5.6" "@types/node": "^20.8.2"
}, },
"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": "^10.0.32",
"@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.3",
"esbuild": "^0.19.2", "esbuild": "^0.19.4",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"typescript": "5.1.6" "typescript": "5.2.2"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

1806
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -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);

View File

@ -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.10',
description: 'a bundler using rollup for painless bundling of web projects' description: 'a bundler using rollup for painless bundling of web projects'
} }

View File

@ -23,7 +23,7 @@ export class TsBundleProcess {
bundle: true, bundle: true,
sourcemap: true, sourcemap: true,
format: 'esm', format: 'esm',
target: 'es2020', target: 'es2022',
outfile: toArg, outfile: toArg,
tsconfig: paths.tsconfigPath tsconfig: paths.tsconfigPath
}); });
@ -46,7 +46,7 @@ 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 tsconfig: paths.tsconfigPath