Tags: mbasadi/projen
Tags
fix(typescript): TSConfig `compilerOptions` can be optional (projen#3436 ) Fixes projen#3411 Note: Still unable to make an empty `compilerOptions` (without providing one with everything explicitly set to `undefined`) due to `TypeScriptProject` forcing an override. I'll make another issue and PR for that. Apologies to @coleHafner if they've already spent time on this --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(python): dependencies with multiple extras fail to synth; reverts p… …rojen#3405 "generated pyproject.toml has correct formatting style when using Poetry" (projen#3429) Fixes projen#3426 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(deps): upgrade bundled dependencies (projen#3424) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/8171777083 ------ *Automatically created by projen via the "upgrade-bundled-main" workflow*
fix(python): generated `pyproject.toml` has correct formatting style … …when using Poetry (projen#3405) This PR fixes the following issues: - TOML sections indentation (.e.g `[tool.poetry.dependencies]` section) - Spaces surrounding string values within square brackets (e.g. `[ "poetry-core" ]`) #### pyproject.toml (before) ```toml # ~~ Generated by projen. To modify, edit .projenrc.py and run "npx projen". [tool.poetry] name = "example" version = "0.1.0" description = "" authors = [ "First Last <email@example.com>" ] readme = "README.md" [tool.poetry.dependencies] aws-cdk-lib = "^2.130.0" constructs = "^10.0.5" python = "^3.8" [tool.poetry.group.dev.dependencies] projen = "0.80.1" pytest = "7.4.3" [build-system] requires = [ "poetry-core" ] build-backend = "poetry.core.masonry.api" ``` #### pyproject.toml (after) ```toml # ~~ Generated by projen. To modify, edit .projenrc.py and run "npx projen". [tool.poetry] name = "example" version = "0.1.0" description = "" authors = [ "First Last <email@example.com>" ] readme = "README.md" [tool.poetry.dependencies] aws-cdk-lib = "^2.130.0" constructs = "^10.0.5" python = "^3.8" [tool.poetry.group.dev.dependencies] projen = "0.80.1" pytest = "7.4.3" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" ``` --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(cli): unclear error messages when using `projen new` with `--from` ( projen#3385) Improvement to error handling and error messages thrown in cases where `--from` flag is used (ex: `npx projen new --from [SPECIFIED-NPM-PACKAGE]`). This PR covers the cases: * where npm package specified does not exist in the registry and gracefully handles error with informative message to user * where npm package specified is not jsii module and gracefully handles error with informative message to user * add additional tests Fixes projen#3303 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(python): `PythonProject` with Poetry tries to use virtual environ… …ment before it's created (projen#3392) Fixes projen#3390 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(tsconfig): support three missing strict tsconfig `compilerOptions` ( projen#3409) This is adding support for `compilerOptions` used [in the wild](https://github.com/tsconfig/bases/blob/main/bases/strictest.json) and escape hatches had to be used. This was found when applying [@tsconfig/strictest](https://github.com/tsconfig/bases?tab=readme-ov-file#strictest-tsconfigjson) and working around TypeStrong/ts-node#1958 (merged, but not yet released, a year later) No issue was created, and no tests were added. This is merely a pass-thru to tsconfig (like the existing options above them in the code). --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(jest): external TypeScript projects are created with outdated jes… …t config (projen#3397) Fixes projen#3396 Full description is in the issue. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
fix(deps): upgrade bundled dependencies (projen#3402) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/projen/projen/actions/runs/8048554537 ------ *Automatically created by projen via the "upgrade-bundled-main" workflow*
fix(node): directory separators are inconsistent between platforms in… … tasks.json and package.json (projen#3387) Related to projen#3284 (comment) ## Changelog 1. Use POSIX path for tasks with lambda entrypoint.  2. Normalize `NodeProject.artifactsJavascriptDirectory`, resulting in `dist\\js` being written on Windows instead of `dist/js`.  --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
PreviousNext