|
27 | 27 | } |
28 | 28 | }, |
29 | 29 | "dependencies": { |
| 30 | + "@intlify/shared": "latest", |
30 | 31 | "@microsoft/api-extractor-model": "^7.12.0", |
31 | 32 | "@microsoft/tsdoc": "^0.13.0", |
32 | 33 | "@microsoft/tsdoc-config": "^0.15.0", |
33 | 34 | "chalk": "^4.1.1", |
34 | | - "debug": "^4.3.1", |
35 | | - "meow": "^10.0.0" |
| 35 | + "debug": "^4.3.3", |
| 36 | + "meow": "^9.0.0" |
36 | 37 | }, |
37 | 38 | "devDependencies": { |
38 | | - "@microsoft/api-extractor": "^7.12.0", |
| 39 | + "@kazupon/lerna-changelog": "^4.3.0", |
| 40 | + "@microsoft/api-extractor": "^7.18.21", |
39 | 41 | "@types/debug": "^4.1.5", |
40 | 42 | "@types/jest": "^26.0.23", |
41 | | - "@types/meow": "^6.0.0", |
42 | | - "@types/node": "^15.3.1", |
43 | | - "@typescript-eslint/eslint-plugin": "^4.24.0", |
44 | | - "@typescript-eslint/parser": "^4.24.0", |
45 | | - "eslint": "^7.26.0", |
| 43 | + "@types/node": "^16.11.0", |
| 44 | + "@typescript-eslint/eslint-plugin": "^5.5.0", |
| 45 | + "@typescript-eslint/parser": "^5.5.0", |
| 46 | + "eslint": "^8.4.0", |
46 | 47 | "eslint-config-prettier": "^8.3.0", |
47 | | - "eslint-plugin-prettier": "^3.4.0", |
48 | | - "eslint-plugin-vue-libs": "^4.0.0", |
| 48 | + "eslint-plugin-prettier": "^4.0.0", |
49 | 49 | "jest": "^27.0.0", |
50 | 50 | "jest-watch-typeahead": "^0.6.3", |
51 | | - "lerna": "^4.0.0", |
52 | | - "lerna-changelog": "^1.0.1", |
53 | 51 | "npm-run-all": "^4.1.5", |
54 | 52 | "opener": "^1.5.2", |
55 | | - "prettier": "^2.3.0", |
| 53 | + "prettier": "^2.5.0", |
56 | 54 | "shipjs": "^0.24.0", |
57 | 55 | "ts-jest": "^27.0.0", |
58 | | - "typescript": "^4.2.4", |
59 | | - "typescript-eslint-language-service": "^4.1.4", |
| 56 | + "typescript": "^4.5.2", |
60 | 57 | "vuepress": "^1.8.2" |
61 | 58 | }, |
62 | 59 | "engines": { |
|
86 | 83 | ], |
87 | 84 | "license": "MIT", |
88 | 85 | "main": "lib/index.js", |
| 86 | + "pnpm": { |
| 87 | + "overrides": { |
| 88 | + "typescript": "^4.5.2", |
| 89 | + "@microsoft/api-extractor": "^7.18.21" |
| 90 | + } |
| 91 | + }, |
89 | 92 | "repository": { |
90 | 93 | "type": "git", |
91 | 94 | "url": "git+https://github.com/kazupon/api-docs-gen.git" |
92 | 95 | }, |
93 | 96 | "scripts": { |
94 | | - "build": "yarn build:transpile && yarn build:extract", |
| 97 | + "build": "pnpm build:transpile && pnpm build:extract", |
95 | 98 | "build:docs": "node ./bin/run.js ./temp/api-docs-gen.api.json -c ./docsgen.config.js -o ./", |
96 | 99 | "build:extract": "api-extractor run -l -c ./api-extractor.json", |
97 | 100 | "build:transpile": "tsc -p .", |
|
101 | 104 | "clean:extract": "rm -rf ./temp ./dist ./ect/*.md", |
102 | 105 | "clean:lib": "rm -rf ./lib/*.*", |
103 | 106 | "coverage": "opener coverage/lcov-report/index.html", |
104 | | - "example": "yarn example:build && yarn example:extract && yarn example:gen", |
105 | | - "example:build": "lerna run build", |
106 | | - "example:clean": "lerna run clean && rm -rf examples/docs/api/*.md", |
| 107 | + "example": "pnpm example:build && pnpm example:extract && pnpm example:gen", |
| 108 | + "example:build": "pnpm build --filter ./examples/packages", |
| 109 | + "example:clean": "pnpm clean --filter ./examples/packages && rm -rf examples/docs/api/*.md", |
107 | 110 | "example:docs": "vuepress dev examples/docs", |
108 | | - "example:extract": "lerna run extract", |
| 111 | + "example:extract": "pnpm extract --filter ./examples/packages", |
109 | 112 | "example:gen": "node ./bin/run.js ./examples/packages/utilities/temp/utilities.api.json ./examples/packages/library1/temp/library1.api.json -o ./examples/docs/api", |
110 | | - "example:setup": "lerna bootstrap", |
111 | 113 | "example:teardown": "rm -rf ./examples/packages/utilities/node_modules && rm -rf ./examples/packages/library1/node_modules", |
112 | | - "fix": "npm-run-all --parallel lint:fix format:fix", |
| 114 | + "fix": "run-p \"lint:fix\" \"format:fix\"", |
113 | 115 | "format": "prettier --config .prettierrc --ignore-path .prettierignore '**/*.{js,json,html}'", |
114 | | - "format:fix": "yarn format --write", |
| 116 | + "format:fix": "pnpm format -- --write", |
115 | 117 | "lint": "eslint ./src ./test --ext .ts", |
116 | | - "lint:fix": "yarn lint --fix", |
| 118 | + "lint:fix": "pnpm lint -- --fix", |
117 | 119 | "release:prepare": "shipjs prepare", |
118 | 120 | "release:trigger": "shipjs trigger", |
119 | | - "test": "yarn lint && yarn test:cover", |
120 | | - "test:cover": "yarn test:unit --coverage", |
| 121 | + "test": "pnpm lint && pnpm test:cover", |
| 122 | + "test:cover": "pnpm test:unit -- --coverage", |
121 | 123 | "test:unit": "jest --env node", |
122 | 124 | "test:watch": "jest --env node --watch", |
123 | 125 | "watch": "tsc -p . --watch" |
|
0 commit comments