Skip to content

Commit fe64bf3

Browse files
chore: Update development deps
1 parent 977a296 commit fe64bf3

File tree

8 files changed

+2794
-2923
lines changed

8 files changed

+2794
-2923
lines changed

Diff for: .eslintrc.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ module.exports = {
99
],
1010
rules: {
1111
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13+
'vue/multi-word-component-names': 'off'
1314
},
1415
parserOptions: {
1516
parser: '@babel/eslint-parser'

Diff for: babel.config.cjs

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
module.exports = {
22
presets: [
33
'@babel/preset-env'
4-
],
5-
plugins: [
6-
'@babel/plugin-proposal-class-properties',
7-
'@babel/plugin-proposal-private-methods'
84
]
95
}

Diff for: docs/.vuepress/config.js

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
module.exports = {
2+
base: '/vue-postgrest/',
3+
title: 'vue-postgrest',
4+
description: 'PostgREST integration for Vue.js',
5+
host: 'localhost',
6+
themeConfig: {
7+
repo: 'technowledgy/vue-postgrest',
8+
docsDir: 'docs',
9+
editLinks: true,
10+
smoothScroll: true,
11+
sidebarDepth: 2,
12+
sidebar: [
13+
'/start/',
14+
'/guide/',
15+
'/api/',
16+
'/query/'
17+
],
18+
lastUpdated: 'Last Updated',
19+
nextLinks: false,
20+
prevLinks: false
21+
},
22+
plugins: [
23+
'@vuepress/active-header-links',
24+
'@vuepress/back-to-top'
25+
],
26+
chainWebpack: (config) => {
27+
config.module
28+
.rule('js')
29+
.use('babel-loader')
30+
.tap(options => Object.assign(options, {
31+
plugins: [
32+
'@babel/plugin-proposal-optional-chaining',
33+
'@babel/plugin-proposal-nullish-coalescing-operator'
34+
]
35+
}))
36+
}
37+
}

Diff for: docs/.vuepress/config.yml

-21
This file was deleted.

Diff for: docs/.vuepress/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"type": "commonjs"
3+
}

Diff for: package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,33 @@
2020
],
2121
"dependencies": {},
2222
"devDependencies": {
23-
"@babel/eslint-parser": "^7.15.8",
24-
"@babel/plugin-proposal-class-properties": "^7.14.5",
25-
"@babel/plugin-proposal-private-methods": "^7.14.5",
23+
"@babel/eslint-parser": "^7.16.5",
24+
"@babel/plugin-proposal-class-properties": "^7.16.7",
25+
"@babel/plugin-proposal-private-methods": "^7.16.7",
2626
"@vue/eslint-config-standard": "^6.1.0",
27-
"@vue/test-utils": "1.2.2",
28-
"@vuepress/plugin-active-header-links": "^1.8.2",
29-
"@vuepress/plugin-back-to-top": "^1.8.2",
30-
"core-js": "^3.18.3",
27+
"@vue/test-utils": "1.3.0",
28+
"@vuepress/plugin-active-header-links": "^1.9.5",
29+
"@vuepress/plugin-back-to-top": "^1.9.5",
30+
"core-js": "^3.20.2",
3131
"coveralls": "^3.1.1",
32-
"eslint": "^8.0.1",
33-
"eslint-plugin-import": "^2.25.2",
32+
"eslint": "^8.6.0",
33+
"eslint-plugin-import": "^2.25.4",
3434
"eslint-plugin-node": "^11.1.0",
35-
"eslint-plugin-promise": "^5.1.0",
35+
"eslint-plugin-promise": "^6.0.0",
3636
"eslint-plugin-standard": "^5.0.0",
37-
"eslint-plugin-vue": "^7.19.1",
37+
"eslint-plugin-vue": "^8.2.0",
3838
"flush-promises": "^1.0.2",
39-
"jest": "^27.3.0",
39+
"jest": "^27.4.7",
4040
"jest-fetch-mock": "^3.0.3",
4141
"jest-watch-typeahead": "^1.0.0",
42-
"nodemon": "^2.0.13",
43-
"release-it": "^14.11.6",
42+
"nodemon": "^2.0.15",
43+
"release-it": "^14.11.8",
4444
"rollup-plugin-copy": "^3.4.0",
45-
"vite": "^2.6.7",
46-
"vite-plugin-vue2": "^1.9.0",
45+
"vite": "^2.7.10",
46+
"vite-plugin-vue2": "^1.9.2",
4747
"vue": "^2.6.14",
4848
"vue-template-compiler": "^2.6.14",
49-
"vuepress": "^1.8.2"
49+
"vuepress": "^1.9.5"
5050
},
5151
"homepage": "https://github.com/technowledgy/vue-postgrest#readme",
5252
"keywords": [

Diff for: vite.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import { defineConfig } from 'vite'
44
import { createVuePlugin } from 'vite-plugin-vue2'
55
import copy from 'rollup-plugin-copy'
66

7-
const __dirname = dirname(fileURLToPath(import.meta.url))
7+
const repoDir = dirname(fileURLToPath(import.meta.url))
88

99
export default defineConfig({
1010
build: {
1111
lib: {
12-
entry: resolve(__dirname, 'src/index.js'),
12+
entry: resolve(repoDir, 'src/index.js'),
1313
formats: ['es', 'cjs']
1414
},
1515
minify: false,
@@ -35,7 +35,7 @@ export default defineConfig({
3535
alias: [
3636
{
3737
find: /^@/,
38-
replacement: resolve(__dirname, 'src')
38+
replacement: resolve(repoDir, 'src')
3939
}
4040
]
4141
}

0 commit comments

Comments
 (0)