singularity-components 0.1.1 → 0.1.3

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,7 +1,8 @@
1
1
  {
2
2
  "name": "singularity-components",
3
3
  "author": "John Doe",
4
- "version": "0.1.1",
4
+ "version": "0.1.3",
5
+ "main": "index.tsx",
5
6
  "dependencies": {
6
7
  "@testing-library/jest-dom": "^5.17.0",
7
8
  "@testing-library/react": "^13.4.0",
package/src/_index.tsx ADDED
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ import ReactDOM from "react-dom/client";
3
+ import "./index.css";
4
+ import App from "./App";
5
+ import reportWebVitals from "./reportWebVitals";
6
+ import { Badge } from "components/ui/badge";
7
+
8
+ const root = ReactDOM.createRoot(
9
+ document.getElementById("root") as HTMLElement
10
+ );
11
+ root.render(
12
+ <React.StrictMode>
13
+ <App />
14
+ </React.StrictMode>
15
+ );
16
+
17
+ // If you want to start measuring performance in your app, pass a function
18
+ // to log results (for example: reportWebVitals(console.log))
19
+ // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
20
+ reportWebVitals();
21
+
22
+ export { Badge };
package/src/index.tsx CHANGED
@@ -1,19 +1,3 @@
1
- import React from 'react';
2
- import ReactDOM from 'react-dom/client';
3
- import './index.css';
4
- import App from './App';
5
- import reportWebVitals from './reportWebVitals';
1
+ import { Badge } from "components/ui/badge";
6
2
 
7
- const root = ReactDOM.createRoot(
8
- document.getElementById('root') as HTMLElement
9
- );
10
- root.render(
11
- <React.StrictMode>
12
- <App />
13
- </React.StrictMode>
14
- );
15
-
16
- // If you want to start measuring performance in your app, pass a function
17
- // to log results (for example: reportWebVitals(console.log))
18
- // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
19
- reportWebVitals();
3
+ export { Badge };