@forge/lint 6.1.1-next.2-experimental-f4ce0ae → 6.2.0-next.10
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,20 +1,68 @@
|
|
|
1
1
|
# @forge/lint
|
|
2
2
|
|
|
3
|
-
## 6.
|
|
3
|
+
## 6.2.0-next.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [873db00]
|
|
8
|
+
- @forge/csp@6.3.1-next.0
|
|
9
|
+
|
|
10
|
+
## 6.2.0-next.9
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [9afd5c3]
|
|
15
|
+
- @forge/cli-shared@9.4.0-next.8
|
|
16
|
+
|
|
17
|
+
## 6.2.0-next.8
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [ccd5143]
|
|
22
|
+
- @forge/manifest@13.3.1-next.1
|
|
23
|
+
- @forge/cli-shared@9.4.0-next.7
|
|
24
|
+
|
|
25
|
+
## 6.2.0-next.7
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [d1767a0]
|
|
30
|
+
- @forge/cli-shared@9.4.0-next.6
|
|
31
|
+
|
|
32
|
+
## 6.2.0-next.6
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [016ed9d]
|
|
37
|
+
- @forge/cli-shared@9.4.0-next.5
|
|
38
|
+
|
|
39
|
+
## 6.2.0-next.5
|
|
4
40
|
|
|
5
41
|
### Minor Changes
|
|
6
42
|
|
|
7
|
-
-
|
|
43
|
+
- 2b13c2e: Move from node-fetch to native fetch
|
|
8
44
|
|
|
9
45
|
### Patch Changes
|
|
10
46
|
|
|
11
|
-
- Updated dependencies [
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
47
|
+
- Updated dependencies [2b13c2e]
|
|
48
|
+
- @forge/cli-shared@9.4.0-next.4
|
|
49
|
+
|
|
50
|
+
## 6.2.0-next.4
|
|
51
|
+
|
|
52
|
+
### Minor Changes
|
|
53
|
+
|
|
54
|
+
- ff4f2bf: Add `forge site provision` to provision a new demo site or get an existing demo site.
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- Updated dependencies [ff4f2bf]
|
|
59
|
+
- @forge/cli-shared@9.4.0-next.3
|
|
60
|
+
|
|
61
|
+
## 6.2.0-next.3
|
|
62
|
+
|
|
63
|
+
### Minor Changes
|
|
64
|
+
|
|
65
|
+
- 47fb0a1: Fix manifest validation logic when using interpolation
|
|
18
66
|
|
|
19
67
|
## 6.1.1-next.2
|
|
20
68
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side-linter.d.ts","sourceRoot":"","sources":["../../../../src/lint/linters/server-side-linter/server-side-linter.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"server-side-linter.d.ts","sourceRoot":"","sources":["../../../../src/lint/linters/server-side-linter/server-side-linter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,cAAc,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,UAAU,EAAkB,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,aAAa,EAAsC,MAAM,mBAAmB,CAAC;AACtH,OAAO,EAAE,aAAa,EAAqB,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,qBAAa,gBAAiB,SAAQ,cAAc;IAIhD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAE7B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAV1B,OAAO,CAAC,iBAAiB,CAAqB;gBAG3B,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,aAAa,EACrB,UAAU,EAAE,gBAAgB,EAC5B,QAAQ,EAAE,WAAW,EACrB,YAAY,EAAE,YAAY,EAC3C,MAAM,EAAE,UAAU,EACD,OAAO,EAAE;QACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;WAKU,QAAQ,CACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE;QACP,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAeH,OAAO,CAAC,qBAAqB;IAsBvB,gBAAgB,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IAmBzC,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAsBhC,OAAO,CAAC,gBAAgB;CAIzB"}
|
|
@@ -52,11 +52,16 @@ class ServerSideLinter extends abstract_linter_1.AbstractLinter {
|
|
|
52
52
|
return [this.mapServerSideResponse(results)];
|
|
53
53
|
}
|
|
54
54
|
async bootstrap() {
|
|
55
|
-
const
|
|
56
|
-
if (!
|
|
55
|
+
const manifestRawContent = this.fileReader.readFile(cli_shared_1.manifestFileName);
|
|
56
|
+
if (!manifestRawContent) {
|
|
57
57
|
throw new Error('No Manifest content found');
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
const manifestParser = new manifest_1.ManifestParserBuilder().withInterpolators().build();
|
|
60
|
+
const manifestContent = manifestParser.parseManifestAsString({
|
|
61
|
+
content: manifestRawContent,
|
|
62
|
+
filePath: cli_shared_1.manifestFileName
|
|
63
|
+
});
|
|
64
|
+
this.archiver.addFile(cli_shared_1.manifestFileName, Buffer.from(manifestContent));
|
|
60
65
|
const archivePath = await this.archiver.finalise();
|
|
61
66
|
const uploadUrl = await this.client.createAppManifestUploadUrl(this.manifest.app.id, this.environment);
|
|
62
67
|
await this.fileUploader.uploadFromPath(uploadUrl, archivePath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/lint",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0-next.10",
|
|
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.0.4-next.0
|
|
14
|
+
"@forge/api": "^8.0.4-next.0",
|
|
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.
|
|
22
|
-
"@forge/csp": "6.3.0
|
|
21
|
+
"@forge/cli-shared": "9.4.0-next.8",
|
|
22
|
+
"@forge/csp": "6.3.1-next.0",
|
|
23
23
|
"@forge/egress": "3.0.0",
|
|
24
|
-
"@forge/manifest": "13.3.1-next.
|
|
24
|
+
"@forge/manifest": "13.3.1-next.1",
|
|
25
25
|
"@typescript-eslint/typescript-estree": "^5.62.0",
|
|
26
26
|
"archiver": "^8.0.0",
|
|
27
27
|
"array.prototype.flatmap": "^1.3.3",
|