@jsonresume/jsonresume-theme-consultant-polished 1.0.1 → 1.0.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,28 @@
1
+ # @jsonresume/jsonresume-theme-consultant-polished
2
+
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 718690c: Add missing JSON Resume sections (certificates/volunteer/publications); visual and crash fixes.
8
+
9
+ Publishes the wave 5-7 theme improvements that currently exist only in git (refs #275). The
10
+ published npm versions are stale: most themes never rendered certificates/volunteer/publications,
11
+ and all carried the `@resume/core` import (renamed to `@jsonresume/core`) plus the Date-shadow
12
+ rendering crash.
13
+
14
+ Minor (gained rendered sections via the "render missing sections" batches #363-#366 and the
15
+ operations-precision a11y/markdown work): all themes listed above as `minor` now render the
16
+ previously-missing certificates/volunteer/publications (and related) sections.
17
+
18
+ Patch (no new sections; visual, crash and dependency-rename fixes only):
19
+
20
+ - consultant-polished: stop crash when certificates/publications present (#359).
21
+ - tokyo-modernist: exports/CI fixes; styled-components moved to dependencies.
22
+ - @jsonresume/theme-stackoverflow: consistent date formatting (#259) + a11y fixes (the
23
+ Yarn-Berry lockfile removal did not change source and does not drive this bump).
24
+ - community-garden, desert-modern, elegant-pink: `@resume/core` -> `@jsonresume/core` import
25
+ fix and visual polish; sections were already rendered.
26
+
27
+ Excludes `@jsonresume/jsonresume-theme-professional` (already current on npm) and the private
28
+ themes (claude, creative-confidence, flat, tailwind).
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014-2026 JSON Resume contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.js CHANGED
@@ -1571,7 +1571,7 @@ const Name$2 = dt.h3`
1571
1571
  color: #0b1f3a;
1572
1572
  margin: 0;
1573
1573
  `;
1574
- const Date$2 = dt.div`
1574
+ const DateText$2 = dt.div`
1575
1575
  font-size: 0.9rem;
1576
1576
  color: #666;
1577
1577
  `;
@@ -1581,7 +1581,7 @@ const Issuer = dt.div`
1581
1581
  `;
1582
1582
  const formatDate$3 = (date) => {
1583
1583
  if (!date) return "";
1584
- const d = new Date$2(date);
1584
+ const d = new Date(date);
1585
1585
  return d.toLocaleDateString("en-US", { month: "short", year: "numeric" });
1586
1586
  };
1587
1587
  const Certificates = ({ certificates }) => {
@@ -1589,7 +1589,7 @@ const Certificates = ({ certificates }) => {
1589
1589
  return /* @__PURE__ */ jsx(Section, { title: "Certifications", children: certificates.map((cert, i) => /* @__PURE__ */ jsxs(CertificateItem, { children: [
1590
1590
  /* @__PURE__ */ jsxs(Header$3, { children: [
1591
1591
  /* @__PURE__ */ jsx(Name$2, { children: cert.url ? /* @__PURE__ */ jsx("a", { href: cert.url, target: "_blank", rel: "noopener noreferrer", children: cert.name }) : cert.name }),
1592
- cert.date && /* @__PURE__ */ jsx(Date$2, { children: formatDate$3(cert.date) })
1592
+ cert.date && /* @__PURE__ */ jsx(DateText$2, { children: formatDate$3(cert.date) })
1593
1593
  ] }),
1594
1594
  cert.issuer && /* @__PURE__ */ jsx(Issuer, { children: cert.issuer })
1595
1595
  ] }, i)) });
@@ -1611,7 +1611,7 @@ const Name$1 = dt.h3`
1611
1611
  margin: 0;
1612
1612
  font-style: italic;
1613
1613
  `;
1614
- const Date$1 = dt.div`
1614
+ const DateText$1 = dt.div`
1615
1615
  font-size: 0.9rem;
1616
1616
  color: #666;
1617
1617
  `;
@@ -1627,7 +1627,7 @@ const Summary$1 = dt.div`
1627
1627
  `;
1628
1628
  const formatDate$2 = (date) => {
1629
1629
  if (!date) return "";
1630
- const d = new Date$1(date);
1630
+ const d = new Date(date);
1631
1631
  return d.toLocaleDateString("en-US", { month: "short", year: "numeric" });
1632
1632
  };
1633
1633
  const Publications = ({ publications }) => {
@@ -1635,7 +1635,7 @@ const Publications = ({ publications }) => {
1635
1635
  return /* @__PURE__ */ jsx(Section, { title: "Publications", children: publications.map((pub, i) => /* @__PURE__ */ jsxs(PublicationItem, { children: [
1636
1636
  /* @__PURE__ */ jsxs(Header$2, { children: [
1637
1637
  /* @__PURE__ */ jsx(Name$1, { children: pub.url ? /* @__PURE__ */ jsx("a", { href: pub.url, target: "_blank", rel: "noopener noreferrer", children: pub.name }) : pub.name }),
1638
- pub.releaseDate && /* @__PURE__ */ jsx(Date$1, { children: formatDate$2(pub.releaseDate) })
1638
+ pub.releaseDate && /* @__PURE__ */ jsx(DateText$1, { children: formatDate$2(pub.releaseDate) })
1639
1639
  ] }),
1640
1640
  pub.publisher && /* @__PURE__ */ jsx(Publisher, { children: pub.publisher }),
1641
1641
  pub.summary && /* @__PURE__ */ jsx(Summary$1, { children: pub.summary })
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@jsonresume/jsonresume-theme-consultant-polished",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
- "main": "./src/index.jsx",
6
+ "main": "./dist/index.js",
7
7
  "license": "MIT",
8
8
  "description": "Elegant, structured JSON Resume theme optimized for narrative-driven consulting roles",
9
9
  "keywords": [
@@ -14,20 +14,15 @@
14
14
  "polished"
15
15
  ],
16
16
  "devDependencies": {
17
- "@repo/eslint-config-custom": "workspace:^",
18
17
  "react": "^19.2.0",
19
18
  "styled-components": "^6.1.19",
20
19
  "@vitejs/plugin-react": "^4.3.4",
21
- "vite": "^5.4.21"
20
+ "vite": "^5.4.21",
21
+ "@repo/eslint-config-custom": "^0.0.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "styled-components": "^6"
25
25
  },
26
- "scripts": {
27
- "lint": "eslint src || exit 0",
28
- "publish": "npm publish --access public",
29
- "build": "vite build"
30
- },
31
26
  "dependencies": {
32
27
  "marked": "^16.3.0",
33
28
  "react-icons": "^5.0.1"
@@ -35,11 +30,15 @@
35
30
  "exports": {
36
31
  ".": {
37
32
  "import": "./src/index.jsx",
38
- "default": "./src/index.jsx"
33
+ "default": "./dist/index.js"
39
34
  },
40
35
  "./dist": {
41
36
  "import": "./dist/index.js",
42
37
  "default": "./dist/index.js"
43
38
  }
39
+ },
40
+ "scripts": {
41
+ "lint": "eslint src || exit 0",
42
+ "build": "vite build"
44
43
  }
45
- }
44
+ }
@@ -20,7 +20,7 @@ const Name = styled.h3`
20
20
  margin: 0;
21
21
  `;
22
22
 
23
- const Date = styled.div`
23
+ const DateText = styled.div`
24
24
  font-size: 0.9rem;
25
25
  color: #666;
26
26
  `;
@@ -53,7 +53,7 @@ const Certificates = ({ certificates }) => {
53
53
  cert.name
54
54
  )}
55
55
  </Name>
56
- {cert.date && <Date>{formatDate(cert.date)}</Date>}
56
+ {cert.date && <DateText>{formatDate(cert.date)}</DateText>}
57
57
  </Header>
58
58
  {cert.issuer && <Issuer>{cert.issuer}</Issuer>}
59
59
  </CertificateItem>
@@ -21,7 +21,7 @@ const Name = styled.h3`
21
21
  font-style: italic;
22
22
  `;
23
23
 
24
- const Date = styled.div`
24
+ const DateText = styled.div`
25
25
  font-size: 0.9rem;
26
26
  color: #666;
27
27
  `;
@@ -61,7 +61,9 @@ const Publications = ({ publications }) => {
61
61
  pub.name
62
62
  )}
63
63
  </Name>
64
- {pub.releaseDate && <Date>{formatDate(pub.releaseDate)}</Date>}
64
+ {pub.releaseDate && (
65
+ <DateText>{formatDate(pub.releaseDate)}</DateText>
66
+ )}
65
67
  </Header>
66
68
  {pub.publisher && <Publisher>{pub.publisher}</Publisher>}
67
69
  {pub.summary && <Summary>{pub.summary}</Summary>}
@@ -1,10 +0,0 @@
1
-
2
- > @jsonresume/jsonresume-theme-consultant-polished@1.0.0 build /Users/ajaxdavis/repos/jsonresume.org/packages/themes/jsonresume-theme-consultant-polished
3
- > vite build
4
-
5
- vite v5.4.21 building SSR bundle for production...
6
- transforming...
7
- ✓ 31 modules transformed.
8
- rendering chunks...
9
- dist/index.js 80.52 kB
10
- ✓ built in 1.39s