mirror of
				https://github.com/bartvdbraak/omnidash.git
				synced 2025-11-04 02:19:10 +00:00 
			
		
		
		
	refactor: Rewrite docs and workflows to use pnpm
				
					
				
			This commit is contained in:
		
							parent
							
								
									95e36e3181
								
							
						
					
					
						commit
						885a5f8d99
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/lighthouse-report.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/lighthouse-report.yaml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -40,7 +40,7 @@ jobs:
 | 
				
			||||||
          node-version: 18
 | 
					          node-version: 18
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install Dependencies
 | 
					      - name: Install Dependencies
 | 
				
			||||||
        run: yarn global add @unlighthouse/cli puppeteer
 | 
					        run: pnpm add -g @unlighthouse/cli puppeteer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Retrieve Vercel Preview URL
 | 
					      - name: Retrieve Vercel Preview URL
 | 
				
			||||||
        uses: zentered/vercel-preview-url@v1.1.9
 | 
					        uses: zentered/vercel-preview-url@v1.1.9
 | 
				
			||||||
| 
						 | 
					@ -56,7 +56,7 @@ jobs:
 | 
				
			||||||
          VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
 | 
					          VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
 | 
					          deployment-url: ${{ steps.vercel_preview_url.outputs.preview_url }}
 | 
				
			||||||
          timeout: 60
 | 
					          timeout: 120
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build Unlighthouse report
 | 
					      - name: Build Unlighthouse report
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								.github/workflows/lint-deps-check.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/lint-deps-check.yaml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -27,7 +27,7 @@ jobs:
 | 
				
			||||||
          node-version: 18
 | 
					          node-version: 18
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install Node.js dependencies
 | 
					      - name: Install Node.js dependencies
 | 
				
			||||||
        run: yarn install --frozen-lockfile
 | 
					        run: pnpm install --frozen-lockfile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run linters
 | 
					      - name: Run linters
 | 
				
			||||||
        uses: wearerequired/lint-action@v2.3.0
 | 
					        uses: wearerequired/lint-action@v2.3.0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										10
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -17,15 +17,15 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To install the project and its dependencies, follow these steps:
 | 
					To install the project and its dependencies, follow these steps:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1.  Ensure you have `yarn` installed on your system. If not, you can install it by running:
 | 
					1.  Ensure you have `pnpm` installed on your system. If not, you can install it by running:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ```sh-session
 | 
					    ```sh-session
 | 
				
			||||||
    npm install -g yarn
 | 
					    npm install -g pnpm
 | 
				
			||||||
    ```
 | 
					    ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2.  Run the following command to install the project dependencies:
 | 
					2.  Run the following command to install the project dependencies:
 | 
				
			||||||
    ```sh-session
 | 
					    ```sh-session
 | 
				
			||||||
    yarn install
 | 
					    pnpm install
 | 
				
			||||||
    ```
 | 
					    ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Environment Variables
 | 
					### Environment Variables
 | 
				
			||||||
| 
						 | 
					@ -43,7 +43,7 @@ After setting up the required services, you need to set the corresponding enviro
 | 
				
			||||||
To build the project, execute the following command:
 | 
					To build the project, execute the following command:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```sh-session
 | 
					```sh-session
 | 
				
			||||||
yarn build
 | 
					pnpm build
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Run
 | 
					## Run
 | 
				
			||||||
| 
						 | 
					@ -51,5 +51,5 @@ yarn build
 | 
				
			||||||
To run the project locally, use the following command:
 | 
					To run the project locally, use the following command:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```sh-session
 | 
					```sh-session
 | 
				
			||||||
yarn dev
 | 
					pnpm turbo run dev
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue