@unmail/react 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/dist/index.d.mts +2 -4900
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +82 -17316
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -16
- package/dist/chunk-z5eko27R.mjs +0 -13
- package/dist/index.d.ts +0 -5122
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -20925
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unmail/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Unstyled components for creating beautiful emails with React",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"module": "./dist/index.mjs",
|
|
7
|
+
"type": "module",
|
|
9
8
|
"types": "./dist/index.d.ts",
|
|
10
9
|
"files": [
|
|
11
10
|
"dist/**"
|
|
@@ -13,18 +12,14 @@
|
|
|
13
12
|
"exports": {
|
|
14
13
|
".": {
|
|
15
14
|
"import": {
|
|
16
|
-
"types": "./dist/index.d.mts",
|
|
17
|
-
"default": "./dist/index.mjs"
|
|
18
|
-
},
|
|
19
|
-
"require": {
|
|
20
15
|
"types": "./dist/index.d.ts",
|
|
21
16
|
"default": "./dist/index.js"
|
|
22
17
|
}
|
|
23
18
|
}
|
|
24
19
|
},
|
|
25
20
|
"scripts": {
|
|
26
|
-
"build": "tsdown src/index.ts --format esm
|
|
27
|
-
"dev": "tsdown src/index.ts --format esm
|
|
21
|
+
"build": "tsdown src/index.ts --format esm --dts --external react --external react-dom --external html-to-text --external tailwindcss --external marked --external css-tree",
|
|
22
|
+
"dev": "tsdown src/index.ts --format esm --dts --watch --external react --external react-dom --external html-to-text --external tailwindcss --external marked --external css-tree",
|
|
28
23
|
"test": "vitest run",
|
|
29
24
|
"test:watch": "vitest"
|
|
30
25
|
},
|
|
@@ -33,24 +28,22 @@
|
|
|
33
28
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
34
29
|
},
|
|
35
30
|
"dependencies": {
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"prismjs": "^1.30.0"
|
|
31
|
+
"css-tree": "^3.1.0",
|
|
32
|
+
"html-to-text": "^9.0.5"
|
|
39
33
|
},
|
|
40
34
|
"optionalDependencies": {
|
|
41
|
-
"css-tree": "^3.1.0",
|
|
42
35
|
"marked": "^15.0.0",
|
|
43
36
|
"tailwindcss": "^4.1.18"
|
|
44
37
|
},
|
|
45
38
|
"devDependencies": {
|
|
46
|
-
"@types/css-tree": "^2.3.10",
|
|
47
39
|
"@types/html-to-text": "^9.0.4",
|
|
48
|
-
"@types/prismjs": "^1.26.6",
|
|
49
40
|
"@types/react": "^19.0.1",
|
|
50
41
|
"@types/react-dom": "^19.0.1",
|
|
51
42
|
"react": "^19.0.0",
|
|
52
43
|
"react-dom": "^19.0.0",
|
|
53
|
-
"tsconfig": "workspace:*"
|
|
44
|
+
"tsconfig": "workspace:*",
|
|
45
|
+
"tsdown": "0.20.3",
|
|
46
|
+
"vite": "7.3.1"
|
|
54
47
|
},
|
|
55
48
|
"publishConfig": {
|
|
56
49
|
"access": "public"
|
package/dist/chunk-z5eko27R.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (all) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) __defProp(target, name, {
|
|
6
|
-
get: all[name],
|
|
7
|
-
enumerable: true
|
|
8
|
-
});
|
|
9
|
-
return target;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __export as t };
|