Skip to content

Commit f9f1751

Browse files
authored
chore: should check deps of all package.json (#302)
1 parent f4bb341 commit f9f1751

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

.changeset/config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
"linked": [],
66
"access": "restricted",
77
"baseBranch": "main",
8+
"privatePackages": {
9+
"version": false,
10+
"tag": false
11+
},
812
"fixed": [["@rslib/*", "rsbuild-plugin-dts", "create-rslib"]],
913
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
1014
"onlyUpdatePeerDependentsWhenOutOfRange": true,
1115
"updateInternalDependents": "always"
1216
},
13-
"updateInternalDependencies": "patch",
14-
"ignore": []
17+
"updateInternalDependencies": "patch"
1518
}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
"private": true,
44
"workspaces": {
55
"packages": [
6-
"packages/*"
6+
"packages/*",
7+
"scripts/*",
8+
"tests/**",
9+
"examples/**",
10+
"website"
711
]
812
},
913
"scripts": {

pnpm-lock.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/cli/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test.todo('build command', async () => {});
88

99
test('inspect command', async () => {
1010
await fse.remove(path.join(__dirname, 'dist'));
11-
execSync('npx rslib inspect', {
11+
execSync('pnpm run inspect', {
1212
cwd: __dirname,
1313
});
1414

tests/integration/cli/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@
22
"name": "cli-test",
33
"version": "1.0.0",
44
"private": true,
5-
"type": "module"
5+
"type": "module",
6+
"scripts": {
7+
"inspect": "rslib inspect"
8+
},
9+
"devDependencies": {
10+
"@rslib/core": "workspace:*"
11+
}
612
}

0 commit comments

Comments
 (0)