@spiffcommerce/core 14.2.3-alpha.0 → 14.2.5-alpha.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.mts} +795 -828
- package/dist/index.mjs +55485 -0
- package/dist/index.umd.js +2851 -0
- package/package.json +15 -57
- package/dist/main.js +0 -1357
- package/dist/module.js +0 -1357
package/package.json
CHANGED
|
@@ -1,30 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spiffcommerce/core",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.5-alpha.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
9
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"dev": "vite",
|
|
11
|
+
"build": "vite build",
|
|
12
12
|
"test": "tsc --noEmit --isolatedModules --skipLibCheck && jest",
|
|
13
|
-
"prepare": "yarn run build",
|
|
14
13
|
"lint": "npx eslint src"
|
|
15
14
|
},
|
|
16
|
-
"targets": {
|
|
17
|
-
"main": {
|
|
18
|
-
"optimize": true,
|
|
19
|
-
"includeNodeModules": [
|
|
20
|
-
"@spiffcommerce/papyrus",
|
|
21
|
-
"pith"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"module": {
|
|
25
|
-
"optimize": true
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
15
|
"keywords": [
|
|
29
16
|
"e-commerce",
|
|
30
17
|
"personalization",
|
|
@@ -32,19 +19,12 @@
|
|
|
32
19
|
"print"
|
|
33
20
|
],
|
|
34
21
|
"files": [
|
|
35
|
-
"dist
|
|
36
|
-
"dist/module.js",
|
|
37
|
-
"dist/types.d.ts"
|
|
22
|
+
"dist"
|
|
38
23
|
],
|
|
39
|
-
"author": "
|
|
24
|
+
"author": "SpiffCommerce",
|
|
40
25
|
"devDependencies": {
|
|
41
26
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
42
27
|
"@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",
|
|
48
28
|
"@spiffcommerce/preview": "^3.3.1",
|
|
49
29
|
"@types/enzyme": "^3.10.12",
|
|
50
30
|
"@types/jest": "^29.0.3",
|
|
@@ -52,49 +32,27 @@
|
|
|
52
32
|
"@types/lodash.debounce": "^4.0.7",
|
|
53
33
|
"@types/lodash.isequal": "^4.5.6",
|
|
54
34
|
"@types/qrcode": "^1.3.5",
|
|
55
|
-
"@types/react": "^17.0.9",
|
|
56
|
-
"@types/react-dom": "^17.0.9",
|
|
57
35
|
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
58
36
|
"@typescript-eslint/parser": "^5.43.0",
|
|
59
|
-
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
|
60
|
-
"agent-base": "^6.0.2",
|
|
61
|
-
"assert": "^2.0.0",
|
|
62
|
-
"buffer": "^6.0.3",
|
|
63
37
|
"enzyme": "^3.11.0",
|
|
64
38
|
"eslint": "^8.28.0",
|
|
65
|
-
"eslint-plugin-react": "^7.31.11",
|
|
66
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
67
|
-
"events": "^3.3.0",
|
|
68
|
-
"https-browserify": "^1.0.0",
|
|
69
39
|
"husky": "^8.0.1",
|
|
70
40
|
"jest": "^29.6.2",
|
|
71
41
|
"jest-environment-jsdom": "^29.6.2",
|
|
72
|
-
"parcel": "^2.7.0",
|
|
73
|
-
"path-browserify": "^1.0.1",
|
|
74
|
-
"process": "^0.11.10",
|
|
75
|
-
"querystring-es3": "^0.2.1",
|
|
76
|
-
"react": "^17.0.2",
|
|
77
|
-
"react-dom": "^17.0.2",
|
|
78
|
-
"stream-browserify": "^3.0.0",
|
|
79
|
-
"stream-http": "^3.2.0",
|
|
80
42
|
"ts-jest": "^29.1.1",
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
"peerDependencies": {
|
|
85
|
-
"react": "^17.0.2",
|
|
86
|
-
"react-dom": "^17.0.2"
|
|
43
|
+
"tsup": "^7.2.0",
|
|
44
|
+
"typescript": "5.0.3",
|
|
45
|
+
"vite": "^4.4.9"
|
|
87
46
|
},
|
|
88
47
|
"dependencies": {
|
|
89
|
-
"@apollo/client": "^3.
|
|
90
|
-
"@spiffcommerce/papyrus": "4.
|
|
91
|
-
"
|
|
92
|
-
"graphql": "^16.6.0",
|
|
48
|
+
"@apollo/client": "^3.8.3",
|
|
49
|
+
"@spiffcommerce/papyrus": "4.1.4-alpha.0",
|
|
50
|
+
"graphql": "^16.8.0",
|
|
93
51
|
"lodash.clonedeep": "^4.5.0",
|
|
94
52
|
"lodash.debounce": "^4.0.8",
|
|
95
53
|
"lodash.isequal": "^4.5.0",
|
|
96
54
|
"pith": "https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c",
|
|
97
|
-
"qrcode": "^1.5.
|
|
55
|
+
"qrcode": "^1.5.3",
|
|
98
56
|
"svg-path-bbox": "^1.2.4",
|
|
99
57
|
"unicode-default-word-boundary": "^13.0.0"
|
|
100
58
|
}
|