chore(deps): update dependencies (#225)
This commit is contained in:
parent
03dcd7c7d8
commit
79555028f4
7 changed files with 2729 additions and 1941 deletions
10
.github/workflows/main-branch.yml
vendored
10
.github/workflows/main-branch.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -85,7 +85,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
|
|||
10
.github/workflows/pull-request.yml
vendored
10
.github/workflows/pull-request.yml
vendored
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -96,7 +96,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -110,7 +110,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -126,7 +126,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
@ -150,7 +150,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
|
|
|||
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -2,6 +2,16 @@
|
|||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.2.0] - 2023-07-02
|
||||
|
||||
### Breaking
|
||||
|
||||
- Require Node.js 18.
|
||||
|
||||
### Dependencies
|
||||
|
||||
- chore(deps): update dependencies ([details](https://github.com/KonradSzwarc/devscard/pull/225))
|
||||
|
||||
## [0.1.6] - 2023-05-08
|
||||
|
||||
### Dependencies
|
||||
|
|
|
|||
4583
package-lock.json
generated
4583
package-lock.json
generated
File diff suppressed because it is too large
Load diff
46
package.json
46
package.json
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "devscard",
|
||||
"description": "Template for creating a comprehensive virtual CV for developers.",
|
||||
"version": "0.1.6",
|
||||
"version": "0.2.0",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=14",
|
||||
"npm": ">=6",
|
||||
"node": ">=18",
|
||||
"npm": ">=9",
|
||||
"yarn": "please-use-npm",
|
||||
"pnpm": "please-use-npm"
|
||||
},
|
||||
|
|
@ -25,38 +25,38 @@
|
|||
"check": "concurrently npm:*:check"
|
||||
},
|
||||
"dependencies": {
|
||||
"@floating-ui/dom": "1.2.7",
|
||||
"iconify-icon": "1.0.7",
|
||||
"@floating-ui/dom": "1.4.3",
|
||||
"iconify-icon": "1.0.8",
|
||||
"nanoid": "4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/image": "0.16.7",
|
||||
"@astrojs/react": "2.1.3",
|
||||
"@astrojs/tailwind": "3.1.2",
|
||||
"@percy/cli": "1.24.0",
|
||||
"@types/marked": "4.3.0",
|
||||
"astro": "2.4.2",
|
||||
"astro-compress": "1.1.42",
|
||||
"concurrently": "8.0.1",
|
||||
"@astrojs/image": "0.17.1",
|
||||
"@astrojs/react": "2.2.1",
|
||||
"@astrojs/tailwind": "4.0.0",
|
||||
"@percy/cli": "1.26.1",
|
||||
"@types/marked": "5.0.0",
|
||||
"astro": "2.7.2",
|
||||
"astro-compress": "1.1.48",
|
||||
"concurrently": "8.2.0",
|
||||
"date-fns": "2.30.0",
|
||||
"favicons": "7.1.2",
|
||||
"favicons": "7.1.3",
|
||||
"iconify-icon-names": "1.1.0",
|
||||
"immer": "10.0.1",
|
||||
"immer": "10.0.2",
|
||||
"locales-ts": "1.0.0",
|
||||
"marked": "4.3.0",
|
||||
"marked": "5.1.0",
|
||||
"move-file-cli": "3.0.0",
|
||||
"photoswipe": "5.3.7",
|
||||
"postcss": "8.4.23",
|
||||
"postcss": "8.4.24",
|
||||
"prettier": "2.8.8",
|
||||
"prettier-plugin-astro": "0.8.0",
|
||||
"prettier-plugin-tailwindcss": "0.2.8",
|
||||
"puppeteer": "19.11.1",
|
||||
"prettier-plugin-astro": "0.10.0",
|
||||
"prettier-plugin-tailwindcss": "0.3.0",
|
||||
"puppeteer": "20.7.4",
|
||||
"puppeteer-report": "3.1.0",
|
||||
"rollup-plugin-visualizer": "5.9.0",
|
||||
"rollup-plugin-visualizer": "5.9.2",
|
||||
"tailwindcss": "3.3.2",
|
||||
"ts-node": "10.9.1",
|
||||
"type-fest": "3.10.0",
|
||||
"typescript": "5.0.4"
|
||||
"type-fest": "3.12.0",
|
||||
"typescript": "5.1.6"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const retry = async ({ promise, retries, retryTime }: RetryOptions): GoToReturn
|
|||
const main = async () => {
|
||||
const child = exec('npm run dev');
|
||||
|
||||
const browser = await puppeteer.launch({ headless: true });
|
||||
const browser = await puppeteer.launch({ headless: 'new' });
|
||||
|
||||
const page = await browser.newPage();
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,17 @@ const stripIndent = (str: string) => {
|
|||
return str.replace(regex, '');
|
||||
};
|
||||
|
||||
const parseMarkdown = (str: string) =>
|
||||
marked.parse(stripIndent(str), {
|
||||
breaks: true,
|
||||
headerIds: false,
|
||||
mangle: false,
|
||||
});
|
||||
|
||||
const { content, classList } = Astro.props;
|
||||
---
|
||||
|
||||
<div set:html={marked.parse(stripIndent(content), { breaks: true })} class:list={['description', ...classList]} />
|
||||
<div set:html={parseMarkdown(content)} class:list={['description', ...classList]} />
|
||||
|
||||
<style is:global>
|
||||
.description ul {
|
||||
|
|
|
|||
Loading…
Reference in a new issue