@bug-on/md3-tokens 3.0.0 → 3.0.1

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.
@@ -1,29 +1,28 @@
1
-
2
- > @bug-on/md3-tokens@3.0.0 build /home/runner/work/bug-on-md3-expressive/bug-on-md3-expressive/packages/tokens
3
- > tsup
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Using tsup config: /home/runner/work/bug-on-md3-expressive/bug-on-md3-expressive/packages/tokens/tsup.config.ts
9
- CLI Target: es2017
10
- CLI Cleaning output folder
11
- ESM Build start
12
- CJS Build start
13
- ESM dist/index.mjs 937.00 B
14
- ESM dist/index.mjs.map 2.15 KB
15
- ESM ⚡️ Build success in 17ms
16
- CJS dist/index.js 2.00 KB
17
- CJS dist/index.js.map 2.30 KB
18
- CJS ⚡️ Build success in 17ms
19
- Copying CSS assets to dist...
20
- Copied colors.css to dist/colors.css
21
- ✅ Copied shape.css to dist/shape.css
22
- ⚠️ index.css not found in src/, skipping
23
- ✅ Generated colors.css.d.ts
24
- ✅ Generated shape.css.d.ts
25
- Generated index.css.d.ts
26
- DTS Build start
27
- DTS ⚡️ Build success in 878ms
28
- DTS dist/index.d.mts 3.11 KB
29
- DTS dist/index.d.ts 3.11 KB
1
+
2
+ 
3
+ > @bug-on/md3-tokens@3.0.1 build /Users/stark/Documents/GitHub/bug-on-md3-expressive/packages/tokens
4
+ > tsup
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Using tsup config: /Users/stark/Documents/GitHub/bug-on-md3-expressive/packages/tokens/tsup.config.ts
10
+ CLI Target: es2017
11
+ CLI Cleaning output folder
12
+ ESM Build start
13
+ CJS Build start
14
+ CJS dist/index.js 2.00 KB
15
+ CJS dist/index.js.map 2.30 KB
16
+ CJS ⚡️ Build success in 16ms
17
+ ESM dist/index.mjs 937.00 B
18
+ ESM dist/index.mjs.map 2.15 KB
19
+ ESM ⚡️ Build success in 17ms
20
+ Copying CSS assets to dist...
21
+ ✅ Copied colors.css to dist/colors.css
22
+ ✅ Copied shape.css to dist/shape.css
23
+ ✅ Generated colors.css.d.ts
24
+ ✅ Generated shape.css.d.ts
25
+ DTS Build start
26
+ DTS ⚡️ Build success in 941ms
27
+ DTS dist/index.d.mts 3.11 KB
28
+ DTS dist/index.d.ts 3.11 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @bug-on/md3-tokens
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - - **React**: Automatically bundle CSS tokens into `index.css` for easier setup.
8
+ - **React**: Re-export Tailwind plugin via `@bug-on/md3-react/plugin`.
9
+ - **React**: Add `@bug-on/md3-tailwind` and `@bug-on/md3-tokens` as direct dependencies.
10
+ - **Tokens**: Fix build warning when `index.css` is missing in src.
11
+ - **Tailwind**: Improved compatibility for Tailwind v3 and v4.
12
+ - **Build**: Optimized build process using native tsup features.
13
+
3
14
  ## 3.0.0
4
15
 
5
16
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bug-on/md3-tokens",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Material Design 3 Expressive design tokens",
5
5
  "author": "Bug Ổn",
6
6
  "license": "MIT",
@@ -36,14 +36,13 @@
36
36
  "default": "./dist/shape.css"
37
37
  }
38
38
  },
39
- "peerDependencies": {
40
- "react": "^19.0.0",
41
- "react-dom": "^19.0.0"
42
- },
39
+ "peerDependencies": {},
43
40
  "publishConfig": {
44
41
  "access": "public"
45
42
  },
46
43
  "devDependencies": {
44
+ "react": "^19.0.0",
45
+ "react-dom": "^19.0.0",
47
46
  "tsup": "^8.4.0",
48
47
  "typescript": "5.8.3"
49
48
  },
@@ -12,7 +12,7 @@ if (!fs.existsSync(distDir)) {
12
12
  console.log("Copying CSS assets to dist...");
13
13
 
14
14
  // CSS files to copy from src/ to dist/ (only files that exist in src/)
15
- const cssFiles = ["colors.css", "shape.css", "index.css"];
15
+ const cssFiles = ["colors.css", "shape.css"];
16
16
 
17
17
  for (const file of cssFiles) {
18
18
  const srcPath = path.join(srcDir, file);