From 49cb41d1596b9b06c9ff786e43c471ede7b87a51 Mon Sep 17 00:00:00 2001 From: "vault-token-factory-spectrocloud[bot]" <133815545+vault-token-factory-spectrocloud[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:44:27 +0000 Subject: [PATCH] ci: remove package.json prepare (#4388) (#4389) (cherry picked from commit 8bfcdb76f2652342f4b4ba02488455aa64c58928) Co-authored-by: Karl Cardenas <29551334+karl-cardenas-coding@users.noreply.github.com> --- package-lock.json | 14 +++++--------- package.json | 7 +++---- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 53735ac415..ede5d50076 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,6 +21,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@mdx-js/react": "^3.0.1", "antd": "^5.6.2", + "axios-retry": "^4.5.0", "babel-plugin-macros": "^3.1.0", "clsx": "^1.2.1", "docusaurus-plugin-image-zoom": "^2.0.0", @@ -29,6 +30,7 @@ "fuse.js": "^6.6.2", "markdown-to-jsx": "^7.0.0", "node-fetch": "^3.1.0", + "p-ratelimit": "^1.0.1", "prism-react-renderer": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.3.1", @@ -44,16 +46,15 @@ "@playwright/test": "^1.42.1", "@semantic-release/changelog": "^6.0.1", "@semantic-release/exec": "^6.0.3", - "@semantic-release/git": "*", - "@semantic-release/github": "*", - "@semantic-release/npm": "*", + "@semantic-release/git": "latest", + "@semantic-release/github": "latest", + "@semantic-release/npm": "latest", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.1", "@tsconfig/docusaurus": "^2.0.3", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", - "axios-retry": "^4.5.0", "babel-jest": "^29.6.2", "dotenv": "^16.3.1", "eslint": "^8.45.0", @@ -73,7 +74,6 @@ "linkinator": "^6.1.1", "lint-staged": "^15.2.10", "netlify-cli": "^17.36.3", - "p-ratelimit": "^1.0.1", "prettier": "3.3.2", "semantic-release": "^24.1.0", "test-links": "^0.0.1", @@ -11305,7 +11305,6 @@ }, "node_modules/axios": { "version": "0.25.0", - "dev": true, "license": "MIT", "dependencies": { "follow-redirects": "^1.14.7" @@ -11315,7 +11314,6 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/axios-retry/-/axios-retry-4.5.0.tgz", "integrity": "sha512-aR99oXhpEDGo0UuAlYcn2iGRds30k366Zfa05XWScR9QaQD4JYiP3/1Qt1u7YlefUOK+cn0CcwoL1oefavQUlQ==", - "dev": true, "license": "Apache-2.0", "dependencies": { "is-retry-allowed": "^2.2.0" @@ -11326,7 +11324,6 @@ }, "node_modules/axios-retry/node_modules/is-retry-allowed": { "version": "2.2.0", - "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -53379,7 +53376,6 @@ }, "node_modules/p-ratelimit": { "version": "1.0.1", - "dev": true, "license": "MIT", "engines": { "node": ">=10.23.0" diff --git a/package.json b/package.json index 4feb3b0a75..72c185df03 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ "lint": "eslint . --ext .js,.ts,.jsx,.tsx", "lint:fix": "npm run lint -- --fix", "format": "prettier --write \"**/*.{js,jsx,json,ts,tsx,md,mdx,css}\"", - "format-check": "prettier . --check", - "prepare": "husky install" + "format-check": "prettier . --check" }, "lint-staged": { "**/*.{js,jsx,json,ts,tsx,md,mdx,css}": "npm run format" @@ -48,6 +47,7 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@mdx-js/react": "^3.0.1", "antd": "^5.6.2", + "axios-retry": "^4.5.0", "babel-plugin-macros": "^3.1.0", "clsx": "^1.2.1", "docusaurus-plugin-image-zoom": "^2.0.0", @@ -56,6 +56,7 @@ "fuse.js": "^6.6.2", "markdown-to-jsx": "^7.0.0", "node-fetch": "^3.1.0", + "p-ratelimit": "^1.0.1", "prism-react-renderer": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.3.1", @@ -80,7 +81,6 @@ "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", - "axios-retry": "^4.5.0", "babel-jest": "^29.6.2", "dotenv": "^16.3.1", "eslint": "^8.45.0", @@ -104,7 +104,6 @@ "semantic-release": "^24.1.0", "test-links": "^0.0.1", "ts-jest": "^29.1.4", - "p-ratelimit": "^1.0.1", "typescript": "^5.1.6", "typescript-plugin-css-modules": "^5.1.0", "webpconvert": "^3.0.1"