Skip to content

Commit

Permalink
fix(deps): replace html with @rbardini/html
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed Sep 2, 2024
1 parent 42f92d9 commit 88c8f37
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion components/awards.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Date from './date.js'

Expand Down
2 changes: 1 addition & 1 deletion components/certificates.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import Date from './date.js'
import Link from './link.js'

Expand Down
2 changes: 1 addition & 1 deletion components/date.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'

/**
* @param {string} dateString
Expand Down
2 changes: 1 addition & 1 deletion components/duration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import Date from './date.js'

/**
Expand Down
2 changes: 1 addition & 1 deletion components/education.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Duration from './duration.js'
import Link from './link.js'
Expand Down
2 changes: 1 addition & 1 deletion components/header.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Icon from './icon.js'
import Link from './link.js'
Expand Down
2 changes: 1 addition & 1 deletion components/interests.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'

/**
* @param {import('../schema.d.ts').ResumeSchema['interests']} interests
Expand Down
2 changes: 1 addition & 1 deletion components/languages.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'

/**
* @param {import('../schema.d.ts').ResumeSchema['languages']} languages
Expand Down
2 changes: 1 addition & 1 deletion components/link.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'

/**
* @param {string} url
Expand Down
2 changes: 1 addition & 1 deletion components/meta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'

/**
Expand Down
2 changes: 1 addition & 1 deletion components/projects.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Duration from './duration.js'
import Link from './link.js'
Expand Down
2 changes: 1 addition & 1 deletion components/publications.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Date from './date.js'
import Link from './link.js'
Expand Down
2 changes: 1 addition & 1 deletion components/references.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'

/**
Expand Down
2 changes: 1 addition & 1 deletion components/skills.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'

/**
* @param {import('../schema.d.ts').ResumeSchema['skills']} skills
Expand Down
2 changes: 1 addition & 1 deletion components/volunteer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Duration from './duration.js'
import Link from './link.js'
Expand Down
2 changes: 1 addition & 1 deletion components/work.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import html from '../utils/html.js'
import { html } from '@rbardini/html'
import markdown from '../utils/markdown.js'
import Duration from './duration.js'
import Link from './link.js'
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"type-check": "tsc"
},
"dependencies": {
"@rbardini/html": "^1.0.0",
"feather-icons": "^4.28.0",
"micromark": "^2.11.0",
"striptags": "^3.2.0"
Expand Down
2 changes: 1 addition & 1 deletion resume.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { html } from '@rbardini/html'
import Awards from './components/awards.js'
import Certificates from './components/certificates.js'
import Education from './components/education.js'
Expand All @@ -12,7 +13,6 @@ import Skills from './components/skills.js'
import Volunteer from './components/volunteer.js'
import Work from './components/work.js'
import colors from './utils/colors.js'
import html from './utils/html.js'

/**
* @param {import('./schema.d.ts').ResumeSchema} resume
Expand Down
15 changes: 0 additions & 15 deletions utils/html.js

This file was deleted.

0 comments on commit 88c8f37

Please sign in to comment.