Skip to content

Commit 230cefb

Browse files
authoredJan 16, 2021
chore(deps): upgrade dependencies (includes TypeScript 4.1) (#478)
* chore(deps): upgrade dependencies * chore(ci): upgrade actions/checkout
1 parent c172ad5 commit 230cefb

File tree

12 files changed

+3650
-3449
lines changed

12 files changed

+3650
-3449
lines changed
 

‎.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
dist
33
.nuxt
4+
static
45
coverage

‎.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@master
1717

1818
- uses: actions/cache@v1
1919
id: cache

‎docs/components/global/InjectCode.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ export default {
77
props: {
88
query: { type: String, required: true }
99
},
10-
async fetch () {
11-
this.page = await this.$content(this.query).fetch()
12-
},
1310
data: () => ({
1411
page: []
15-
})
12+
}),
13+
async fetch () {
14+
this.page = await this.$content(this.query).fetch()
15+
}
1616
}
1717
</script>
1818

‎docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"build": "nuxt generate"
66
},
77
"devDependencies": {
8-
"@nuxt/content-theme-docs": "^0.7.2",
9-
"nuxt": "^2.14.7",
8+
"@nuxt/content-theme-docs": "^0.8.2",
9+
"nuxt": "^2.14.12",
1010
"vue-tabs-component": "^1.5.0"
1111
}
1212
}

‎docs/plugins/vue-tabs.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Vue from 'vue'
2-
32
import { Tabs, Tab } from 'vue-tabs-component'
43

5-
Vue.component('tabs', Tabs)
6-
Vue.component('tab', Tab)
4+
Vue.component('Tabs', Tabs)
5+
Vue.component('Tab', Tab)

‎docs/yarn.lock

+1,325-1,087
Large diffs are not rendered by default.

‎jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
},
66
globals: {
77
'ts-jest': {
8-
tsConfig: 'tsconfig.test.json',
8+
tsconfig: 'tsconfig.test.json',
99
diagnostics: {
1010
ignoreCodes: [2345]
1111
}

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lerna": "latest",
2121
"nuxt-edge": "latest",
2222
"ts-jest": "latest",
23-
"typescript": "~4.0",
23+
"typescript": "~4.1",
2424
"vue-property-decorator": "latest"
2525
}
2626
}

‎packages/typescript-build/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
},
1717
"dependencies": {
1818
"consola": "^2.15.0",
19-
"fork-ts-checker-webpack-plugin": "^5.2.0",
20-
"ts-loader": "^8.0.4",
21-
"typescript": "~4.0"
19+
"fork-ts-checker-webpack-plugin": "^6.1.0",
20+
"ts-loader": "^8.0.14",
21+
"typescript": "~4.1"
2222
},
2323
"peerDependencies": {
2424
"@nuxt/types": ">=2.13.1"

‎packages/typescript-build/src/index.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ import { Options as TsLoaderOptions } from 'ts-loader'
55
import { ForkTsCheckerWebpackPluginOptions as TsCheckerOptions } from 'fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPluginOptions'
66
import { RuleSetUseItem } from 'webpack'
77

8-
declare module '@nuxt/types' {
9-
interface NuxtOptions {
10-
typescript: Options
11-
}
12-
}
13-
148
export interface Options {
159
ignoreNotFoundWarnings?: boolean
1610
loaders?: {
@@ -20,6 +14,12 @@ export interface Options {
2014
typeCheck?: TsCheckerOptions | boolean
2115
}
2216

17+
declare module '@nuxt/types' {
18+
interface NuxtOptions {
19+
typescript: Options
20+
}
21+
}
22+
2323
const defaults: Options = {
2424
ignoreNotFoundWarnings: false,
2525
typeCheck: true

‎packages/typescript-runtime/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"compile": "tsc"
2020
},
2121
"dependencies": {
22-
"ts-node": "^9.0.0",
23-
"typescript": "~4.0"
22+
"ts-node": "^9.1.1",
23+
"typescript": "~4.1"
2424
},
2525
"peerDependencies": {
2626
"@nuxt/types": ">=2.13.1"

‎yarn.lock

+2,302-2,339
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.