fix(core): update
This commit is contained in:
		| @@ -13,31 +13,24 @@ stages: | ||||
|   - metadata | ||||
|  | ||||
| before_script: | ||||
|   - npm install -g @shipzone/npmci | ||||
|   - pnpm install -g pnpm | ||||
|   - pnpm install -g @shipzone/npmci | ||||
|   - npmci npm prepare | ||||
|  | ||||
| # ==================== | ||||
| # security stage | ||||
| # ==================== | ||||
| mirror: | ||||
|   stage: security | ||||
|   script: | ||||
|     - npmci git mirror | ||||
|   only: | ||||
|     - tags | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|     - notpriv | ||||
|  | ||||
| # ==================== | ||||
| # security stage | ||||
| # ==================== | ||||
| auditProductionDependencies: | ||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||
|   stage: security | ||||
|   script: | ||||
|     - npmci npm prepare | ||||
|     - npmci command npm install --production --ignore-scripts | ||||
|     - npmci command npm config set registry https://registry.npmjs.org | ||||
|     - npmci command npm audit --audit-level=high --only=prod --production | ||||
|      - npmci command npm config set registry https://registry.npmjs.org | ||||
|      - npmci command pnpm audit --audit-level=high --prod | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|   allow_failure: true | ||||
|  | ||||
| @@ -45,11 +38,10 @@ auditDevDependencies: | ||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||
|   stage: security | ||||
|   script: | ||||
|     - npmci npm prepare | ||||
|     - npmci command npm install --ignore-scripts | ||||
|     - npmci command npm config set registry https://registry.npmjs.org | ||||
|     - npmci command npm audit --audit-level=high --only=dev | ||||
|     - npmci command pnpm audit --audit-level=high --dev | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|   allow_failure: true | ||||
|  | ||||
| @@ -60,7 +52,6 @@ auditDevDependencies: | ||||
| testStable: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci npm prepare | ||||
|     - npmci node install stable | ||||
|     - npmci npm install | ||||
|     - npmci npm test | ||||
| @@ -71,10 +62,9 @@ testStable: | ||||
| testBuild: | ||||
|   stage: test | ||||
|   script: | ||||
|     - npmci npm prepare | ||||
|     - npmci node install stable | ||||
|     - npmci npm install | ||||
|     - npmci command npm run build | ||||
|     - npmci npm build | ||||
|   coverage: /\d+.?\d+?\%\s*coverage/ | ||||
|   tags: | ||||
|     - docker | ||||
| @@ -122,11 +112,9 @@ trigger: | ||||
| pages: | ||||
|   stage: metadata | ||||
|   script: | ||||
|     - npmci node install lts | ||||
|     - npmci command npm install -g @gitzone/tsdoc | ||||
|     - npmci npm prepare | ||||
|     - npmci node install stable | ||||
|     - npmci npm install | ||||
|     - npmci command tsdoc | ||||
|     - npmci command npm run buildDocs | ||||
|   tags: | ||||
|     - lossless | ||||
|     - docker | ||||
|   | ||||
							
								
								
									
										6522
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6522
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										21
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								package.json
									
									
									
									
									
								
							| @@ -12,7 +12,8 @@ | ||||
