diff --git a/bin/cli.js b/bin/cli.js index cfb4525..3cbae8c 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -67,7 +67,7 @@ if(!checkedOut) process.exit(-1); const actualVersion = runCommandWithOutput(`cd ${repoName} && node -p "require('./package.json').version"`).toString().trim() -const installDepsCommand = `cd ${repoName} && npm install --legacy-peer-deps`; +const installDepsCommand = `cd ${repoName} && npm install`; const cleanGitHistoryCommand = `cd ${repoName} && rm -rf .git && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"` const cleanGitHistoryCommandWindows = `cd ${repoName} && rmdir .git /s /q && git init && git add --all -- ":!.github" ":!bin" && git commit -m "Initial commit"` const deleteFoldersCommand = `cd ${repoName} && rm -rf .github && rm -rf bin` diff --git a/package-lock.json b/package-lock.json index bb4a91c..501298e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aleleba/create-react-component-library", - "version": "1.2.26", + "version": "1.2.27", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aleleba/create-react-component-library", - "version": "1.2.26", + "version": "1.2.27", "license": "MIT", "bin": { "create-react-component-library": "bin/cli.js" @@ -37,7 +37,7 @@ "@testing-library/user-event": "^14.5.2", "@types/cypress": "^0.1.6", "@types/jest": "^29.5.14", - "@types/node": "^22.8.1", + "@types/node": "^22.8.4", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/webpack": "^5.28.5", @@ -60,7 +60,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "resolve-ts-aliases": "^1.0.1", - "sass": "^1.80.4", + "sass": "^1.80.5", "sass-loader": "^16.0.2", "storybook": "^8.3.6", "style-loader": "^4.0.0", @@ -5623,9 +5623,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.8.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.1.tgz", - "integrity": "sha512-k6Gi8Yyo8EtrNtkHXutUu2corfDf9su95VYVP10aGYMMROM6SAItZi0w1XszA6RtWTHSVp5OeFof37w0IEqCQg==", + "version": "22.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.4.tgz", + "integrity": "sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==", "dev": true, "license": "MIT", "dependencies": { @@ -16701,9 +16701,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.80.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.4.tgz", - "integrity": "sha512-rhMQ2tSF5CsuuspvC94nPM9rToiAFw2h3JTrLlgmNw1MH79v8Cr3DH6KF6o6r+8oofY3iYVPUf66KzC8yuVN1w==", + "version": "1.80.5", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.5.tgz", + "integrity": "sha512-TQd2aoQl/+zsxRMEDSxVdpPIqeq9UFc6pr7PzkugiTx3VYCFPUaa3P4RrBQsqok4PO200Vkz0vXQBNlg7W907g==", "dev": true, "license": "MIT", "dependencies": { @@ -22733,9 +22733,9 @@ "dev": true }, "@types/node": { - "version": "22.8.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.1.tgz", - "integrity": "sha512-k6Gi8Yyo8EtrNtkHXutUu2corfDf9su95VYVP10aGYMMROM6SAItZi0w1XszA6RtWTHSVp5OeFof37w0IEqCQg==", + "version": "22.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.4.tgz", + "integrity": "sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==", "dev": true, "requires": { "undici-types": "~6.19.8" @@ -30573,9 +30573,9 @@ "dev": true }, "sass": { - "version": "1.80.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.4.tgz", - "integrity": "sha512-rhMQ2tSF5CsuuspvC94nPM9rToiAFw2h3JTrLlgmNw1MH79v8Cr3DH6KF6o6r+8oofY3iYVPUf66KzC8yuVN1w==", + "version": "1.80.5", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.80.5.tgz", + "integrity": "sha512-TQd2aoQl/+zsxRMEDSxVdpPIqeq9UFc6pr7PzkugiTx3VYCFPUaa3P4RrBQsqok4PO200Vkz0vXQBNlg7W907g==", "dev": true, "requires": { "@parcel/watcher": "^2.4.1", diff --git a/package.json b/package.json index 072c652..885f68d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-react-component-library", - "version": "1.2.26", + "version": "1.2.27", "description": "A starter kit for create a React component Library with storybook", "bin": "./bin/cli.js", "main": "dist/index.js", @@ -13,7 +13,7 @@ "test:watch": "jest --watch", "storybook": "storybook dev -p 3000", "build-storybook": "storybook build", - "check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps", + "check-updates": "npx npm-check-updates -u --reject @types/cypress && npm i", "cy:open": "npx cypress open", "cy:run": "npx cypress run --headless --component" }, @@ -60,7 +60,7 @@ "@testing-library/user-event": "^14.5.2", "@types/cypress": "^0.1.6", "@types/jest": "^29.5.14", - "@types/node": "^22.8.1", + "@types/node": "^22.8.4", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/webpack": "^5.28.5", @@ -83,7 +83,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "resolve-ts-aliases": "^1.0.1", - "sass": "^1.80.4", + "sass": "^1.80.5", "sass-loader": "^16.0.2", "storybook": "^8.3.6", "style-loader": "^4.0.0",