From f1c8a03ae11b3ab683112e86abaf6ff4fbeacdac Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 16 Jul 2025 18:20:33 +0000 Subject: [PATCH] PR-342468: fixing types of jest. --- bin/cli.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- tsconfig.json | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index 3cbae8c..cfb4525 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`; +const installDepsCommand = `cd ${repoName} && npm install --legacy-peer-deps`; 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 0fb99f2..ca2df15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aleleba/create-react-component-library", - "version": "1.2.28", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@aleleba/create-react-component-library", - "version": "1.2.28", + "version": "1.3.0", "license": "MIT", "bin": { "create-react-component-library": "bin/cli.js" diff --git a/package.json b/package.json index cbb4ffa..c267f5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-react-component-library", - "version": "1.2.28", + "version": "1.3.0", "description": "A starter kit for create a React component Library with storybook", "bin": "./bin/cli.js", "main": "dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index 4af8be2..96a6006 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -43,6 +43,7 @@ "exclude": [ "node_modules", "dist", - "PRNameGenerator.ts" + "PRNameGenerator.ts", + "cypress.config.ts" ] }