Skip to content

Commit

Permalink
feat: upgrade cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 30, 2022
1 parent 5fd401d commit f35700e
Show file tree
Hide file tree
Showing 18 changed files with 349 additions and 593 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -75,7 +75,7 @@ jobs:
run: cp pnpm-lock.yaml package-lock.json

- name: Cypress
uses: cypress-io/github-action@v2
uses: cypress-io/github-action@v4
with:
install-command: echo
build: nr build
Expand Down
1 change: 0 additions & 1 deletion .tazerc.json
@@ -1,7 +1,6 @@
{
"exclude": [
"husky",
"cypress",
"execa",
"tsup",
"codemirror"
Expand Down
10 changes: 10 additions & 0 deletions cypress.config.ts
@@ -0,0 +1,10 @@
import { defineConfig } from 'cypress'

export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3030',
chromeWebSecurity: false,
specPattern: 'cypress/e2e/**/*.spec.*',
supportFile: false,
},
})
4 changes: 0 additions & 4 deletions cypress.json

This file was deleted.

Binary file added cypress/downloads/downloads.html
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion cypress/fixtures/basic/package.json
Expand Up @@ -10,6 +10,6 @@
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.2",
"@slidev/types": "workspace:*",
"nodemon": "^2.0.16"
"nodemon": "^2.0.18"
}
}
22 changes: 0 additions & 22 deletions cypress/plugins/index.js

This file was deleted.

25 changes: 0 additions & 25 deletions cypress/support/commands.js

This file was deleted.

20 changes: 0 additions & 20 deletions cypress/support/index.js

This file was deleted.

