@nikovirtala/projen-constructs 0.2.157 → 0.3.0

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.
Files changed (106) hide show
  1. package/.jsii +1077 -818
  2. package/.kiro/steering/product.md +1 -1
  3. package/.kiro/steering/tech.md +6 -4
  4. package/API.md +9711 -5492
  5. package/docs/api/assets/highlight.css +1 -1
  6. package/docs/api/assets/main.js +1 -1
  7. package/docs/api/assets/search.js +1 -1
  8. package/docs/api/assets/style.css +18 -3
  9. package/docs/api/classes/AwsCdkConstructLibraryProject.html +997 -162
  10. package/docs/api/classes/AwsCdkTypeScriptAppProject.html +1015 -157
  11. package/docs/api/classes/Bundler.html +267 -17
  12. package/docs/api/classes/Colima.html +221 -16
  13. package/docs/api/classes/Homebrew.html +244 -16
  14. package/docs/api/classes/JsiiProject.html +983 -150
  15. package/docs/api/classes/LambdaFunctionCodeBundle.html +222 -16
  16. package/docs/api/classes/LambdaFunctionCodeBundler.html +222 -16
  17. package/docs/api/classes/LambdaFunctionConstructGenerator.html +243 -16
  18. package/docs/api/classes/LocalStack.html +222 -16
  19. package/docs/api/classes/Mise.html +233 -16
  20. package/docs/api/classes/ProjectGenerator.html +229 -19
  21. package/docs/api/classes/TypeDoc.html +246 -19
  22. package/docs/api/classes/TypeScriptProject.html +983 -150
  23. package/docs/api/classes/Vitest.html +295 -16
  24. package/docs/api/enums/CommentStyle.html +74 -8
  25. package/docs/api/enums/CoverageProvider.html +65 -6
  26. package/docs/api/enums/CoverageReporter.html +72 -7
  27. package/docs/api/enums/EntryPointStrategy.html +74 -8
  28. package/docs/api/enums/Environment.html +79 -9
  29. package/docs/api/enums/LogLevel.html +79 -9
  30. package/docs/api/enums/Pool.html +75 -8
  31. package/docs/api/enums/ProjectType.html +149 -27
  32. package/docs/api/enums/Visibility.html +69 -7
  33. package/docs/api/functions/applyDefaults.html +41 -1
  34. package/docs/api/functions/convertToPosixPath.html +40 -1
  35. package/docs/api/functions/renderBundleName.html +40 -1
  36. package/docs/api/functions/toJson_TypeDocConfiguration.html +42 -2
  37. package/docs/api/hierarchy.html +29 -1
  38. package/docs/api/index.html +60 -2
  39. package/docs/api/interfaces/AwsCdkConstructLibraryProjectOptions.html +2404 -770
  40. package/docs/api/interfaces/AwsCdkTypeScriptAppProjectOptions.html +2302 -740
  41. package/docs/api/interfaces/Bundle.html +57 -2
  42. package/docs/api/interfaces/BundlerOptions.html +60 -2
  43. package/docs/api/interfaces/BundlingOptions.html +84 -2
  44. package/docs/api/interfaces/Component.html +70 -7
  45. package/docs/api/interfaces/ComponentOptions.html +66 -6
  46. package/docs/api/interfaces/HomebrewOptions.html +51 -2
  47. package/docs/api/interfaces/JsiiProjectOptions.html +2263 -713
  48. package/docs/api/interfaces/LambdaFunctionCodeBundleOptions.html +63 -2
  49. package/docs/api/interfaces/LambdaFunctionCodeBundlerOptions.html +57 -2
  50. package/docs/api/interfaces/LambdaFunctionConstructGeneratorOptions.html +72 -2
  51. package/docs/api/interfaces/LocalStackOptions.html +60 -2
  52. package/docs/api/interfaces/MiseOptions.html +51 -2
  53. package/docs/api/interfaces/ProjectGeneratorOptions.html +136 -20
  54. package/docs/api/interfaces/TypeDocConfiguration.html +469 -96
  55. package/docs/api/interfaces/TypeDocOptions.html +62 -5
  56. package/docs/api/interfaces/TypeScriptProjectOptions.html +2032 -638
  57. package/docs/api/interfaces/ValidationOptions.html +70 -7
  58. package/docs/api/interfaces/VitestConfigOptions.html +268 -57
  59. package/docs/api/interfaces/VitestOptions.html +71 -7
  60. package/docs/api/modules.html +52 -1
  61. package/docs/api/variables/defaultOptions.html +40 -1
  62. package/docs/api/variables/defaults.html +48 -1
  63. package/docs/api/variables/projectDefaultOptions.html +120 -1
  64. package/lib/bundle-vitest-define-config.js +37 -4
  65. package/lib/components/bundle-lambda-function-code.js +43 -9
  66. package/lib/components/colima.js +6 -4
  67. package/lib/components/homebrew.js +10 -4
  68. package/lib/components/lambda-function-construct-generator.js +47 -6
  69. package/lib/components/localstack.js +2 -4
  70. package/lib/components/mise.js +2 -4
  71. package/lib/components/typedoc.js +11 -4
  72. package/lib/components/vitest.d.ts +1 -1
  73. package/lib/components/vitest.js +58 -6
  74. package/lib/config.d.ts +52 -6
  75. package/lib/config.js +87 -10
  76. package/lib/errors.js +7 -1
  77. package/lib/project-generator.js +46 -9
  78. package/lib/project-type.d.ts +0 -8
  79. package/lib/project-type.js +1 -9
  80. package/lib/projects/awscdk-construct-library-options.generated.d.ts +72 -18
  81. package/lib/projects/awscdk-construct-library-options.generated.js +1 -1
  82. package/lib/projects/awscdk-construct-library.generated.d.ts +1 -1
  83. package/lib/projects/awscdk-construct-library.generated.js +2 -4
  84. package/lib/projects/awscdk-typescript-app-options.generated.d.ts +63 -17
  85. package/lib/projects/awscdk-typescript-app-options.generated.js +1 -1
  86. package/lib/projects/awscdk-typescript-app.generated.d.ts +1 -1
  87. package/lib/projects/awscdk-typescript-app.generated.js +2 -4
  88. package/lib/projects/jsii-options.generated.d.ts +72 -10
  89. package/lib/projects/jsii-options.generated.js +1 -1
  90. package/lib/projects/jsii.generated.d.ts +1 -1
  91. package/lib/projects/jsii.generated.js +2 -4
  92. package/lib/projects/typescript-options.generated.d.ts +63 -9
  93. package/lib/projects/typescript-options.generated.js +1 -1
  94. package/lib/projects/typescript.generated.d.ts +1 -1
  95. package/lib/projects/typescript.generated.js +2 -4
  96. package/lib/utils.d.ts +8 -0
  97. package/lib/utils.js +11 -2
  98. package/node_modules/@jsii/spec/lib/assembly-utils.js +36 -3
  99. package/node_modules/@jsii/spec/lib/validators.js +1 -1
  100. package/node_modules/@jsii/spec/package.json +4 -4
  101. package/package.json +19 -20
  102. package/pnpm-workspace.yaml +8 -0
  103. package/lib/components/vitest-bundled-define-config.d.ts +0 -1
  104. package/lib/components/vitest-bundled-define-config.js +0 -6
  105. package/lib/vitest-define-config-entry.d.ts +0 -1
  106. package/lib/vitest-define-config-entry.js +0 -6
