diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index e1aa8f87..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Release CI -on: - push: - branches: - - main - - alpha - - beta - - rc - -jobs: - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.CI_GITHUB_TOKEN }} - - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install deps - run: pnpm install - - - name: Test - run: pnpm run test - - release: - needs: test - name: Release - runs-on: ubuntu-latest - permissions: - contents: write # to be able to publish a GitHub release - issues: write # to be able to comment on released issues - pull-requests: write # to be able to comment on released pull requests - id-token: write # to enable use of OIDC for npm provenance - steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.CI_GITHUB_TOKEN }} - - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Install deps - run: pnpm install - - - name: Pre Build - run: pnpm run build - - - name: release - run: pnpm run release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.releaserc.js b/.releaserc.js deleted file mode 100644 index 495d29bb..00000000 --- a/.releaserc.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - extends: ['semantic-release-config-gitmoji'], -}; diff --git a/package.json b/package.json index 58020370..868187d8 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"", "prepare": "husky install && dumi setup", "prepublishOnly": "father doctor && npm run build", - "release": "semantic-release", "start": "npm run dev", "sync": "tnpm sync @ant-design/pro-editor", "test": "vitest", @@ -59,8 +58,8 @@ ] }, "dependencies": { - "@ant-design/icons": "^5.2.6", - "@babel/runtime": "^7.23.8", + "@ant-design/icons": "^5.3.0", + "@babel/runtime": "^7.23.9", "@dnd-kit/core": "^6.1.0", "@dnd-kit/modifiers": "^6.0.1", "@dnd-kit/sortable": "^7.0.2", @@ -71,7 +70,7 @@ "classnames": "^2.5.1", "color": "^4.2.3", "copy-to-clipboard": "^3.3.3", - "diff": "^5.1.0", + "diff": "^5.2.0", "fast-deep-equal": "^3.1.3", "highlight.js": "~10.5.0", "immer": "^9.0.21", @@ -87,17 +86,17 @@ "lodash.union": "^4.6.0", "lodash.unionby": "^4.8.0", "lodash.uniq": "^4.5.0", - "nanoid": "^5.0.4", - "polished": "^4.2.2", + "nanoid": "^5.0.5", + "polished": "^4.3.1", "rc-util": "^5.38.1", "re-resizable": "^6.9.11", "react-copy-to-clipboard": "^5.1.0", - "react-hotkeys-hook": "^4.4.4", + "react-hotkeys-hook": "^4.5.0", "react-layout-kit": "^1.7.4", "react-markdown": "^8.0.7", "react-rnd": "^10.4.1", "react-window": "^1.8.10", - "reactflow": "^11.10.2", + "reactflow": "^11.10.4", "rehype-katex": "^6.0.3", "remark-gfm": "^3.0.1", "remark-math": "^5.1.1", @@ -105,8 +104,8 @@ "shikiji": "^0.6.13", "type-fest": "^3.13.1", "use-merge-value": "^1.2.0", - "yjs": "^13.6.11", - "zustand": "^4.5.0", + "yjs": "^13.6.12", + "zustand": "^4.5.1", "zustand-middleware-yjs": "^1.3.1", "zustand-utils": "^1.3.2" }, @@ -114,17 +113,17 @@ "@ant-design/leva-panel": "^1.0.0", "@emotion/jest": "^11.11.0", "@lobehub/i18n-cli": "^1.15.3", - "@testing-library/jest-dom": "^6.3.0", + "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.5.2", "@types/color": "^3.0.6", "@types/json-schema": "^7.0.15", - "@types/react": "^18.2.48", - "@types/react-dom": "^18.2.18", + "@types/react": "^18.2.56", + "@types/react-dom": "^18.2.19", "@types/react-window": "^1.8.8", "@umijs/lint": "^4.1.1", "@vitest/coverage-v8": "latest", - "antd": "~5.12.0", + "antd": "~5.12.8", "antd-style": "^3.6.1", "babel-plugin-antd-style": "^1.0.4", "commitlint": "^17.8.1", @@ -133,7 +132,7 @@ "dumi": "^2.2.17", "dumi-theme-antd-style": "latest", "eslint": "^8.56.0", - "father": "^4.3.8", + "father": "^4.4.0", "gh-pages": "^5.0.0", "glob": "^10.3.10", "husky": "^8.0.3", @@ -141,13 +140,11 @@ "lint-staged": "^13.3.0", "prettier": "^2.8.8", "prettier-plugin-organize-imports": "^3.2.4", - "prettier-plugin-packagejson": "^2.4.9", + "prettier-plugin-packagejson": "^2.4.11", "react": "^18.2.0", "react-dom": "^18.2.0", "rehype-raw": "^6.1.1", "rxjs-spy": "^8.0.2", - "semantic-release": "^21.1.2", - "semantic-release-config-gitmoji": "^1.5.3", "stylelint": "^15.11.0", "typescript": "^5.3.3", "vitest": "latest",