Skip to content

Commit 2f729c4

Browse files
authoredSep 29, 2021
chore: namespace all private packages (aws#16689)
In order to remove any risk of supply-chain attacks leveraging naming collisions with any of our private-only packages, move all of them into the `@aws-cdk/` namespace, so that no third party can possibly seize one of these names. Also, normalized the order of dependencies in `package.json` files so they are consistently alphanumerically ordered.
1 parent 140892a commit 2f729c4

File tree

994 files changed

+1928
-1902
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

994 files changed

+1928
-1902
lines changed
 

‎.github/workflows/pr-linter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
uses: actions/checkout@v2
2525

2626
- name: Install & Build prlint
27-
run: cd tools/prlint && yarn install --frozen-lockfile && yarn build+test
27+
run: cd tools/@aws-cdk/prlint && yarn install --frozen-lockfile && yarn build+test
2828

2929
- name: Validate
30-
uses: ./tools/prlint
30+
uses: ./tools/@aws-cdk/prlint
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
REPO_ROOT: ${{ github.workspace }}

‎CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ The following linters are used:
602602

603603
#### eslint
604604

605-
All packages in the repo use a standard base configuration found at [eslintrc.js](tools/cdk-build-tools/config/eslintrc.js).
605+
All packages in the repo use a standard base configuration found at [eslintrc.js](tools/@aws-cdk/cdk-build-tools/config/eslintrc.js).
606606
This can be customized for any package by modifying the `.eslintrc` file found at its root.
607607

608608
If you're using the VS Code and would like to see eslint violations on it, install the [eslint
@@ -780,7 +780,7 @@ the feature flag.
780780
A couple of [jest helper methods] are available for use with unit tests. These help run unit tests that test
781781
behaviour when flags are enabled or disabled in the two major versions.
782782

783-
[jest helper methods]: https://github.com/aws/aws-cdk/blob/master/tools/cdk-build-tools/lib/feature-flag.ts
783+
[jest helper methods]: https://github.com/aws/aws-cdk/blob/master/tools/@aws-cdk/cdk-build-tools/lib/feature-flag.ts
784784

785785
## Versioning and Release
786786

0 commit comments

Comments
 (0)
Please sign in to comment.