Skip to content

Commit

Permalink
chore: sort package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed May 20, 2024
1 parent 203f113 commit 92dc38a
Show file tree
Hide file tree
Showing 8 changed files with 111 additions and 48 deletions.
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "storybook-rsbuild-monorepo",
"private": true,
"version": "0.0.0",
"packageManager": "[email protected]",
"private": true,
"scripts": {
"prepare": "pnpm run build && simple-git-hooks",
"build": "pnpm --filter \"./packages/**\" run prep --optimized",
"dev": "pnpm --parallel --filter \"./packages/**\" run prep --watch",
"check": "pnpm --parallel --filter \"./packages/**\" run check",
"dev": "pnpm --parallel --filter \"./packages/**\" run prep --watch",
"prepare": "pnpm run build && simple-git-hooks",
"test:sandboxes-build": "pnpm --parallel --filter \"./sandboxes/**\" run build:storybook"
},
"simple-git-hooks": {
Expand All @@ -17,13 +16,16 @@
"*.{md,mdx,json,css,less,scss}": "prettier --write",
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"prettier --write"
]
],
"**/package.json": "sort-package-json"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"nano-staged": "^0.8.0",
"simple-git-hooks": "^2.11.1",
"prettier": "^3.2.5",
"simple-git-hooks": "^2.11.1",
"sort-package-json": "^2.10.0",
"vitest": "^1.6.0"
}
},
"packageManager": "[email protected]"
}
6 changes: 3 additions & 3 deletions packages/builder-rsbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"rsbuild",
"rspack"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/rspack-contrib/storybook-rsbuild/issues"
},
Expand All @@ -16,6 +15,7 @@
"url": "https://github.com/rspack-contrib/storybook-rsbuild",
"directory": "packages/builder-rsbuild"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -90,12 +90,12 @@
},
"devDependencies": {
"@rsbuild/core": "0.6.15",
"@types/node": "^18.0.0",
"@types/express": "^4.17.21",
"@types/fs-extra": "^11.0.4",
"@types/node": "^18.0.0",
"@types/pretty-hrtime": "^1.0.0",
"pretty-hrtime": "^1.0.3",
"add": "^2.0.6",
"pretty-hrtime": "^1.0.3",
"slash": "^5.0.0",
"typescript": "^5.3.2"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/react-rsbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"rspack",
"react"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/rspack-contrib/storybook-rsbuild/issues"
},
Expand All @@ -17,6 +16,7 @@
"url": "https://github.com/rspack-contrib/storybook-rsbuild",
"directory": "packages/builder-react"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -58,14 +58,19 @@
"@storybook/node-logger": "^8.0.10",
"@storybook/react": "^8.0.10",
"@storybook/react-docgen-typescript-plugin": "^1.0.1",
"storybook-builder-rsbuild": "workspace:*",
"@types/node": "^18.0.0",
"find-up": "^5.0.0",
"magic-string": "^0.30.10",
"react-docgen": "^7.0.3",
"resolve": "^1.22.8",
"storybook-builder-rsbuild": "workspace:*",
"tsconfig-paths": "^4.2.0"
},
"devDependencies": {
"@storybook/types": "^8.0.10",
"add": "^2.0.6",
"typescript": "^5.3.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
Expand All @@ -89,10 +94,5 @@
"./src/loaders/react-docgen-loader.ts"
],
"platform": "node"
},
"devDependencies": {
"@storybook/types": "^8.0.10",
"add": "^2.0.6",
"typescript": "^5.3.2"
}
}
4 changes: 2 additions & 2 deletions packages/vue3-rsbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"rspack",
"vue3"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/rspack-contrib/storybook-rsbuild/issues"
},
Expand All @@ -17,6 +16,7 @@
"url": "https://github.com/rspack-contrib/storybook-rsbuild",
"directory": "packages/vue3-rsbuild"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -50,9 +50,9 @@
},
"dependencies": {
"@rsbuild/core": "0.6.15",
"@storybook/vue3": "^8.0.10",
"@storybook/docs-tools": "^8.0.10",
"@storybook/types": "^8.0.10",
"@storybook/vue3": "^8.0.10",
"storybook-builder-rsbuild": "workspace:*",
"vue-docgen-loader": "^1.5.1"
},
Expand Down
73 changes: 67 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions sandboxes/react-rsbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
{
"name": "@sandboxes/react-rsbuild",
"version": "0.0.0",
"description": "",
"private": true,
"description": "",
"author": "",
"scripts": {
"dev": "rsbuild dev --open",
"build": "rsbuild build",
"build:storybook": "storybook build",
"dev": "rsbuild dev --open",
"preview": "rsbuild preview",
"storybook": "storybook dev -p 6006",
"build:storybook": "storybook build"
"storybook": "storybook dev -p 6006"
},
"dependencies": {
"react": "18",
"react-dom": "18"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.0",
"@chromatic-com/storybook": "^1.4.0",
"@rsbuild/core": "0.6.15",
"@rsbuild/plugin-react": "^0.6.2",
"storybook-react-rsbuild": "workspace:*",
"@storybook/addon-essentials": "8.1.1",
"@storybook/addon-interactions": "8.1.1",
"@storybook/addon-links": "8.1.1",
Expand All @@ -29,7 +28,8 @@
"@storybook/test": "8.1.1",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^4.8",
"storybook": "8.1.1"
"storybook": "8.1.1",
"storybook-react-rsbuild": "workspace:*",
"typescript": "^4.8"
}
}
18 changes: 9 additions & 9 deletions sandboxes/vue3-rsbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "@sandboxes/vue3-rsbuild",
"private": true,
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "rsbuild dev --open",
"build": "rsbuild build",
"build-storybook": "storybook build",
"dev": "rsbuild dev --open",
"preview": "rsbuild preview",
"storybook": "storybook dev -p 6007",
"build-storybook": "storybook build"
"storybook": "storybook dev -p 6007"
},
"dependencies": {
"vue": "^3.4.21"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.0",
"storybook-vue3-rsbuild": "workspace:*",
"@storybook/addon-onboarding": "8.1.1",
"@chromatic-com/storybook": "^1.4.0",
"@rsbuild/core": "0.6.15",
"@rsbuild/plugin-vue": "0.6.15",
"@storybook/addon-essentials": "8.1.1",
"@storybook/addon-interactions": "8.1.1",
"@storybook/addon-links": "8.1.1",
"@storybook/addon-onboarding": "8.1.1",
"@storybook/blocks": "8.1.1",
"@storybook/test": "8.1.1",
"@storybook/vue3": "8.1.1",
"@rsbuild/plugin-vue": "0.6.15",
"@rsbuild/core": "0.6.15",
"storybook": "8.1.1",
"storybook-vue3-rsbuild": "workspace:*",
"typescript": "^5.2.2"
}
}
12 changes: 6 additions & 6 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
},
"dependencies": {
"@types/fs-extra": "^11.0.1",
"fs-extra": "^11.1.0",
"tsup": "^6.7.0",
"type-fest": "~2.19",
"chalk": "^4.1.0",
"esbuild-plugin-alias": "^0.2.1",
"ts-dedent": "^2.0.0",
"slash": "^3.0.0",
"esbuild-register": "^3.5.0",
"execa": "^6.1.0",
"chalk": "^4.1.0",
"fs-extra": "^11.1.0",
"slash": "^3.0.0",
"ts-dedent": "^2.0.0",
"tsup": "^6.7.0",
"type-fest": "~2.19",
"typescript": "^5.3.2"
},
"devDependencies": {
Expand Down

0 comments on commit 92dc38a

Please sign in to comment.