@tsed/cli 5.4.3 → 6.0.0-alpha.10
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/lib/esm/Cli.js +5 -19
- package/lib/esm/bin/tsed.js +15 -2
- package/lib/esm/commands/add/AddCmd.js +1 -5
- package/lib/esm/commands/generate/GenerateCmd.js +8 -15
- package/lib/esm/commands/generate/ProviderTypes.js +0 -1
- package/lib/esm/commands/index.js +3 -4
- package/lib/esm/commands/init/InitCmd.js +25 -32
- package/lib/esm/commands/init/config/FeaturesPrompt.js +6 -18
- package/lib/esm/commands/init/config/InitFileSchema.js +1 -2
- package/lib/esm/commands/init/interfaces/InitCmdContext.js +0 -1
- package/lib/esm/commands/init/interfaces/InitOptions.js +5 -2
- package/lib/esm/commands/init/interfaces/InitPromptAnswers.js +2 -2
- package/lib/esm/commands/init/mappers/mapToContext.js +0 -1
- package/lib/esm/commands/init/mappers/mapUniqFeatures.js +1 -1
- package/lib/esm/commands/init/prompts/getFeaturesPrompt.js +0 -1
- package/lib/esm/commands/init/utils/hasFeature.js +0 -1
- package/lib/esm/commands/init/utils/isPlatform.js +0 -1
- package/lib/esm/commands/run/RunCmd.js +5 -25
- package/lib/esm/commands/update/UpdateCmd.js +1 -7
- package/lib/esm/constants/index.js +3 -6
- package/lib/esm/index.js +8 -9
- package/lib/esm/interfaces/ArchitectureConvention.js +0 -1
- package/lib/esm/interfaces/PlatformType.js +0 -1
- package/lib/esm/interfaces/ProjectConvention.js +0 -1
- package/lib/esm/interfaces/index.js +2 -3
- package/lib/esm/loaders/alias.hook.js +9 -0
- package/lib/esm/pipes/ClassNamePipe.js +3 -6
- package/lib/esm/pipes/OutputFilePathPipe.js +1 -5
- package/lib/esm/pipes/RoutePipe.js +3 -4
- package/lib/esm/pipes/index.js +0 -1
- package/lib/esm/platforms/InitPlatformsModule.js +1 -3
- package/lib/esm/platforms/supports/InitBasePlatform.js +0 -1
- package/lib/esm/platforms/supports/InitExpressPlatform.js +3 -2
- package/lib/esm/platforms/supports/InitKoaPlatform.js +3 -2
- package/lib/esm/runtimes/RuntimesModule.js +5 -9
- package/lib/esm/runtimes/index.js +0 -2
- package/lib/esm/runtimes/supports/BabelRuntime.js +14 -5
- package/lib/esm/runtimes/supports/BaseRuntime.js +7 -5
- package/lib/esm/runtimes/supports/BunRuntime.js +12 -5
- package/lib/esm/runtimes/supports/NodeRuntime.js +28 -15
- package/lib/esm/runtimes/supports/WebpackRuntime.js +10 -4
- package/lib/esm/services/ProvidersInfoService.js +4 -3
- package/lib/esm/utils/fillImports.js +7 -8
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/Cli.d.ts +3 -4
- package/lib/types/commands/add/AddCmd.d.ts +1 -1
- package/lib/types/commands/generate/GenerateCmd.d.ts +7 -6
- package/lib/types/commands/index.d.ts +6 -6
- package/lib/types/commands/init/InitCmd.d.ts +6 -6
- package/lib/types/commands/init/config/FeaturesPrompt.d.ts +1 -2
- package/lib/types/commands/init/config/InitFileSchema.d.ts +2 -2
- package/lib/types/commands/init/interfaces/InitCmdContext.d.ts +2 -2
- package/lib/types/commands/init/interfaces/InitOptions.d.ts +4 -4
- package/lib/types/commands/init/interfaces/InitPromptAnswers.d.ts +1 -1
- package/lib/types/commands/init/mappers/mapToContext.d.ts +1 -1
- package/lib/types/commands/init/mappers/mapUniqFeatures.d.ts +2 -2
- package/lib/types/commands/init/prompts/getFeaturesPrompt.d.ts +1 -1
- package/lib/types/commands/run/RunCmd.d.ts +1 -2
- package/lib/types/commands/update/UpdateCmd.d.ts +1 -1
- package/lib/types/constants/index.d.ts +1 -1
- package/lib/types/index.d.ts +15 -15
- package/lib/types/interfaces/index.d.ts +3 -3
- package/lib/types/loaders/alias.hook.d.ts +2 -0
- package/lib/types/pipes/ClassNamePipe.d.ts +2 -2
- package/lib/types/pipes/OutputFilePathPipe.d.ts +3 -3
- package/lib/types/pipes/index.d.ts +3 -3
- package/lib/types/platforms/InitPlatformsModule.d.ts +1 -1
- package/lib/types/platforms/supports/InitExpressPlatform.d.ts +1 -1
- package/lib/types/platforms/supports/InitKoaPlatform.d.ts +1 -1
- package/lib/types/runtimes/RuntimesModule.d.ts +1 -1
- package/lib/types/runtimes/index.d.ts +6 -7
- package/lib/types/runtimes/supports/BabelRuntime.d.ts +4 -1
- package/lib/types/runtimes/supports/BaseRuntime.d.ts +1 -0
- package/lib/types/runtimes/supports/BunRuntime.d.ts +2 -1
- package/lib/types/runtimes/supports/NodeRuntime.d.ts +6 -4
- package/lib/types/runtimes/supports/WebpackRuntime.d.ts +3 -1
- package/package.json +52 -49
- package/templates/init/{.barrelsby.json.hbs → .barrels.json.hbs} +3 -3
- package/templates/init/.dockerignore.hbs +1 -0
- package/templates/init/.swcrc.hbs +1 -1
- package/templates/init/README.md.hbs +6 -6
- package/templates/init/docker/bun/Dockerfile.hbs +2 -2
- package/templates/init/docker/npm/Dockerfile.hbs +5 -5
- package/templates/init/docker/pnpm/Dockerfile.hbs +5 -5
- package/templates/init/docker/yarn/Dockerfile.hbs +5 -5
- package/templates/init/docker/yarn_berry/Dockerfile.hbs +5 -5
- package/templates/init/nodemon.json.hbs +9 -0
- package/templates/init/pm2/bun/processes.config.cjs.hbs +23 -0
- package/templates/init/{processes.config.js.hbs → pm2/node-compiled/processes.config.cjs.hbs} +3 -4
- package/templates/init/pm2/node-loader/processes.config.cjs.hbs +24 -0
- package/templates/init/src/bin/index.ts.hbs +2 -2
- package/templates/init/src/config/index.ts.hbs +4 -4
- package/templates/init/src/index.ts.hbs +1 -1
- package/templates/init/tsconfig.base.json.hbs +29 -0
- package/templates/init/tsconfig.json.hbs +11 -35
- package/templates/init/tsconfig.node.json.hbs +20 -0
- package/templates/init/tsconfig.spec.json.hbs +24 -0
- package/lib/cjs/Cli.js +0 -75
- package/lib/cjs/Cli.js.map +0 -1
- package/lib/cjs/bin/tsed.js +0 -9
- package/lib/cjs/bin/tsed.js.map +0 -1
- package/lib/cjs/commands/add/AddCmd.js +0 -68
- package/lib/cjs/commands/add/AddCmd.js.map +0 -1
- package/lib/cjs/commands/generate/GenerateCmd.js +0 -263
- package/lib/cjs/commands/generate/GenerateCmd.js.map +0 -1
- package/lib/cjs/commands/generate/ProviderTypes.js +0 -107
- package/lib/cjs/commands/generate/ProviderTypes.js.map +0 -1
- package/lib/cjs/commands/index.js +0 -9
- package/lib/cjs/commands/index.js.map +0 -1
- package/lib/cjs/commands/init/InitCmd.js +0 -439
- package/lib/cjs/commands/init/InitCmd.js.map +0 -1
- package/lib/cjs/commands/init/config/FeaturesPrompt.js +0 -398
- package/lib/cjs/commands/init/config/FeaturesPrompt.js.map +0 -1
- package/lib/cjs/commands/init/config/InitFileSchema.js +0 -53
- package/lib/cjs/commands/init/config/InitFileSchema.js.map +0 -1
- package/lib/cjs/commands/init/interfaces/InitCmdContext.js +0 -3
- package/lib/cjs/commands/init/interfaces/InitCmdContext.js.map +0 -1
- package/lib/cjs/commands/init/interfaces/InitOptions.js +0 -3
- package/lib/cjs/commands/init/interfaces/InitOptions.js.map +0 -1
- package/lib/cjs/commands/init/interfaces/InitPromptAnswers.js +0 -3
- package/lib/cjs/commands/init/interfaces/InitPromptAnswers.js.map +0 -1
- package/lib/cjs/commands/init/mappers/mapToContext.js +0 -16
- package/lib/cjs/commands/init/mappers/mapToContext.js.map +0 -1
- package/lib/cjs/commands/init/mappers/mapUniqFeatures.js +0 -18
- package/lib/cjs/commands/init/mappers/mapUniqFeatures.js.map +0 -1
- package/lib/cjs/commands/init/prompts/getFeaturesPrompt.js +0 -25
- package/lib/cjs/commands/init/prompts/getFeaturesPrompt.js.map +0 -1
- package/lib/cjs/commands/init/utils/hasFeature.js +0 -13
- package/lib/cjs/commands/init/utils/hasFeature.js.map +0 -1
- package/lib/cjs/commands/init/utils/isPlatform.js +0 -8
- package/lib/cjs/commands/init/utils/isPlatform.js.map +0 -1
- package/lib/cjs/commands/run/RunCmd.js +0 -71
- package/lib/cjs/commands/run/RunCmd.js.map +0 -1
- package/lib/cjs/commands/update/UpdateCmd.js +0 -128
- package/lib/cjs/commands/update/UpdateCmd.js.map +0 -1
- package/lib/cjs/constants/index.js +0 -16
- package/lib/cjs/constants/index.js.map +0 -1
- package/lib/cjs/index.js +0 -19
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/interfaces/ArchitectureConvention.js +0 -9
- package/lib/cjs/interfaces/ArchitectureConvention.js.map +0 -1
- package/lib/cjs/interfaces/PlatformType.js +0 -9
- package/lib/cjs/interfaces/PlatformType.js.map +0 -1
- package/lib/cjs/interfaces/ProjectConvention.js +0 -9
- package/lib/cjs/interfaces/ProjectConvention.js.map +0 -1
- package/lib/cjs/interfaces/index.js +0 -7
- package/lib/cjs/interfaces/index.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/pipes/ClassNamePipe.js +0 -46
- package/lib/cjs/pipes/ClassNamePipe.js.map +0 -1
- package/lib/cjs/pipes/OutputFilePathPipe.js +0 -41
- package/lib/cjs/pipes/OutputFilePathPipe.js.map +0 -1
- package/lib/cjs/pipes/RoutePipe.js +0 -26
- package/lib/cjs/pipes/RoutePipe.js.map +0 -1
- package/lib/cjs/pipes/index.js +0 -7
- package/lib/cjs/pipes/index.js.map +0 -1
- package/lib/cjs/platforms/InitPlatformsModule.js +0 -26
- package/lib/cjs/platforms/InitPlatformsModule.js.map +0 -1
- package/lib/cjs/platforms/supports/InitBasePlatform.js +0 -3
- package/lib/cjs/platforms/supports/InitBasePlatform.js.map +0 -1
- package/lib/cjs/platforms/supports/InitExpressPlatform.js +0 -35
- package/lib/cjs/platforms/supports/InitExpressPlatform.js.map +0 -1
- package/lib/cjs/platforms/supports/InitKoaPlatform.js +0 -39
- package/lib/cjs/platforms/supports/InitKoaPlatform.js.map +0 -1
- package/lib/cjs/runtimes/RuntimesModule.js +0 -67
- package/lib/cjs/runtimes/RuntimesModule.js.map +0 -1
- package/lib/cjs/runtimes/index.js +0 -11
- package/lib/cjs/runtimes/index.js.map +0 -1
- package/lib/cjs/runtimes/supports/BabelRuntime.js +0 -41
- package/lib/cjs/runtimes/supports/BabelRuntime.js.map +0 -1
- package/lib/cjs/runtimes/supports/BaseRuntime.js +0 -45
- package/lib/cjs/runtimes/supports/BaseRuntime.js.map +0 -1
- package/lib/cjs/runtimes/supports/BunRuntime.js +0 -27
- package/lib/cjs/runtimes/supports/BunRuntime.js.map +0 -1
- package/lib/cjs/runtimes/supports/NodeRuntime.js +0 -33
- package/lib/cjs/runtimes/supports/NodeRuntime.js.map +0 -1
- package/lib/cjs/runtimes/supports/SWCRuntime.js +0 -35
- package/lib/cjs/runtimes/supports/SWCRuntime.js.map +0 -1
- package/lib/cjs/runtimes/supports/WebpackRuntime.js +0 -35
- package/lib/cjs/runtimes/supports/WebpackRuntime.js.map +0 -1
- package/lib/cjs/services/ProvidersInfoService.js +0 -48
- package/lib/cjs/services/ProvidersInfoService.js.map +0 -1
- package/lib/cjs/utils/fillImports.js +0 -40
- package/lib/cjs/utils/fillImports.js.map +0 -1
- package/lib/esm/Cli.js.map +0 -1
- package/lib/esm/bin/tsed.js.map +0 -1
- package/lib/esm/commands/add/AddCmd.js.map +0 -1
- package/lib/esm/commands/generate/GenerateCmd.js.map +0 -1
- package/lib/esm/commands/generate/ProviderTypes.js.map +0 -1
- package/lib/esm/commands/index.js.map +0 -1
- package/lib/esm/commands/init/InitCmd.js.map +0 -1
- package/lib/esm/commands/init/config/FeaturesPrompt.js.map +0 -1
- package/lib/esm/commands/init/config/InitFileSchema.js.map +0 -1
- package/lib/esm/commands/init/interfaces/InitCmdContext.js.map +0 -1
- package/lib/esm/commands/init/interfaces/InitOptions.js.map +0 -1
- package/lib/esm/commands/init/interfaces/InitPromptAnswers.js.map +0 -1
- package/lib/esm/commands/init/mappers/mapToContext.js.map +0 -1
- package/lib/esm/commands/init/mappers/mapUniqFeatures.js.map +0 -1
- package/lib/esm/commands/init/prompts/getFeaturesPrompt.js.map +0 -1
- package/lib/esm/commands/init/utils/hasFeature.js.map +0 -1
- package/lib/esm/commands/init/utils/isPlatform.js.map +0 -1
- package/lib/esm/commands/run/RunCmd.js.map +0 -1
- package/lib/esm/commands/update/UpdateCmd.js.map +0 -1
- package/lib/esm/constants/index.js.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/interfaces/ArchitectureConvention.js.map +0 -1
- package/lib/esm/interfaces/PlatformType.js.map +0 -1
- package/lib/esm/interfaces/ProjectConvention.js.map +0 -1
- package/lib/esm/interfaces/index.js.map +0 -1
- package/lib/esm/package.json +0 -3
- package/lib/esm/pipes/ClassNamePipe.js.map +0 -1
- package/lib/esm/pipes/OutputFilePathPipe.js.map +0 -1
- package/lib/esm/pipes/RoutePipe.js.map +0 -1
- package/lib/esm/pipes/index.js.map +0 -1
- package/lib/esm/platforms/InitPlatformsModule.js.map +0 -1
- package/lib/esm/platforms/supports/InitBasePlatform.js.map +0 -1
- package/lib/esm/platforms/supports/InitExpressPlatform.js.map +0 -1
- package/lib/esm/platforms/supports/InitKoaPlatform.js.map +0 -1
- package/lib/esm/runtimes/RuntimesModule.js.map +0 -1
- package/lib/esm/runtimes/index.js.map +0 -1
- package/lib/esm/runtimes/supports/BabelRuntime.js.map +0 -1
- package/lib/esm/runtimes/supports/BaseRuntime.js.map +0 -1
- package/lib/esm/runtimes/supports/BunRuntime.js.map +0 -1
- package/lib/esm/runtimes/supports/NodeRuntime.js.map +0 -1
- package/lib/esm/runtimes/supports/SWCRuntime.js +0 -32
- package/lib/esm/runtimes/supports/SWCRuntime.js.map +0 -1
- package/lib/esm/runtimes/supports/WebpackRuntime.js.map +0 -1
- package/lib/esm/services/ProvidersInfoService.js.map +0 -1
- package/lib/esm/utils/fillImports.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/runtimes/supports/SWCRuntime.d.ts +0 -9
- package/templates/init/.node-dev.json.hbs +0 -5
- package/templates/init/tsconfig.compile.json.hbs +0 -15
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"baseUrl": ".",
|
|
5
|
-
"outDir": "./dist",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"declaration": true,
|
|
8
|
-
"noResolve": false,
|
|
9
|
-
"preserveConstEnums": true,
|
|
10
|
-
"sourceMap": true,
|
|
11
|
-
"noEmit": false,
|
|
12
|
-
"emitDeclarationOnly": {{#if babel }}true{{else}}false{{/if}},
|
|
13
|
-
"inlineSources": true
|
|
14
|
-
}
|
|
15
|
-
}
|