@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.
- package/.jsii +1077 -818
- package/.kiro/steering/product.md +1 -1
- package/.kiro/steering/tech.md +6 -4
- package/API.md +9711 -5492
- package/docs/api/assets/highlight.css +1 -1
- package/docs/api/assets/main.js +1 -1
- package/docs/api/assets/search.js +1 -1
- package/docs/api/assets/style.css +18 -3
- package/docs/api/classes/AwsCdkConstructLibraryProject.html +997 -162
- package/docs/api/classes/AwsCdkTypeScriptAppProject.html +1015 -157
- package/docs/api/classes/Bundler.html +267 -17
- package/docs/api/classes/Colima.html +221 -16
- package/docs/api/classes/Homebrew.html +244 -16
- package/docs/api/classes/JsiiProject.html +983 -150
- package/docs/api/classes/LambdaFunctionCodeBundle.html +222 -16
- package/docs/api/classes/LambdaFunctionCodeBundler.html +222 -16
- package/docs/api/classes/LambdaFunctionConstructGenerator.html +243 -16
- package/docs/api/classes/LocalStack.html +222 -16
- package/docs/api/classes/Mise.html +233 -16
- package/docs/api/classes/ProjectGenerator.html +229 -19
- package/docs/api/classes/TypeDoc.html +246 -19
- package/docs/api/classes/TypeScriptProject.html +983 -150
- package/docs/api/classes/Vitest.html +295 -16
- package/docs/api/enums/CommentStyle.html +74 -8
- package/docs/api/enums/CoverageProvider.html +65 -6
- package/docs/api/enums/CoverageReporter.html +72 -7
- package/docs/api/enums/EntryPointStrategy.html +74 -8
- package/docs/api/enums/Environment.html +79 -9
- package/docs/api/enums/LogLevel.html +79 -9
- package/docs/api/enums/Pool.html +75 -8
- package/docs/api/enums/ProjectType.html +149 -27
- package/docs/api/enums/Visibility.html +69 -7
- package/docs/api/functions/applyDefaults.html +41 -1
- package/docs/api/functions/convertToPosixPath.html +40 -1
- package/docs/api/functions/renderBundleName.html +40 -1
- package/docs/api/functions/toJson_TypeDocConfiguration.html +42 -2
- package/docs/api/hierarchy.html +29 -1
- package/docs/api/index.html +60 -2
- package/docs/api/interfaces/AwsCdkConstructLibraryProjectOptions.html +2404 -770
- package/docs/api/interfaces/AwsCdkTypeScriptAppProjectOptions.html +2302 -740
- package/docs/api/interfaces/Bundle.html +57 -2
- package/docs/api/interfaces/BundlerOptions.html +60 -2
- package/docs/api/interfaces/BundlingOptions.html +84 -2
- package/docs/api/interfaces/Component.html +70 -7
- package/docs/api/interfaces/ComponentOptions.html +66 -6
- package/docs/api/interfaces/HomebrewOptions.html +51 -2
- package/docs/api/interfaces/JsiiProjectOptions.html +2263 -713
- package/docs/api/interfaces/LambdaFunctionCodeBundleOptions.html +63 -2
- package/docs/api/interfaces/LambdaFunctionCodeBundlerOptions.html +57 -2
- package/docs/api/interfaces/LambdaFunctionConstructGeneratorOptions.html +72 -2
- package/docs/api/interfaces/LocalStackOptions.html +60 -2
- package/docs/api/interfaces/MiseOptions.html +51 -2
- package/docs/api/interfaces/ProjectGeneratorOptions.html +136 -20
- package/docs/api/interfaces/TypeDocConfiguration.html +469 -96
- package/docs/api/interfaces/TypeDocOptions.html +62 -5
- package/docs/api/interfaces/TypeScriptProjectOptions.html +2032 -638
- package/docs/api/interfaces/ValidationOptions.html +70 -7
- package/docs/api/interfaces/VitestConfigOptions.html +268 -57
- package/docs/api/interfaces/VitestOptions.html +71 -7
- package/docs/api/modules.html +52 -1
- package/docs/api/variables/defaultOptions.html +40 -1
- package/docs/api/variables/defaults.html +48 -1
- package/docs/api/variables/projectDefaultOptions.html +120 -1
- package/lib/bundle-vitest-define-config.js +37 -4
- package/lib/components/bundle-lambda-function-code.js +43 -9
- package/lib/components/colima.js +6 -4
- package/lib/components/homebrew.js +10 -4
- package/lib/components/lambda-function-construct-generator.js +47 -6
- package/lib/components/localstack.js +2 -4
- package/lib/components/mise.js +2 -4
- package/lib/components/typedoc.js +11 -4
- package/lib/components/vitest.d.ts +1 -1
- package/lib/components/vitest.js +58 -6
- package/lib/config.d.ts +52 -6
- package/lib/config.js +87 -10
- package/lib/errors.js +7 -1
- package/lib/project-generator.js +46 -9
- package/lib/project-type.d.ts +0 -8
- package/lib/project-type.js +1 -9
- package/lib/projects/awscdk-construct-library-options.generated.d.ts +72 -18
- package/lib/projects/awscdk-construct-library-options.generated.js +1 -1
- package/lib/projects/awscdk-construct-library.generated.d.ts +1 -1
- package/lib/projects/awscdk-construct-library.generated.js +2 -4
- package/lib/projects/awscdk-typescript-app-options.generated.d.ts +63 -17
- package/lib/projects/awscdk-typescript-app-options.generated.js +1 -1
- package/lib/projects/awscdk-typescript-app.generated.d.ts +1 -1
- package/lib/projects/awscdk-typescript-app.generated.js +2 -4
- package/lib/projects/jsii-options.generated.d.ts +72 -10
- package/lib/projects/jsii-options.generated.js +1 -1
- package/lib/projects/jsii.generated.d.ts +1 -1
- package/lib/projects/jsii.generated.js +2 -4
- package/lib/projects/typescript-options.generated.d.ts +63 -9
- package/lib/projects/typescript-options.generated.js +1 -1
- package/lib/projects/typescript.generated.d.ts +1 -1
- package/lib/projects/typescript.generated.js +2 -4
- package/lib/utils.d.ts +8 -0
- package/lib/utils.js +11 -2
- package/node_modules/@jsii/spec/lib/assembly-utils.js +36 -3
- package/node_modules/@jsii/spec/lib/validators.js +1 -1
- package/node_modules/@jsii/spec/package.json +4 -4
- package/package.json +19 -20
- package/pnpm-workspace.yaml +8 -0
- package/lib/components/vitest-bundled-define-config.d.ts +0 -1
- package/lib/components/vitest-bundled-define-config.js +0 -6
- package/lib/vitest-define-config-entry.d.ts +0 -1
- 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
|
|
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
|
package/.kiro/steering/tech.md
CHANGED
|
@@ -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
|
|
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.
|
|
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
|
-
-
|
|
104
|
-
-
|
|
105
|
+
- ES2022 target and lib
|
|
106
|
+
- node16 module for JSII compatibility
|
|
105
107
|
- Source maps inlined
|
|
106
108
|
|
|
107
109
|
## Version Management
|