@compass-framework/plugin 1.0.0 → 1.0.1
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.d.ts +7 -9
- package/package.json +6 -7
- package/.eslintignore +0 -10
- package/.eslintrc.js +0 -76
- package/tsconfig.json +0 -31
- /package/{include → @types}/Environment.ts +0 -0
- /package/{include → @types}/EnvironmentProperty.ts +0 -0
- /package/{include → @types}/Feature.ts +0 -0
- /package/{include → @types}/Installer.ts +0 -0
- /package/{include → @types}/Plugin.ts +0 -0
- /package/{include → @types}/PluginMainfest.ts +0 -0
- /package/{include → @types}/PluginManager.ts +0 -0
- /package/{include → @types}/Service.ts +0 -0
- /package/{include → @types}/ServiceDependency.ts +0 -0
package/index.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export * from "
|
|
2
|
-
export * from "
|
|
3
|
-
export * from "
|
|
4
|
-
export * from "
|
|
5
|
-
export * from "
|
|
6
|
-
export * from "
|
|
7
|
-
export * from "
|
|
8
|
-
export * from "./include/PluginManager";
|
|
9
|
-
export * from "./include/PluginMainfest";
|
|
1
|
+
export * from "./@types/Environment";
|
|
2
|
+
export * from "./@types/EnvironmentProperty";
|
|
3
|
+
export * from "./@types/Service";
|
|
4
|
+
export * from "./@types/Feature";
|
|
5
|
+
export * from "./@types/Plugin";
|
|
6
|
+
export * from "./@types/PluginManager";
|
|
7
|
+
export * from "./@types/PluginMainfest";
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compass-framework/plugin",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"types": "index.d.ts",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "@compass-framework/plugin public api",
|
|
5
|
+
"types": "./index.d.ts",
|
|
6
|
+
"main": "./index.js",
|
|
8
7
|
"scripts": {
|
|
9
8
|
"publish-plugin": "npm publish"
|
|
10
9
|
},
|
|
@@ -12,7 +11,7 @@
|
|
|
12
11
|
"access": "public"
|
|
13
12
|
},
|
|
14
13
|
"dependencies": {
|
|
15
|
-
"@compass-framework/library": "1.0.
|
|
16
|
-
"@compass-framework/core": "1.0.
|
|
14
|
+
"@compass-framework/library": "1.0.2",
|
|
15
|
+
"@compass-framework/core": "1.0.2"
|
|
17
16
|
}
|
|
18
17
|
}
|
package/.eslintignore
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
|
|
3
|
-
const resolve = (url) => path.resolve(__dirname, url);
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
"extends": [
|
|
7
|
-
'airbnb-base',
|
|
8
|
-
'airbnb-typescript/base'
|
|
9
|
-
],
|
|
10
|
-
"env": {
|
|
11
|
-
"browser": true,
|
|
12
|
-
"es2021": true
|
|
13
|
-
},
|
|
14
|
-
"plugins": [
|
|
15
|
-
"unused-imports"
|
|
16
|
-
],
|
|
17
|
-
"rules": {
|
|
18
|
-
"unused-imports/no-unused-imports": "error",
|
|
19
|
-
|
|
20
|
-
"@typescript-eslint/no-redeclare": "off",
|
|
21
|
-
"default-case-last": "off",
|
|
22
|
-
"no-return-assign": "off",
|
|
23
|
-
"operator-assignment": "off",
|
|
24
|
-
"no-fallthrough": "off",
|
|
25
|
-
"no-constant-condition": "off",
|
|
26
|
-
"function-call-argument-newline":"off",
|
|
27
|
-
"no-else-return" : "off",
|
|
28
|
-
"no-cond-assign": "off",
|
|
29
|
-
"prefer-regex-literals": "off",
|
|
30
|
-
"@typescript-eslint/no-empty-function": "off",
|
|
31
|
-
"no-restricted-globals": "off",
|
|
32
|
-
"prefer-object-spread": "off",
|
|
33
|
-
"guard-for-in":"off",
|
|
34
|
-
"no-multi-assign": "off",
|
|
35
|
-
"no-lonely-if": "off",
|
|
36
|
-
"@typescript-eslint/lines-between-class-members": "off",
|
|
37
|
-
"prefer-exponentiation-operator":"off",
|
|
38
|
-
"no-restricted-properties": "off",
|
|
39
|
-
"function-paren-newline": "off",
|
|
40
|
-
"no-labels": "off",
|
|
41
|
-
"@typescript-eslint/no-shadow": "off",
|
|
42
|
-
"no-nested-ternary": "off",
|
|
43
|
-
"no-debugger": "off",
|
|
44
|
-
"no-mixed-operators": "off",
|
|
45
|
-
"prefer-destructuring": "off",
|
|
46
|
-
"no-console": "off",
|
|
47
|
-
"import/export": "off",
|
|
48
|
-
"@typescript-eslint/quotes": "off",
|
|
49
|
-
"prefer-const": "off",
|
|
50
|
-
'linebreak-style': ["off", "windows"],
|
|
51
|
-
"prefer-rest-params": "off",
|
|
52
|
-
"max-classes-per-file": "off",
|
|
53
|
-
"max-len": "off",
|
|
54
|
-
"new-parens": "off",
|
|
55
|
-
"no-continue": "off",
|
|
56
|
-
"no-plusplus": "off",
|
|
57
|
-
"import/prefer-default-export": "off",
|
|
58
|
-
"@typescript-eslint/naming-convention": "off",
|
|
59
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
60
|
-
"@typescript-eslint/no-use-before-define": "off",
|
|
61
|
-
"import/no-cycle": "off",
|
|
62
|
-
"no-bitwise": 'off',
|
|
63
|
-
"default-case": "off",
|
|
64
|
-
"no-param-reassign": "off",
|
|
65
|
-
"class-methods-use-this": "off",
|
|
66
|
-
"consistent-return": "off",
|
|
67
|
-
"no-underscore-dangle": "off",
|
|
68
|
-
"no-restricted-syntax": "off",
|
|
69
|
-
},
|
|
70
|
-
"parserOptions": {
|
|
71
|
-
"warnOnUnsupportedTypeScriptVersion": false,
|
|
72
|
-
"ecmaVersion": 12,
|
|
73
|
-
"sourceType": "module",
|
|
74
|
-
"project": resolve("tsconfig.json")
|
|
75
|
-
}
|
|
76
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "commonjs",
|
|
4
|
-
"target": "ES2015",
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"lib": [
|
|
7
|
-
"ScriptHost",
|
|
8
|
-
"DOM",
|
|
9
|
-
"ES2015",
|
|
10
|
-
"ES2016",
|
|
11
|
-
"ES2017",
|
|
12
|
-
"ES2018",
|
|
13
|
-
"ES2019",
|
|
14
|
-
"ES2020",
|
|
15
|
-
"ES2021",
|
|
16
|
-
"ESNext"
|
|
17
|
-
],
|
|
18
|
-
"types": [
|
|
19
|
-
"@types/jest",
|
|
20
|
-
"jest",
|
|
21
|
-
"node"
|
|
22
|
-
],
|
|
23
|
-
"typeRoots" : [
|
|
24
|
-
"./src/define"
|
|
25
|
-
],
|
|
26
|
-
"experimentalDecorators": true,
|
|
27
|
-
"sourceMap": true,
|
|
28
|
-
"esModuleInterop": true,
|
|
29
|
-
"downlevelIteration": true
|
|
30
|
-
}
|
|
31
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|