switch to bun

This commit is contained in:
CodeF53 2024-01-30 11:53:06 -07:00
parent 422fe1e396
commit edebf98aa8
4 changed files with 7 additions and 17548 deletions

View file

@ -31,19 +31,10 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Node - name: Setup Bun
uses: actions/setup-node@v3 uses: oven-sh/setup-bun@v1
with: with:
node-version: '16' bun-version: latest
cache: npm
# - name: Setup Pages
# uses: actions/configure-pages@v3
# with:
# # Automatically inject router.base in your Nuxt configuration file and set
# # target to static (https://nuxtjs.org/docs/configuration-glossary/configuration-target/).
# #
# # You may remove this line if you want to manage the configuration yourself.
# static_site_generator: nuxt
- name: Restore cache - name: Restore cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
@ -54,9 +45,9 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-nuxt-build- ${{ runner.os }}-nuxt-build-
- name: Install dependencies - name: Install dependencies
run: npm ci run: bun install --frozen-lockfile
- name: Static HTML export with Nuxt - name: Static HTML export with Nuxt
run: npm run generate run: bun generate
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with:

BIN
bun.lockb Executable file

Binary file not shown.

17532
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,7 @@
"@antfu/eslint-config": "^1.0.0", "@antfu/eslint-config": "^1.0.0",
"@nuxt/devtools": "latest", "@nuxt/devtools": "latest",
"eslint": "^8.52.0", "eslint": "^8.52.0",
"lint-staged": "^15.0.2", "lint-staged": "^15.2.0",
"nuxt": "^3.8.0", "nuxt": "^3.8.0",
"nuxt-icon": "^0.6.5", "nuxt-icon": "^0.6.5",
"nuxt-lodash": "^2.5.3", "nuxt-lodash": "^2.5.3",
@ -31,7 +31,7 @@
"vue-tsc": "^1.8.22" "vue-tsc": "^1.8.22"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "npx lint-staged" "pre-commit": "bunx lint-staged"
}, },
"lint-staged": { "lint-staged": {
"*": "eslint --fix" "*": "eslint --fix"