@@ -17,7 +17,7 @@ Automates project scaffolding and configuration for TypeScript, JSII, and AWS CD
17
17
  ## Standard Defaults
18
18
 
19
19
  - Author: Niko Virtala (niko.virtala@hey.com)
20
- - Package Manager: pnpm 10
20
+ - Package Manager: pnpm 11
21
21
  - Node Version: 24.11.1
22
22
  - TypeScript: 5.9.3
23
23
  - CDK Version: 2.223.0
@@ -18,7 +18,7 @@ This project is **entirely managed by projen**. Key implications:
18
18
  - **TypeScript 5.9.3** - Primary language
19
19
  - **Node.js 24.11.1** - Runtime (managed via mise)
20
20
  - **JSII ~5.9.3** - Multi-language library support
21
- - **pnpm 10** - Package manager
21
+ - **pnpm 11** - Package manager (settings live in `pnpm-workspace.yaml`, not `.npmrc`)
22
22
 
23
23
  ## Code Quality
24
24
 
@@ -98,10 +98,12 @@ To modify generated files, edit `.projenrc.ts` and run `pnpm projen`.
98
98
 
99
99
  ## TypeScript Configuration
100
100
 
101
- - **tsconfig.dev.json** - Development config (includes src, test, .projenrc.ts)
101
+ - **tsconfig.json** - Compile config (src -> lib), validated by jsii against its `strict` rule set
102
+ - **test/tsconfig.json** - Development/type-check config, extends the root config
103
+ - **projenrc/tsconfig.json** - Config covering `.projenrc.ts`
102
104
  - Strict mode enabled with all strict checks
103
- - ES2020 target and lib
104
- - CommonJS module for JSII compatibility
105
+ - ES2022 target and lib
106
+ - node16 module for JSII compatibility
105
107
  - Source maps inlined
106
108
 
107
109
  ## Version Management