Skip to content

Commit f97ed91

Browse files
author
sam
authored
chore: remove private dependencies from aggregate packages (#567)
1 parent 76aa56b commit f97ed91

7 files changed

Lines changed: 8 additions & 11 deletions

File tree

apps/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@graphql-codegen/typescript-resolvers": "^2.6.1",
1717
"@graphql-codegen/typescript": "^2.4.8",
1818
"@types/node": "^16",
19-
"functionless": "^0.27.1",
19+
"functionless": "^0.28.0",
2020
"aws-cdk-lib": "2.44.0",
2121
"aws-cdk": "2.44.0",
2222
"constructs": "10.0.0",

apps/website/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"@functionless/serde": "*",
6464
"@functionless/serialize-closure": "*",
6565
"@functionless/swc-config": "*",
66-
"@functionless/test": "*",
6766
"@functionless/util": "*",
6867
"@functionless/validate": "*",
6968
"@functionless/vtl": "*"
@@ -104,7 +103,11 @@
104103
"@types/react": "^17.0.0"
105104
},
106105
"browserslist": {
107-
"production": [">0.5%", "not dead", "not op_mini all"],
106+
"production": [
107+
">0.5%",
108+
"not dead",
109+
"not op_mini all"
110+
],
108111
"development": [
109112
"last 1 chrome version",
110113
"last 1 firefox version",

apps/website/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@
120120
{
121121
"path": "../../packages/@functionless/swc-config"
122122
},
123-
{
124-
"path": "../../packages/@functionless/test"
125-
},
126123
{
127124
"path": "../../packages/@functionless/util"
128125
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"doctor:references": "node ./scripts/doctor-ts-references.mjs",
1919
"doctor": "yarn doctor:references && yarn doctor:readmes && yarn doctor:aggregate-packages",
2020
"lint": "turbo run lint",
21-
"prepare": "husky install && yarn doctor",
21+
"prepare": "husky install",
2222
"test:aws": "AWS_SDK_LOAD_CONFIG=1 TEST_DEPLOY_TARGET=AWS yarn test",
2323
"test:localstack": "TEST_DEPLOY_TARGET=LOCALSTACK yarn test",
2424
"test": "turbo run test",

packages/functionless/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"@functionless/serde": "^0.28.0",
3434
"@functionless/serialize-closure": "^0.28.0",
3535
"@functionless/swc-config": "^0.28.0",
36-
"@functionless/test": "*",
3736
"@functionless/util": "^0.28.0",
3837
"@functionless/validate": "^0.28.0",
3938
"@functionless/vtl": "^0.28.0"

packages/functionless/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@
9090
{
9191
"path": "../@functionless/swc-config"
9292
},
93-
{
94-
"path": "../@functionless/test"
95-
},
9693
{
9794
"path": "../@functionless/util"
9895
},

scripts/doctor-aggregate-packages.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ async function patch(pkgJsonPath, pkgJson, packages, dependenciesKey) {
6868
...(pkgJson[dependenciesKey] ?? {}),
6969
...Object.fromEntries(
7070
packages
71+
.filter((pkg) => pkg.private !== true)
7172
.sort((pkgA, pkgB) => pkgA.name < pkgB.name)
7273
.map((pkg) => {
7374
return [pkg.name, pkgJson[dependenciesKey][pkg.name] ?? "*"];

0 commit comments

Comments
 (0)