|   "scripts": { | ||||
|     "test": "tsrun test/test.ts", | ||||
|     "testCustom": "node cli.ts.js custom ts_web", | ||||
|     "build": "node cli.ts.js --web --allowimplicitany" | ||||
|     "build": "node cli.ts.js --web --allowimplicitany", | ||||
|     "buildDocs": "tsdoc" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
| @@ -29,18 +30,18 @@ | ||||
|   "homepage": "https://gitlab.com/pushrocks/tsn#README", | ||||
|   "dependencies": { | ||||
|     "@pushrocks/early": "^4.0.3", | ||||
|     "@pushrocks/smartcli": "^4.0.3", | ||||
|     "@pushrocks/smartdelay": "^2.0.13", | ||||
|     "@pushrocks/smartfile": "^10.0.4", | ||||
|     "@pushrocks/smartlog": "^3.0.1", | ||||
|     "@pushrocks/smartcli": "^4.0.6", | ||||
|     "@pushrocks/smartdelay": "^3.0.1", | ||||
|     "@pushrocks/smartfile": "^10.0.7", | ||||
|     "@pushrocks/smartlog": "^3.0.2", | ||||
|     "@pushrocks/smartpath": "^5.0.5", | ||||
|     "@pushrocks/smartpromise": "^3.1.7", | ||||
|     "typescript": "^4.7.4" | ||||
|     "@pushrocks/smartpromise": "^4.0.2", | ||||
|     "typescript": "^5.1.3" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@gitzone/tsrun": "^1.2.37", | ||||
|     "@gitzone/tsrun": "^1.2.41", | ||||
|     "@pushrocks/tapbundle": "^5.0.4", | ||||
|     "@types/node": "^18.6.3" | ||||
|     "@types/node": "^20.2.5" | ||||
|   }, | ||||
|   "files": [ | ||||
|     "ts/**/*", | ||||
| @@ -57,4 +58,4 @@ | ||||
|   "browserslist": [ | ||||
|     "last 1 chrome versions" | ||||
|   ] | ||||
| } | ||||
| } | ||||
							
								
								
									
										2313
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										2313
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -21,7 +21,6 @@ Code Style | [](htt | ||||
| PackagePhobia (total standalone install weight) | [](https://lossless.cloud) | ||||
| PackagePhobia (package size on registry) | [](https://lossless.cloud) | ||||
| BundlePhobia (total size when bundled) | [](https://lossless.cloud) | ||||
| Platform support | [](https://lossless.cloud) [](https://lossless.cloud) | ||||
|  | ||||
| ## Usage | ||||
|  | ||||
| @@ -80,7 +79,6 @@ We are always happy for code contributions. If you are not the code contributing | ||||
|  | ||||
| For further information read the linked docs at the top of this readme. | ||||
|  | ||||
| > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) | ||||
| ## Legal | ||||
| > MIT licensed | **©** [Task Venture Capital GmbH](https://task.vc) | ||||
| | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy) | ||||
|  | ||||
| [](https://maintainedby.lossless.com) | ||||
|   | ||||
							
								
								
									
										2
									
								
								test/assets/output/tocompile2.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								test/assets/output/tocompile2.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -1 +1 @@ | ||||
| export declare const anExportedString = "exported string"; | ||||
| export declare const anExportedString = 'exported string'; | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@gitzone/tsbuild', | ||||
|   version: '2.1.65', | ||||
|   version: '2.1.66', | ||||
|   description: 'TypeScript nightly to easily make use of latest features' | ||||
| } | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| // import all the stuff we need | ||||
| import * as plugins from './tsbuild.plugins.js'; | ||||
| import { CompilerOptions, ScriptTarget, ModuleKind } from './tsbuild.exports.js'; | ||||
| import type { CompilerOptions, ScriptTarget, ModuleKind } from './tsbuild.exports.js'; | ||||
|  | ||||
| /** | ||||
|  * the default typescript compilerOptions | ||||
| @@ -19,7 +19,7 @@ export const compilerOptionsDefault: CompilerOptions = { | ||||
|   noImplicitAny: true, | ||||
|   esModuleInterop: true, | ||||
|   useDefineForClassFields: false, | ||||
|   importsNotUsedAsValues: plugins.typescript.ImportsNotUsedAsValues.Preserve, | ||||
|   verbatimModuleSyntax: true, | ||||
| }; | ||||
|  | ||||
| /** | ||||
| @@ -67,7 +67,7 @@ export const compiler = async ( | ||||
|   if (options.skipLibCheck) { | ||||
|     console.log('? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'); | ||||
|     console.log('You are skipping libcheck... Is that really wanted?'); | ||||
|     console.log('continuing in 5 seconds...') | ||||
|     console.log('continuing in 5 seconds...'); | ||||
|     console.log('? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'); | ||||
|     await plugins.smartdelay.delayFor(5000); | ||||
|   } | ||||
|   | ||||
							
								
								
									
										11
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| { | ||||
|   "compilerOptions": { | ||||
|     "experimentalDecorators": true, | ||||
|     "useDefineForClassFields": false, | ||||
|     "target": "ES2022", | ||||
|     "module": "ES2022", | ||||
|     "moduleResolution": "nodenext", | ||||
|     "esModuleInterop": true, | ||||
|     "verbatimModuleSyntax": true | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user