@vnejs/shared 0.0.1 → 0.0.3
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/index.js +4 -2
- package/package.json +5 -2
package/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export const VNE_SETTINGS = {};
|
|
2
|
-
export const VNE_EVENTS = {};
|
|
3
1
|
export const VNE_CONST = {};
|
|
2
|
+
export const VNE_EVENTS = {};
|
|
3
|
+
export const VNE_SETTINGS = {};
|
|
4
|
+
|
|
4
5
|
export const VNE_MODULES = [];
|
|
5
6
|
export const VNE_MODULE_EXTENSIONS = {};
|
|
6
7
|
|
|
@@ -12,6 +13,7 @@ export const regPlugin = (namespace = "", { constants = {}, events = {}, setting
|
|
|
12
13
|
VNE_CONST[namespace] = constants;
|
|
13
14
|
VNE_EVENTS[namespace] = events;
|
|
14
15
|
VNE_SETTINGS[namespace] = settings;
|
|
16
|
+
|
|
15
17
|
modules.forEach(regModule);
|
|
16
18
|
};
|
|
17
19
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vnejs/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
7
|
+
"publish:major": "npm version major && npm publish --access public --legacy-peer-deps",
|
|
8
|
+
"publish:minor": "npm version minor && npm publish --access public --legacy-peer-deps",
|
|
9
|
+
"publish:patch": "npm version patch && npm publish --access public --legacy-peer-deps"
|
|
7
10
|
},
|
|
8
11
|
"author": "",
|
|
9
12
|
"license": "ISC",
|