resuml 1.20.1 → 2.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/DOCS.md +314 -0
- package/README.md +7 -2
- package/dist/{chunk-KRJMZ2RQ.js → chunk-GRIYYG45.js} +242 -2
- package/dist/chunk-GRIYYG45.js.map +1 -0
- package/dist/index.d.ts +422 -3
- package/dist/index.js +119 -54
- package/dist/index.js.map +1 -1
- package/dist/mcp/server.js +4 -8
- package/dist/mcp/server.js.map +1 -1
- package/package.json +26 -52
- package/dist/api.d.ts +0 -9
- package/dist/api.js +0 -20
- package/dist/api.js.map +0 -1
- package/dist/chunk-4ZOTZUAW.js +0 -6666
- package/dist/chunk-4ZOTZUAW.js.map +0 -1
- package/dist/chunk-JP7UCR3P.js +0 -182
- package/dist/chunk-JP7UCR3P.js.map +0 -1
- package/dist/chunk-KRJMZ2RQ.js.map +0 -1
- package/dist/chunk-ZLA7NFYP.js +0 -90
- package/dist/chunk-ZLA7NFYP.js.map +0 -1
- package/dist/index-yHdKpxms.d.ts +0 -422
- package/dist/themeLoader-ZGWEGYXG.js +0 -7
- package/dist/themeLoader-ZGWEGYXG.js.map +0 -1
- package/scripts/build-builder.js +0 -25
- package/scripts/build-skills-db.js +0 -314
- package/scripts/bundle-themes.js +0 -1104
- package/scripts/dev-server.js +0 -392
- package/scripts/enrich-themes-manifest.mjs +0 -156
- package/scripts/generate-types.cjs +0 -55
- package/scripts/mcp-call.mjs +0 -99
- package/scripts/quick-bundle.cjs +0 -129
- package/scripts/render-theme-thumbs.mjs +0 -117
- package/scripts/test-mcp.mjs +0 -583
package/dist/chunk-JP7UCR3P.js
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
// src/utils/resumeTemplate.ts
|
|
2
|
-
function generateResumeYaml(name, email, label) {
|
|
3
|
-
return `# =============================================================================
|
|
4
|
-
# Resume - Generated by resuml
|
|
5
|
-
# Documentation: https://github.com/phoinixi/resuml
|
|
6
|
-
# Schema: https://jsonresume.org/schema/
|
|
7
|
-
# =============================================================================
|
|
8
|
-
|
|
9
|
-
# --- Basic Information ---
|
|
10
|
-
basics:
|
|
11
|
-
name: '${name}'
|
|
12
|
-
label: '${label}'
|
|
13
|
-
# image: 'https://example.com/photo.jpg'
|
|
14
|
-
email: '${email}'
|
|
15
|
-
# phone: '+1-555-123-4567'
|
|
16
|
-
# url: 'https://yourwebsite.com'
|
|
17
|
-
summary: >-
|
|
18
|
-
Write a short professional summary here.
|
|
19
|
-
This supports multi-line strings in YAML.
|
|
20
|
-
location:
|
|
21
|
-
# address: '123 Main Street'
|
|
22
|
-
# postalCode: '12345'
|
|
23
|
-
city: 'Your City'
|
|
24
|
-
countryCode: 'US'
|
|
25
|
-
# region: 'Your State'
|
|
26
|
-
profiles:
|
|
27
|
-
- network: 'LinkedIn'
|
|
28
|
-
username: 'your-username'
|
|
29
|
-
url: 'https://linkedin.com/in/your-username'
|
|
30
|
-
- network: 'GitHub'
|
|
31
|
-
username: 'your-username'
|
|
32
|
-
url: 'https://github.com/your-username'
|
|
33
|
-
|
|
34
|
-
# --- Work Experience ---
|
|
35
|
-
work:
|
|
36
|
-
- name: 'Company Name'
|
|
37
|
-
position: 'Job Title'
|
|
38
|
-
url: 'https://company.com'
|
|
39
|
-
startDate: '2020-01-01'
|
|
40
|
-
# endDate: '2023-12-31' # Omit for current position
|
|
41
|
-
summary: 'Brief description of your role and responsibilities.'
|
|
42
|
-
highlights:
|
|
43
|
-
- 'Key achievement or responsibility'
|
|
44
|
-
- 'Another notable accomplishment'
|
|
45
|
-
|
|
46
|
-
# --- Education ---
|
|
47
|
-
education:
|
|
48
|
-
- institution: 'University Name'
|
|
49
|
-
url: 'https://university.edu'
|
|
50
|
-
area: 'Field of Study'
|
|
51
|
-
studyType: 'Bachelor of Science'
|
|
52
|
-
startDate: '2014-09-01'
|
|
53
|
-
endDate: '2018-06-01'
|
|
54
|
-
# score: '3.8'
|
|
55
|
-
courses:
|
|
56
|
-
- 'Relevant Course 1'
|
|
57
|
-
- 'Relevant Course 2'
|
|
58
|
-
|
|
59
|
-
# --- Skills ---
|
|
60
|
-
skills:
|
|
61
|
-
- name: 'Programming Languages'
|
|
62
|
-
level: 'Expert'
|
|
63
|
-
keywords:
|
|
64
|
-
- 'JavaScript'
|
|
65
|
-
- 'TypeScript'
|
|
66
|
-
- 'Python'
|
|
67
|
-
- name: 'Frameworks'
|
|
68
|
-
level: 'Advanced'
|
|
69
|
-
keywords:
|
|
70
|
-
- 'React'
|
|
71
|
-
- 'Node.js'
|
|
72
|
-
|
|
73
|
-
# --- Projects ---
|
|
74
|
-
# projects:
|
|
75
|
-
# - name: 'Project Name'
|
|
76
|
-
# description: 'Brief project description'
|
|
77
|
-
# highlights:
|
|
78
|
-
# - 'Key feature or result'
|
|
79
|
-
# keywords:
|
|
80
|
-
# - 'Technology Used'
|
|
81
|
-
# startDate: '2023-01-01'
|
|
82
|
-
# endDate: '2023-06-30'
|
|
83
|
-
# url: 'https://github.com/you/project'
|
|
84
|
-
# roles:
|
|
85
|
-
# - 'Developer'
|
|
86
|
-
# type: 'application'
|
|
87
|
-
|
|
88
|
-
# --- Languages ---
|
|
89
|
-
# languages:
|
|
90
|
-
# - language: 'English'
|
|
91
|
-
# fluency: 'Native speaker'
|
|
92
|
-
# - language: 'Spanish'
|
|
93
|
-
# fluency: 'Professional working proficiency'
|
|
94
|
-
|
|
95
|
-
# --- Interests ---
|
|
96
|
-
# interests:
|
|
97
|
-
# - name: 'Open Source'
|
|
98
|
-
# keywords:
|
|
99
|
-
# - 'Contributing'
|
|
100
|
-
# - 'Community'
|
|
101
|
-
|
|
102
|
-
# --- References ---
|
|
103
|
-
# references:
|
|
104
|
-
# - name: 'Jane Smith'
|
|
105
|
-
# reference: 'It was a pleasure working with...'
|
|
106
|
-
|
|
107
|
-
# --- Awards ---
|
|
108
|
-
# awards:
|
|
109
|
-
# - title: 'Award Name'
|
|
110
|
-
# date: '2023-01-01'
|
|
111
|
-
# awarder: 'Organization'
|
|
112
|
-
# summary: 'Description of the award'
|
|
113
|
-
|
|
114
|
-
# --- Certificates ---
|
|
115
|
-
# certificates:
|
|
116
|
-
# - name: 'Certificate Name'
|
|
117
|
-
# date: '2023-01-01'
|
|
118
|
-
# issuer: 'Issuing Organization'
|
|
119
|
-
# url: 'https://example.com/cert'
|
|
120
|
-
|
|
121
|
-
# --- Publications ---
|
|
122
|
-
# publications:
|
|
123
|
-
# - name: 'Publication Title'
|
|
124
|
-
# publisher: 'Publisher'
|
|
125
|
-
# releaseDate: '2023-01-01'
|
|
126
|
-
# url: 'https://example.com/publication'
|
|
127
|
-
# summary: 'Brief description'
|
|
128
|
-
|
|
129
|
-
# --- Volunteer ---
|
|
130
|
-
# volunteers:
|
|
131
|
-
# - organization: 'Organization Name'
|
|
132
|
-
# position: 'Volunteer Role'
|
|
133
|
-
# url: 'https://organization.com'
|
|
134
|
-
# startDate: '2022-01-01'
|
|
135
|
-
# summary: 'Description of volunteer work'
|
|
136
|
-
# highlights:
|
|
137
|
-
# - 'Notable contribution'
|
|
138
|
-
`;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// src/utils/themeInfo.ts
|
|
142
|
-
import { createRequire } from "module";
|
|
143
|
-
var KNOWN_THEMES = [
|
|
144
|
-
{ name: "stackoverflow", pkg: "jsonresume-theme-stackoverflow", description: "Stack Overflow inspired theme" },
|
|
145
|
-
{ name: "elegant", pkg: "jsonresume-theme-elegant", description: "Elegant and professional" },
|
|
146
|
-
{ name: "react", pkg: "jsonresume-theme-react", description: "Built with React components" },
|
|
147
|
-
{ name: "even", pkg: "jsonresume-theme-even", description: "Clean and minimal" },
|
|
148
|
-
{ name: "kendall", pkg: "jsonresume-theme-kendall", description: "Simple and clean layout" },
|
|
149
|
-
{ name: "macchiato", pkg: "jsonresume-theme-macchiato", description: "Beautiful and modern" },
|
|
150
|
-
{ name: "flat", pkg: "jsonresume-theme-flat", description: "Flat design theme" },
|
|
151
|
-
{ name: "class", pkg: "jsonresume-theme-class", description: "Classic professional look" },
|
|
152
|
-
{ name: "short", pkg: "jsonresume-theme-short", description: "Compact single-page resume" },
|
|
153
|
-
{ name: "spartan", pkg: "jsonresume-theme-spartan", description: "Minimalist Spartan design" },
|
|
154
|
-
{ name: "paper", pkg: "jsonresume-theme-paper", description: "Paper-like clean design" },
|
|
155
|
-
{ name: "onepage", pkg: "jsonresume-theme-onepage", description: "One page resume layout" }
|
|
156
|
-
];
|
|
157
|
-
function isThemeInstalled(pkg) {
|
|
158
|
-
try {
|
|
159
|
-
const req = createRequire(process.cwd() + "/");
|
|
160
|
-
req.resolve(pkg);
|
|
161
|
-
return true;
|
|
162
|
-
} catch {
|
|
163
|
-
return false;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
function getInstalledVersion(pkg) {
|
|
167
|
-
try {
|
|
168
|
-
const req = createRequire(process.cwd() + "/");
|
|
169
|
-
const pkgJson = req(`${pkg}/package.json`);
|
|
170
|
-
return pkgJson.version ?? null;
|
|
171
|
-
} catch {
|
|
172
|
-
return null;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export {
|
|
177
|
-
generateResumeYaml,
|
|
178
|
-
KNOWN_THEMES,
|
|
179
|
-
isThemeInstalled,
|
|
180
|
-
getInstalledVersion
|
|
181
|
-
};
|
|
182
|
-
//# sourceMappingURL=chunk-JP7UCR3P.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/resumeTemplate.ts","../src/utils/themeInfo.ts"],"sourcesContent":["export function generateResumeYaml(name: string, email: string, label: string): string {\n return `# =============================================================================\n# Resume - Generated by resuml\n# Documentation: https://github.com/phoinixi/resuml\n# Schema: https://jsonresume.org/schema/\n# =============================================================================\n\n# --- Basic Information ---\nbasics:\n name: '${name}'\n label: '${label}'\n # image: 'https://example.com/photo.jpg'\n email: '${email}'\n # phone: '+1-555-123-4567'\n # url: 'https://yourwebsite.com'\n summary: >-\n Write a short professional summary here.\n This supports multi-line strings in YAML.\n location:\n # address: '123 Main Street'\n # postalCode: '12345'\n city: 'Your City'\n countryCode: 'US'\n # region: 'Your State'\n profiles:\n - network: 'LinkedIn'\n username: 'your-username'\n url: 'https://linkedin.com/in/your-username'\n - network: 'GitHub'\n username: 'your-username'\n url: 'https://github.com/your-username'\n\n# --- Work Experience ---\nwork:\n - name: 'Company Name'\n position: 'Job Title'\n url: 'https://company.com'\n startDate: '2020-01-01'\n # endDate: '2023-12-31' # Omit for current position\n summary: 'Brief description of your role and responsibilities.'\n highlights:\n - 'Key achievement or responsibility'\n - 'Another notable accomplishment'\n\n# --- Education ---\neducation:\n - institution: 'University Name'\n url: 'https://university.edu'\n area: 'Field of Study'\n studyType: 'Bachelor of Science'\n startDate: '2014-09-01'\n endDate: '2018-06-01'\n # score: '3.8'\n courses:\n - 'Relevant Course 1'\n - 'Relevant Course 2'\n\n# --- Skills ---\nskills:\n - name: 'Programming Languages'\n level: 'Expert'\n keywords:\n - 'JavaScript'\n - 'TypeScript'\n - 'Python'\n - name: 'Frameworks'\n level: 'Advanced'\n keywords:\n - 'React'\n - 'Node.js'\n\n# --- Projects ---\n# projects:\n# - name: 'Project Name'\n# description: 'Brief project description'\n# highlights:\n# - 'Key feature or result'\n# keywords:\n# - 'Technology Used'\n# startDate: '2023-01-01'\n# endDate: '2023-06-30'\n# url: 'https://github.com/you/project'\n# roles:\n# - 'Developer'\n# type: 'application'\n\n# --- Languages ---\n# languages:\n# - language: 'English'\n# fluency: 'Native speaker'\n# - language: 'Spanish'\n# fluency: 'Professional working proficiency'\n\n# --- Interests ---\n# interests:\n# - name: 'Open Source'\n# keywords:\n# - 'Contributing'\n# - 'Community'\n\n# --- References ---\n# references:\n# - name: 'Jane Smith'\n# reference: 'It was a pleasure working with...'\n\n# --- Awards ---\n# awards:\n# - title: 'Award Name'\n# date: '2023-01-01'\n# awarder: 'Organization'\n# summary: 'Description of the award'\n\n# --- Certificates ---\n# certificates:\n# - name: 'Certificate Name'\n# date: '2023-01-01'\n# issuer: 'Issuing Organization'\n# url: 'https://example.com/cert'\n\n# --- Publications ---\n# publications:\n# - name: 'Publication Title'\n# publisher: 'Publisher'\n# releaseDate: '2023-01-01'\n# url: 'https://example.com/publication'\n# summary: 'Brief description'\n\n# --- Volunteer ---\n# volunteers:\n# - organization: 'Organization Name'\n# position: 'Volunteer Role'\n# url: 'https://organization.com'\n# startDate: '2022-01-01'\n# summary: 'Description of volunteer work'\n# highlights:\n# - 'Notable contribution'\n`;\n}\n","import { createRequire } from 'module';\n\nexport interface ThemeInfo {\n name: string;\n pkg: string;\n description: string;\n}\n\nexport const KNOWN_THEMES: ThemeInfo[] = [\n { name: 'stackoverflow', pkg: 'jsonresume-theme-stackoverflow', description: 'Stack Overflow inspired theme' },\n { name: 'elegant', pkg: 'jsonresume-theme-elegant', description: 'Elegant and professional' },\n { name: 'react', pkg: 'jsonresume-theme-react', description: 'Built with React components' },\n { name: 'even', pkg: 'jsonresume-theme-even', description: 'Clean and minimal' },\n { name: 'kendall', pkg: 'jsonresume-theme-kendall', description: 'Simple and clean layout' },\n { name: 'macchiato', pkg: 'jsonresume-theme-macchiato', description: 'Beautiful and modern' },\n { name: 'flat', pkg: 'jsonresume-theme-flat', description: 'Flat design theme' },\n { name: 'class', pkg: 'jsonresume-theme-class', description: 'Classic professional look' },\n { name: 'short', pkg: 'jsonresume-theme-short', description: 'Compact single-page resume' },\n { name: 'spartan', pkg: 'jsonresume-theme-spartan', description: 'Minimalist Spartan design' },\n { name: 'paper', pkg: 'jsonresume-theme-paper', description: 'Paper-like clean design' },\n { name: 'onepage', pkg: 'jsonresume-theme-onepage', description: 'One page resume layout' },\n];\n\nexport function isThemeInstalled(pkg: string): boolean {\n try {\n const req = createRequire(process.cwd() + '/');\n req.resolve(pkg);\n return true;\n } catch {\n return false;\n }\n}\n\nexport function getInstalledVersion(pkg: string): string | null {\n try {\n const req = createRequire(process.cwd() + '/');\n const pkgJson = req(`${pkg}/package.json`) as { version?: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