Tags: msessa/projen
Tags
chore(deps): upgrade dependencies (projen#1291) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/1542493669 ------ *Automatically created by projen via the "upgrade-main" workflow*
fix!: dependency cycles between submodules in Python and Go (projen#1286 ) Fixes projen#811 Resolves the cyclic dependency errors by reorganizing the submodules within projen so that there are no more import cycles (between submodules). This requires changing the location of MANY classes and associated types. This enables us to add support in later PRs for writing projenrc files in Python and Go. In TypeScript projects, classes and types should be imported in one of two ways: ```ts // method 1 import { awscdk } from "projen"; const project = new awscdk.AwsCdkConstructLibrary({ ... }); // method 2 import { AwsCdkConstructLibrary } from "projen/awscdk"; const project = new AwsCdkConstructLibrary({ ... }); ``` Due to these changes, running `projen new --from <module>` will not work if the module was compiled with a version of projen before 0.37.x AND you are using a version of projen CLI that is 0.37.x or later. It is still possible to create these projects if you use an older version of projen: `npx projen@0.36.5 --from <module>`. ---- I've had to comment out several tests involving external modules due to these breaking changes. I did look for a while to see if there's some way to try redirecting some of these project types so you could still import older project types, but I could not see a way to do this. If a new projenrc file instantiates a `MyCustomProject` where the original library says `MyCustomProject` extends `projen.TypeScriptProject`, I can't see any way to work around this if we are using the newest projen version. (I could update the integration tests to pass e.g. `--projen-version=0.36.5`, but that would defeat the tests' purpose I think?) To prevent these kinds of dependency cycles from reoccurring, I've added an integration test workflow that checks it is possible to synthesize a Python base project in python using the generated python package. This can be removed once JSII support has been added for submodule cycle checking (aws/jsii#2511). ---- BREAKING CHANGE: All project class types are now within submodules. `projen new --from` may fail if project is not compatible with the version of the CLI you are using. Full list of type changes: - All classes and types within the `git`, `json`, and `tasks` submodules can now be imported directly from the root. - The class `AwsCdkConstructLibrary` is now `awscdk.AwsCdkConstructLibrary` - The class `AwsCdkTypeScriptApp` is now `awscdk.AwsCdkTypeScriptApp` - The class `Cdk8sTypeScriptApp` is now `cdk8s.Cdk8sTypeScriptApp` - The class `ConstructLibrary` is now `cdk.ConstructLibrary` - The class `ConstructLibraryAws` is now `awscdk.ConstructLibraryAws` - The class `ConstructLibraryCdk8s` is now `cdk8s.ConstructLibraryCdk8s` - The class `ConstructLibraryCdktf` is now `cdktf.ConstructLibraryCdktf` - The class `Eslint` is now `javascript.Eslint` - The class `GitHubProject` is now `github.GitHubProject` - The class `Jest` is now `javascript.Jest` - The class `JsiiProject` is now `cdk.JsiiProject` - The class `NodePackage` is now `javascript.NodePackage` - The class `NodeProject` is now `javascript.NodeProject` - The class `TypeScriptAppProject` is now `typescript.TypeScriptAppProject` - The class `TypeScriptLibraryProject` is now `typescript.TypeScriptLibraryProject` - The class `TypeScriptProject` is now `typescript.TypeScriptProject` - The class `TypescriptConfig` is now `javascript.TypescriptConfig` (!) - The class `UpgradeDependencies` is now `javascript.UpgradeDependencies` - The class `UpgradeDependenciesSchedule` is now `javascript.UpgradeDependenciesSchedule` - The interface `AwsCdkConstructLibraryOptions` is now `awscdk.AwsCdkConstructLibraryOptions` - The interface `AwsCdkTypeScriptAppOptions` is now `awscdk.AwsCdkTypeScriptAppOptions` - The interface `Catalog` is now `cdk.Catalog` - The interface `Cdk8sTypeScriptAppOptions` is now `cdk8s.Cdk8sTypeScriptAppOptions` - The interface `CodeArtifactOptions` is now `javascript.CodeArtifactOptions` - The interface `ConstructLibraryAwsOptions` is now `awscdk.ConstructLibraryAwsOptions` - The interface `ConstructLibraryCdk8sOptions` is now `cdk8s.ConstructLibraryCdk8sOptions` - The interface `ConstructLibraryCdktfOptions` is now `cdktf.ConstructLibraryCdktfOptions` - The interface `ConstructLibraryOptions` is now `cdk.ConstructLibraryOptions` - The interface `CoverageThreshold` is now `javascript.CoverageThreshold` - The interface `EslintOptions` is now `javascript.EslintOptions` - The interface `EslintOverride` is now `javascript.EslintOverride` - The interface `GitHubProjectOptions` is now `github.GitHubProjectOptions` - The interface `HasteConfig` is now `javascript.HasteConfig` - The interface `JestConfigOptions` is now `javascript.JestConfigOptions` - The interface `JestOptions` is now `javascript.JestOptions` - The interface `JsiiDotNetTarget` is now `cdk.JsiiDotNetTarget` - The interface `JsiiGoTarget` is now `cdk.JsiiGoTarget` - The interface `JsiiJavaTarget` is now `cdk.JsiiJavaTarget` - The interface `JsiiProjectOptions` is now `cdk.JsiiProjectOptions` - The interface `JsiiPythonTarget` is now `cdk.JsiiPythonTarget` - The interface `NodePackageOptions` is now `javascript.NodePackageOptions` - The interface `NodeProjectOptions` is now `javascript.NodeProjectOptions` - The interface `NodeWorkflowSteps` is now `javascript.NodeWorkflowSteps` - The interface `PeerDependencyOptions` is now `javascript.PeerDependencyOptions` - The interface `TypeScriptCompilerOptions` is now `javascript.TypeScriptCompilerOptions` (!) - The interface `TypeScriptLibraryProjectOptions` is now `typescript.TypeScriptLibraryProjectOptions` - The interface `TypeScriptProjectOptions` is now `typescript.TypeScriptProjectOptions` - The interface `TypescriptConfigOptions` is now `javascript.TypescriptConfigOptions` (!) - The interface `UpgradeDependenciesOptions` is now `javascript.UpgradeDependenciesOptions` - The interface `UpgradeDependenciesWorkflowOptions` is now `javascript.UpgradeDependenciesWorkflowOptions` - The enum `NpmAccess` is now `javascript.NpmAccess` - The enum `Stability` is now `cdk.Stability` - The enum `TypeScriptJsxMode` is now `javascript.TypeScriptJsxMode` - The enum `TypeScriptModuleResolution` is now `javascript.TypeScriptModuleResolution` --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
feat: allow customising or disabling git-push used by manual release (p… …rojen#1282) This adds the ability for a user to customise (or disable) the git-push command which is run as part of a manual release. closes projen#1267 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
chore(deps): upgrade dependencies (projen#1290) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/1540034800 ------ *Automatically created by projen via the "upgrade-main" workflow*
chore(deps): upgrade dependencies (projen#1285) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/1537571778 ------ *Automatically created by projen via the "upgrade-main" workflow*
chore(deps): upgrade dependencies (projen#1283) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/1533135949 ------ *Automatically created by projen via the "upgrade-main" workflow*
fix: eslint depends on insecure library (ansi-regex) (projen#1281) Bump eslint and related modules to address CVE-2021-3807 in ansi-regex.
fix: ansi-regex has a security volunerability (CVE-2021-3807) (projen… …#1280) Upgrade `jest-junit` to `^13` to address [CVE-2021-3807] in `ansi-regex < 5.0.0` [CVE-2021-3807]: GHSA-93q8-gq69-wqmw
fix: jsdom typings override is no longer needed (projen#1278) Closes projen#1264 Issue has been fixed upstream in jest@27.4.3 (ref: jestjs/jest#12098) --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
chore(deps): upgrade dependencies (projen#1279) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/1528391625 ------ *Automatically created by projen via the "upgrade-main" workflow*
PreviousNext