Skip to content

Commit

Permalink
chore: remove example package-lock file from VCS (#76)
Browse files Browse the repository at this point in the history
* chore: remove example package-lock file from VCS

* chore: add changeset
  • Loading branch information
justlevine authored Feb 19, 2025
1 parent 777305f commit 4ded470
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12,883 deletions.
5 changes: 5 additions & 0 deletions .changeset/slick-doors-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"snapwp": patch
---

chore: remove the NextJS example's package-lock.json from VCS.
12 changes: 6 additions & 6 deletions .github/workflows/pull_request_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Install dependencies
run: |
cd '${{ github.workspace }}/examples/${{ matrix.example }}'
npm ci
npm install
cp .env.example .env
- name: Run ESLint
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- name: Install dependencies
run: |
cd '${{ github.workspace }}/examples/${{ matrix.example }}'
npm ci
npm install
cp .env.example .env
npm run codegen
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
- name: Install dependencies
run: |
cd '${{ github.workspace }}/examples/${{ matrix.example }}'
npm ci
npm install
cp .env.example .env
- name: Build assets
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
- name: Install dependencies
run: |
cd '${{ github.workspace }}/examples/${{ matrix.example }}'
npm ci
npm install
cp .env.example .env
- name: Run unit tests
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
- name: Install dependencies
run: |
cd '${{ github.workspace }}/examples/${{ matrix.example }}'
npm ci
npm install
cp .env.example .env
- name: Run npm audit
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
- name: Install dependencies
run: |
cd '${{ github.workspace }}/examples/${{ matrix.example }}'
npm ci
npm install
cp .env.example .env
- name: Run Prettier
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
vendor
node_modules

# Example package-lock files should also be generated on the users machine
examples/**/package-lock.json

# Log files
.log

# Used for setting local environment variables when testing
.env


# Verdaccio config
.verdaccio/conf/htpasswd
.verdaccio/plugins
Expand Down
Loading

0 comments on commit 4ded470

Please sign in to comment.