@sproutsocial/seeds-react-box 1.0.1 → 1.0.2

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.
@@ -3,14 +3,15 @@ $ tsup
3
3
  CLI Using tsconfig: tsconfig.json
4
4
  CLI tsup v8.0.2
5
5
  CLI Using tsup config: /home/runner/work/seeds/seeds/seeds-react/seeds-react-box/tsup.config.ts
6
- CLI Target: es2020
6
+ CLI Target: es2022
7
+ CLI Cleaning output folder
7
8
  CJS Build start
8
9
  ESM Build start
9
- ESM dist/index.mjs 816.00 B
10
- ESM ⚡️ Build success in 39ms
11
10
  CJS dist/index.js 2.58 KB
12
- CJS ⚡️ Build success in 42ms
11
+ CJS ⚡️ Build success in 96ms
12
+ ESM dist/esm/index.js 816.00 B
13
+ ESM ⚡️ Build success in 92ms
13
14
  DTS Build start
14
- DTS ⚡️ Build success in 5548ms
15
+ DTS ⚡️ Build success in 11499ms
15
16
  DTS dist/index.d.ts 800.00 B
16
17
  DTS dist/index.d.mts 800.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @sproutsocial/seeds-react-box
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c7b905b: - Update `module` field to point to correct ES Module entry point
8
+ - Fix package build so ESM exports are imported properly by web pack
9
+
3
10
  ## 1.0.1
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-box",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Seeds React Box",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
+ "module": "dist/esm/index.js",
8
9
  "types": "dist/index.d.ts",
9
10
  "scripts": {
10
11
  "build": "tsup"
11
12
  },
12
13
  "dependencies": {
13
14
  "@sproutsocial/seeds-react-theme": "^1.0.0",
14
- "@sproutsocial/seeds-react-system-props": "^2.1.0"
15
+ "@sproutsocial/seeds-react-system-props": "^2.2.0"
15
16
  },
16
17
  "devDependencies": {
17
18
  "@types/react": "^17.0.0",
package/tsup.config.ts CHANGED
@@ -3,7 +3,8 @@ import { defineConfig } from "tsup";
3
3
  export default defineConfig({
4
4
  entry: ["src/index.ts"],
5
5
  format: ["cjs", "esm"],
6
+ clean: true,
7
+ legacyOutput: true,
6
8
  dts: true,
7
- target: "es2020",
8
9
  external: ["react"],
9
10
  });
File without changes