Skip to content

Commit 38984c6

Browse files
committed
Update packages and types
1 parent f567ca8 commit 38984c6

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuepython",
3-
"version": "0.0.19",
3+
"version": "0.0.20",
44
"description": "Edit and run Python code in Vuejs",
55
"repository": "https://github.com/synw/vuepython",
66
"scripts": {
@@ -12,9 +12,9 @@
1212
},
1313
"dependencies": {
1414
"@nanostores/vue": "^0.10.0",
15-
"@vueuse/core": "^10.7.2",
15+
"@vueuse/core": "^10.9.0",
1616
"highlight.js": "^11.9.0",
17-
"usepython": "^0.0.12",
17+
"usepython": "^0.1.0",
1818
"vuecodit": "^0.0.11"
1919
},
2020
"peerDependencies": {
@@ -25,21 +25,21 @@
2525
"@tailwindcss/forms": "^0.5.7",
2626
"@tailwindcss/typography": "^0.5.10",
2727
"@types/highlight.js": "^10.1.0",
28-
"@types/node": "^20.11.15",
29-
"@vitejs/plugin-vue": "^5.0.3",
30-
"@vue/compiler-sfc": "^3.4.15",
31-
"autoprefixer": "^10.4.17",
28+
"@types/node": "^20.11.28",
29+
"@vitejs/plugin-vue": "^5.0.4",
30+
"@vue/compiler-sfc": "^3.4.21",
31+
"autoprefixer": "^10.4.18",
3232
"npm-run-all": "^4.1.5",
3333
"path": "^0.12.7",
34-
"postcss": "^8.4.33",
35-
"sass": "^1.70.0",
34+
"postcss": "^8.4.35",
35+
"sass": "^1.72.0",
3636
"tailwindcss": "^3.4.1",
3737
"tailwindcss-semantic-colors": "^0.2.0",
3838
"tslib": "^2.6.2",
39-
"typescript": "^5.3.3",
40-
"vite": "^5.0.12",
41-
"vue": "^3.4.15",
42-
"vue-tsc": "^1.8.27"
39+
"typescript": "^5.4.2",
40+
"vite": "^5.1.6",
41+
"vue": "^3.4.21",
42+
"vue-tsc": "^2.0.6"
4343
},
4444
"files": [
4545
"dist"

src/PyCodeBlock.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<script setup lang="ts">
4646
import "highlight.js";
4747
import { computed, onBeforeUnmount, reactive, ref, Ref, watchEffect } from "vue";
48-
import { usePython } from "usepython";
48+
import { PyRunner } from "usepython";
4949
import { useStore } from '@nanostores/vue';
5050
import { CodeEditor } from "vuecodit";
5151
import AppIcon from "./AppIcon.vue"
@@ -60,7 +60,7 @@ const props = defineProps({
6060
required: true
6161
},
6262
py: {
63-
type: Object as typeof usePython,
63+
type: Object as () => PyRunner,
6464
required: true
6565
},
6666
code: {

src/PyNotebook.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<script setup lang="ts">
3030
import { onBeforeMount, reactive, ref } from 'vue';
31-
import { usePython } from "usepython";
31+
import { PyRunner } from "usepython";
3232
import PyCodeBlock from "./PyCodeBlock.vue";
3333
//import "highlight.js/styles/stackoverflow-light.css"
3434
@@ -38,7 +38,7 @@ const props = defineProps({
3838
required: true
3939
},
4040
py: {
41-
type: Object as typeof usePython,
41+
type: Object as () => PyRunner,
4242
required: true
4343
},
4444
cells: {

src/PyStatus.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
</template>
2424

2525
<script setup lang="ts">
26-
import { usePython } from "usepython";
26+
import { PyRunner } from "usepython";
2727
import { useStore } from '@nanostores/vue';
2828
import AppIcon from "./AppIcon.vue"
2929
3030
const props = defineProps({
3131
py: {
32-
type: Object as typeof usePython,
32+
type: Object as () => PyRunner,
3333
required: true
3434
},
3535
});

0 commit comments

Comments
 (0)