Skip to content

Commit

Permalink
chore(build): bump versions and pass dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
tannineo committed Sep 19, 2023
1 parent 95eca9a commit 2f153e0
Show file tree
Hide file tree
Showing 18 changed files with 353 additions and 438 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ Mini proejct for personal practice (coding and playing music)
## Hybrid Dev using multiple frontend frameworks

- SolidJS

```typescript
/** @jsxImportSource solid-js */
/** @jsxImportSource solid-js/h */
```

see: https://github.com/parcel-bundler/parcel/issues/8148

- React
```typescript
/** @jsxImportSource react */
Expand Down
25 changes: 15 additions & 10 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
import { defineConfig } from 'astro/config';
import UnoCSS from 'unocss/astro';
import solidJs from '@astrojs/solid-js';
import mdx from '@astrojs/mdx';
import { defineConfig } from 'astro/config'
import UnoCSS from 'unocss/astro'
import solidJs from '@astrojs/solid-js'
import mdx from '@astrojs/mdx'

import react from "@astrojs/react";
import react from '@astrojs/react'

// https://astro.build/config
export default defineConfig({
integrations: [UnoCSS({
injectReset: true
}), solidJs(), mdx(), react()],
integrations: [
UnoCSS({
injectReset: true,
}),
mdx(),
react({ include: ['components/**/*.react.tsx'] }),
solidJs({ include: ['components/**/*.solid.tsx'] }),
],
// deploy to github pages
site: 'https://tannineo.github.io',
base: '/solid-metronome'
});
base: '/solid-metronome',
})
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"@nanostores/persistent": "^0.9.1",
"@nanostores/react": "^0.7.1",
"@nanostores/solid": "^0.4.2",
"@types/howler": "^2.2.7",
"@types/react": "^18.2.20",
"@types/howler": "^2.2.9",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"astro": "^3.1.1",
"clsx": "^2.0.0",
"howler": "^2.2.3",
"howler": "^2.2.4",
"lodash": "^4.17.21",
"nanostores": "^0.9.3",
"react": "^18.2.0",
Expand All @@ -29,11 +29,11 @@
},
"devDependencies": {
"@iconify-json/mdi": "^1.1.54",
"@types/lodash": "^4.14.197",
"@types/lodash": "^4.14.198",
"@unocss/preset-icons": "^0.55.0",
"@unocss/reset": "^0.55.0",
"prettier": "^3.0.1",
"prettier-plugin-astro": "^0.11.0",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",
"unocss": "^0.55.7"
}
}
Loading

0 comments on commit 2f153e0

Please sign in to comment.