rrweb-browser-test 2.1.4 → 2.3.0

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.
package/package.json CHANGED
@@ -1,54 +1,79 @@
1
1
  {
2
2
  "name": "rrweb-browser-test",
3
- "version": "2.1.4",
4
- "description": "RRWeb events to generating browser test scripts",
5
- "main": "dist/index.js",
3
+ "version": "2.3.0",
4
+ "description": "Generate Playwright, Cypress, Puppeteer, Selenium and mobile (Appium, Espresso, XCUITest, Detox) tests from rrweb session recordings",
5
+ "keywords": [
6
+ "rrweb",
7
+ "session-replay",
8
+ "session-recording",
9
+ "test-generation",
10
+ "e2e",
11
+ "playwright",
12
+ "cypress",
13
+ "puppeteer",
14
+ "selenium",
15
+ "appium",
16
+ "espresso",
17
+ "xcuitest",
18
+ "detox"
19
+ ],
20
+ "homepage": "https://github.com/Archish27/rrweb-browser-test#readme",
21
+ "bugs": {
22
+ "url": "https://github.com/Archish27/rrweb-browser-test/issues"
23
+ },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/Archish27/rrweb-browser-test.git"
27
+ },
28
+ "license": "MIT",
29
+ "author": "Archish Thakkar",
6
30
  "type": "module",
7
- "devDependencies": {
8
- "@arethetypeswrong/cli": "^0.17.0",
9
- "@changesets/cli": "^2.27.10",
10
- "prettier": "^3.3.3",
11
- "tsup": "^8.3.5",
12
- "typescript": "^5.6.3",
13
- "vitest": "^2.1.5"
31
+ "main": "./dist/index.cjs",
32
+ "module": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "exports": {
35
+ "./package.json": "./package.json",
36
+ ".": {
37
+ "import": "./dist/index.js",
38
+ "default": "./dist/index.cjs"
39
+ }
40
+ },
41
+ "files": [
42
+ "dist"
43
+ ],
44
+ "sideEffects": false,
45
+ "engines": {
46
+ "node": ">=18"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public",
50
+ "provenance": true
14
51
  },
15
52
  "scripts": {
16
53
  "dev": "vitest",
17
54
  "build": "tsup",
55
+ "prepare": "tsup",
18
56
  "ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test",
19
57
  "format": "prettier --write .",
20
58
  "lint": "tsc",
21
59
  "test": "vitest run",
22
60
  "check-format": "prettier --check .",
23
61
  "check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm",
24
- "local-release": "changeset version && changeset publish",
25
- "prepublishOnly": "npm run ci"
62
+ "prepublishOnly": "npm run ci",
63
+ "test:coverage": "vitest run --coverage",
64
+ "changeset": "changeset",
65
+ "release": "npm run build && changeset publish"
26
66
  },
27
- "exports": {
28
- "./package.json": "./package.json",
29
- ".": {
30
- "import": "./dist/index.js",
31
- "default": "./dist/index.cjs"
32
- }
33
- },
34
- "repository": {
35
- "type": "git",
36
- "url": "git+https://github.com/Archish27/rrweb-browser-test.git"
37
- },
38
- "keywords": [
39
- "rrweb",
40
- "playwright",
41
- "puppeteer",
42
- "cypress",
43
- "selenium"
44
- ],
45
- "author": "",
46
- "license": "MIT",
47
- "bugs": {
48
- "url": "https://github.com/Archish27/rrweb-browser-test/issues"
49
- },
50
- "homepage": "https://github.com/Archish27/rrweb-browser-test#readme",
51
67
  "dependencies": {
52
68
  "@rrweb/types": "^2.0.0-alpha.17"
69
+ },
70
+ "devDependencies": {
71
+ "@arethetypeswrong/cli": "^0.17.0",
72
+ "@changesets/cli": "^2.27.10",
73
+ "@vitest/coverage-v8": "^2.1.9",
74
+ "prettier": "^3.3.3",
75
+ "tsup": "^8.3.5",
76
+ "typescript": "^5.6.3",
77
+ "vitest": "^2.1.5"
53
78
  }
54
79
  }
@@ -1,8 +0,0 @@
1
- # Changesets
2
-
3
- Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
- with multi-package repos, or single-package repos to help you version and publish your code. You can
5
- find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
-
7
- We have a quick list of common questions to get you started engaging with this project in
8
- [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
3
- "changelog": "@changesets/cli/changelog",
4
- "commit": true,
5
- "fixed": [],
6
- "linked": [],
7
- "access": "public",
8
- "baseBranch": "main",
9
- "updateInternalDependencies": "patch",
10
- "ignore": []
11
- }
@@ -1,29 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- pull_request:
5
- push:
6
- branches:
7
- - main
8
-
9
- concurrency:
10
- group: ${{ github.workflow }}-${{ github.ref }}
11
- cancel-in-progress: true
12
-
13
- jobs:
14
- ci:
15
- runs-on: ubuntu-latest
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
-
20
- - name: Use Node.js
21
- uses: actions/setup-node@v4
22
- with:
23
- node-version: '20'
24
-
25
- - name: Install dependencies
26
- run: npm install
27
-
28
- - name: Run CI
29
- run: npm run ci
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "semi": true,
3
- "singleQuote": true,
4
- "trailingComma": "all",
5
- "printWidth": 80,
6
- "tabWidth": 2
7
- }
package/CHANGELOG.md DELETED
@@ -1,49 +0,0 @@
1
- # rrweb-browser-test
2
-
3
- ## 2.1.4
4
-
5
- ### Patch Changes
6
-
7
- - 25667dc: :art: Removed console log line
8
-
9
- ## 2.1.3
10
-
11
- ### Patch Changes
12
-
13
- - ab9f474: indent fixes
14
-
15
- ## 2.1.2
16
-
17
- ### Patch Changes
18
-
19
- - 105d878: :bug: fix in generating click tests
20
-
21
- ## 2.1.1
22
-
23
- ### Patch Changes
24
-
25
- - 39e5ed9: Bug fix for generating tests
26
-
27
- ## 2.1.0
28
-
29
- ### Minor Changes
30
-
31
- - 5ecdf00: :sparle: Support for puppeteer, cypress and selenium
32
-
33
- ## 2.0.1
34
-
35
- ### Patch Changes
36
-
37
- - 76f7ce2: Exporting browser test function
38
-
39
- ## 2.0.0
40
-
41
- ### Major Changes
42
-
43
- - e5ae4fa: :sparkle: Playwright auto-generation script code from rrweb events"
44
-
45
- ## 1.0.1
46
-
47
- ### Patch Changes
48
-
49
- - 39106c0: Initial release