Skip to content

Commit

Permalink
feat: update dependencies (latest vite) (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo authored Nov 10, 2024
1 parent 8fcd458 commit c291852
Show file tree
Hide file tree
Showing 137 changed files with 13,469 additions and 11,919 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
lfs: true

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
with:
version: 7.4.1
version: 9.8.0
run_install: |
- recursive: false
Expand Down Expand Up @@ -59,13 +59,13 @@ jobs:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- uses: pnpm/action-setup@v2.0.1
- uses: pnpm/action-setup@v4
with:
version: 7.4.1
version: 9.8.0
run_install: |
- recursive: false
Expand All @@ -78,14 +78,14 @@ jobs:
- name: Cypress
run: pnpm -C docs run cy:run

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: docs/cypress/screenshots
retention-days: 1

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
Expand Down
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"Vue.volar",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"antfu.unocss"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Visit the [documentation website][docs] to check out the [guides][guide] and sea
- [Vite] and [Vue]: for enabling an amazing development experience
- [Astro](https://astro.build): for sharing a novel way to define islands
- [MDX]: provides amazing flexibility when processing Markdown
- [vue-router], [@vueuse/head], and [vite-plugin-pages]: the backbone of this library
- [vue-router], [@unhead/vue], and [vite-plugin-pages]: the backbone of this library
- [unplugin-vue-components]: allows you to avoid the boilerplate
- [VitePress] and [vite-ssg]: for their different ideas on SSR

Expand All @@ -96,5 +96,5 @@ Visit the [documentation website][docs] to check out the [guides][guide] and sea
[VitePress]: https://vitepress.vuejs.org/
[vite-ssg]: https://github.com/antfu/vite-ssg
[vue-router]: https://next.router.vuejs.org/
[@vueuse/head]: https://github.com/vueuse/head
[@unhead/vue]: https://github.com/unjs/unhead

4 changes: 2 additions & 2 deletions docs/cypress/e2e/dark-mode.cypress.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ describe('Dark Mode', () => {
}

const assertTheme = (theme) =>
cy.get('html').then(html =>
cy.get('html').then((html) =>
expect(html.hasClass('dark')).to.equal(theme === 'dark'))

it('can toggle on and off', () => {
visitHome()
cy.get('html').then(html => {
cy.get('html').then((html) => {
if (html.hasClass('dark')) toggleTheme()
assertTheme('light')
})
Expand Down
2 changes: 1 addition & 1 deletion docs/cypress/e2e/docsearch.cypress.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('DocSearch', () => {
const searchModal = () =>
cy.get('.DocSearch-Modal')

const closeSearchModal = () =>{
const closeSearchModal = () => {
cy.get('body').type('{esc}')
searchModal().should('not.exist')
}
Expand Down
2 changes: 1 addition & 1 deletion docs/icons/arrowRight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c291852

Please sign in to comment.