Skip to content

Commit b6dadd1

Browse files
authored
chore: transform private references to be local (aws#3320)
In order for dependabot to be able to identify package updates, it needs to be able to resolve all packages in the dependency closure. Private packages are not published to the npmjs.com registry and fail resolving. This changes the private packages to use local path references within the mono-repo, so that dependabot can work normally. This can also enable standard use of `npm audit`.
1 parent 50c7319 commit b6dadd1

File tree

258 files changed

+81259
-72900
lines changed

Some content is hidden

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

258 files changed

+81259
-72900
lines changed

.dependabot/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ update_configs:
99
ignored_updates:
1010
- match:
1111
# Don't suggest upgrading @types/node to versions >= 9
12-
dependency_name: @types/node
13-
version_requirements: '>= 9'
12+
dependency_name: '@types/node'
13+
version_requirement: '>= 9'
1414
version_requirement_updates: increase_versions

install.sh

+4
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ echo "==========================================================================
1919
echo "cleanup and start bootstrapping..."
2020
lerna clean --yes
2121
lerna bootstrap --reject-cycles --ci
22+
23+
echo "============================================================================================="
24+
echo "installing local links..."
25+
node scripts/install-local-deps.js

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lerna": "2.5.1",
2+
"lerna": "3.15.0",
33
"packages": [
44
"packages/*",
55
"packages/@aws-cdk/*",

package-lock.json

+1,054-1,594
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@
99
},
1010
"devDependencies": {
1111
"@types/jest": "^24.0.15",
12-
"@types/node": "^8.10.49",
12+
"@types/node": "^8.10.50",
1313
"@types/nodeunit": "^0.0.30",
1414
"conventional-changelog-cli": "^2.0.21",
15+
"fs-extra": "^8.1.0",
1516
"jest": "^24.8.0",
1617
"jsii-diff": "^0.14.0",
1718
"lerna": "^3.15.0",
1819
"nodeunit": "^0.11.3",
1920
"nyc": "^14.1.1",
2021
"ts-jest": "^24.0.2",
21-
"tslint": "^5.17.0",
22-
"typescript": "^3.5.2"
22+
"tslint": "^5.18.0",
23+
"typescript": "^3.5.3"
2324
},
2425
"repository": {
2526
"type": "git",

packages/@aws-cdk/alexa-ask/package-lock.json

+63-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/alexa-ask/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
"license": "Apache-2.0",
6868
"devDependencies": {
6969
"@aws-cdk/assert": "^1.0.0",
70-
"cdk-build-tools": "^1.0.0",
71-
"cfn2ts": "^1.0.0",
72-
"pkglint": "^1.0.0"
70+
"cdk-build-tools": "file:../../../tools/cdk-build-tools",
71+
"cfn2ts": "file:../../../tools/cfn2ts",
72+
"pkglint": "file:../../../tools/pkglint"
7373
},
7474
"dependencies": {
7575
"@aws-cdk/core": "^1.0.0"

packages/@aws-cdk/app-delivery/package-lock.json

+56-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/app-delivery/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
"devDependencies": {
5353
"@aws-cdk/assert": "^1.0.0",
5454
"@aws-cdk/aws-s3": "^1.0.0",
55-
"cdk-build-tools": "^1.0.0",
56-
"cdk-integ-tools": "^1.0.0",
55+
"cdk-build-tools": "file:../../../tools/cdk-build-tools",
56+
"cdk-integ-tools": "file:../../../tools/cdk-integ-tools",
5757
"fast-check": "^1.15.1",
58-
"pkglint": "^1.0.0"
58+
"pkglint": "file:../../../tools/pkglint"
5959
},
6060
"repository": {
6161
"type": "git",

0 commit comments

Comments
 (0)