@spscommerce/ds-react-charts 8.56.2 → 8.56.3
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/lib/index.js +8374 -15874
- package/lib/index.umd.cjs +19 -18
- package/package.json +9 -9
- package/vite.config.mjs +10 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spscommerce/ds-react-charts",
|
|
3
3
|
"description": "SPS Design System React Chart components",
|
|
4
|
-
"version": "8.56.
|
|
4
|
+
"version": "8.56.3",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-react-charts",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@spscommerce/utils": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
|
38
38
|
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
39
39
|
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
40
|
-
"@spscommerce/ds-colors": "8.56.
|
|
41
|
-
"@spscommerce/ds-react": "8.56.
|
|
42
|
-
"@spscommerce/ds-shared": "8.56.
|
|
40
|
+
"@spscommerce/ds-colors": "8.56.3",
|
|
41
|
+
"@spscommerce/ds-react": "8.56.3",
|
|
42
|
+
"@spscommerce/ds-shared": "8.56.3"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@spscommerce/utils": "9.
|
|
45
|
+
"@spscommerce/utils": "9.3.3",
|
|
46
46
|
"@testing-library/react": "12.1.5",
|
|
47
47
|
"@types/prop-types": "15.7.15",
|
|
48
48
|
"axe-prop-types": "1.0.9",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"prop-types": "^15.7.2",
|
|
51
51
|
"react": "16.14.0",
|
|
52
52
|
"react-dom": "16.14.0",
|
|
53
|
-
"@spscommerce/ds-colors": "8.56.
|
|
54
|
-
"@spscommerce/ds-react": "8.56.
|
|
55
|
-
"
|
|
56
|
-
"
|
|
53
|
+
"@spscommerce/ds-colors": "8.56.3",
|
|
54
|
+
"@spscommerce/ds-react": "8.56.3",
|
|
55
|
+
"@spscommerce/ds-shared": "8.56.3",
|
|
56
|
+
"test": "8.56.3"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "pnpm run build:js && pnpm run build:types",
|
package/vite.config.mjs
CHANGED
|
@@ -7,6 +7,16 @@ import { withOutputGlobals } from "../../scripts/with-output-globals.mjs";
|
|
|
7
7
|
|
|
8
8
|
export default defineConfig(
|
|
9
9
|
withOutputGlobals({
|
|
10
|
+
resolve: {
|
|
11
|
+
mainFields: ["module", "main"],
|
|
12
|
+
alias: [
|
|
13
|
+
// @visx/xychart deep-imports sibling @visx packages via their CJS "lib" subpath
|
|
14
|
+
// instead of the package root (which would resolve via mainFields above). Rolldown's
|
|
15
|
+
// CJS/ESM interop for those turns into a runtime `require("react")` call that throws
|
|
16
|
+
// in the browser, so redirect those deep imports to the equivalent ESM subpath instead.
|
|
17
|
+
{ find: /^(@visx\/[a-z-]+)\/lib\//, replacement: "$1/esm/" },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
10
20
|
build: {
|
|
11
21
|
lib: {
|
|
12
22
|
entry: path.resolve(__dirname, "src/index.ts"),
|