cypress-ct-octane-js 0.1.34 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -14
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -2,22 +2,15 @@
2
2
 
3
3
  ## Installation
4
4
 
5
- #### With bun
6
-
7
5
  ```sh
8
- bun i cypress-ct-octane-js
9
- ```
6
+ # bun
7
+ bun i -D cypress-ct-octane-js
10
8
 
11
- #### With pnpm
9
+ # pnpm
10
+ pnpm add -D cypress-ct-octane-js
12
11
 
13
- ```sh
14
- pnpm add cypress-ct-octane-js
15
- ```
16
-
17
- #### With NPM
18
-
19
- ```sh
20
- npm cypress-ct-octane-js
12
+ # npm
13
+ npm i -D cypress-ct-octane-js
21
14
  ```
22
15
 
23
16
  ## Configuration
@@ -39,7 +32,7 @@ export default defineConfig({
39
32
  If you use Typescript, you may get a type error when setting the framework property. To fix it, type cast the property to `any` like this:
40
33
 
41
34
  ```ts
42
- framework: 'cypress-ct-octane-js' as any,
35
+ framework: "cypress-ct-octane-js" as any,
43
36
  ```
44
37
 
45
38
  ## Adding mount command
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress-ct-octane-js",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "description": "Octane framework definition and mount adapter for Cypress component testing",
5
5
  "keywords": [
6
6
  "component-testing",
@@ -28,8 +28,11 @@
28
28
  "@cypress/mount-utils": "^4.1.2"
29
29
  },
30
30
  "devDependencies": {
31
- "cypress": "^15.20.0",
32
- "octane": "^0.1.28",
31
+ "octane": "^0.1.41",
33
32
  "typescript": "^7.0.2"
33
+ },
34
+ "peerDependencies": {
35
+ "cypress": "^15.20.1",
36
+ "octane": ">=0.1.41"
34
37
  }
35
38
  }