Added prettier:check and prettier:fix scripts to package.json + Applying prettier fixes
This commit is contained in:
parent
b28f4eae3f
commit
dedd500786
66
package.json
66
package.json
|
@ -1,33 +1,35 @@
|
|||
{
|
||||
"name": "exozine",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.4.1",
|
||||
"@astrojs/mdx": "^2.0.6",
|
||||
"@astrojs/rss": "^4.0.3",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"astro": "^4.1.2",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"daisyui": "^4.6.0",
|
||||
"date-fns": "^3.2.0",
|
||||
"markdown-it": "^14.0.0",
|
||||
"sanitize-html": "^2.11.0",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/markdown-it": "^13.0.7",
|
||||
"@types/node": "^20.11.2",
|
||||
"@types/rss": "^0.0.32",
|
||||
"@types/sanitize-html": "^2.9.5",
|
||||
"prettier": "^3.2.2"
|
||||
}
|
||||
}
|
||||
"name": "exozine",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"prettier:check": "prettier . --check",
|
||||
"prettier:fix": "prettier . --write"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.4.1",
|
||||
"@astrojs/mdx": "^2.0.6",
|
||||
"@astrojs/rss": "^4.0.3",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"astro": "^4.1.2",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"daisyui": "^4.6.0",
|
||||
"date-fns": "^3.2.0",
|
||||
"markdown-it": "^14.0.0",
|
||||
"sanitize-html": "^2.11.0",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/markdown-it": "^13.0.7",
|
||||
"@types/node": "^20.11.2",
|
||||
"@types/rss": "^0.0.32",
|
||||
"@types/sanitize-html": "^2.9.5",
|
||||
"prettier": "^3.2.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,6 @@ https://git.exozy.me/exozyme/golfathon/ and status page fixes (can also mention
|
|||
|
||||
## @dragongoose DSP and SDR stuff? It was mentioned on Matrix a few weeks ago
|
||||
|
||||
|
||||
## Licensing exozine and the status page
|
||||
|
||||
We recently noticed that both exozine and the status page didn't have licenses, so we chose CC BY-SA 4.0 for exozine and AGPL for the status page. However, it's not so simple: to license or relicense software, you have to ask all the contributors to agree to the new license! The two projects have four and seven contributors respectively, so it took two days to ask everyone. Fortunately, everyone agreed! For much larger projects, relicensing can be a major headache, such as the [Dolphin emulator going from GPLv2 to GPLv2+](https://dolphin-emu.org/blog/2015/05/25/relicensing-dolphin/).
|
||||
|
|
|
@ -5,7 +5,7 @@ import MarkdownIt from 'markdown-it';
|
|||
|
||||
const parser = new MarkdownIt();
|
||||
|
||||
export async function GET(context: { site: any; }) {
|
||||
export async function GET(context: { site: any }) {
|
||||
const posts = await getCollection('posts');
|
||||
|
||||
return rss({
|
||||
|
|
|
@ -97,4 +97,4 @@ export default {
|
|||
|
||||
// old: https://www.realtimecolors.com/?colors=111313-f4f6f6-6f9f9e-a8cccb-7fbdba&fonts=Inter-Inter
|
||||
|
||||
// new: https://www.realtimecolors.com/?colors=eceeee-111111-3773c8-2f6561-4cb892&fonts=Inter-Inter
|
||||
// new: https://www.realtimecolors.com/?colors=eceeee-111111-3773c8-2f6561-4cb892&fonts=Inter-Inter
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/strict"
|
||||
}
|
||||
"extends": "astro/tsconfigs/strict"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue