@syncsnap/react 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/dist/theme.css +1 -1
  2. package/package.json +2 -2
package/dist/theme.css CHANGED
@@ -8,7 +8,7 @@
8
8
  * @import "shadcn/tailwind.css";
9
9
  * @import "@syncsnap/react/theme";
10
10
  */
11
- @source "../**/*.{ts,tsx}";
11
+ @source "./**/*.js";
12
12
 
13
13
  @custom-variant dark (&:is(.dark *));
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncsnap/react",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Syncsnap client SDK for React",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "lint:fix": "eslint . --fix",
23
23
  "format": "prettier --write .",
24
24
  "format:check": "prettier --check .",
25
- "build": "tsup src/index.tsx --dts --format esm --out-dir dist --clean --sourcemap && node -e \"const fs=require('fs'); fs.mkdirSync('dist/styles',{recursive:true}); fs.copyFileSync('src/styles/globals.css','dist/styles/globals.css'); fs.copyFileSync('src/styles/theme.css','dist/theme.css');\"",
25
+ "build": "tsup src/index.tsx --dts --format esm --out-dir dist --clean --sourcemap && node scripts/copy-theme.cjs",
26
26
  "publish": "npm publish --access public",
27
27
  "publish:ci": "npm publish --provenance --access public",
28
28
  "link": "npm run build && npm link",