From d6d7fe268eb77c261c3bd75a5ec59bb1d01f3043 Mon Sep 17 00:00:00 2001 From: Lane Goodman Date: Wed, 19 Mar 2025 10:53:52 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c98e391..4c940fb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # project-seed v8 -A basic starting point for web projects that uses parcel as a Build System. +A basic starting point for web projects that uses vite as a Build System. Uses typescript and jest for testing From 3d6f71f74cd3230d3b681cadd332ef7ac5e17f6c Mon Sep 17 00:00:00 2001 From: Lane Goodman Date: Wed, 19 Mar 2025 10:55:26 -0400 Subject: [PATCH 2/4] Update _README.md --- _README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_README.md b/_README.md index be23d71..77ba302 100644 --- a/_README.md +++ b/_README.md @@ -28,7 +28,7 @@ pnpm install ## Usage ### Config files -Configuration is done using [dot.env](https://parceljs.org/features/node-emulation/#.env-files) files. +Configuration is done using [dot.env](https://vite.dev/guide/env-and-mode#env-files) files. These files are used to simplify the configuration of the app and should not contain sensitive information. From 9bb0a85614a1d1e8bf83d98cf0512fd5ae26faa4 Mon Sep 17 00:00:00 2001 From: Lane Goodman Date: Wed, 19 Mar 2025 10:57:20 -0400 Subject: [PATCH 3/4] Remove .parcelrc file --- .parcelrc | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .parcelrc diff --git a/.parcelrc b/.parcelrc deleted file mode 100644 index d11c22b..0000000 --- a/.parcelrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": ["@parcel/config-default"], - "reporters": ["...", "@parcel/reporter-bundle-analyzer"], - "resolvers": ["parcel-resolver-ignore", "..."] -} \ No newline at end of file From 57139dbbea6e6aef277a6b7150d053317dbff4f7 Mon Sep 17 00:00:00 2001 From: Daniel da Silva Date: Thu, 20 Mar 2025 10:14:16 +0000 Subject: [PATCH 4/4] Fix test action --- .github/_workflow-samples/deploy-gh.yml | 6 +++--- .github/_workflow-samples/deploy-s3.yml | 6 +++--- .github/workflows/checks.yml | 8 ++++---- package.json | 1 + pnpm-lock.yaml | 3 +++ 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/_workflow-samples/deploy-gh.yml b/.github/_workflow-samples/deploy-gh.yml index 7437547..3bedffc 100644 --- a/.github/_workflow-samples/deploy-gh.yml +++ b/.github/_workflow-samples/deploy-gh.yml @@ -37,14 +37,14 @@ jobs: id: cache-node-modules with: path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }} + key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }} - name: Cache dist uses: actions/cache@v4 id: cache-dist with: path: dist - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} + key: ${{ runner.os }}-build-${{ github.sha }} - name: Install run: pnpm install @@ -65,7 +65,7 @@ jobs: id: cache-dist with: path: dist - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} + key: ${{ runner.os }}-build-${{ github.sha }} - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 diff --git a/.github/_workflow-samples/deploy-s3.yml b/.github/_workflow-samples/deploy-s3.yml index aea6c30..7f8164e 100644 --- a/.github/_workflow-samples/deploy-s3.yml +++ b/.github/_workflow-samples/deploy-s3.yml @@ -37,14 +37,14 @@ jobs: id: cache-node-modules with: path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }} + key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }} - name: Cache dist uses: actions/cache@v4 id: cache-dist with: path: dist - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} + key: ${{ runner.os }}-build-${{ github.sha }} - name: Install run: pnpm install @@ -65,7 +65,7 @@ jobs: id: cache-dist with: path: dist - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} + key: ${{ runner.os }}-build-${{ github.sha }} # Action: https://github.com/marketplace/actions/s3-deploy - name: Deploy to S3 diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 496a01a..4252779 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -44,7 +44,7 @@ jobs: id: cache-node-modules with: path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }} + key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }} - name: Install run: pnpm install @@ -71,7 +71,7 @@ jobs: id: cache-node-modules with: path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }} + key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }} - name: Install run: pnpm install @@ -101,10 +101,10 @@ jobs: id: cache-node-modules with: path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }} + key: ${{ runner.os }}-build-${{ hashFiles('**/package.json') }} - name: Install run: pnpm install - name: Test - run: pnpm run test \ No newline at end of file + run: pnpm test \ No newline at end of file diff --git a/package.json b/package.json index 5eaddc4..c3c028c 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-react-refresh": "^0.4.19", "globals": "^15.15.0", + "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "portscanner": "^2.2.0", "prettier": "^3.4.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abc0099..f425a11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,6 +84,9 @@ importers: globals: specifier: ^15.15.0 version: 15.15.0 + jest: + specifier: ^29.7.0 + version: 29.7.0(@types/node@22.13.10)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@22.13.10)(typescript@5.7.3)) jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0