Skip to content

Commit

Permalink
fix: 💫 simplify Markdown handling and update to Svelte5
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneylab committed Nov 30, 2024
1 parent 871ee50 commit 0bcdaf3
Show file tree
Hide file tree
Showing 15 changed files with 448 additions and 153 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
- **dependencies**: 💫 update packages
- 💫 revert back to using node for blog content imports
- 💫 update package
- 💫 replace sourceing blog posts using node with ESM imports
- 🤗 improve acccessibility
- 💫 replace sourcing blog posts using node with ESM imports
- 🤗 improve accessibility
- 💫 switch to iconify for icons
- **dependencies**: 💫 update package
- 💫 update sitemap script
Expand Down Expand Up @@ -246,13 +246,13 @@
- **dependencies**: 💫 update packages
- **dependencies**: 💫 update packages:
- **dependencies**: 💫 update package
- 🔥 optimised scss prepend data only adding varaibles
- 🔥 optimised scss prepend data only adding variables
- 🔥 optimised CSS removing unused selectors
- **Icon**: 🔥 optimised import of icons
- 💫 updated packages
- **package.json**: reset dev and preview server ports to 3000
- **static**: 🤖 added robots.txt
- 🤗 corrected a11y atribute
- 🤗 corrected a11y attribute
- 🔧 made all blog posts static
- 💫 added hooks
- **dependencies**: 💫 update package
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ npm run build

### `src`

- `hooks.server.js` we define Content Security Policy (CSP) and other HTTP security headers in here, effective for server side rendered apps. See <a aria-label="Open post on Svelte Kit stati site H T T P headers" href="https://rodneylab.com/sveltekit-static-site-http-headers/">post on SvelteKit static site HTTP headers</a> to see how to set up CSP etc for static sites.
- `hooks.server.js` we define Content Security Policy (CSP) and other HTTP security headers in here, effective for server side rendered apps. See <a aria-label="Open post on Svelte Kit static site H T T P headers" href="https://rodneylab.com/sveltekit-static-site-http-headers/">post on SvelteKit static site HTTP headers</a> to see how to set up CSP etc. for static sites.

### `src/components`

Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"format": "prettier --write --plugin=prettier-plugin-svelte .",
"generate:images": "node ./generate-responsive-image-data.js",
"generate:sitemap": "node ./generate-sitemap.js",
"check:formatting": "prettier --check --plugin=prettier-plugin-svelte .",
"prepare": "husky install"
"check:formatting": "prettier --check --plugin=prettier-plugin-svelte ."
},
"devDependencies": {
"@commitlint/config-conventional": "^19.6.0",
Expand All @@ -26,19 +25,18 @@
"@types/object-hash": "^3.0.6",
"commitlint": "^19.6.0",
"dayjs": "^1.11.13",
"dompurify": "^3.2.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.46.0",
"front-matter": "^4.0.2",
"globals": "^15.12.0",
"husky": "^9.1.7",
"iconify-icon": "^1.0.8",
"mdsvex": "^0.12.3",
"object-hash": "^3.0.0",
"postcss": "^8.4.49",
"postcss-html": "^1.7.0",
"prettier": "~3.4.1",
"prettier-plugin-svelte": "^3.3.2",
"reading-time": "1.4.0",
"sass": "^1.81.0",
"sharp": "^0.33.5",
"stylelint": "^16.10.0",
Expand All @@ -51,7 +49,8 @@
"typescript-eslint": "^8.16.0",
"vanilla-lazyload": "^17.9.0",
"vite": "^5.4.11",
"vite-imagetools": "^7.0.4"
"vite-imagetools": "^7.0.4",
"yaml": "^2.6.1"
},
"repository": {
"type": "git",
Expand All @@ -62,6 +61,8 @@
},
"type": "module",
"dependencies": {
"@sveltejs/vite-plugin-svelte": "^4.0.2"
"@rodneylab/parsedown": "^1.4.3",
"@sveltejs/vite-plugin-svelte": "^4.0.2",
"jsdom": "^25.0.1"
}
}
Loading

0 comments on commit 0bcdaf3

Please sign in to comment.