Skip to content

Commit

Permalink
chore: ➖ remove cypress and related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
laruiss committed Sep 1, 2024
1 parent 6fb9006 commit 2679946
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 931 deletions.
23 changes: 0 additions & 23 deletions cypress.config.ts

This file was deleted.

39 changes: 0 additions & 39 deletions cypress/support/commands.ts

This file was deleted.

12 changes: 0 additions & 12 deletions cypress/support/component-index.html

This file was deleted.

51 changes: 0 additions & 51 deletions cypress/support/component.ts

This file was deleted.

20 changes: 0 additions & 20 deletions cypress/support/e2e.ts

This file was deleted.

24 changes: 0 additions & 24 deletions cypress/support/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion docs/guide/ecosysteme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Cette documentation faite avec [Vitepress](https://vitepress.dev/) et disponible
Cet assistant est aussi disponible sur <VIconLink href="https://www.npmjs.com/package/create-vue-dsfr" icon="si-npm">NPM</VIconLink>
et son code source disponible sur <VIconLink href="https://github.com/laruiss/create-vue-dsfr" icon="si-github">GitHub</VIconLink>.

Il permet d’échaffauder très rapidement une application avec Vue3 et Vite ou Nuxt 3, VueDsfr, TypeScript et ESLint déjà paramétrés, et optionnellement Cypress et Vitest.
Il permet d’échaffauder très rapidement une application avec Vue3 et Vite ou Nuxt 3, VueDsfr, TypeScript et ESLint déjà paramétrés, et optionnellement Playwright et Vitest.

Voir la page ["Commencer"](./pour-commencer.md#utiliser-create-vue-dsfr-fortement-recommande) pour son utilisation.

Expand Down
21 changes: 0 additions & 21 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import antfu from '@antfu/eslint-config'
import cypress from 'eslint-plugin-cypress'

// const compat = new FlatCompat({
// baseDirectory: import.meta.dirname,
Expand All @@ -9,9 +8,6 @@ export default antfu({
vue: true,
}, [
{
plugins: {
cypress,
},
rules: {
'test/prefer-lowercase-title': 'off',
'sort-imports': 'off', // Should be 'error'
Expand Down Expand Up @@ -73,21 +69,4 @@ export default antfu({
'storybook/use-storybook-testing-library': 'error',
},
},
{
files: [
'cypress/support/*.{js,ts,jsx,tsx}',
'cypress/integration/*.{spec,e2e}.{js,ts,jsx,tsx}',
'cypress/e2e/**/*.{cy,spec,e2e}.{js,ts,jsx,tsx}',
'src/**/*.ct.{js,ts,jsx,tsx}',
'**/src/**/*.e2e.{j,t}s?(x)',
],
languageOptions: {
globals: {
'cypress/globals': true,
},
},
rules: {
'cypress/no-unnecessary-waiting': 'error',
},
},
])
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
"test": "run-s test:unit",
"test:watch": "vitest",
"test:unit": "vitest run",
"test:ct": "cypress open --component",
"test:ct-ci": "cypress run --component",
"format": "run-s lint -- --fix",
"lint": "eslint .",
"lint:staged": "eslint ",
Expand Down Expand Up @@ -88,8 +86,6 @@
"@chromatic-com/storybook": "^1.8.0",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@cypress/vite-dev-server": "^5.2.0",
"@cypress/vue": "^6.0.1",
"@iconify/vue": "^4.1.2",
"@storybook/addon-a11y": "^8.2.9",
"@storybook/addon-docs": "^8.2.9",
Expand Down Expand Up @@ -122,9 +118,7 @@
"browserslist": "^4.23.3",
"commitlint": "^19.4.1",
"cross-env": "^7.0.3",
"cypress": "^13.14.1",
"eslint": "^9.9.1",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-vue": "^9.27.0",
"husky": "^9.1.5",
"jsdom": "^25.0.0",
Expand Down
Loading

0 comments on commit 2679946

Please sign in to comment.