Skip to content

Tags: mbasadi/projen

Tags

v0.80.10

Toggle v0.80.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.9

Toggle v0.80.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.8

Toggle v0.80.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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*

v0.80.7

Toggle v0.80.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.6

Toggle v0.80.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.5

Toggle v0.80.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.4

Toggle v0.80.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.3

Toggle v0.80.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

v0.80.2

Toggle v0.80.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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*

v0.80.1

Toggle v0.80.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

![Screenshot 2024-02-23 162624](https://github.com/projen/projen/assets/22875166/5bf19a20-b360-4b66-a4cf-7c264deb810d)

2. Normalize `NodeProject.artifactsJavascriptDirectory`, resulting in `dist\\js` being written on Windows instead of `dist/js`.

![Screenshot 2024-02-23 162616](https://github.com/projen/projen/assets/22875166/951670b7-a83e-4631-91c3-58028522f9dc)




---
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.