Skip to content

Commit ed16dce

Browse files
committed
test(size): remove unused auth config, update dependencies
1 parent 053553a commit ed16dce

File tree

3 files changed

+14
-25
lines changed

3 files changed

+14
-25
lines changed

scripts/benchmark-size/runner/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export const sizeReport = async (options: SizeReportOptions) => {
8787
const packageContextToTest = testScope.filter((perTestScope) => changedPackageNames.includes(perTestScope.package));
8888
console.info(`Found ${packageContextToTest.length} packages in the defined scope have size test scope.`);
8989
const localRegistryProcess = spawnLocalRegistry(PORT);
90+
localRegistryProcess.stdout.pipe(process.stdout);
9091

9192
// Wait for the register to spin up.
9293
await sleep(1000);
@@ -100,7 +101,7 @@ export const sizeReport = async (options: SizeReportOptions) => {
100101
packageContext,
101102
}),
102103
})),
103-
{ concurrent: 10 }
104+
{ concurrent: 4 }
104105
);
105106
try {
106107
await tasks.run();

scripts/benchmark-size/runner/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
"test": "exit 0"
99
},
1010
"dependencies": {
11-
"@rollup/plugin-commonjs": "^21.0.1",
11+
"@rollup/plugin-commonjs": "^22.0.0",
1212
"@rollup/plugin-json": "^4.1.0",
13-
"@rollup/plugin-node-resolve": "^13.0.6",
13+
"@rollup/plugin-node-resolve": "^13.3.0",
1414
"@types/execa": "^2.0.0",
1515
"esbuild": "latest",
1616
"execa": "^5.1.1",
17-
"fs-extra": "^10.0.0",
17+
"fs-extra": "^10.1.0",
1818
"handlebars": "^4.7.7",
19-
"listr2": "^3.13.3",
19+
"listr2": "^4.0.5",
2020
"rollup": "latest",
2121
"rollup-plugin-terser": "^7.0.2",
22-
"semver": "^7.3.5",
22+
"semver": "^7.3.7",
2323
"webpack": "latest"
2424
},
2525
"author": "",

verdaccio/config.yaml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ web:
1818
# by default packages are ordercer ascendant (asc|desc)
1919
# sort_packages: asc
2020

21-
auth:
22-
htpasswd:
23-
file: ./htpasswd
24-
algorithm: bcrypt
25-
# Maximum amount of users allowed to register, defaults to "+inf".
26-
# You can set this to -1 to disable registration.
27-
# max_users: 1000
21+
# auth:
22+
# htpasswd:
23+
# file: ./htpasswd
24+
# algorithm: bcrypt
25+
# # Maximum amount of users allowed to register, defaults to "+inf".
26+
# # You can set this to -1 to disable registration.
27+
# max_users: 1000
2828

2929
# a list of other known repositories we can talk to
3030
uplinks:
@@ -33,18 +33,10 @@ uplinks:
3333

3434
packages:
3535
"@aws-sdk/*":
36-
# scoped packages
3736
access: $all
3837
publish: $all
3938
unpublish: $all
4039
proxy: npmjs
41-
"@*/*":
42-
# scoped packages
43-
access: $all
44-
publish: $authenticated
45-
unpublish: $authenticated
46-
proxy: npmjs
47-
4840
"**":
4941
# allow all users (including non-authenticated users) to read and
5042
# publish all packages
@@ -67,10 +59,6 @@ packages:
6759
server:
6860
keepAliveTimeout: 60
6961

70-
middlewares:
71-
audit:
72-
enabled: true
73-
7462
# log settings
7563
logs:
7664
- { type: stdout, format: pretty, level: http }

0 commit comments

Comments
 (0)