@2digits/constants 1.0.0 → 1.1.1

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.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ //#region src/index.d.ts
1
2
  declare const tailwindFunctions: string[];
2
-
3
- export { tailwindFunctions };
3
+ //#endregion
4
+ export { tailwindFunctions };
package/dist/index.mjs CHANGED
@@ -1,3 +1 @@
1
- const tailwindFunctions = ["tv", "cn", "cnBase", "classnames", "clsx", "cx"];
2
-
3
- export { tailwindFunctions };
1
+ const e=[`tv`,`cn`,`cnBase`,`classnames`,`clsx`,`cx`];export{e as tailwindFunctions};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/constants",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/2digits-agency/configs.git",
@@ -8,28 +8,26 @@
8
8
  },
9
9
  "type": "module",
10
10
  "main": "./dist/index.mjs",
11
+ "module": "./dist/index.mjs",
11
12
  "types": "./dist/index.d.mts",
12
13
  "files": [
13
14
  "dist"
14
15
  ],
15
16
  "exports": {
16
- "./package.json": "./package.json",
17
- ".": {
18
- "types": "./dist/index.d.mts",
19
- "default": "./dist/index.mjs"
20
- }
17
+ ".": "./dist/index.mjs",
18
+ "./package.json": "./package.json"
21
19
  },
22
20
  "sideEffects": false,
23
21
  "license": "MIT",
24
22
  "public": true,
25
23
  "devDependencies": {
24
+ "tsdown": "0.12.7",
26
25
  "typescript": "5.8.3",
27
- "unbuild": "3.5.0",
28
26
  "@2digits/tsconfig": "0.7.1"
29
27
  },
30
28
  "scripts": {
31
- "build": "unbuild",
32
- "dev": "unbuild --watch",
29
+ "build": "tsdown --minify",
30
+ "dev": "tsdown --watch",
33
31
  "types": "tsc --noEmit"
34
32
  }
35
33
  }
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const tailwindFunctions: string[];
2
-
3
- export { tailwindFunctions };