|
2 | 2 | "name": "cache-interop-monorepo", |
3 | 3 | "private": true, |
4 | 4 | "license": "MIT", |
5 | | - "homepage": "https://github.com/soluble-io/cache-interop", |
6 | | - "repository": { |
7 | | - "type": "git", |
8 | | - "url": "https://github.com/soluble-io/cache-interop.git" |
9 | | - }, |
10 | 5 | "author": { |
11 | 6 | "name": "Vanvelthem Sébastien", |
12 | 7 | "url": "https://github.com/belgattitude" |
13 | 8 | }, |
14 | | - "workspaces": { |
15 | | - "packages": [ |
16 | | - "examples/*", |
17 | | - "packages/*" |
18 | | - ] |
| 9 | + "homepage": "https://github.com/soluble-io/cache-interop", |
| 10 | + "repository": "soluble-io/cache-interop.git", |
| 11 | + "resolutions?": { |
| 12 | + "eslint-plugin-react-hooks": "https://github.com/vercel/next.js/issues/52365" |
| 13 | + }, |
| 14 | + "resolutions": { |
| 15 | + "eslint-plugin-react-hooks": "4.6.0" |
19 | 16 | }, |
20 | 17 | "scripts": { |
21 | | - "postinstall": "is-ci || husky install", |
| 18 | + "?build-release": "When https://github.com/atlassian/changesets/issues/432 has a solution we can remove this trick", |
| 19 | + "check:codecov-config": "curl --data-binary @codecov.yml https://codecov.io/validate", |
| 20 | + "check:install": "yarn dlx @yarnpkg/doctor@^3.1.3 .", |
| 21 | + "clean:global-cache": "rimraf ./.cache", |
| 22 | + "deps:check": "npx npm-check-updates@latest --configFileName ncurc.yml --workspaces --root --mergeConfig", |
| 23 | + "deps:update": "npx npm-check-updates@latest --configFileName ncurc.yml -u --workspaces --root --mergeConfig", |
22 | 24 | "g:build": "yarn g:build-release", |
| 25 | + "g:build-api-doc": "yarn workspaces foreach -pv run build-api-doc", |
23 | 26 | "g:build-packages": "yarn workspaces foreach -v --no-private run build", |
24 | | - "?build-release": "When https://github.com/atlassian/changesets/issues/432 has a solution we can remove this trick", |
25 | 27 | "g:build-release": "yarn workspaces foreach -tv run build-release", |
26 | | - "g:size-limit": "yarn workspaces foreach -v --no-private run size-limit", |
| 28 | + "g:changeset": "changeset", |
27 | 29 | "g:check-dist": "yarn workspaces foreach -v --no-private run check-dist", |
28 | 30 | "g:check-pub": "yarn workspaces foreach -v --no-private run check-pub", |
| 31 | + "g:ci-coverage-upload": "yarn workspaces foreach -tv run ci-coverage-upload", |
29 | 32 | "g:clean": "yarn clean:global-cache && yarn workspaces foreach -pv run clean", |
30 | | - "g:build-api-doc": "yarn workspaces foreach -pv run build-api-doc", |
| 33 | + "g:fix-staged": "yarn workspaces foreach -t run fix-staged", |
| 34 | + "g:lint": "yarn workspaces foreach -pv run lint", |
| 35 | + "g:lint-staged-files": "lint-staged --allow-empty", |
| 36 | + "g:release": "yarn g:build-release && changeset publish", |
| 37 | + "g:size-limit": "yarn workspaces foreach -v --no-private run size-limit", |
31 | 38 | "g:test": "run-s g:test-unit g:test-e2e", |
32 | | - "g:test-unit": "yarn workspaces foreach -ptv --exclude '@soluble/*e2e*' --exclude 'cache-interop-docs' run test-unit", |
33 | 39 | "g:test-e2e": "yarn workspaces foreach -ptv --include '@soluble/*e2e*' --exclude 'cache-interop-docs' run test-e2e", |
34 | | - "g:changeset": "changeset", |
35 | | - "g:release": "yarn g:build-release && changeset publish", |
| 40 | + "g:test-unit": "yarn workspaces foreach -ptv --exclude '@soluble/*e2e*' --exclude 'cache-interop-docs' run test-unit", |
36 | 41 | "g:typecheck": "yarn workspaces foreach -ptv run typecheck", |
37 | | - "g:lint": "yarn workspaces foreach -pv run lint", |
38 | | - "g:lint-staged-files": "lint-staged --allow-empty", |
39 | | - "g:fix-staged": "yarn workspaces foreach -t run fix-staged", |
40 | | - "g:ci-coverage-upload": "yarn workspaces foreach -tv run ci-coverage-upload", |
41 | | - "deps:check": "npx npm-check-updates@latest --configFileName ncurc.yml --workspaces --root --mergeConfig", |
42 | | - "deps:update": "npx npm-check-updates@latest --configFileName ncurc.yml -u --workspaces --root --mergeConfig", |
43 | | - "check:install": "yarn dlx @yarnpkg/doctor@^3.1.3 .", |
44 | | - "check:codecov-config": "curl --data-binary @codecov.yml https://codecov.io/validate", |
45 | 42 | "nuke:node_modules": "rimraf --glob '**/node_modules'", |
46 | | - "clean:global-cache": "rimraf ./.cache" |
| 43 | + "postinstall": "is-ci || husky install", |
| 44 | + "syncpack:check": "syncpack lint-semver-ranges --types prod,dev --source \"package.json\" --source \"packages/*/package.json\"", |
| 45 | + "syncpack:format": "syncpack format", |
| 46 | + "syncpack:list": "syncpack list-semver-ranges --types prod,dev --source \"package.json\" --source \"packages/*/package.json\"", |
| 47 | + "prettier:format": "prettier --config .prettierrc.js --cache --cache-location=\".cache/prettier/monorepo.prettiercache\" --ignore-path .prettierignore \"**/*.{js,cjs,mjs,ts,mts,md,mdx,json}\" --write" |
47 | 48 | }, |
| 49 | + "workspaces": { |
| 50 | + "packages": [ |
| 51 | + "examples/*", |
| 52 | + "packages/*" |
| 53 | + ] |
| 54 | + }, |
| 55 | + "packageManager": "[email protected]", |
48 | 56 | "dependenciesMeta": { |
49 | 57 | "cpu-features": { |
50 | 58 | "built": false |
|
72 | 80 | "npm-run-all": "4.1.5", |
73 | 81 | "prettier": "3.0.0", |
74 | 82 | "rimraf": "5.0.1", |
75 | | - "shell-quote": "1.8.1" |
| 83 | + "shell-quote": "1.8.1", |
| 84 | + "syncpack": "10.7.3" |
76 | 85 | }, |
77 | 86 | "engines": { |
78 | 87 | "node": "^14.13.1 || >=16", |
79 | 88 | "yarn": ">=1.19.0", |
80 | 89 | "npm": "please-use-yarn" |
81 | | - }, |
82 | | - "packageManager": "[email protected]", |
83 | | - "resolutions?": { |
84 | | - "eslint-plugin-react-hooks": "https://github.com/vercel/next.js/issues/52365" |
85 | | - }, |
86 | | - "resolutions": { |
87 | | - "eslint-plugin-react-hooks": "4.6.0" |
88 | 90 | } |
89 | 91 | } |
0 commit comments