Skip to content

Commit

Permalink
Update deps, cloudflare cache purge added to CI (#20)
Browse files Browse the repository at this point in the history
* add cloudflare cache purge to CI

* ci/cd: change name of cloudflare api token

* update Next and all deps excluding bootstrap, eslint
  • Loading branch information
unleashit authored Sep 27, 2024
1 parent 15a8699 commit f484ded
Show file tree
Hide file tree
Showing 6 changed files with 4,115 additions and 3,481 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"rules": {
"react/no-unescaped-entities": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-expressions": [2, { "allowShortCircuit": true }],
"@next/next/no-img-element": 0,
"@next/next/no-html-link-for-pages": 0
}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,10 @@ jobs:
projectName: 'portfolio'
directory: 'out'
gitHubToken: ${{ secrets.GH_TOKEN }}

- name: Purge Cloudflare cache
uses: nathanvaughn/actions-cloudflare-purge@master
# preferred
with:
cf_zone: ${{ secrets.CLOUDFLARE_ZONE }}
cf_auth: ${{ secrets.CLOUDFLARE_PURGE_KEY }}
55 changes: 28 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,45 @@
"ts": "tsc --noEmit"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"bootstrap": "5.2.3",
"clsx": "^2.1.0",
"clsx": "^2.1.1",
"lodash": "^4.17.21",
"next": "^14.1.0",
"next": "^14.2.13",
"next-promise-cache": "^0.6.3",
"react": "^18",
"react-dom": "^18",
"react-hook-form": "^7.50.0",
"react-hook-form": "^7.53.0",
"server-only": "^0.0.1"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0",
"@next/bundle-analyzer": "^14.1.0",
"@testing-library/react": "^14.2.1",
"@types/lodash": "^4.14.202",
"@types/node": "20.11.16",
"@types/react": "^18.2.54",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"c8": "^9.1.0",
"eslint": "8.56.0",
"eslint-config-next": "^14.1.0",
"@fullhuman/postcss-purgecss": "^6.0.0",
"@next/bundle-analyzer": "^14.2.13",
"@testing-library/react": "^16.0.1",
"@types/lodash": "^4.17.9",
"@types/node": "22.7.3",
"@types/react": "^18.3.9",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.20",
"c8": "^10.1.2",
"eslint": "^8.57.1",
"eslint-config-next": "^14.2.13",
"eslint-config-prettier": "^9.1.0",
"jsdom": "^24.0.0",
"postcss": "^8.4.34",
"jsdom": "^25.0.1",
"postcss": "^8.4.47",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^9.3.0",
"prettier": "^3.2.5",
"sass": "^1.70.0",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
"postcss-preset-env": "^10.0.5",
"prettier": "^3.3.3",
"sass": "^1.79.3",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
"prettier": {
"singleQuote": true
}
},
"packageManager": "[email protected]+sha256.caa915eaae9d9aefccf50ee8aeda25a2f8684d8f9d5c6e367eaf176d97c1f89e"
}
Loading

0 comments on commit f484ded

Please sign in to comment.