@schematichq/schematic-components 2.24.0 → 2.25.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/dist/schematic-components.browser.cjs.js +2322 -1734
- package/dist/schematic-components.browser.esm.js +2332 -1744
- package/dist/schematic-components.cjs.js +4641 -4053
- package/dist/schematic-components.d.ts +473 -7
- package/dist/schematic-components.esm.js +2396 -1808
- package/package.json +22 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematichq/schematic-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.0",
|
|
4
4
|
"main": "dist/schematic-components.cjs.js",
|
|
5
5
|
"module": "dist/schematic-components.esm.js",
|
|
6
6
|
"types": "dist/schematic-components.d.ts",
|
|
@@ -34,79 +34,75 @@
|
|
|
34
34
|
"url": "git+ssh://git@github.com/SchematicHQ/schematic-js.git"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
|
-
"dev": "
|
|
37
|
+
"dev": "pnpm run dev:browser:esm",
|
|
38
38
|
"dev:cjs": "node esbuild.mjs --format=cjs --variant=server --watch",
|
|
39
39
|
"dev:esm": "node esbuild.mjs --format=esm --variant=server --watch",
|
|
40
40
|
"dev:browser:esm": "node esbuild.mjs --format=esm --variant=browser --watch",
|
|
41
|
-
"build": "
|
|
41
|
+
"build": "pnpm run tsc && pnpm run openapi && pnpm run format && pnpm run lint && pnpm run clean && pnpm run build:cjs && pnpm run build:esm && pnpm run build:browser:cjs && pnpm run build:browser:esm && pnpm run build:types",
|
|
42
42
|
"build:cjs": "node esbuild.mjs --format=cjs --variant=server",
|
|
43
43
|
"build:esm": "node esbuild.mjs --format=esm --variant=server",
|
|
44
44
|
"build:browser:cjs": "node esbuild.mjs --format=cjs --variant=browser",
|
|
45
45
|
"build:browser:esm": "node esbuild.mjs --format=esm --variant=browser",
|
|
46
|
-
"build:types": "
|
|
46
|
+
"build:types": "pnpm exec tsc && pnpm exec api-extractor run",
|
|
47
47
|
"clean": "rm -rf dist",
|
|
48
48
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
49
49
|
"lint": "eslint src",
|
|
50
50
|
"openapi": "./generate_openapi.sh -c ./src/api/config_checkoutexternal.yml && ./generate_openapi.sh -c ./src/api/config_componentspublic.yml",
|
|
51
51
|
"test": "./test.sh",
|
|
52
52
|
"test:watch": "vitest",
|
|
53
|
-
"tsc": "
|
|
53
|
+
"tsc": "pnpm exec tsc",
|
|
54
54
|
"test:demo": "../scripts/test-components.sh"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@schematichq/schematic-icons": "^0.8.0",
|
|
58
|
-
"@stripe/stripe-js": "^9.
|
|
59
|
-
"i18next": "^26.
|
|
58
|
+
"@stripe/stripe-js": "^9.14.0",
|
|
59
|
+
"i18next": "^26.4.1",
|
|
60
60
|
"lodash": "^4.18.1",
|
|
61
61
|
"pako": "^3.0.1",
|
|
62
62
|
"react-i18next": "16.1.6",
|
|
63
63
|
"styled-components": "^6.5.3",
|
|
64
|
-
"uuid": "^14.0.
|
|
64
|
+
"uuid": "^14.0.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@eslint/js": "^10.0.1",
|
|
68
68
|
"@eslint/json": "^2.0.1",
|
|
69
69
|
"@eslint/markdown": "^8.0.3",
|
|
70
|
-
"@microsoft/api-extractor": "^7.
|
|
71
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
72
|
-
"@stripe/react-stripe-js": "^6.8.
|
|
73
|
-
"@swc/core": "^1.
|
|
70
|
+
"@microsoft/api-extractor": "^7.59.0",
|
|
71
|
+
"@openapitools/openapi-generator-cli": "^2.41.0",
|
|
72
|
+
"@stripe/react-stripe-js": "^6.8.2",
|
|
73
|
+
"@swc/core": "^1.16.1",
|
|
74
74
|
"@testing-library/dom": "^10.4.1",
|
|
75
75
|
"@testing-library/jest-dom": "^7.0.1",
|
|
76
|
-
"@testing-library/react": "^16.3.
|
|
76
|
+
"@testing-library/react": "^16.3.3",
|
|
77
77
|
"@types/lodash": "^4.17.25",
|
|
78
78
|
"@types/pako": "^3.0.0",
|
|
79
79
|
"@types/react": "^19.2.18",
|
|
80
|
-
"@types/react-dom": "^19.2.
|
|
81
|
-
"@vitest/browser": "^4.1.
|
|
80
|
+
"@types/react-dom": "^19.2.7",
|
|
81
|
+
"@vitest/browser": "^4.1.11",
|
|
82
|
+
"csstype": "^3.2.3",
|
|
82
83
|
"esbuild": "^0.28.2",
|
|
83
|
-
"eslint": "^10.
|
|
84
|
+
"eslint": "^10.9.1",
|
|
84
85
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
85
86
|
"eslint-plugin-import-x": "^4.17.1",
|
|
86
87
|
"eslint-plugin-react": "^7.37.5",
|
|
87
88
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
88
|
-
"globals": "^17.
|
|
89
|
-
"happy-dom": "^20.
|
|
89
|
+
"globals": "^17.12.0",
|
|
90
|
+
"happy-dom": "^20.12.0",
|
|
90
91
|
"jsdom": "^30.0.1",
|
|
91
92
|
"msw": "^2.15.0",
|
|
92
93
|
"prettier": "^3.9.6",
|
|
93
94
|
"react": "^19.2.8",
|
|
94
95
|
"react-dom": "^19.2.8",
|
|
95
96
|
"typescript": "^6.0.3",
|
|
96
|
-
"typescript-eslint": "^8.
|
|
97
|
-
"vitest": "^4.1.
|
|
97
|
+
"typescript-eslint": "^8.69.0",
|
|
98
|
+
"vitest": "^4.1.11"
|
|
98
99
|
},
|
|
99
100
|
"peerDependencies": {
|
|
100
101
|
"@stripe/react-stripe-js": ">=3",
|
|
101
102
|
"react": ">=18",
|
|
102
103
|
"react-dom": ">=18"
|
|
103
104
|
},
|
|
104
|
-
"
|
|
105
|
-
"minimatch": ">=3.1.3",
|
|
106
|
-
"rollup": ">=4.59.0",
|
|
107
|
-
"undici": "^7.29.0"
|
|
108
|
-
},
|
|
109
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|
105
|
+
"packageManager": "pnpm@11.9.0+sha512.bd682d5d03fe525ef7c9fd6780c6884d1e756ac4c9c9fe00c538782824310dcf90e3ddc4f53835f06dfaebd5085e41855e0bcbb3b60de2ac5bbab89e5036f03b",
|
|
110
106
|
"msw": {
|
|
111
107
|
"workerDirectory": [
|
|
112
108
|
"",
|