@jsonresume/core 0.3.2 → 0.3.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/README.md +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,6 +25,18 @@ yarn add @jsonresume/core
|
|
|
25
25
|
pnpm add @jsonresume/core
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
> **Requires a bundler.** The package ships its React source (`.jsx`), not
|
|
29
|
+
> compiled JavaScript, so `import '@jsonresume/core'` in plain Node.js fails
|
|
30
|
+
> with `ERR_UNKNOWN_FILE_EXTENSION` / `ERR_MODULE_NOT_FOUND`. Use it from a
|
|
31
|
+
> build that transpiles dependencies:
|
|
32
|
+
>
|
|
33
|
+
> - **Vite** (how the themes in this repo build): works as-is.
|
|
34
|
+
> - **Next.js**: add it to `transpilePackages: ['@jsonresume/core']`.
|
|
35
|
+
> - **esbuild**: `esbuild theme.jsx --bundle --platform=node --loader:.js=jsx --jsx=automatic`.
|
|
36
|
+
>
|
|
37
|
+
> Themes should bundle it into their published `dist/` so their own users
|
|
38
|
+
> don't need a bundler.
|
|
39
|
+
|
|
28
40
|
**Peer Dependencies:**
|
|
29
41
|
|
|
30
42
|
This package requires React 18 or 19 and styled-components:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonresume/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Framework-agnostic resume component core - design tokens, primitives, and validators",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"styled-components": "^6.1.19",
|
|
39
|
-
"@jsonresume/types": "0.
|
|
40
|
-
"@jsonresume/utils": "0.
|
|
39
|
+
"@jsonresume/types": "0.3.0",
|
|
40
|
+
"@jsonresume/utils": "0.3.0"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|
|
43
43
|
"resume",
|