@2digits/constants 0.3.8 → 1.1.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.
@@ -0,0 +1,4 @@
1
+ //#region src/index.d.ts
2
+ declare const tailwindFunctions: string[];
3
+ //#endregion
4
+ export { tailwindFunctions };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ const e=[`tv`,`cn`,`cnBase`,`classnames`,`clsx`,`cx`];export{e as tailwindFunctions};
package/package.json CHANGED
@@ -1,41 +1,33 @@
1
1
  {
2
2
  "name": "@2digits/constants",
3
- "version": "0.3.8",
3
+ "version": "1.1.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
+ "module": "./dist/index.mjs",
12
+ "types": "./dist/index.d.mts",
12
13
  "files": [
13
14
  "dist"
14
15
  ],
15
16
  "exports": {
16
- "./package.json": "./package.json",
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
- }
26
- }
17
+ ".": "./dist/index.mjs",
18
+ "./package.json": "./package.json"
27
19
  },
28
20
  "sideEffects": false,
29
21
  "license": "MIT",
30
22
  "public": true,
31
23
  "devDependencies": {
32
- "tsup": "8.4.0",
24
+ "tsdown": "0.12.6",
33
25
  "typescript": "5.8.3",
34
26
  "@2digits/tsconfig": "0.7.1"
35
27
  },
36
28
  "scripts": {
37
- "build": "tsup",
38
- "dev": "tsup --watch",
29
+ "build": "tsdown --minify",
30
+ "dev": "tsdown --watch",
39
31
  "types": "tsc --noEmit"
40
32
  }
41
33
  }
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.d.cts DELETED
@@ -1,3 +0,0 @@
1
- declare const tailwindFunctions: string[];
2
-
3
- export { tailwindFunctions };
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const tailwindFunctions: string[];
2
-
3
- export { tailwindFunctions };
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"]}