@spiffcommerce/core 15.1.5 → 16.0.0-beta.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/{types.d.ts → index.d.ts} +833 -848
- package/dist/index.js +55460 -0
- package/dist/index.umd.cjs +3078 -0
- package/package.json +28 -64
- package/dist/main.js +0 -1585
- package/dist/module.js +0 -1585
package/package.json
CHANGED
|
@@ -1,30 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spiffcommerce/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0-beta.0",
|
|
4
4
|
"description": "Core client API for interacting with the Spiff Commerce backend.",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
|
-
"main": "dist/
|
|
7
|
-
"module": "dist/
|
|
8
|
-
"types": "dist/
|
|
6
|
+
"main": "dist/index.umd.js",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
8
|
+
"types": "dist/index.d.mts",
|
|
9
|
+
"type": "module",
|
|
9
10
|
"scripts": {
|
|
10
|
-
"build": "parcel build",
|
|
11
11
|
"dev": "ladle serve",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
12
|
+
"build": "vite build",
|
|
13
|
+
"test": "vitest --no-watch",
|
|
14
|
+
"test:watch": "vitest --no-watch",
|
|
15
|
+
"test:nowatch": "vitest --no-watch",
|
|
14
16
|
"lint": "npx eslint src"
|
|
15
17
|
},
|
|
16
|
-
"targets": {
|
|
17
|
-
"main": {
|
|
18
|
-
"optimize": true,
|
|
19
|
-
"includeNodeModules": [
|
|
20
|
-
"@spiffcommerce/papyrus",
|
|
21
|
-
"pith"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"module": {
|
|
25
|
-
"optimize": true
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
18
|
"keywords": [
|
|
29
19
|
"e-commerce",
|
|
30
20
|
"personalization",
|
|
@@ -32,71 +22,45 @@
|
|
|
32
22
|
"print"
|
|
33
23
|
],
|
|
34
24
|
"files": [
|
|
35
|
-
"dist
|
|
36
|
-
"dist/module.js",
|
|
37
|
-
"dist/types.d.ts"
|
|
25
|
+
"dist"
|
|
38
26
|
],
|
|
39
|
-
"author": "
|
|
27
|
+
"author": "SpiffCommerce",
|
|
40
28
|
"devDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
|
|
43
|
-
"@ladle/react": "^2.4.5",
|
|
44
|
-
"@parcel/packager-ts": "2.8.0",
|
|
45
|
-
"@parcel/transformer-typescript-tsc": "^2.8.0",
|
|
46
|
-
"@parcel/transformer-typescript-types": "2.8.0",
|
|
47
|
-
"@parcel/validator-typescript": "^2.8.0",
|
|
29
|
+
"@ladle/react": "2.17.2",
|
|
48
30
|
"@spiffcommerce/preview": "^3.3.1",
|
|
49
31
|
"@types/enzyme": "^3.10.12",
|
|
50
|
-
"@types/jest": "^29.0.3",
|
|
51
32
|
"@types/lodash.clonedeep": "^4.5.7",
|
|
52
33
|
"@types/lodash.debounce": "^4.0.7",
|
|
53
34
|
"@types/lodash.isequal": "^4.5.6",
|
|
35
|
+
"@types/node-fetch": "^2.6.6",
|
|
54
36
|
"@types/qrcode": "^1.3.5",
|
|
55
|
-
"@types/react": "^17.0.
|
|
56
|
-
"@types/react-dom": "^17.0.9",
|
|
37
|
+
"@types/react": "^17.0.2",
|
|
57
38
|
"@types/react-syntax-highlighter": "^15.5.7",
|
|
58
39
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
59
40
|
"@typescript-eslint/parser": "^5.43.0",
|
|
60
|
-
"
|
|
61
|
-
"agent-base": "^6.0.2",
|
|
62
|
-
"assert": "^2.0.0",
|
|
63
|
-
"buffer": "^6.0.3",
|
|
41
|
+
"canvas": "^2.11.2",
|
|
64
42
|
"enzyme": "^3.11.0",
|
|
65
43
|
"eslint": "^8.28.0",
|
|
66
|
-
"
|
|
67
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
68
|
-
"events": "^3.3.0",
|
|
69
|
-
"https-browserify": "^1.0.0",
|
|
44
|
+
"happy-dom": "^12.1.5",
|
|
70
45
|
"husky": "^8.0.1",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"path-browserify": "^1.0.1",
|
|
75
|
-
"process": "^0.11.10",
|
|
76
|
-
"querystring-es3": "^0.2.1",
|
|
77
|
-
"react": "^17.0.2",
|
|
78
|
-
"react-dom": "^17.0.2",
|
|
46
|
+
"node-fetch": "^3.3.2",
|
|
47
|
+
"react": "17.0.2",
|
|
48
|
+
"react-dom": "17.0.2",
|
|
79
49
|
"react-syntax-highlighter": "^15.5.0",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"util": "^0.12.5"
|
|
85
|
-
},
|
|
86
|
-
"peerDependencies": {
|
|
87
|
-
"react": "^17.0.2",
|
|
88
|
-
"react-dom": "^17.0.2"
|
|
50
|
+
"tsup": "^7.2.0",
|
|
51
|
+
"typescript": "5.0.3",
|
|
52
|
+
"vite": "^4.4.9",
|
|
53
|
+
"vitest": "^0.34.6"
|
|
89
54
|
},
|
|
90
55
|
"dependencies": {
|
|
91
|
-
"@apollo/client": "^3.
|
|
92
|
-
"@spiffcommerce/papyrus": "5.0.
|
|
93
|
-
"
|
|
94
|
-
"graphql": "^16.6.0",
|
|
56
|
+
"@apollo/client": "^3.8.3",
|
|
57
|
+
"@spiffcommerce/papyrus": "5.0.7-alpha.9",
|
|
58
|
+
"graphql": "^16.8.0",
|
|
95
59
|
"lodash.clonedeep": "^4.5.0",
|
|
96
60
|
"lodash.debounce": "^4.0.8",
|
|
97
61
|
"lodash.isequal": "^4.5.0",
|
|
98
|
-
"pith": "https://github.com/spiffdev/pith.git#
|
|
99
|
-
"qrcode": "^1.5.
|
|
62
|
+
"pith": "https://github.com/spiffdev/pith.git#5b04e0a407977de65d3a84cd2e9ac10f0ddd3ff7",
|
|
63
|
+
"qrcode": "^1.5.3",
|
|
100
64
|
"svg-path-bbox": "^1.2.4",
|
|
101
65
|
"unicode-default-word-boundary": "^13.0.0"
|
|
102
66
|
}
|