@forge/lint 6.2.3-next.2 → 6.2.3-next.20
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,133 @@
|
|
|
1
1
|
# @forge/lint
|
|
2
2
|
|
|
3
|
+
## 6.2.3-next.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [608da16]
|
|
8
|
+
- @forge/cli-shared@9.7.0-next.19
|
|
9
|
+
|
|
10
|
+
## 6.2.3-next.19
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [c0b2b2a]
|
|
15
|
+
- Updated dependencies [cf81630]
|
|
16
|
+
- @forge/cli-shared@9.7.0-next.18
|
|
17
|
+
|
|
18
|
+
## 6.2.3-next.18
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [797ac88]
|
|
23
|
+
- @forge/cli-shared@9.7.0-next.17
|
|
24
|
+
|
|
25
|
+
## 6.2.3-next.17
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [78af9a2]
|
|
30
|
+
- @forge/cli-shared@9.7.0-next.16
|
|
31
|
+
|
|
32
|
+
## 6.2.3-next.16
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [2d36913]
|
|
37
|
+
- @forge/manifest@13.6.0-next.2
|
|
38
|
+
- @forge/cli-shared@9.7.0-next.15
|
|
39
|
+
|
|
40
|
+
## 6.2.3-next.15
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [4740d03]
|
|
45
|
+
- @forge/cli-shared@9.7.0-next.14
|
|
46
|
+
|
|
47
|
+
## 6.2.3-next.14
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [ce74751]
|
|
52
|
+
- @forge/manifest@13.5.1-next.1
|
|
53
|
+
- @forge/cli-shared@9.7.0-next.13
|
|
54
|
+
|
|
55
|
+
## 6.2.3-next.13
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- 3012e11: Importing from `@forge/object-store` without declaring `modules.objectStore` in the manifest is now a lint error that blocks verified deployments. The existing lint fixer still adds the missing module automatically.
|
|
60
|
+
|
|
61
|
+
## 6.2.3-next.12
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [a384019]
|
|
66
|
+
- @forge/cli-shared@9.7.0-next.12
|
|
67
|
+
|
|
68
|
+
## 6.2.3-next.11
|
|
69
|
+
|
|
70
|
+
### Patch Changes
|
|
71
|
+
|
|
72
|
+
- Updated dependencies [b090628]
|
|
73
|
+
- @forge/cli-shared@9.7.0-next.11
|
|
74
|
+
|
|
75
|
+
## 6.2.3-next.10
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- Updated dependencies [385ac1a]
|
|
80
|
+
- @forge/cli-shared@9.7.0-next.10
|
|
81
|
+
|
|
82
|
+
## 6.2.3-next.9
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- Updated dependencies [988dff5]
|
|
87
|
+
- @forge/cli-shared@9.7.0-next.9
|
|
88
|
+
|
|
89
|
+
## 6.2.3-next.8
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- Updated dependencies [9d391ab]
|
|
94
|
+
- @forge/cli-shared@9.7.0-next.8
|
|
95
|
+
|
|
96
|
+
## 6.2.3-next.7
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- Updated dependencies [82730f2]
|
|
101
|
+
- @forge/cli-shared@9.7.0-next.7
|
|
102
|
+
|
|
103
|
+
## 6.2.3-next.6
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Updated dependencies [93f4631]
|
|
108
|
+
- @forge/cli-shared@9.7.0-next.6
|
|
109
|
+
|
|
110
|
+
## 6.2.3-next.5
|
|
111
|
+
|
|
112
|
+
### Patch Changes
|
|
113
|
+
|
|
114
|
+
- Updated dependencies [56fd47c]
|
|
115
|
+
- @forge/cli-shared@9.7.0-next.5
|
|
116
|
+
|
|
117
|
+
## 6.2.3-next.4
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Updated dependencies [b77e195]
|
|
122
|
+
- @forge/cli-shared@9.7.0-next.4
|
|
123
|
+
|
|
124
|
+
## 6.2.3-next.3
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- Updated dependencies [ea3b2ba]
|
|
129
|
+
- @forge/cli-shared@9.7.0-next.3
|
|
130
|
+
|
|
3
131
|
## 6.2.3-next.2
|
|
4
132
|
|
|
5
133
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-module-linter.d.ts","sourceRoot":"","sources":["../../../../src/lint/linters/storage-module-linter/storage-module-linter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAW,MAAM,iBAAiB,CAAC;AACtE,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,OAAO,EAAgB,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAM7E,UAAU,gCAAgC;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,EAAE,CAAC;IACzB,GAAG,EAAE,cAAc,EAAE,CAAC;IACtB,EAAE,EAAE,cAAc,EAAE,CAAC;CACtB;AAaD,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,cAAc,EAAE,EACxB,UAAU,cAAc,EAAE,EAC1B,OAAO,YAAY,KAClB,OAAO,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"storage-module-linter.d.ts","sourceRoot":"","sources":["../../../../src/lint/linters/storage-module-linter/storage-module-linter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAW,MAAM,iBAAiB,CAAC;AACtE,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,OAAO,EAAgB,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAM7E,UAAU,gCAAgC;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,EAAE,CAAC;IACzB,GAAG,EAAE,cAAc,EAAE,CAAC;IACtB,EAAE,EAAE,cAAc,EAAE,CAAC;CACtB;AAaD,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,cAAc,EAAE,EACxB,UAAU,cAAc,EAAE,EAC1B,OAAO,YAAY,KAClB,OAAO,CAAC,YAAY,CAkCtB,CAAC;AAEF,qBAAa,oBAAqB,SAAQ,UAAU,CAAC,OAAO,EAAE,gCAAgC,EAAE,OAAO,EAAE,CAAC;IAGtG,OAAO,CAAC,QAAQ;gBADhB,WAAW,EAAE,MAAM,EACX,QAAQ,EAAE,QAAQ,EAC1B,MAAM,EAAE,UAAU;IAKP,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IASvC,SAAS,CAAC,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAOjD,SAAS,CAAC,QAAQ,IACd,CAAC,CAAC,MAAM,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC,GACtG,SAAS;IAIb,SAAS,CAAC,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;CAWzE"}
|
|
@@ -22,7 +22,7 @@ const fixMissingModules = async (errors, warnings, state) => {
|
|
|
22
22
|
const currentModules = (await state.configFile.readConfig())?.modules ?? {};
|
|
23
23
|
const modulesToAdd = {};
|
|
24
24
|
const missingSQLModule = errors.find((error) => error.metadata?.missingStorageModule === SQL_MODULE);
|
|
25
|
-
const missingOsModule =
|
|
25
|
+
const missingOsModule = errors.find((error) => error.metadata?.missingStorageModule === OBJECT_STORE_MODULE);
|
|
26
26
|
if (missingSQLModule && !currentModules.sql) {
|
|
27
27
|
modulesToAdd.sql = [
|
|
28
28
|
{
|
|
@@ -39,7 +39,7 @@ const fixMissingModules = async (errors, warnings, state) => {
|
|
|
39
39
|
storageClass: ObjectStoreClass.standard
|
|
40
40
|
}
|
|
41
41
|
];
|
|
42
|
-
state.
|
|
42
|
+
state.errorsFixed += 1;
|
|
43
43
|
}
|
|
44
44
|
if (Object.keys(modulesToAdd).length) {
|
|
45
45
|
const newModules = { ...currentModules, ...modulesToAdd };
|
|
@@ -7,7 +7,7 @@ const text_1 = require("../../../text");
|
|
|
7
7
|
const OS_MODULE = 'objectStore';
|
|
8
8
|
class OsVerifier extends verifier_interface_1.BaseLintIssueVerifier {
|
|
9
9
|
getLintClass() {
|
|
10
|
-
return linter_interface_1.LintClass.
|
|
10
|
+
return linter_interface_1.LintClass.Error;
|
|
11
11
|
}
|
|
12
12
|
async process(apiCalls) {
|
|
13
13
|
if (this.manifest.modules && OS_MODULE in this.manifest.modules) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/lint",
|
|
3
|
-
"version": "6.2.3-next.
|
|
3
|
+
"version": "6.2.3-next.20",
|
|
4
4
|
"description": "Linting for forge apps",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@atlassian/xen-test-util": "^4.2.0",
|
|
14
|
-
"@forge/api": "^8.
|
|
14
|
+
"@forge/api": "^8.2.0-next.2",
|
|
15
15
|
"@types/array.prototype.flatmap": "^1.2.6",
|
|
16
16
|
"@types/cross-spawn": "^6.0.6",
|
|
17
17
|
"@types/eslint": "8.56.12",
|
|
18
18
|
"eslint-plugin-import": "^2.29.1"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@forge/cli-shared": "9.7.0-next.
|
|
21
|
+
"@forge/cli-shared": "9.7.0-next.19",
|
|
22
22
|
"@forge/csp": "6.3.1",
|
|
23
23
|
"@forge/egress": "3.0.0",
|
|
24
|
-
"@forge/manifest": "13.
|
|
24
|
+
"@forge/manifest": "13.6.0-next.2",
|
|
25
25
|
"@typescript-eslint/typescript-estree": "^5.62.0",
|
|
26
26
|
"archiver": "^8.0.0",
|
|
27
27
|
"array.prototype.flatmap": "^1.3.3",
|