cdklabs-projen-project-types 0.1.162 → 0.1.164

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/.gitattributes CHANGED
@@ -12,7 +12,6 @@
12
12
  /.github/workflows/upgrade-main.yml linguist-generated
13
13
  /.gitignore linguist-generated
14
14
  /.npmignore linguist-generated
15
- /.npmrc linguist-generated
16
15
  /.projen/** linguist-generated
17
16
  /.projen/deps.json linguist-generated
18
17
  /.projen/files.json linguist-generated
package/.jsii CHANGED
@@ -8,12 +8,37 @@
8
8
  ]
9
9
  },
10
10
  "bundled": {
11
- "yaml": "^2.3.1"
11
+ "yaml": "^2.3.3"
12
12
  },
13
13
  "dependencies": {
14
- "projen": "^0.72.6"
14
+ "projen": "^0.76.11"
15
15
  },
16
16
  "dependencyClosure": {
17
+ "constructs": {
18
+ "targets": {
19
+ "dotnet": {
20
+ "namespace": "Constructs",
21
+ "packageId": "Constructs"
22
+ },
23
+ "go": {
24
+ "moduleName": "github.com/aws/constructs-go"
25
+ },
26
+ "java": {
27
+ "maven": {
28
+ "artifactId": "constructs",
29
+ "groupId": "software.constructs"
30
+ },
31
+ "package": "software.constructs"
32
+ },
33
+ "js": {
34
+ "npm": "constructs"
35
+ },
36
+ "python": {
37
+ "distName": "constructs",
38
+ "module": "constructs"
39
+ }
40
+ }
41
+ },
17
42
  "projen": {
18
43
  "submodules": {
19
44
  "projen.awscdk": {},
@@ -71,7 +96,7 @@
71
96
  },
72
97
  "name": "cdklabs-projen-project-types",
73
98
  "readme": {
74
- "markdown": "# Cdklabs Projen Project Types\n\nThis repository stores custom project types extended from `projen` with cdklabs defaults\nbaked in. This is meant to serve as a hook for continuous management of all repos we own.\nWith cdklabs projen types, we can add new configuration as they come up and have it\npropogate to all repositories using the type.\n\n## CdklabsConstructLibrary\n\nThis type extends projen's `awscdk.AwsConstructLibrary` project type and should be used in place\nof that type.\n\n### Usage\n\nFrom the command line:\n\n```bash\nnpx projen new --from cdklabs-projen-project-types cdklabs-construct-lib\n```\n\nFrom inside `cdk-ops`:\n\n```ts\nthis.cdklabs.addPreApprovedRepo({\n repo: 'cdk-new-lib',\n owner: 'conroyka@amazon.com',\n createWith: {\n projectType: ProjectType.CDKLABS_MANAGED_CONSTRUCT_LIB,\n },\n});\n```\n\n### Features\n\n- `cdklabsPublishingDefaults`\n\nBy default, this is turned on. `cdklabsPublishingDefaults` provides publishing defaults based off\nof the project's name. Specifically, the defaults look like this:\n\n```ts\nreturn {\n publishToPypi: {\n distName: npmPackageName,\n module: changeDelimiter(npmPackageName, '_'),\n },\n publishToMaven: {\n javaPackage: `io.github.cdklabs.${changeDelimiter(npmPackageName, '.')}`,\n mavenGroupId: 'io.github.cdklabs',\n mavenArtifactId: npmPackageName,\n mavenEndpoint: 'https://s01.oss.sonatype.org',\n },\n publishToNuget: {\n dotNetNamespace: `Cdklabs${upperCaseName(npmPackageName)}`,\n packageId: `Cdklabs${upperCaseName(npmPackageName)}`,\n },\n publishToGo: {\n moduleName: `${npmPackageName}-go`,\n },\n};\n```\n\nAdditionally, we also require that we publish to all jsii language targets (including go) when\nwe specify a library as `stable`.\n\n- `private`\n\nBy default, a project is created as `private`. Turning this off simply means setting `private: false`.\nA project being `private` means it gets certain properties set as default that are true for private\nprojects. Today, that means setting `private: true` in `package.json`, removing `.mergify.yml` from\nthe project, and removing `.npmignore`.\n\n- `releasableCommits`\n\nBy default this project type releases `ReleasableCommits.featuresAndFixes`, to not release a new\nversion every day on a package that only sees devDependency updates. You may want to override this\nif you need something more specific.\n\n## CdklabsTypeScriptProject\n\nThis type extends projen's `typescript.TypeScriptProject` project type and should be used in place\nof that type.\n\n### Usage\n\n```bash\nnpx projen new --from cdklabs-projen-project-types cdklabs-ts-proj\n```\n\nFrom inside `cdk-ops`:\n\n```ts\nthis.cdklabs.addPreApprovedRepo({\n repo: 'cdk-new-lib',\n owner: 'conroyka@amazon.com',\n createWith: {\n projectType: ProjectType.CDKLABS_MANAGED_TS_PROJECT,\n },\n});\n```\n\n### Features\n\n- `private`\n\nBy default, a project is created as `private`. Turning this off simply means setting `private: false`.\nA project being `private` means it gets certain properties set as default that are true for private\nprojects. Today, that means setting `private: true` in `package.json`, removing `.mergify.yml` from\nthe project, and removing `.npmignore`.\n\n## CdklabsMonorepo\n\nA TypeScript monorepo using Yarn Workspaces.\nIndividual workspaces can be added with `yarn.TypeScriptWorkspace` which extends projen's `typescript.TypeScriptProject`.\n\n### Usage\n\n```bash\nnpx projen new --from cdklabs-projen-project-types cdklabs-yarn-monorepo\n```\n\n### Features\n\n```ts\nconst project = new yarn.CdkLabsMonorepo({\n defaultReleaseBranch: \"main\",\n devDeps: [\"cdklabs-projen-project-types\"],\n name: \"monorepo\",\n});\n```\n\n- Workspace commands: `projen build|compile|package|test|upgrade`\\\nWill run the specific command in all workspaces and the root if applicable.\n\n- Workspace run: `projen run <command>`\\\nExecutes the given command in all workspaces\n\n- Automatic dependency installation\\\nThe monorepo will know if a dependency has been added for a workspace and run `yarn install` as part of `projen`\n\n- `projen` at any level\\\nThe default `projen` command can be run in any workspace and will execute the monorepo synth command.\n\n- Release\\\nThis feature is not supported at this time.\nAny release functionality must be implemented.\n\n- `vscodeWorkspace: boolean`\\\nYou can specifify if a VSCode Workspace file should be created for the monorepo.\n\n#### Workspaces\n\n```ts\nnew yarn.TypeScriptWorkspace({\n parent: project,\n name: 'workspace'\n})\n```\n\n- `parent: yarn.Monorepo`\\\nWorkspaces (aka subprojects) must be added using the `parent` option.\n\n- `workspaceScope: string`\\\nThe location the workspace is placed at. Defaults to `./packages`\n\n- `excludeDepsFromUpgrade: Array<string>`\\\nList any dependencies that should not be updated in the workspace.\n"
99
+ "markdown": "# Cdklabs Projen Project Types\n\nThis repository stores custom project types extended from `projen` with cdklabs defaults\nbaked in. This is meant to serve as a hook for continuous management of all repos we own.\nWith cdklabs projen types, we can add new configuration as they come up and have it\npropagate to all repositories using the type.\n\n## CdklabsConstructLibrary\n\nThis type extends projen's `awscdk.AwsConstructLibrary` project type and should be used in place\nof that type.\n\n### Usage\n\nFrom the command line:\n\n```bash\nnpx projen new --from cdklabs-projen-project-types cdklabs-construct-lib\n```\n\nFrom inside `cdk-ops`:\n\n```ts\nthis.cdklabs.addPreApprovedRepo({\n repo: 'cdk-new-lib',\n owner: 'conroyka@amazon.com',\n createWith: {\n projectType: ProjectType.CDKLABS_MANAGED_CONSTRUCT_LIB,\n },\n});\n```\n\n### Features\n\n- `cdklabsPublishingDefaults`\n\nBy default, this is turned on. `cdklabsPublishingDefaults` provides publishing defaults based off\nof the project's name. Specifically, the defaults look like this:\n\n```ts\nreturn {\n publishToPypi: {\n distName: npmPackageName,\n module: changeDelimiter(npmPackageName, '_'),\n },\n publishToMaven: {\n javaPackage: `io.github.cdklabs.${changeDelimiter(npmPackageName, '.')}`,\n mavenGroupId: 'io.github.cdklabs',\n mavenArtifactId: npmPackageName,\n mavenEndpoint: 'https://s01.oss.sonatype.org',\n },\n publishToNuget: {\n dotNetNamespace: `Cdklabs${upperCaseName(npmPackageName)}`,\n packageId: `Cdklabs${upperCaseName(npmPackageName)}`,\n },\n publishToGo: {\n moduleName: `${npmPackageName}-go`,\n },\n};\n```\n\nAdditionally, we also require that we publish to all jsii language targets (including go) when\nwe specify a library as `stable`.\n\n- `private`\n\nBy default, a project is created as `private`. Turning this off simply means setting `private: false`.\nA project being `private` means it gets certain properties set as default that are true for private\nprojects. Today, that means setting `private: true` in `package.json`, removing `.mergify.yml` from\nthe project, and removing `.npmignore`.\n\n- `releasableCommits`\n\nBy default this project type releases `ReleasableCommits.featuresAndFixes`, to not release a new\nversion every day on a package that only sees devDependency updates. You may want to override this\nif you need something more specific.\n\n## CdklabsTypeScriptProject\n\nThis type extends projen's `typescript.TypeScriptProject` project type and should be used in place\nof that type.\n\n### Usage\n\n```bash\nnpx projen new --from cdklabs-projen-project-types cdklabs-ts-proj\n```\n\nFrom inside `cdk-ops`:\n\n```ts\nthis.cdklabs.addPreApprovedRepo({\n repo: 'cdk-new-lib',\n owner: 'conroyka@amazon.com',\n createWith: {\n projectType: ProjectType.CDKLABS_MANAGED_TS_PROJECT,\n },\n});\n```\n\n### Features\n\n- `private`\n\nBy default, a project is created as `private`. Turning this off simply means setting `private: false`.\nA project being `private` means it gets certain properties set as default that are true for private\nprojects. Today, that means setting `private: true` in `package.json`, removing `.mergify.yml` from\nthe project, and removing `.npmignore`.\n\n## CdklabsMonorepo\n\nA TypeScript monorepo using Yarn Workspaces.\nIndividual workspaces can be added with `yarn.TypeScriptWorkspace` which extends projen's `typescript.TypeScriptProject`.\n\n### Usage\n\n```bash\nnpx projen new --from cdklabs-projen-project-types cdklabs-yarn-monorepo\n```\n\n### Features\n\n```ts\nconst project = new yarn.CdkLabsMonorepo({\n defaultReleaseBranch: \"main\",\n devDeps: [\"cdklabs-projen-project-types\"],\n name: \"monorepo\",\n});\n```\n\n- Workspace commands: `projen build|compile|package|test|upgrade`\\\nWill run the specific command in all workspaces and the root if applicable.\n\n- Workspace run: `projen run <command>`\\\nExecutes the given command in all workspaces\n\n- Automatic dependency installation\\\nThe monorepo will know if a dependency has been added for a workspace and run `yarn install` as part of `projen`\n\n- `projen` at any level\\\nThe default `projen` command can be run in any workspace and will execute the monorepo synth command.\n\n- Release\\\nThis feature is not supported at this time.\nAny release functionality must be implemented.\n\n- `vscodeWorkspace: boolean`\\\nYou can specify if a VSCode Workspace file should be created for the monorepo.\n\n#### Workspaces\n\n```ts\nnew yarn.TypeScriptWorkspace({\n parent: project,\n name: 'workspace'\n})\n```\n\n- `parent: yarn.Monorepo`\\\nWorkspaces (aka subprojects) must be added using the `parent` option.\n\n- `workspaceScope: string`\\\nThe location the workspace is placed at. Defaults to `./packages`\n\n- `excludeDepsFromUpgrade: Array<string>`\\\nList any dependencies that should not be updated in the workspace.\n"
75
100
  },
76
101
  "repository": {
77
102
  "type": "git",
@@ -1321,7 +1346,7 @@
1321
1346
  },
1322
1347
  {
1323
1348
  "docs": {
1324
- "remarks": "1. Call \"this.preSynthesize()\"\n2. Delete all generated files\n3. Synthesize all sub-projects\n4. Synthesize all components of this project\n5. Call \"postSynthesize()\" for all components of this project\n6. Call \"this.postSynthesize()\"",
1349
+ "remarks": "1. Call \"this.preSynthesize()\"\n2. Delete all generated files\n3. Synthesize all subprojects\n4. Synthesize all components of this project\n5. Call \"postSynthesize()\" for all components of this project\n6. Call \"this.postSynthesize()\"",
1325
1350
  "stability": "stable",
1326
1351
  "summary": "Synthesize all project files into `outdir`."
1327
1352
  },
@@ -1912,7 +1937,7 @@
1912
1937
  "default": "true",
1913
1938
  "remarks": "Cannot be used in conjunction with `dependabot`.",
1914
1939
  "stability": "stable",
1915
- "summary": "Use github workflows to handle dependency upgrades."
1940
+ "summary": "Use tasks and github workflows to handle dependency upgrades."
1916
1941
  },
1917
1942
  "immutable": true,
1918
1943
  "locationInModule": {
@@ -2656,7 +2681,7 @@
2656
2681
  "abstract": true,
2657
2682
  "docs": {
2658
2683
  "default": "\".\"",
2659
- "remarks": "If this project has a parent, this directory is relative to the parent\ndirectory and it cannot be the same as the parent or any of it's other\nsub-projects.",
2684
+ "remarks": "If this project has a parent, this directory is relative to the parent\ndirectory and it cannot be the same as the parent or any of it's other\nsubprojects.",
2660
2685
  "stability": "stable",
2661
2686
  "summary": "The root directory of the project. Relative to this directory, all files are synthesized."
2662
2687
  },
@@ -3868,6 +3893,23 @@
3868
3893
  "kind": "array"
3869
3894
  }
3870
3895
  }
3896
+ },
3897
+ {
3898
+ "abstract": true,
3899
+ "docs": {
3900
+ "stability": "stable",
3901
+ "summary": "Github Runner Group selection options."
3902
+ },
3903
+ "immutable": true,
3904
+ "locationInModule": {
3905
+ "filename": "src/yarn/monorepo-options.ts",
3906
+ "line": 777
3907
+ },
3908
+ "name": "workflowRunsOnGroup",
3909
+ "optional": true,
3910
+ "type": {
3911
+ "fqn": "projen.GroupRunnerOptions"
3912
+ }
3871
3913
  }
3872
3914
  ],
3873
3915
  "symbolId": "src/yarn/monorepo-options:MonorepoOptions"
@@ -4514,7 +4556,7 @@
4514
4556
  "default": "true",
4515
4557
  "remarks": "Cannot be used in conjunction with `dependabot`.",
4516
4558
  "stability": "stable",
4517
- "summary": "Use github workflows to handle dependency upgrades."
4559
+ "summary": "Use tasks and github workflows to handle dependency upgrades."
4518
4560
  },
4519
4561
  "immutable": true,
4520
4562
  "locationInModule": {
@@ -5343,7 +5385,7 @@
5343
5385
  {
5344
5386
  "abstract": true,
5345
5387
  "docs": {
5346
- "default": "NodePackageManager.YARN",
5388
+ "default": "NodePackageManager.YARN_CLASSIC",
5347
5389
  "stability": "stable",
5348
5390
  "summary": "The Node Package Manager used to execute scripts."
5349
5391
  },
@@ -6531,6 +6573,23 @@
6531
6573
  }
6532
6574
  }
6533
6575
  },
6576
+ {
6577
+ "abstract": true,
6578
+ "docs": {
6579
+ "stability": "stable",
6580
+ "summary": "Github Runner Group selection options."
6581
+ },
6582
+ "immutable": true,
6583
+ "locationInModule": {
6584
+ "filename": "src/yarn/typescript-workspace-options.ts",
6585
+ "line": 779
6586
+ },
6587
+ "name": "workflowRunsOnGroup",
6588
+ "optional": true,
6589
+ "type": {
6590
+ "fqn": "projen.GroupRunnerOptions"
6591
+ }
6592
+ },
6534
6593
  {
6535
6594
  "abstract": true,
6536
6595
  "docs": {
@@ -6541,7 +6600,7 @@
6541
6600
  "immutable": true,
6542
6601
  "locationInModule": {
6543
6602
  "filename": "src/yarn/typescript-workspace-options.ts",
6544
- "line": 780
6603
+ "line": 784
6545
6604
  },
6546
6605
  "name": "workspaceScope",
6547
6606
  "optional": true,
@@ -6553,6 +6612,6 @@
6553
6612
  "symbolId": "src/yarn/typescript-workspace-options:TypeScriptWorkspaceOptions"
6554
6613
  }
6555
6614
  },
6556
- "version": "0.1.162",
6557
- "fingerprint": "kTVv35OKNKe7+LuN2jVwZaCA515NmWXbCuYnEipn5TE="
6615
+ "version": "0.1.164",
6616
+ "fingerprint": "RS7tD+0ysJBa+lQd9orP2m7UmwrTEv2yqQ41phct3Ww="
6558
6617
  }