mirror of
				https://github.com/aleleba/create-react-ssr.git
				synced 2025-10-30 13:40:45 -06:00 
			
		
		
		
	PR-387478: Actualiza las dependencias de npm para solucionar problemas de compatibilidad
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/main-workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/main-workflow.yml
									
									
									
									
										vendored
									
									
								
							| @@ -26,7 +26,7 @@ jobs: | ||||
|         node-version: 16 | ||||
|         cache: 'npm' | ||||
|         registry-url: https://registry.npmjs.org/ | ||||
|     - run: npm ci | ||||
|     - run: npm ci --legacy-peer-deps | ||||
|     - run: npm test | ||||
|  | ||||
|   # Job to run Cypress component tests | ||||
| @@ -69,7 +69,7 @@ jobs: | ||||
|         with: | ||||
|           node-version: 16 | ||||
|           registry-url: https://registry.npmjs.org/ | ||||
|       - run: npm ci | ||||
|       - run: npm ci --legacy-peer-deps | ||||
|       - run: npm run build | ||||
|  | ||||
|   # Job to publish the package to NPM | ||||
| @@ -83,7 +83,7 @@ jobs: | ||||
|         with: | ||||
|           node-version: 16 | ||||
|           registry-url: https://registry.npmjs.org/ | ||||
|       - run: npm ci | ||||
|       - run: npm ci --legacy-peer-deps | ||||
|       - run: npm publish --access=public | ||||
|         env: | ||||
|           NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||||
| @@ -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` | ||||
|   | ||||
| @@ -13,7 +13,7 @@ | ||||
|     "lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix", | ||||
|     "test": "jest", | ||||
|     "test:watch": "jest --watch", | ||||
|     "check-updates": "npx npm-check-updates -u && npm i", | ||||
|     "check-updates": "npx npm-check-updates -u && npm i --legacy-peer-deps", | ||||
|     "cy:open": "npx cypress open", | ||||
|     "cy:run": "cypress run", | ||||
|     "cy:run-component": "cypress run --headless --component" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user