@brosco/ui 0.0.5 → 0.0.7

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/README.md CHANGED
@@ -17,9 +17,9 @@ If you are developing a production application, we recommend updating the config
17
17
 
18
18
  ```js
19
19
  export default defineConfig([
20
- globalIgnores(['dist']),
20
+ globalIgnores(["dist"]),
21
21
  {
22
- files: ['**/*.{ts,tsx}'],
22
+ files: ["**/*.{ts,tsx}"],
23
23
  extends: [
24
24
  // Other configs...
25
25
 
@@ -34,42 +34,40 @@ export default defineConfig([
34
34
  ],
35
35
  languageOptions: {
36
36
  parserOptions: {
37
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
37
+ project: ["./tsconfig.node.json", "./tsconfig.app.json"],
38
38
  tsconfigRootDir: import.meta.dirname,
39
39
  },
40
40
  // other options...
41
41
  },
42
42
  },
43
43
  ])
44
-
45
44
  ```
46
45
 
47
46
  You can also install [eslint-plugin-react-x](https://npmx.dev/package/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://npmx.dev/package/eslint-plugin-react-dom) for React-specific lint rules:
48
47
 
49
48
  ```js
50
49
  // eslint.config.js
51
- import reactX from 'eslint-plugin-react-x'
52
- import reactDom from 'eslint-plugin-react-dom'
50
+ import reactDom from "eslint-plugin-react-dom"
51
+ import reactX from "eslint-plugin-react-x"
53
52
 
54
53
  export default defineConfig([
55
- globalIgnores(['dist']),
54
+ globalIgnores(["dist"]),
56
55
  {
57
- files: ['**/*.{ts,tsx}'],
56
+ files: ["**/*.{ts,tsx}"],
58
57
  extends: [
59
58
  // Other configs...
60
59
  // Enable lint rules for React
61
- reactX.configs['recommended-typescript'],
60
+ reactX.configs["recommended-typescript"],
62
61
  // Enable lint rules for React DOM
63
62
  reactDom.configs.recommended,
64
63
  ],
65
64
  languageOptions: {
66
65
  parserOptions: {
67
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
66
+ project: ["./tsconfig.node.json", "./tsconfig.app.json"],
68
67
  tsconfigRootDir: import.meta.dirname,
69
68
  },
70
69
  // other options...
71
70
  },
72
71
  },
73
72
  ])
74
-
75
73
  ```
package/dist/brosco-ui.js CHANGED
@@ -1,5 +1,6 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { Button as e } from "@base-ui/react/button";
2
+ import { jsx as t } from "react/jsx-runtime";
2
3
  //#region src/button/button.tsx
3
- var t = () => /* @__PURE__ */ e("div", { children: "Button" });
4
+ var n = () => /* @__PURE__ */ t(e, { children: "1111111111111111111" });
4
5
  //#endregion
5
- export { t as Button };
6
+ export { n as Button };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brosco/ui",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -14,7 +14,8 @@
14
14
  "build": "tsc -b && vite build",
15
15
  "lint": "eslint .",
16
16
  "preview": "vite preview",
17
- "format": "prettier --write \"**/*.{js,ts,jsx,tsx,md,mdx,mjs,css,json}\""
17
+ "format": "prettier --write \"**/*.{js,ts,jsx,tsx,md,mdx,mjs,css,json}\"",
18
+ "publish": "npm publish"
18
19
  },
19
20
  "peerDependencies": {
20
21
  "@base-ui/react": "^1.8.0"