@2digits/constants 0.3.8 → 1.0.0

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,3 @@
1
+ const tailwindFunctions = ["tv", "cn", "cnBase", "classnames", "clsx", "cx"];
2
+
3
+ export { tailwindFunctions };
package/package.json CHANGED
@@ -1,41 +1,35 @@
1
1
  {
2
2
  "name": "@2digits/constants",
3
- "version": "0.3.8",
3
+ "version": "1.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/2digits-agency/configs.git",
7
7
  "directory": "packages/constants"
8
8
  },
9
9
  "type": "module",
10
- "main": "./dist/index.js",
11
- "types": "./dist/index.d.ts",
10
+ "main": "./dist/index.mjs",
11
+ "types": "./dist/index.d.mts",
12
12
  "files": [
13
13
  "dist"
14
14
  ],
15
15
  "exports": {
16
16
  "./package.json": "./package.json",
17
17
  ".": {
18
- "import": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/index.js"
21
- },
22
- "require": {
23
- "types": "./dist/index.d.cts",
24
- "default": "./dist/index.cjs"
25
- }
18
+ "types": "./dist/index.d.mts",
19
+ "default": "./dist/index.mjs"
26
20
  }
27
21
  },
28
22
  "sideEffects": false,
29
23
  "license": "MIT",
30
24
  "public": true,
31
25
  "devDependencies": {
32
- "tsup": "8.4.0",
33
26
  "typescript": "5.8.3",
27
+ "unbuild": "3.5.0",
34
28
  "@2digits/tsconfig": "0.7.1"
35
29
  },
36
30
  "scripts": {
37
- "build": "tsup",
38
- "dev": "tsup --watch",
31
+ "build": "unbuild",
32
+ "dev": "unbuild --watch",
39
33
  "types": "tsc --noEmit"
40
34
  }
41
35
  }
package/dist/index.cjs DELETED
@@ -1,2 +0,0 @@
1
- 'use strict';var c=["tv","cn","cnBase","classnames","clsx","cx"];exports.tailwindFunctions=c;//# sourceMappingURL=index.cjs.map
2
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["tailwindFunctions"],"mappings":"aAAO,IAAMA,EAAoB,CAAC,IAAA,CAAM,KAAM,QAAU,CAAA,YAAA,CAAc,OAAQ,IAAI","file":"index.cjs","sourcesContent":["export const tailwindFunctions = ['tv', 'cn', 'cnBase', 'classnames', 'clsx', 'cx'];\n"]}
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- var c=["tv","cn","cnBase","classnames","clsx","cx"];export{c as tailwindFunctions};//# sourceMappingURL=index.js.map
2
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["tailwindFunctions"],"mappings":"AAAO,IAAMA,EAAoB,CAAC,IAAA,CAAM,KAAM,QAAU,CAAA,YAAA,CAAc,OAAQ,IAAI","file":"index.js","sourcesContent":["export const tailwindFunctions = ['tv', 'cn', 'cnBase', 'classnames', 'clsx', 'cx'];\n"]}
File without changes