aws / aws/aws-pdk

[BUG] several deprecated dependencies in monorepo-ts template

Open
#807 3 comments 3 reactions 0 assignees View on GitHub
backlog bug needs-triage
Dominant language
TypeScript
Stars
451
Forks
84
Avg merge
20h 3m
Merged PRs (30d)
1

Description

### Describe the bug

Initialising `npx projen new --from @aws/pdk monorepo-ts` template produces 12 deprecated dependency warnings, some of which are several versions behind current... Can we get these updated?

### Expected Behavior

A current monorepo project template with no deprecation warnings

### Current Behavior

```
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
```

### Reproduction Steps

```
npx projen new --from @aws/pdk monorepo-ts
```

(I'm actually using NPM rather than Yarn, so updated the `packageManager` field in the generated `.projenrc.ts` before installing with `npm install`)

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### PDK version used

0.23.44

### What languages are you seeing this issue on?

Typescript

### Environment details (OS name and version, etc.)

macOS, Node v22, npm v10

Contributor guide

Open the contributing guide

Research direction

Start by running `npx projen new --from @aws/pdk monorepo-ts` with the reported PDK version, then inspect the generated `.projenrc.ts` and install with npm to reproduce the warnings. Trace the deprecated packages to the template's dependency declarations; done means a newly generated monorepo installs without the listed deprecation warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.