singularity-components 0.1.8 → 0.1.10

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/dist/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ // src/functions.ts
2
+ function sayHello({ name, age }) {
3
+ console.log(`Hello, my name is ${name} and I am ${age} years old`);
4
+ }
5
+ export {
6
+ sayHello
7
+ };
package/package.json CHANGED
@@ -1,49 +1,21 @@
1
1
  {
2
2
  "name": "singularity-components",
3
- "version": "0.1.8",
4
- "private": false,
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "module": "dist/index.js",
8
- "types": "dist/index.d.ts",
9
- "files": [
10
- "dist"
11
- ],
3
+ "version": "0.1.10",
4
+ "main": "./dist/index.js",
5
+ "module": "./dist/index.mjs",
6
+ "types": "./dist/index.d.ts",
12
7
  "scripts": {
13
- "dev": "vite",
14
- "build": "tsc && vite build",
15
- "lint": "eslint .",
16
- "preview": "vite preview",
17
- "prepublishOnly": "npm run build"
18
- },
19
- "peerDependencies": {
20
- "react": "^18.0.0",
21
- "react-dom": "^18.0.0"
22
- },
23
- "dependencies": {
24
- "class-variance-authority": "^0.7.0",
25
- "clsx": "^2.1.0",
26
- "lucide-react": "^0.294.0",
27
- "tailwind-merge": "^2.1.0",
28
- "tailwindcss-animate": "^1.0.7"
8
+ "build": "tsup"
29
9
  },
10
+ "keywords": [
11
+ "test"
12
+ ],
13
+ "author": "snoffsan",
14
+ "license": "ISC",
15
+ "description": "MIT",
16
+ "dependencies": {},
30
17
  "devDependencies": {
31
- "@types/node": "^20.10.4",
32
- "@types/react": "^18.2.43",
33
- "@types/react-dom": "^18.2.17",
34
- "@typescript-eslint/eslint-plugin": "^6.14.0",
35
- "@typescript-eslint/parser": "^6.14.0",
36
- "@vitejs/plugin-react": "^4.2.1",
37
- "autoprefixer": "^10.4.16",
38
- "eslint": "^8.55.0",
39
- "eslint-plugin-react-hooks": "^4.6.0",
40
- "eslint-plugin-react-refresh": "^0.4.5",
41
- "postcss": "^8.4.32",
42
- "react": "^18.2.0",
43
- "react-dom": "^18.2.0",
44
- "tailwindcss": "^3.3.6",
45
- "typescript": "^5.2.2",
46
- "vite": "^5.0.8",
47
- "vite-plugin-dts": "^3.6.4"
18
+ "tsup": "^8.3.5",
19
+ "typescript": "^5.7.2"
48
20
  }
49
21
  }
package/dist/App.d.ts DELETED
@@ -1,3 +0,0 @@
1
-
2
- declare function App(): import("react/jsx-runtime").JSX.Element;
3
- export default App;
@@ -1,2 +0,0 @@
1
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
2
- export { Skeleton };
@@ -1,3 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
-
3
- export declare function cn(...inputs: ClassValue[]): string;
package/dist/main.d.ts DELETED
@@ -1 +0,0 @@
1
-