Skip to content

Commit

Permalink
ci: update changesets config (#268)
Browse files Browse the repository at this point in the history
* ci: update changesets config

Signed-off-by: donniean <[email protected]>

* chore: sort package.json files

Signed-off-by: donniean <[email protected]>

* chore: clear package.json files

Signed-off-by: donniean <[email protected]>

* ci: add changesets

Signed-off-by: donniean <[email protected]>

---------

Signed-off-by: donniean <[email protected]>
  • Loading branch information
donniean authored Jul 18, 2024
1 parent c2a3a3c commit af6740b
Show file tree
Hide file tree
Showing 14 changed files with 203 additions and 185 deletions.
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

14 changes: 8 additions & 6 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "kubesphere/kube-design" }
],
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "kubesphere/kube-design" }],
"commit": false,
"fixed": [["@kubed/*"]],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": [],
"snapshot": {
"useCalculatedVersion": false,
"prereleaseTemplate": "{tag}.{datetime}"
}
}
13 changes: 13 additions & 0 deletions .changeset/dirty-wasps-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@kubed/code-editor': patch
'@kubed/diff-viewer': patch
'@kubed/components': patch
'@kubed/log-viewer': patch
'@kubed/charts': patch
'@kubed/hooks': patch
'@kubed/icons': patch
'@kubed/tests': patch
'kubed-documents': patch
---

