Node 22 (#1997)
This commit is contained in:
		
							parent
							
								
									996d8d51fa
								
							
						
					
					
						commit
						7fa9253abc
					
				
							
								
								
									
										2
									
								
								.github/workflows/build-preview.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/build-preview.yaml
									
									
									
									
										vendored
									
									
								
							| @ -18,7 +18,7 @@ jobs: | ||||
|       - name: Setup Node | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 20 | ||||
|           node-version: 22 | ||||
| 
 | ||||
|       - name: Cache dependencies | ||||
|         uses: actions/cache@v4 | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							| @ -26,7 +26,7 @@ jobs: | ||||
|       - name: Setup Node | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 20 | ||||
|           node-version: 22 | ||||
| 
 | ||||
|       - name: Cache dependencies | ||||
|         uses: actions/cache@v4 | ||||
| @ -59,7 +59,7 @@ jobs: | ||||
|       - name: Setup Node | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 20 | ||||
|           node-version: 22 | ||||
|       - name: Get package version | ||||
|         run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV | ||||
|       - name: Create release tag | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| v20.9.0 | ||||
| v22.16.0 | ||||
|  | ||||
| @ -189,7 +189,7 @@ stages: | ||||
|   - build | ||||
|   - deploy | ||||
| 
 | ||||
| image: node:20 | ||||
| image: node:22 | ||||
| cache: # Cache modules in between jobs | ||||
|   key: $CI_COMMIT_REF_SLUG | ||||
|   paths: | ||||
|  | ||||
| @ -6,7 +6,7 @@ Quartz is a fast, batteries-included static-site generator that transforms Markd | ||||
| 
 | ||||
| ## 🪴 Get Started | ||||
| 
 | ||||
| Quartz requires **at least [Node](https://nodejs.org/) v20** and `npm` v9.3.1 to function correctly. Ensure you have this installed on your machine before continuing. | ||||
| Quartz requires **at least [Node](https://nodejs.org/) v22** and `npm` v10.9.2 to function correctly. Ensure you have this installed on your machine before continuing. | ||||
| 
 | ||||
| Then, in your terminal of choice, enter the following commands line by line: | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -1,12 +1,12 @@ | ||||
| { | ||||
|   "name": "@jackyzha0/quartz", | ||||
|   "version": "4.5.0", | ||||
|   "version": "4.5.1", | ||||
|   "lockfileVersion": 3, | ||||
|   "requires": true, | ||||
|   "packages": { | ||||
|     "": { | ||||
|       "name": "@jackyzha0/quartz", | ||||
|       "version": "4.5.0", | ||||
|       "version": "4.5.1", | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "@clack/prompts": "^0.11.0", | ||||
| @ -90,8 +90,8 @@ | ||||
|         "typescript": "^5.8.3" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": ">=20", | ||||
|         "npm": ">=9.3.1" | ||||
|         "node": ">=22", | ||||
|         "npm": ">=10.9.2" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@bufbuild/protobuf": { | ||||
|  | ||||
| @ -2,7 +2,7 @@ | ||||
|   "name": "@jackyzha0/quartz", | ||||
|   "description": "🌱 publish your digital garden and notes as a website", | ||||
|   "private": true, | ||||
|   "version": "4.5.0", | ||||
|   "version": "4.5.1", | ||||
|   "type": "module", | ||||
|   "author": "jackyzha0 <j.zhao2k19@gmail.com>", | ||||
|   "license": "MIT", | ||||
| @ -20,8 +20,8 @@ | ||||
|     "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1" | ||||
|   }, | ||||
|   "engines": { | ||||
|     "npm": ">=9.3.1", | ||||
|     "node": ">=20" | ||||
|     "npm": ">=10.9.2", | ||||
|     "node": ">=22" | ||||
|   }, | ||||
|   "keywords": [ | ||||
|     "site generator", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user