@spscommerce/ds-react 7.18.0 → 7.19.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,27 +1,19 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-react",
3
3
  "description": "SPS Design System React components",
4
- "version": "7.18.0",
4
+ "version": "7.19.0",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-react",
8
8
  "homepage": "https://github.com/spscommerce/woodland/tree/master/packages/@spscommerce/ds-react#readme",
9
- "scripts": {
10
- "build": "pnpm run build:js && pnpm run build:types",
11
- "build:js": "vite build",
12
- "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib",
13
- "watch": "vite build --watch",
14
- "clean": "git clean -fdX",
15
- "pub": "node ../../scripts/publish-package.js"
16
- },
17
- "module": "./lib/index.es.js",
18
9
  "type": "module",
19
- "main": "./lib/index.cjs.js",
10
+ "module": "./lib/index.js",
11
+ "main": "./lib/index.umd.cjs",
20
12
  "types": "./lib/index.d.ts",
21
13
  "exports": {
22
- "import": "./lib/index.es.js",
23
- "require": "./lib/index.cjs.js",
24
- "default": "./lib/index.cjs.js",
14
+ "require": "./lib/index.umd.cjs",
15
+ "import": "./lib/index.js",
16
+ "default": "./lib/index.js",
25
17
  "types": "./lib/index.d.ts"
26
18
  },
27
19
  "publishConfig": {
@@ -49,16 +41,16 @@
49
41
  },
50
42
  "peerDependencies": {
51
43
  "@react-stately/collections": "^3.6.0",
52
- "@sps-woodland/illustrations": "workspace:*",
53
- "@sps-woodland/tabs": "workspace:*",
54
- "@spscommerce/ds-colors": "workspace:*",
55
- "@spscommerce/ds-shared": "workspace:*",
56
- "@spscommerce/positioning": "workspace:*",
57
44
  "@spscommerce/utils": "^6.11.3",
58
45
  "moment": "^2.25.3",
59
46
  "moment-timezone": "^0.5.28",
60
47
  "react": "^16.9.0",
61
- "react-dom": "^16.9.0"
48
+ "react-dom": "^16.9.0",
49
+ "@spscommerce/ds-colors": "7.19.0",
50
+ "@spscommerce/ds-shared": "7.19.0",
51
+ "@sps-woodland/illustrations": "7.19.0",
52
+ "@sps-woodland/tabs": "7.19.0",
53
+ "@spscommerce/positioning": "7.19.0"
62
54
  },
63
55
  "devDependencies": {
64
56
  "@react-spectrum/provider": "^3.4.1",
@@ -67,11 +59,6 @@
67
59
  "@react-types/select": "^3.6.1",
68
60
  "@react-types/shared": "^3.8.0",
69
61
  "@react-types/tabs": "^3.0.1",
70
- "@sps-woodland/illustrations": "workspace:*",
71
- "@sps-woodland/tabs": "workspace:*",
72
- "@spscommerce/ds-colors": "workspace:*",
73
- "@spscommerce/ds-shared": "workspace:*",
74
- "@spscommerce/positioning": "workspace:*",
75
62
  "@spscommerce/utils": "^6.12.1",
76
63
  "@testing-library/dom": "^8.17.1",
77
64
  "@testing-library/react": "^10.0.0",
@@ -85,6 +72,19 @@
85
72
  "raf-stub": "^2.0.2",
86
73
  "react": "^16.9.0",
87
74
  "react-dom": "^16.9.0",
88
- "test": "workspace:*"
75
+ "@spscommerce/ds-shared": "7.19.0",
76
+ "@spscommerce/ds-colors": "7.19.0",
77
+ "test": "7.17.10",
78
+ "@sps-woodland/tabs": "7.19.0",
79
+ "@spscommerce/positioning": "7.19.0",
80
+ "@sps-woodland/illustrations": "7.19.0"
81
+ },
82
+ "scripts": {
83
+ "build": "pnpm run build:js && pnpm run build:types",
84
+ "build:js": "vite build",
85
+ "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib",
86
+ "watch": "vite build --watch",
87
+ "clean": "git clean -fdX",
88
+ "pub": "node ../../scripts/publish-package.js"
89
89
  }
90
- }
90
+ }
Binary file
package/vite.config.js CHANGED
@@ -8,8 +8,8 @@ export default defineConfig({
8
8
  build: {
9
9
  lib: {
10
10
  entry: path.resolve(__dirname, "src/index.ts"),
11
- formats: ["es", "cjs"],
12
- fileName: (format) => `index.${format}.js`,
11
+ name: "DSReact",
12
+ fileName: "index",
13
13
  },
14
14
  outDir: path.resolve(__dirname, "./lib"),
15
15
  emptyOutDir: false,
Binary file
File without changes