@schematichq/schematic-components 1.9.0 → 2.0.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,6 +1,7 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-components",
3
- "version": "1.9.0",
3
+ "version": "2.0.0",
4
+ "type": "module",
4
5
  "main": "dist/schematic-components.cjs.js",
5
6
  "module": "dist/schematic-components.esm.js",
6
7
  "types": "dist/schematic-components.d.ts",
@@ -27,14 +28,14 @@
27
28
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
28
29
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
29
30
  "openapi": "./generate_openapi.sh -c ./src/api/config_checkoutexternal.yml && ./generate_openapi.sh -c ./src/api/config_componentspublic.yml",
30
- "test": "jest --config jest.config.mjs --passWithNoTests",
31
+ "test": "yarn node --experimental-vm-modules $(yarn bin jest)",
31
32
  "tsc": "npx tsc",
32
33
  "test:demo": "../scripts/test-components.sh"
33
34
  },
34
35
  "dependencies": {
35
36
  "@schematichq/schematic-icons": "^0.5.2",
36
37
  "@stripe/stripe-js": "^8.1.0",
37
- "i18next": "^25.5.2",
38
+ "i18next": "^25.6.0",
38
39
  "lodash": "^4.17.21",
39
40
  "pako": "^2.1.0",
40
41
  "react-i18next": "^16.0.1",
@@ -42,39 +43,53 @@
42
43
  "uuid": "^13.0.0"
43
44
  },
44
45
  "devDependencies": {
45
- "@eslint/js": "^9.35.0",
46
+ "@eslint/js": "^9.37.0",
46
47
  "@eslint/json": "^0.13.2",
47
- "@eslint/markdown": "^7.2.0",
48
- "@microsoft/api-extractor": "^7.52.13",
49
- "@openapitools/openapi-generator-cli": "^2.23.4",
48
+ "@eslint/markdown": "^7.4.0",
49
+ "@jest/globals": "^30.2.0",
50
+ "@microsoft/api-extractor": "^7.53.1",
51
+ "@openapitools/openapi-generator-cli": "^2.25.0",
50
52
  "@stripe/react-stripe-js": "^5.2.0",
53
+ "@swc/core": "^1.13.5",
54
+ "@swc/jest": "^0.2.39",
55
+ "@swc/plugin-styled-components": "^9.1.0",
56
+ "@testing-library/dom": "^10.4.1",
57
+ "@testing-library/jest-dom": "^6.9.1",
58
+ "@testing-library/react": "^16.3.0",
51
59
  "@types/jest": "^30.0.0",
52
60
  "@types/lodash": "^4.17.20",
53
61
  "@types/pako": "^2.0.4",
54
- "@types/react": "^19.1.13",
55
- "@types/react-dom": "^19.1.9",
62
+ "@types/react": "^19.2.2",
63
+ "@types/react-dom": "^19.2.2",
56
64
  "esbuild": "^0.25.11",
57
- "eslint": "^9.35.0",
65
+ "eslint": "^9.37.0",
58
66
  "eslint-import-resolver-typescript": "^4.4.4",
59
67
  "eslint-plugin-import": "^2.32.0",
68
+ "eslint-plugin-jest": "^29.0.1",
60
69
  "eslint-plugin-react": "^7.37.5",
61
- "eslint-plugin-react-hooks": "^5.2.0",
70
+ "eslint-plugin-react-hooks": "^7.0.0",
62
71
  "globals": "^16.4.0",
63
- "jest": "^30.1.3",
64
- "jest-environment-jsdom": "^30.1.2",
65
- "jest-esbuild": "^0.4.0",
66
- "jest-fetch-mock": "^3.0.3",
72
+ "jest": "^30.2.0",
73
+ "jest-environment-jsdom": "^30.2.0",
74
+ "jest-fixed-jsdom": "^0.0.10",
75
+ "jest-styled-components": "^7.2.0",
76
+ "msw": "^2.11.5",
67
77
  "prettier": "^3.6.2",
68
78
  "react": "^19.2.0",
69
79
  "react-dom": "^19.2.0",
70
- "ts-jest": "^29.4.3",
71
- "typescript": "^5.9.2",
72
- "typescript-eslint": "^8.44.0"
80
+ "typescript": "^5.9.3",
81
+ "typescript-eslint": "^8.46.1"
73
82
  },
74
83
  "peerDependencies": {
75
84
  "@stripe/react-stripe-js": ">=3",
76
85
  "react": ">=18",
77
86
  "react-dom": ">=18"
78
87
  },
79
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
88
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
89
+ "msw": {
90
+ "workerDirectory": [
91
+ "",
92
+ "src/test"
93
+ ]
94
+ }
80
95
  }