@vcmap/plugin-cli 2.0.10 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -6
- package/src/build.js +0 -10
- package/src/serve.js +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vcmap/plugin-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "A CLI to help develop and build plugins for the VC Map",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"LICENSE.md"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@vcmap/rollup-plugin-vcs-ol": "^1.0.
|
|
29
|
+
"@vcmap/rollup-plugin-vcs-ol": "^1.0.2",
|
|
30
30
|
"@vcsuite/cli-logger": "^1.0.0",
|
|
31
31
|
"archiver": "^5.0.0",
|
|
32
32
|
"commander": "^6.0.0",
|
|
@@ -34,13 +34,12 @@
|
|
|
34
34
|
"prompts": "^2.4.1",
|
|
35
35
|
"sass": "1.32.13",
|
|
36
36
|
"semver": "^7.3.5",
|
|
37
|
-
"
|
|
38
|
-
"vite": "^2.
|
|
39
|
-
"vite-plugin-vue2": "^2.0.1",
|
|
37
|
+
"vite": "^3.2.0",
|
|
38
|
+
"vite-plugin-vue2": "^2.0.2",
|
|
40
39
|
"vue-template-compiler": "~2.7.3"
|
|
41
40
|
},
|
|
42
41
|
"peerDependencies": {
|
|
43
|
-
"@vcmap/ui": "^5.0.0-rc.
|
|
42
|
+
"@vcmap/ui": "^5.0.0-rc.15",
|
|
44
43
|
"vue": "~2.7.3"
|
|
45
44
|
},
|
|
46
45
|
"peerDependenciesMeta": {
|
package/src/build.js
CHANGED
|
@@ -3,8 +3,6 @@ import fs from 'fs/promises';
|
|
|
3
3
|
import { createVuePlugin } from 'vite-plugin-vue2';
|
|
4
4
|
import vcsOl from '@vcmap/rollup-plugin-vcs-ol';
|
|
5
5
|
import { logger } from '@vcsuite/cli-logger';
|
|
6
|
-
import { VuetifyResolver } from 'unplugin-vue-components/dist/resolvers.js';
|
|
7
|
-
import Components from 'unplugin-vue-components/dist/vite.js';
|
|
8
6
|
import { getPluginEntry, getPluginName } from './packageJsonHelpers.js';
|
|
9
7
|
import { getContext } from './context.js';
|
|
10
8
|
|
|
@@ -21,14 +19,6 @@ export function getDefaultConfig() {
|
|
|
21
19
|
publicDir: false,
|
|
22
20
|
plugins: [
|
|
23
21
|
createVuePlugin(),
|
|
24
|
-
Components({
|
|
25
|
-
resolvers: [
|
|
26
|
-
VuetifyResolver(),
|
|
27
|
-
],
|
|
28
|
-
dirs: ['./src'],
|
|
29
|
-
include: [],
|
|
30
|
-
exclude: [],
|
|
31
|
-
}),
|
|
32
22
|
vcsOl(),
|
|
33
23
|
],
|
|
34
24
|
};
|
package/src/serve.js
CHANGED
|
@@ -4,8 +4,6 @@ import { createVuePlugin } from 'vite-plugin-vue2';
|
|
|
4
4
|
import express from 'express';
|
|
5
5
|
import { logger } from '@vcsuite/cli-logger';
|
|
6
6
|
import path from 'path';
|
|
7
|
-
import { VuetifyResolver } from 'unplugin-vue-components/dist/resolvers.js';
|
|
8
|
-
import Components from 'unplugin-vue-components/dist/vite.js';
|
|
9
7
|
import { getContext } from './context.js';
|
|
10
8
|
import {
|
|
11
9
|
addConfigRoute,
|
|
@@ -90,13 +88,6 @@ export default async function serve(options) {
|
|
|
90
88
|
plugins: [
|
|
91
89
|
createVuePlugin(),
|
|
92
90
|
createConfigJsonReloadPlugin(),
|
|
93
|
-
Components({
|
|
94
|
-
resolvers: [
|
|
95
|
-
VuetifyResolver(),
|
|
96
|
-
],
|
|
97
|
-
include: [],
|
|
98
|
-
exclude: [],
|
|
99
|
-
}),
|
|
100
91
|
],
|
|
101
92
|
server: {
|
|
102
93
|
middlewareMode: 'html',
|