Skip to content

Commit c5c3070

Browse files
committed
fix: 🚀 renamed to cypress-ct-qwik
in order to match the cypress new plugin convention
1 parent ab11c9e commit c5c3070

File tree

12 files changed

+20
-22
lines changed

12 files changed

+20
-22
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
The cypress component testing plugin for <a href='https://github.com/BuilderIO/qwik'>Qwik</a>
1212
<br><br>
1313

14-
<a href='https://img.shields.io/npm/v/cypress-qwik?label=npm%20version'>
15-
<img src='https://img.shields.io/npm/v/cypress-qwik?label=npm%20version' alt='cypress-qwik npm'>
14+
<a href='https://img.shields.io/npm/v/cypress-ct-qwik?label=npm%20version'>
15+
<img src='https://img.shields.io/npm/v/cypress-ct-qwik?label=npm%20version' alt='cypress-ct-qwik npm'>
1616
</a>
1717
<a href='https://opensource.org/licenses/MIT'>
1818
<img src='https://img.shields.io/badge/License-MIT-green.svg' alt='MIT'>
@@ -39,7 +39,7 @@
3939
## Installation
4040

4141
```console
42-
npm install -D cypress-qwik
42+
npm install -D cypress-ct-qwik
4343
```
4444

4545
## Configuring Cypress
@@ -64,7 +64,7 @@ export default defineConfig({
6464
```ts
6565
// some-test.cy.ts
6666

67-
import { mount } from 'cypress-qwik';
67+
import { mount } from 'cypress-ct-qwik';
6868
import MyComp from './my-comp';
6969

7070
describe(`Qwik Component Test`, () => {

apps/qwik-app/src/components/header/header.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { mount } from 'cypress-qwik';
1+
import { mount } from 'cypress-ct-qwik';
22
import Header from './header';
33

44
describe(`header component test`, () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cypress-qwik",
2+
"name": "cypress-qwik-root",
33
"version": "0.0.0",
44
"description": "Qwik Component Testing with Cypress",
55
"engines": {
File renamed without changes.

packages/cypress-qwik/package.json renamed to packages/cypress-ct-qwik/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "cypress-qwik",
3-
"version": "0.0.2",
2+
"name": "cypress-ct-qwik",
3+
"version": "0.0.0",
44
"type": "module",
55
"peerDependencies": {
66
"cypress": ">=10.6.0",

packages/cypress-qwik/project.json renamed to packages/cypress-ct-qwik/project.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "cypress-qwik",
2+
"name": "cypress-ct-qwik",
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4-
"sourceRoot": "packages/cypress-qwik/src",
4+
"sourceRoot": "packages/cypress-ct-qwik/src",
55
"projectType": "library",
66
"targets": {
77
"build": {
88
"executor": "@nrwl/js:tsc",
99
"outputs": ["{options.outputPath}"],
1010
"options": {
11-
"outputPath": "dist/packages/cypress-qwik",
12-
"main": "packages/cypress-qwik/src/index.ts",
13-
"tsConfig": "packages/cypress-qwik/tsconfig.lib.json",
11+
"outputPath": "dist/packages/cypress-ct-qwik",
12+
"main": "packages/cypress-ct-qwik/src/index.ts",
13+
"tsConfig": "packages/cypress-ct-qwik/tsconfig.lib.json",
1414
"assets": [
1515
"README.md",
1616
"CONTRIBUTING.md",
@@ -28,7 +28,7 @@
2828
"executor": "@nrwl/linter:eslint",
2929
"outputs": ["{options.outputFile}"],
3030
"options": {
31-
"lintFilePatterns": ["packages/cypress-qwik/**/*.ts"]
31+
"lintFilePatterns": ["packages/cypress-ct-qwik/**/*.ts"]
3232
}
3333
},
3434
"version": {
@@ -43,14 +43,17 @@
4343
"noVerify": true,
4444
"push": true,
4545
"releaseAs": "patch",
46-
"postTargets": ["cypress-qwik:publish", "cypress-qwik:push-to-github"]
46+
"postTargets": [
47+
"cypress-ct-qwik:publish",
48+
"cypress-ct-qwik:push-to-github"
49+
]
4750
}
4851
},
4952
"publish": {
5053
"executor": "ngx-deploy-npm:deploy",
5154
"options": {
5255
"access": "public",
53-
"distFolderPath": "packages/cypress-qwik"
56+
"distFolderPath": "packages/cypress-ct-qwik"
5457
}
5558
},
5659
"push-to-github": {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)