ci: update changesets config
20 changes: 10 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
"version": "0.2.7",
"private": true,
"scripts": {
"dev": "next dev",
"build": "cd .. && npm run docs:docgen && cd packages/icons && npm run build && cd ../../docs && next build",
"start": "next start",
"lint": "next lint"
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"@kubed/components": "^0.2.8",
"@kubed/icons": "^0.0.20",
"@kubed/hooks": "^0.0.18",
"@kubed/icons": "^0.0.20",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^1.6.22",
"classnames": "^2.3.1",
"fs-extra": "^10.0.0",
"gray-matter": "^4.0.3",
"i18next": "23.11.5",
"lodash": "^4.17.21",
"next": "14.2.4",
"next-i18next": "15.3.0",
"react-i18next": "14.1.2",
"i18next": "23.11.5",
"prism-react-renderer": "^1.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-feather": "^2.0.9",
"react-i18next": "14.1.2",
"react-live": "^2.3.0",
"react-simple-code-editor": "^0.11.0",
"react-text-transition": "^1.3.0",
Expand All @@ -36,14 +36,14 @@
"rehype-toc2": "^0.0.5"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"babel-plugin-styled-components": "^1.13.2",
"eslint": "^7.27.0",
"eslint-config-next": "11.0.1",
"next-compose-plugins": "^2.2.1",
"next-mdx-remote": "^3.0.2",
"typescript": "^4.5.2",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18"
"typescript": "^4.5.2"
}
}
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
{
"name": "kubed",
"version": "0.0.0",
"private": true,
"description": "Kube Design for KubeSphere Console",
"repository": "https://github.com/kubesphere/kube-design",
"license": "MIT",
"main": "index.js",
"workspaces": [
"packages/*",
"docs"
],
"version": "0.0.1",
"description": "Kube Design for KubeSphere Console",
"main": "index.js",
"repository": "https://github.com/kubesphere/kube-design",
"license": "MIT",
"scripts": {
"start:docs": "cd ./docs && npm run dev",
"build:docs": "cd ./docs && npm run build",
"postinstall": "npm run docs:docgen && npm run build:icons",
"syncpack": "syncpack list-mismatches",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"build": "esno scripts/build",
"build:docs": "cd ./docs && npm run build",
"build:icons": "cd packages/icons && npm run build",
"jest": "jest",
"clean": "rimraf packages/*/{esm,cjs,lib,dist} packages/**/*.tsbuildinfo",
"docs:docgen": "esno scripts/docgen",
"postinstall": "npm run docs:docgen && npm run build:icons",
"jest": "jest",
"lint": "eslint src --ext .ts,.tsx",
"release": "yarn build all && changeset publish",
"start:docs": "cd ./docs && npm run dev",
"storybook": "storybook dev -p 7001 -c configs/.storybook",
"syncpack": "syncpack list-mismatches",
"test": "npm run syncpack && npm run typecheck && npm run lint && npm run jest",
"docs:docgen": "esno scripts/docgen",
"release": "yarn build all && changeset publish"
"typecheck": "tsc --noEmit"
},
"resolutions": {
"**/@babel/preset-env": "~7.15.8"
},
"dependencies": {
"dayjs": "^1.10.7",
"lodash": "^4.17.21",
"prism-react-renderer": "^1.2.1",
"react": "^18.3.1",
"react-router-dom": "^5.2.0",
"styled-components": "^5.3.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
Expand Down Expand Up @@ -92,16 +103,5 @@
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typescript": "4.8.4",
"yargs": "^17.0.1"
},
"dependencies": {
"dayjs": "^1.10.7",
"lodash": "^4.17.21",
"prism-react-renderer": "^1.2.1",
"react": "^18.3.1",
"react-router-dom": "^5.2.0",
"styled-components": "^5.3.0"
},
"resolutions": {
"**/@babel/preset-env": "~7.15.8"
}
}
27 changes: 13 additions & 14 deletions packages/charts/package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
{
"name": "@kubed/charts",
"version": "0.0.22",
"homepage": "https://github.com/kubesphere/kube-design",
"repository": {
"type": "git",
"url": "https://github.com/kubesphere/kube-design.git",
"directory": "packages/charts"
},
"license": "MIT",
"sideEffects": false,
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"sideEffects": false,
"homepage": "https://github.com/kubesphere/kube-design",
"files": [
"cjs",
"esm",
"lib"
],
"repository": {
"url": "https://github.com/kubesphere/kube-design.git",
"type": "git",
"directory": "packages/charts"
"dependencies": {
"lodash": "^4.17.21",
"recharts": "^2.3.2",
"styled-components": "^5.3.0"
},
"peerDependencies": {
"@kubed/hooks": "0.0.18",
"@kubed/icons": "0.0.20",
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-is": "^17.0.2"
},
"dependencies": {
"lodash": "^4.17.21",
"styled-components": "^5.3.0",
"recharts": "^2.3.2"
},
"devDependencies": {}
}
}
30 changes: 15 additions & 15 deletions packages/code-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
{
"name": "@kubed/code-editor",
"version": "0.0.27",
"homepage": "https://github.com/kubesphere/kube-design",
"repository": {
"type": "git",
"url": "https://github.com/kubesphere/kube-design.git",
"directory": "packages/code-editor"
},
"license": "MIT",
"sideEffects": false,
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"sideEffects": false,
"homepage": "https://github.com/kubesphere/kube-design",
"files": [
"cjs",
"esm",
"lib"
],
"repository": {
"url": "https://github.com/kubesphere/kube-design.git",
"type": "git",
"directory": "packages/code-editor"
},
"peerDependencies": {
"@kubed/hooks": "0.0.18",
"@kubed/icons": "0.0.20",
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-is": "^17.0.2"
},
"dependencies": {
"ace-builds": "^1.12.5",
"file-saver": "^2.0.5",
Expand All @@ -34,5 +27,12 @@
},
"devDependencies": {
"@types/file-saver": "^2.0.5"
},
"peerDependencies": {
"@kubed/hooks": "0.0.18",
"@kubed/icons": "0.0.20",
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-is": "^17.0.2"
}
}
34 changes: 17 additions & 17 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
{
"name": "@kubed/components",
"description": "React components library for KubeSphere console.",
"version": "0.2.10",
"description": "React components library for KubeSphere console.",
"repository": {
"type": "git",
"url": "https://github.com/kubesphere/kube-design.git",
"directory": "packages/components"
},
"license": "MIT",
"sideEffects": false,
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "lib/src/index.d.ts",
"license": "MIT",
"sideEffects": false,
"files": [
"cjs",
"esm",
"lib"
],
"repository": {
"url": "https://github.com/kubesphere/kube-design.git",
"type": "git",
"directory": "packages/components"
},
"peerDependencies": {
"@kubed/hooks": "0.0.18",
"@kubed/icons": "0.0.20",
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-is": "^17.0.2"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.1",
"@tanstack/react-table": "^8.17.3",
"@tippyjs/react": "^4.2.5",
"classnames": "^2.3.1",
Expand All @@ -44,10 +38,16 @@
"react-transition-group": "^4.4.2",
"scroll-into-view-if-needed": "^2.2.28",
"styled-components": "^5.3.0",
"tippy.js": "^6.3.7",
"@radix-ui/react-dialog": "^1.1.1"
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@kubed/tests": "0.0.6"
},
"peerDependencies": {
"@kubed/hooks": "0.0.18",
"@kubed/icons": "0.0.20",
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-is": "^17.0.2"
}
}
29 changes: 14 additions & 15 deletions packages/diff-viewer/package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
{
"name": "@kubed/diff-viewer",
"version": "0.0.23",
"homepage": "https://github.com/kubesphere/kube-design",
"repository": {
"type": "git",
"url": "https://github.com/kubesphere/kube-design.git",
"directory": "packages/diff-viewer"
},
"license": "MIT",
"sideEffects": false,
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"sideEffects": false,
"homepage": "https://github.com/kubesphere/kube-design",
"files": [
"cjs",
"esm",
"lib"
],
"repository": {
"url": "https://github.com/kubesphere/kube-design.git",
"type": "git",
"directory": "packages/diff-viewer"
"dependencies": {
"diff": "^5.1.0",
"diff2html": "^3.4.22",
"lodash": "^4.17.21",
"styled-components": "^5.3.0"
},
"peerDependencies": {
"@kubed/hooks": "0.0.18",
"@kubed/icons": "0.0.20",
"react": ">=16.8.6",
"react-dom": ">=16.8.6",
"react-is": "^17.0.2"
},
"dependencies": {
"diff": "^5.1.0",
"diff2html": "^3.4.22",
"lodash": "^4.17.21",
"styled-components": "^5.3.0"
},
"devDependencies": {}
}
}
Loading

0 comments on commit af6740b

Please sign in to comment.