Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiangmoe committed Feb 24, 2022
1 parent 6dfd10e commit ab0ba54
Show file tree
Hide file tree
Showing 9 changed files with 4,322 additions and 7,735 deletions.
1 change: 1 addition & 0 deletions examples/nuxt-bridge/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
8 changes: 4 additions & 4 deletions examples/nuxt-bridge/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup lang="ts">
const route = useRoute()
</script>

<template>
<div>
<Nuxt />
<hr>
Route: {{ route.path }}
</div>
</template>

<script script>
const route = useRoute()
</script>
2 changes: 1 addition & 1 deletion examples/nuxt-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "nuxi dev"
},
"devDependencies": {
"@nuxt/bridge": "latest",
"@nuxt/bridge": "npm:@nuxt/bridge-edge@latest",
"nuxt-edge": "latest",
"vue": "^2.6.14",
"vue2": "npm:vue@^2.6.14"
Expand Down
16 changes: 8 additions & 8 deletions examples/nuxt-bridge/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<script setup lang="ts">
useMeta({ meta: [{ name: 'description', content: 'This is a page to demo Nuxt Bridge.' }] })
const version = ref('2')
const state = useState('test-state')
state.value = '123'
const updateState = () => { state.value = '456' }
</script>

<template>
<div>
<div>Hello Vue {{ version }}!</div>
Expand All @@ -8,11 +16,3 @@
</div>
</div>
</template>

<script setup lang="ts">
useMeta({ meta: [{ name: 'description', content: 'This is a page to demo Nuxt Bridge.' }] })
const version = ref('2')
const state = useState('test-state')
state.value = '123'
const updateState = () => { state.value = '456' }
</script>
12 changes: 6 additions & 6 deletions examples/vue-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@vue/composition-api": "^1.4.3",
"core-js": "^3.20.2",
"@vue/composition-api": "^1.4.6",
"core-js": "^3.21.1",
"vue": "^2.6.14"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.5.15",
"@vue/cli-plugin-typescript": "^4.5.15",
"@vue/cli-service": "^4.5.15",
"typescript": "^4.5.4",
"@vue/cli-plugin-babel": "^5.0.1",
"@vue/cli-plugin-typescript": "^5.0.1",
"@vue/cli-service": "^5.0.1",
"typescript": "^4.5.5",
"unplugin-vue2-script-setup": "workspace:*",
"vue-template-compiler": "^2.6.14"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* eslint-disable @typescript-eslint/no-var-requires */

const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default
import { defineConfig } from '@vue/cli-service'
import ScriptSetup from 'unplugin-vue2-script-setup/webpack'

/**
* @type {import('@vue/cli-service').ProjectOptions}
*/
module.exports = {
export default defineConfig({
configureWebpack: {
plugins: [
ScriptSetup({
Expand All @@ -24,4 +21,4 @@ module.exports = {
config.module.rule('ts').uses.delete('cache-loader')
config.module.rule('tsx').uses.delete('cache-loader')
},
}
})
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,45 +71,45 @@
"test:update": "vitest -u"
},
"dependencies": {
"@antfu/utils": "^0.4.0",
"@babel/core": "^7.16.7",
"@babel/generator": "^7.16.8",
"@babel/parser": "^7.16.8",
"@babel/traverse": "^7.16.8",
"@babel/types": "^7.16.8",
"@antfu/utils": "^0.5.0",
"@babel/core": "^7.17.5",
"@babel/generator": "^7.17.3",
"@babel/parser": "^7.17.3",
"@babel/traverse": "^7.17.3",
"@babel/types": "^7.17.0",
"@rollup/pluginutils": "^4.1.2",
"@vue/compiler-core": "^3.2.31",
"@vue/compiler-dom": "^3.2.31",
"@vue/reactivity-transform": "^3.2.31",
"@vue/shared": "^3.2.31",
"defu": "^5.0.0",
"defu": "^5.0.1",
"magic-string": "^0.25.7",
"unplugin": "^0.3.0"
"unplugin": "^0.3.2"
},
"devDependencies": {
"@antfu/eslint-config": "^0.15.0",
"@antfu/ni": "^0.12.0",
"@antfu/eslint-config": "^0.16.1",
"@antfu/ni": "^0.13.2",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/babel__core": "^7.1.18",
"@types/estree": "^0.0.50",
"@types/node": "^17.0.8",
"@types/ws": "^8.2.2",
"@vue/composition-api": "^1.4.3",
"@types/estree": "^0.0.51",
"@types/node": "^17.0.21",
"@types/ws": "^8.5.0",
"@vue/composition-api": "^1.4.6",
"@vue/runtime-dom": "^3.2.31",
"bumpp": "^7.1.1",
"eslint": "^8.6.0",
"fast-glob": "^3.2.10",
"eslint": "^8.9.0",
"fast-glob": "^3.2.11",
"pug": "^3.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.63.0",
"rollup": "^2.68.0",
"rollup-plugin-dts": "^4.1.0",
"rollup-plugin-typescript2": "^0.31.1",
"typescript": "^4.5.4",
"vite": "^2.7.10",
"vitest": "0.0.120"
"rollup-plugin-typescript2": "^0.31.2",
"typescript": "^4.5.5",
"vite": "^2.8.4",
"vitest": "0.5.4"
},
"peerDependencies": {
"pug": "^3.0.2",
Expand Down
8 changes: 4 additions & 4 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"build": "vite build"
},
"dependencies": {
"@vue/composition-api": "^1.4.3",
"@vue/composition-api": "^1.4.6",
"vue": "^2.6.14"
},
"devDependencies": {
"vite": "^2.7.10",
"vite-plugin-inspect": "^0.3.13",
"vite-plugin-vue2": "^1.9.2",
"vite": "^2.8.4",
"vite-plugin-inspect": "^0.3.15",
"vite-plugin-vue2": "^1.9.3",
"vue-template-compiler": "^2.6.14"
}
}
Loading

0 comments on commit ab0ba54

Please sign in to comment.