6 changes: 3 additions & 3 deletions demo/composable-vue/package.json
Expand Up @@ -7,12 +7,12 @@
"export:clicks": "slidev export --with-clicks"
},
"devDependencies": {
"@iconify-json/mdi": "^1.1.21",
"@iconify-json/ri": "^1.1.2",
"@iconify-json/mdi": "^1.1.24",
"@iconify-json/ri": "^1.1.3",
"@slidev/cli": "workspace:*",
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.2",
"@slidev/types": "workspace:*",
"nodemon": "^2.0.16"
"nodemon": "^2.0.18"
}
}
4 changes: 2 additions & 2 deletions demo/starter/package.json
Expand Up @@ -10,7 +10,7 @@
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.2",
"@slidev/types": "workspace:*",
"nodemon": "^2.0.16",
"vite-plugin-inspect": "^0.5.0"
"nodemon": "^2.0.18",
"vite-plugin-inspect": "^0.5.1"
}
}
28 changes: 14 additions & 14 deletions package.json
@@ -1,7 +1,7 @@
{
"version": "0.33.1",
"private": true,
"packageManager": "pnpm@7.1.7",
"packageManager": "pnpm@7.4.0",
"engines": {
"node": ">=14.0.0"
},
Expand All @@ -20,8 +20,8 @@
"test": "vitest test"
},
"devDependencies": {
"@antfu/eslint-config": "^0.25.1",
"@antfu/ni": "^0.16.2",
"@antfu/eslint-config": "^0.25.2",
"@antfu/ni": "^0.16.3",
"@antfu/utils": "^0.5.2",
"@slidev/cli": "workspace:*",
"@slidev/parser": "workspace:*",
Expand All @@ -44,27 +44,27 @@
"@types/resolve": "^1.20.2",
"@types/semver": "^7.3.10",
"@types/yargs": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@vueuse/core": "^8.7.4",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@vueuse/core": "^8.7.5",
"bumpp": "^8.2.1",
"cross-env": "^7.0.3",
"cypress": "^7.7.0",
"cypress": "^10.3.0",
"eslint": "^8.18.0",
"eslint-plugin-cypress": "^2.12.1",
"esno": "^0.16.3",
"katex": "^0.16.0",
"lint-staged": "^13.0.2",
"mermaid": "^9.1.2",
"playwright-chromium": "^1.22.2",
"pnpm": "^7.3.0",
"lint-staged": "^13.0.3",
"mermaid": "^9.1.3",
"playwright-chromium": "^1.23.0",
"pnpm": "^7.4.0",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"tsup": "^5.12.9",
"typescript": "^4.7.4",
"vite": "^2.9.12",
"vite-plugin-windicss": "^1.8.4",
"vitest": "^0.15.1",
"zx": "^7.0.0"
"vite": "^2.9.13",
"vite-plugin-windicss": "^1.8.5",
"vitest": "^0.16.0",
"zx": "^7.0.4"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
10 changes: 5 additions & 5 deletions packages/client/package.json
Expand Up @@ -18,7 +18,7 @@
"@antfu/utils": "^0.5.2",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@vueuse/core": "^8.7.4",
"@vueuse/core": "^8.7.5",
"@vueuse/head": "^0.7.6",
"@vueuse/motion": "^2.0.0-beta.18",
"codemirror": "^5.65.5",
Expand All @@ -28,16 +28,16 @@
"js-base64": "^3.7.2",
"js-yaml": "^4.1.0",
"katex": "^0.16.0",
"mermaid": "^9.1.2",
"mermaid": "^9.1.3",
"monaco-editor": "^0.33.0",
"nanoid": "^4.0.0",
"prettier": "^2.7.1",
"recordrtc": "^5.6.2",
"resolve": "^1.22.1",
"vite-plugin-windicss": "^1.8.4",
"vue": "^3.2.36",
"vite-plugin-windicss": "^1.8.5",
"vue": "^3.2.37",
"vue-router": "^4.0.16",
"vue-starport": "^0.3.0",
"windicss": "^3.5.4"
"windicss": "^3.5.5"
}
}
2 changes: 1 addition & 1 deletion packages/create-app/template/package.json
Expand Up @@ -7,7 +7,7 @@
"export": "slidev export"
},
"dependencies": {
"@slidev/cli": "^0.33.0",
"@slidev/cli": "^0.33.1",
"@slidev/theme-default": "*",
"@slidev/theme-seriph": "*"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/create-theme/template/package.json
Expand Up @@ -14,13 +14,13 @@
"screenshot": "slidev export example.md --format png"
},
"dependencies": {
"@slidev/types": "^0.33.0",
"@slidev/types": "^0.33.1",
"codemirror-theme-vars": "^0.1.1",
"prism-theme-vars": "^0.2.3",
"theme-vitesse": "^0.4.10"
},
"devDependencies": {
"@slidev/cli": "^0.33.0"
"@slidev/cli": "^0.33.1"
},
"//": "Learn more: https://sli.dev/themes/write-a-theme.html",
"slidev": {
Expand Down
20 changes: 10 additions & 10 deletions packages/slidev/package.json
Expand Up @@ -49,14 +49,14 @@
},
"dependencies": {
"@antfu/utils": "^0.5.2",
"@iconify-json/carbon": "^1.1.5",
"@iconify-json/ph": "^1.1.1",
"@iconify-json/carbon": "^1.1.6",
"@iconify-json/ph": "^1.1.2",
"@slidev/client": "workspace:*",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@vitejs/plugin-vue": "^2.3.3",
"@vue/compiler-sfc": "^3.2.37",
"cli-progress": "^3.11.1",
"cli-progress": "^3.11.2",
"codemirror": "^5.65.5",
"connect": "^3.7.0",
"debug": "^4.3.4",
Expand All @@ -65,7 +65,7 @@
"global-dirs": "^3.0.0",
"import-from": "^4.0.0",
"is-installed-globally": "^0.4.0",
"jiti": "^1.13.0",
"jiti": "^1.14.0",
"js-base64": "^3.7.2",
"katex": "^0.16.0",
"kolorist": "^1.5.1",
Expand All @@ -82,15 +82,15 @@
"resolve-from": "^5.0.0",
"resolve-global": "^1.0.0",
"shiki": "^0.10.1",
"unplugin-icons": "^0.14.5",
"unplugin-vue-components": "^0.19.6",
"vite": "^2.9.12",
"unplugin-icons": "^0.14.6",
"unplugin-vue-components": "^0.20.1",
"vite": "^2.9.13",
"vite-plugin-remote-assets": "^0.2.2",
"vite-plugin-vue-markdown": "^0.1.0",
"vite-plugin-vue-markdown": "^0.20.0",
"vite-plugin-vue-server-ref": "^0.2.4",
"vite-plugin-windicss": "^1.8.4",
"vite-plugin-windicss": "^1.8.5",
"vue": "^3.2.37",
"windicss": "^3.5.4",
"windicss": "^3.5.5",
"yargs": "^17.5.1"
},
"devDependencies": {
Expand Down

0 comments on commit f35700e

Please sign in to comment.