Skip to content

Commit

Permalink
chore(deps): upgrade dependencies (includes TypeScript 4.1) (nuxt#478)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade dependencies

* chore(ci): upgrade actions/checkout
  • Loading branch information
kevinmarrec authored and Geminii committed Jan 20, 2021
1 parent 75b5066 commit 5d1f9cb
Show file tree
Hide file tree
Showing 12 changed files with 3,650 additions and 3,449 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
.nuxt
static
coverage
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@master

- uses: actions/cache@v1
id: cache
Expand Down
8 changes: 4 additions & 4 deletions docs/components/global/InjectCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ export default {
props: {
query: { type: String, required: true }
},
async fetch () {
this.page = await this.$content(this.query).fetch()
},
data: () => ({
page: []
})
}),
async fetch () {
this.page = await this.$content(this.query).fetch()
}
}
</script>

Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"build": "nuxt generate"
},
"devDependencies": {
"@nuxt/content-theme-docs": "^0.7.2",
"nuxt": "^2.14.7",
"@nuxt/content-theme-docs": "^0.8.2",
"nuxt": "^2.14.12",
"vue-tabs-component": "^1.5.0"
}
}
5 changes: 2 additions & 3 deletions docs/plugins/vue-tabs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Vue from 'vue'

import { Tabs, Tab } from 'vue-tabs-component'

Vue.component('tabs', Tabs)
Vue.component('tab', Tab)
Vue.component('Tabs', Tabs)
Vue.component('Tab', Tab)
2,412 changes: 1,325 additions & 1,087 deletions docs/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
},
globals: {
'ts-jest': {
tsConfig: 'tsconfig.test.json',
tsconfig: 'tsconfig.test.json',
diagnostics: {
ignoreCodes: [2345]
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lerna": "latest",
"nuxt-edge": "latest",
"ts-jest": "latest",
"typescript": "~4.0",
"typescript": "~4.1",
"vue-property-decorator": "latest"
}
}
6 changes: 3 additions & 3 deletions packages/typescript-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"dependencies": {
"consola": "^2.15.0",
"fork-ts-checker-webpack-plugin": "^5.2.0",
"ts-loader": "^8.0.4",
"typescript": "~4.0"
"fork-ts-checker-webpack-plugin": "^6.1.0",
"ts-loader": "^8.0.14",
"typescript": "~4.1"
},
"peerDependencies": {
"@nuxt/types": ">=2.13.1"
Expand Down
12 changes: 6 additions & 6 deletions packages/typescript-build/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ import { Options as TsLoaderOptions } from 'ts-loader'
import { ForkTsCheckerWebpackPluginOptions as TsCheckerOptions } from 'fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPluginOptions'
import { RuleSetUseItem } from 'webpack'

declare module '@nuxt/types' {
interface NuxtOptions {
typescript: Options
}
}

export interface Options {
ignoreNotFoundWarnings?: boolean
loaders?: {
Expand All @@ -20,6 +14,12 @@ export interface Options {
typeCheck?: TsCheckerOptions | boolean
}

declare module '@nuxt/types' {
interface NuxtOptions {
typescript: Options
}
}

const defaults: Options = {
ignoreNotFoundWarnings: false,
typeCheck: true
Expand Down
4 changes: 2 additions & 2 deletions packages/typescript-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"compile": "tsc"
},
"dependencies": {
"ts-node": "^9.0.0",
"typescript": "~4.0"
"ts-node": "^9.1.1",
"typescript": "~4.1"
},
"peerDependencies": {
"@nuxt/types": ">=2.13.1"
Expand Down

0 comments on commit 5d1f9cb

Please sign in to comment.