Skip to content

Commit 33a0c25

Browse files
azuclaude
andauthored
fix: use workspace protocol for internal dependencies (#121)
* fix: use workspace protocol for internal dependencies Fixes Lerna version bump error where it tries to install unreleased versions from npm registry. By using workspace:*, pnpm resolves to local packages. Changes: - Updated 9 internal dependencies to use workspace:* protocol - @textlint/script-compiler: 4 dependencies - @textlint/website-generator: 2 dependencies - textchecker-element: 1 dependency - @textlint/webextension: 2 dependencies Tested: - pnpm install: ✓ Success - pnpm build: ✓ Success - lerna version patch: ✓ Success (no lockfile errors) Fixes: #120 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: update lockfile for workspace protocol changes Update pnpm-lock.yaml to reflect workspace:* protocol changes. This fixes CI failure where frozen-lockfile check failed due to mismatch between manifest and lockfile. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent e41783f commit 33a0c25

File tree

5 files changed

+298
-384
lines changed

5 files changed

+298
-384
lines changed
Lines changed: 87 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,89 @@
11
{
2-
"name": "@textlint/script-compiler",
3-
"version": "0.18.0",
4-
"description": "textlint script compiler tool",
5-
"keywords": [
6-
"textlint",
7-
"webpack",
8-
"bundler",
9-
"compiler"
10-
],
11-
"homepage": "https://github.com/textlint/editor/tree/master/packages/@textlint/script-compiler/",
12-
"bugs": {
13-
"url": "https://github.com/textlint/editor/issues"
14-
},
15-
"repository": {
16-
"type": "git",
17-
"url": "https://github.com/textlint/editor.git"
18-
},
19-
"license": "MIT",
20-
"author": "azu",
21-
"sideEffects": false,
22-
"main": "lib/index.js",
23-
"types": "lib/index.d.ts",
24-
"directories": {
25-
"lib": "lib",
26-
"test": "test"
27-
},
28-
"bin": {
29-
"textlint-script-compiler": "./bin/cmd.js"
30-
},
31-
"files": [
32-
"bin/",
33-
"lib/",
34-
"patch/"
35-
],
36-
"scripts": {
37-
"build": "tsc -p .",
38-
"clean": "rimraf lib/",
39-
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
40-
"prepublish": "npm run --if-present build",
41-
"test": "npm run build:example",
42-
"watch": "tsc -p . --watch",
43-
"prebuild:example": "npm run build",
44-
"build:example": "node ./bin/cmd.js --outputDir ./example/ --metadataName test --metadataNamespace example.com"
45-
},
46-
"prettier": {
47-
"printWidth": 120,
48-
"singleQuote": false,
49-
"tabWidth": 4,
50-
"trailingComma": "none"
51-
},
52-
"dependencies": {
53-
"@babel/core": "^7.27.4",
54-
"@textlint/config-inliner": "^0.18.0",
55-
"@textlint/config-loader": "^15.0.1",
56-
"@textlint/config-partial-parser": "^0.18.0",
57-
"@textlint/kernel": "^15.0.1",
58-
"@textlint/module-interop": "^15.0.1",
59-
"@textlint/runtime-helper": "^0.18.0",
60-
"@textlint/script-parser": "^0.18.0",
61-
"@textlint/textlint-plugin-markdown": "^15.0.1",
62-
"@textlint/textlint-plugin-text": "^15.0.1",
63-
"@textlint/types": "^15.0.1",
64-
"babel-loader": "^8.2.2",
65-
"babel-plugin-static-fs": "^3.0.0",
66-
"meow": "^9.0.0",
67-
"node-polyfill-webpack-plugin": "^2.0.1",
68-
"read-pkg": "^5.2.0",
69-
"rimraf": "^3.0.2",
70-
"terser-webpack-plugin": "^5.3.6",
71-
"webpack": "^5.91.0"
72-
},
73-
"devDependencies": {
74-
"@types/mocha": "^10.0.10",
75-
"@types/node": "^24.0.3",
76-
"@types/webpack": "^5.28.5",
77-
"mocha": "^11.7.0",
78-
"prettier": "^3.6.0",
79-
"textlint-rule-no-dropping-the-ra": "^3.0.0",
80-
"textlint-rule-preset-ja-technical-writing": "^12.0.2",
81-
"textlint-rule-prh": "^6.0.0",
82-
"ts-node": "^10.9.2",
83-
"ts-node-test-register": "^10.0.0",
84-
"typescript": "^5.8.3"
85-
},
86-
"publishConfig": {
87-
"access": "public"
88-
}
2+
"name": "@textlint/script-compiler",
3+
"version": "0.18.0",
4+
"description": "textlint script compiler tool",
5+
"keywords": [
6+
"textlint",
7+
"webpack",
8+
"bundler",
9+
"compiler"
10+
],
11+
"homepage": "https://github.com/textlint/editor/tree/master/packages/@textlint/script-compiler/",
12+
"bugs": {
13+
"url": "https://github.com/textlint/editor/issues"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/textlint/editor.git"
18+
},
19+
"license": "MIT",
20+
"author": "azu",
21+
"sideEffects": false,
22+
"main": "lib/index.js",
23+
"types": "lib/index.d.ts",
24+
"directories": {
25+
"lib": "lib",
26+
"test": "test"
27+
},
28+
"bin": {
29+
"textlint-script-compiler": "./bin/cmd.js"
30+
},
31+
"files": [
32+
"bin/",
33+
"lib/",
34+
"patch/"
35+
],
36+
"scripts": {
37+
"build": "tsc -p .",
38+
"clean": "rimraf lib/",
39+
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
40+
"prepublish": "npm run --if-present build",
41+
"test": "npm run build:example",
42+
"watch": "tsc -p . --watch",
43+
"prebuild:example": "npm run build",
44+
"build:example": "node ./bin/cmd.js --outputDir ./example/ --metadataName test --metadataNamespace example.com"
45+
},
46+
"prettier": {
47+
"printWidth": 120,
48+
"singleQuote": false,
49+
"tabWidth": 4,
50+
"trailingComma": "none"
51+
},
52+
"dependencies": {
53+
"@babel/core": "^7.27.4",
54+
"@textlint/config-inliner": "workspace:*",
55+
"@textlint/config-loader": "^15.0.1",
56+
"@textlint/config-partial-parser": "workspace:*",
57+
"@textlint/kernel": "^15.0.1",
58+
"@textlint/module-interop": "^15.0.1",
59+
"@textlint/runtime-helper": "workspace:*",
60+
"@textlint/script-parser": "workspace:*",
61+
"@textlint/textlint-plugin-markdown": "^15.0.1",
62+
"@textlint/textlint-plugin-text": "^15.0.1",
63+
"@textlint/types": "^15.0.1",
64+
"babel-loader": "^8.2.2",
65+
"babel-plugin-static-fs": "^3.0.0",
66+
"meow": "^9.0.0",
67+
"node-polyfill-webpack-plugin": "^2.0.1",
68+
"read-pkg": "^5.2.0",
69+
"rimraf": "^3.0.2",
70+
"terser-webpack-plugin": "^5.3.6",
71+
"webpack": "^5.91.0"
72+
},
73+
"devDependencies": {
74+
"@types/mocha": "^10.0.10",
75+
"@types/node": "^24.0.3",
76+
"@types/webpack": "^5.28.5",
77+
"mocha": "^11.7.0",
78+
"prettier": "^3.6.0",
79+
"textlint-rule-no-dropping-the-ra": "^3.0.0",
80+
"textlint-rule-preset-ja-technical-writing": "^12.0.2",
81+
"textlint-rule-prh": "^6.0.0",
82+
"ts-node": "^10.9.2",
83+
"ts-node-test-register": "^10.0.0",
84+
"typescript": "^5.8.3"
85+
},
86+
"publishConfig": {
87+
"access": "public"
88+
}
8989
}
Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
11
{
2-
"name": "@textlint/website-generator",
3-
"version": "0.18.0",
4-
"description": "Website generator using @textlint/script-compiler",
5-
"keywords": [
6-
"textlint"
7-
],
8-
"homepage": "https://github.com/textlint/editor/tree/master/packages/@textlint/website-generator/",
9-
"bugs": {
10-
"url": "https://github.com/textlint/editor/issues"
11-
},
12-
"repository": {
13-
"type": "git",
14-
"url": "https://github.com/textlint/editor.git"
15-
},
16-
"license": "MIT",
17-
"author": "azu",
18-
"sideEffects": false,
19-
"main": "lib/index.js",
20-
"types": "lib/index.d.ts",
21-
"directories": {
22-
"lib": "lib",
23-
"test": "test"
24-
},
25-
"bin": {
26-
"textlint-website-generator": "./bin/cmd.js"
27-
},
28-
"files": [
29-
"bin/",
30-
"lib/",
31-
"template"
32-
],
33-
"scripts": {
34-
"build": "tsc -p .",
35-
"clean": "rimraf lib/",
36-
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
37-
"prepublish": "npm run --if-present build",
38-
"generate-template": "node tools/website-generator.mjs",
39-
"watch": "tsc -p . --watch",
40-
"prepack": "npm run generate-template"
41-
},
42-
"prettier": {
43-
"printWidth": 120,
44-
"singleQuote": false,
45-
"tabWidth": 4,
46-
"trailingComma": "none"
47-
},
48-
"dependencies": {
49-
"@textlint/script-compiler": "^0.18.0",
50-
"meow": "^9.0.0",
51-
"read-pkg": "^5.2.0",
52-
"textchecker-element": "^0.18.0"
53-
},
54-
"devDependencies": {
55-
"@types/mocha": "^10.0.10",
56-
"@types/node": "^24.0.3",
57-
"@types/rimraf": "4.0.5",
58-
"mocha": "^11.7.0",
59-
"prettier": "^3.6.0",
60-
"rimraf": "^6.0.1",
61-
"ts-node": "^10.9.2",
62-
"ts-node-test-register": "^10.0.0",
63-
"typescript": "^5.8.3"
64-
},
65-
"publishConfig": {
66-
"access": "public"
67-
}
2+
"name": "@textlint/website-generator",
3+
"version": "0.18.0",
4+
"description": "Website generator using @textlint/script-compiler",
5+
"keywords": [
6+
"textlint"
7+
],
8+
"homepage": "https://github.com/textlint/editor/tree/master/packages/@textlint/website-generator/",
9+
"bugs": {
10+
"url": "https://github.com/textlint/editor/issues"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/textlint/editor.git"
15+
},
16+
"license": "MIT",
17+
"author": "azu",
18+
"sideEffects": false,
19+
"main": "lib/index.js",
20+
"types": "lib/index.d.ts",
21+
"directories": {
22+
"lib": "lib",
23+
"test": "test"
24+
},
25+
"bin": {
26+
"textlint-website-generator": "./bin/cmd.js"
27+
},
28+
"files": [
29+
"bin/",
30+
"lib/",
31+
"template"
32+
],
33+
"scripts": {
34+
"build": "tsc -p .",
35+
"clean": "rimraf lib/",
36+
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
37+
"prepublish": "npm run --if-present build",
38+
"generate-template": "node tools/website-generator.mjs",
39+
"watch": "tsc -p . --watch",
40+
"prepack": "npm run generate-template"
41+
},
42+
"prettier": {
43+
"printWidth": 120,
44+
"singleQuote": false,
45+
"tabWidth": 4,
46+
"trailingComma": "none"
47+
},
48+
"dependencies": {
49+
"@textlint/script-compiler": "workspace:*",
50+
"meow": "^9.0.0",
51+
"read-pkg": "^5.2.0",
52+
"textchecker-element": "workspace:*"
53+
},
54+
"devDependencies": {
55+
"@types/mocha": "^10.0.10",
56+
"@types/node": "^24.0.3",
57+
"@types/rimraf": "4.0.5",
58+
"mocha": "^11.7.0",
59+
"prettier": "^3.6.0",
60+
"rimraf": "^6.0.1",
61+
"ts-node": "^10.9.2",
62+
"ts-node-test-register": "^10.0.0",
63+
"typescript": "^5.8.3"
64+
},
65+
"publishConfig": {
66+
"access": "public"
67+
}
6868
}

0 commit comments

Comments
 (0)