Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stone-zeng committed Sep 12, 2023
1 parent 6b54136 commit bcf51d9
Show file tree
Hide file tree
Showing 11 changed files with 360 additions and 375 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dinkie-icons/root",
"version": "0.3.0",
"version": "0.4.0",
"private": true,
"license": "MIT",
"repository": {
Expand All @@ -13,7 +13,7 @@
},
"devDependencies": {
"svgo": "^3.0.2",
"typescript": "^5.1.6",
"vite": "^4.4.2"
"typescript": "^5.2.2",
"vite": "^4.4.9"
}
}
12 changes: 6 additions & 6 deletions packages/react-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dinkie-icons/react-example",
"version": "0.3.0",
"version": "0.4.0",
"private": true,
"author": "Xiangdong Zeng <[email protected]>",
"license": "MIT",
Expand All @@ -20,12 +20,12 @@
},
"devDependencies": {
"@dinkie-icons/react": "workspace:^",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@vitejs/plugin-react": "^4.0.3",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.2"
"typescript": "^5.2.2",
"vite": "^4.4.9"
}
}
10 changes: 5 additions & 5 deletions packages/react-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ import {
DinkieIconBird12,
DinkieIconBirdFilled12,
DinkieIconSmirkingFace12,
DinkieIconTwitter12,
DinkieIconTwitter10,
DinkieIconBrandTwitter12,
DinkieIconBrandTwitter10,
} from '@dinkie-icons/react'
import styles from './App.module.css'

const App = () => (
<div className={styles.App}>
<h1>Dinkie Icons</h1>
<h1>Dinkie Icons (React)</h1>
<h2>9&times;9</h2>
<div className={styles.Container}>
<DinkieIconCherries10 className={styles.Icon10} />
<DinkieIconTwitter10 className={styles.Icon10} />
<DinkieIconBrandTwitter10 className={styles.Icon10} />
</div>
<h2>11&times;11</h2>
<div className={styles.Container}>
<DinkieIconCherries12 className={styles.Icon12} />
<DinkieIconBird12 className={styles.Icon12} />
<DinkieIconBirdFilled12 className={styles.Icon12} />
<DinkieIconSmirkingFace12 className={styles.Icon12} />
<DinkieIconTwitter12 className={styles.Icon12} />
<DinkieIconBrandTwitter12 className={styles.Icon12} />
</div>
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion packages/react-example/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import App from './App'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
Expand Down
1 change: 1 addition & 0 deletions packages/react-example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"jsx": "preserve",
"baseUrl": ".",
"lib": [
"DOM",
"esnext"
]
},
Expand Down
14 changes: 7 additions & 7 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dinkie-icons/react",
"version": "0.3.0",
"version": "0.4.0",
"author": "Xiangdong Zeng <[email protected]>",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -28,14 +28,14 @@
"build": "vite build"
},
"dependencies": {
"@types/react": "^18.2.14",
"@types/react": "^18.2.21",
"react": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.4.1",
"@vitejs/plugin-react": "^4.0.3",
"typescript": "^5.1.6",
"vite": "^4.4.2",
"vite-plugin-dts": "^3.2.0"
"@types/node": "^20.6.0",
"@vitejs/plugin-react": "^4.0.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.3"
}
}
5 changes: 5 additions & 0 deletions packages/vue-example/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
/// <reference types="vite/client" />

declare module '*.vue' {
import { defineComponent } from 'vue'
export default defineComponent
}
12 changes: 6 additions & 6 deletions packages/vue-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dinkie-icons/vue-example",
"version": "0.3.0",
"version": "0.4.0",
"private": true,
"author": "Xiangdong Zeng <[email protected]>",
"license": "MIT",
Expand All @@ -20,11 +20,11 @@
},
"devDependencies": {
"@dinkie-icons/vue": "workspace:^",
"@types/node": "^20.4.1",
"@vitejs/plugin-vue": "^4.2.3",
"typescript": "^5.1.6",
"vite": "^4.4.2",
"@types/node": "^20.6.0",
"@vitejs/plugin-vue": "^4.3.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vue": "^3.3.4",
"vue-tsc": "^1.8.4"
"vue-tsc": "^1.8.10"
}
}
10 changes: 5 additions & 5 deletions packages/vue-example/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ import {
DinkieIconBird12,
DinkieIconBirdFilled12,
DinkieIconSmirkingFace12,
DinkieIconTwitter12,
DinkieIconTwitter10,
DinkieIconBrandTwitter12,
DinkieIconBrandTwitter10,
} from '@dinkie-icons/vue'
</script>

<template>
<div class="App">
<h1>Dinkie Icons</h1>
<h1>Dinkie Icons (Vue)</h1>
<h2>9&times;9</h2>
<div class="Container">
<DinkieIconCherries10 class="Icon10" />
<DinkieIconTwitter10 class="Icon10" />
<DinkieIconBrandTwitter10 class="Icon10" />
</div>
<h2>11&times;11</h2>
<div class="Container">
<DinkieIconCherries12 class="Icon12" />
<DinkieIconBird12 class="Icon12" />
<DinkieIconBirdFilled12 class="Icon12" />
<DinkieIconSmirkingFace12 class="Icon12" />
<DinkieIconTwitter12 class="Icon12" />
<DinkieIconBrandTwitter12 class="Icon12" />
</div>
</div>
</template>
Expand Down
10 changes: 5 additions & 5 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dinkie-icons/vue",
"version": "0.3.0",
"version": "0.4.0",
"author": "Xiangdong Zeng <[email protected]>",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -31,9 +31,9 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@types/node": "^20.4.1",
"typescript": "^5.1.6",
"vite": "^4.4.2",
"vite-plugin-dts": "^3.2.0"
"@types/node": "^20.6.0",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.3"
}
}
Loading

0 comments on commit bcf51d9

Please sign in to comment.