mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Fix scripts execution compatibility (#10838)
This commit is contained in:
		
							parent
							
								
									7b07b44abe
								
							
						
					
					
						commit
						da97f3263f
					
				
							
								
								
									
										8
									
								
								.github/workflows/create-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/create-release.yml
									
									
									
									
										vendored
									
									
								
							| @ -64,13 +64,13 @@ jobs: | ||||
|       - name: Install dependencies | ||||
|         run: npm i --ignore-scripts --no-audit --no-fund | ||||
|       - name: Update major version in CDN URLs | ||||
|         run: ./scripts/release/update-cdn-urls.js | ||||
|         run: node scripts/release/update-cdn-urls.js | ||||
|       - name: Update SVGs count milestone | ||||
|         run: ./scripts/release/update-svgs-count.js | ||||
|         run: node scripts/release/update-svgs-count.js | ||||
|       - name: Update slugs table | ||||
|         run: ./scripts/release/update-slugs-table.js | ||||
|         run: node scripts/release/update-slugs-table.js | ||||
|       - name: Update SDK Typescript definitions | ||||
|         run: ./scripts/release/update-sdk-ts-defs.js | ||||
|         run: node scripts/release/update-sdk-ts-defs.js | ||||
|       - name: Commit version bump | ||||
|         uses: stefanzweifel/git-auto-commit-action@v5 | ||||
|         with: | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							| @ -43,9 +43,9 @@ jobs: | ||||
|       - name: Install dependencies | ||||
|         run: npm i --ignore-scripts --no-audit --no-fund | ||||
|       - name: Reformat to regular markdown | ||||
|         run: ./scripts/release/reformat-markdown.js "${{ steps.get-version.outputs.version }}" | ||||
|         run: node scripts/release/reformat-markdown.js "${{ steps.get-version.outputs.version }}" | ||||
|       - name: Update SDK Typescript definitions | ||||
|         run: ./scripts/release/update-sdk-ts-defs.js | ||||
|         run: node scripts/release/update-sdk-ts-defs.js | ||||
|       - name: Build NodeJS package | ||||
|         run: npm run build | ||||
|       - name: Deploy to NPM | ||||
| @ -70,7 +70,7 @@ jobs: | ||||
|       - id: get-version | ||||
|         uses: ./.github/actions/get-version | ||||
|       - name: Reformat to regular markdown | ||||
|         run: ./scripts/release/reformat-markdown.js "${{ steps.get-version.outputs.version }}" | ||||
|         run: node scripts/release/reformat-markdown.js "${{ steps.get-version.outputs.version }}" | ||||
|       - name: Configure GIT credentials | ||||
|         run: | | ||||
|           git config user.name "simple-icons[bot]" | ||||
|  | ||||
							
								
								
									
										12
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								package.json
									
									
									
									
									
								
							| @ -107,16 +107,16 @@ | ||||
|     "xo": "0.58.0" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "build": "./scripts/build/package.js", | ||||
|     "clean": "./scripts/build/clean.js", | ||||
|     "build": "node scripts/build/package.js", | ||||
|     "clean": "node scripts/build/clean.js", | ||||
|     "format": "npm run prettier -- --write && npm run xo:fix", | ||||
|     "xo:fix": "xo --fix", | ||||
|     "prettier": "prettier --cache --ignore-unknown \"**/*.!(js|jsx|mjs|cjs|ts|tsx|mts|cts|svg)\"", | ||||
|     "lint": "npm run ourlint && npm run prettierlint && npm run jslint && npm run jsonlint && npm run svglint && npm run wslint", | ||||
|     "ourlint": "./scripts/lint/ourlint.js", | ||||
|     "ourlint": "node scripts/lint/ourlint.js", | ||||
|     "prettierlint": "npm run prettier -- --check", | ||||
|     "jslint": "xo", | ||||
|     "jsonlint": "./scripts/lint/jsonlint.js", | ||||
|     "jsonlint": "node scripts/lint/jsonlint.js", | ||||
|     "svglint": "svglint --ci --config svglint.config.mjs icons/*.svg", | ||||
|     "wslint": "editorconfig-checker", | ||||
|     "prepare": "husky", | ||||
| @ -125,8 +125,8 @@ | ||||
|     "test": "mocha tests --reporter tests/min-reporter.cjs --inline-diffs", | ||||
|     "pretest": "npm run prepublishOnly", | ||||
|     "posttest": "npm run postpublish", | ||||
|     "get-filename": "./scripts/get-filename.js", | ||||
|     "add-icon-data": "./scripts/add-icon-data.js" | ||||
|     "get-filename": "node scripts/get-filename.js", | ||||
|     "add-icon-data": "node scripts/add-icon-data.js" | ||||
|   }, | ||||
|   "engines": { | ||||
|     "node": ">=0.12.18" | ||||
|  | ||||
							
								
								
									
										0
									
								
								scripts/add-icon-data.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/add-icon-data.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/build/clean.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/build/clean.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/build/package.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/build/package.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/get-filename.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/get-filename.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/lint/jsonlint.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/lint/jsonlint.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/lint/ourlint.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/lint/ourlint.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/release/reformat-markdown.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/release/reformat-markdown.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/release/update-cdn-urls.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/release/update-cdn-urls.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/release/update-sdk-ts-defs.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/release/update-sdk-ts-defs.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/release/update-slugs-table.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/release/update-slugs-table.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								scripts/release/update-svgs-count.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								scripts/release/update-svgs-count.js
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user