@forge/cli 2.0.7-next.14 → 2.0.7-next.22
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,96 @@
|
|
|
1
1
|
# @forge/cli
|
|
2
2
|
|
|
3
|
+
## 2.0.7-next.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [1c196ff]
|
|
8
|
+
- Updated dependencies [e7ee3a7]
|
|
9
|
+
- @forge/csp@1.9.0-next.1
|
|
10
|
+
- @forge/manifest@2.6.0-next.18
|
|
11
|
+
- @forge/lint@2.0.0-next.21
|
|
12
|
+
- @forge/cli-shared@2.2.0-next.19
|
|
13
|
+
- @forge/bundler@1.1.0-next.22
|
|
14
|
+
|
|
15
|
+
## 2.0.7-next.21
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [fa963b1]
|
|
20
|
+
- @forge/manifest@2.6.0-next.17
|
|
21
|
+
- @forge/cli-shared@2.2.0-next.18
|
|
22
|
+
- @forge/lint@2.0.0-next.20
|
|
23
|
+
- @forge/bundler@1.1.0-next.21
|
|
24
|
+
|
|
25
|
+
## 2.0.7-next.20
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [218fe20]
|
|
30
|
+
- @forge/manifest@2.6.0-next.16
|
|
31
|
+
- @forge/cli-shared@2.2.0-next.17
|
|
32
|
+
- @forge/lint@2.0.0-next.19
|
|
33
|
+
- @forge/bundler@1.1.0-next.20
|
|
34
|
+
|
|
35
|
+
## 2.0.7-next.19
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- b63af27: Refactor templates code to be more generic in order to ease implementing other templating methods
|
|
40
|
+
- Updated dependencies [e4a14c7]
|
|
41
|
+
- Updated dependencies [b63af27]
|
|
42
|
+
- @forge/manifest@2.6.0-next.15
|
|
43
|
+
- @forge/cli-shared@2.2.0-next.16
|
|
44
|
+
- @forge/lint@2.0.0-next.18
|
|
45
|
+
- @forge/bundler@1.1.0-next.19
|
|
46
|
+
|
|
47
|
+
## 2.0.7-next.18
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [2b7c32b]
|
|
52
|
+
- @forge/manifest@2.6.0-next.14
|
|
53
|
+
- @forge/cli-shared@2.1.6-next.15
|
|
54
|
+
- @forge/lint@2.0.0-next.17
|
|
55
|
+
- @forge/bundler@1.1.0-next.18
|
|
56
|
+
|
|
57
|
+
## 2.0.7-next.17
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- Updated dependencies [a0a2c5b]
|
|
62
|
+
- Updated dependencies [689c09b]
|
|
63
|
+
- Updated dependencies [92d081d]
|
|
64
|
+
- Updated dependencies [36c7c8f]
|
|
65
|
+
- @forge/manifest@2.6.0-next.13
|
|
66
|
+
- @forge/cli-shared@2.1.6-next.14
|
|
67
|
+
- @forge/lint@2.0.0-next.16
|
|
68
|
+
- @forge/bundler@1.1.0-next.17
|
|
69
|
+
|
|
70
|
+
## 2.0.7-next.16
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Updated dependencies [62089be]
|
|
75
|
+
- @forge/manifest@2.6.0-next.12
|
|
76
|
+
- @forge/cli-shared@2.1.6-next.13
|
|
77
|
+
- @forge/lint@2.0.0-next.15
|
|
78
|
+
- @forge/bundler@1.1.0-next.16
|
|
79
|
+
|
|
80
|
+
## 2.0.7-next.15
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- Updated dependencies [c156c18]
|
|
85
|
+
- Updated dependencies [dfe9dd8]
|
|
86
|
+
- Updated dependencies [d3c8c8d]
|
|
87
|
+
- Updated dependencies [0a7725f]
|
|
88
|
+
- Updated dependencies [2bb89c5]
|
|
89
|
+
- @forge/lint@2.0.0-next.14
|
|
90
|
+
- @forge/manifest@2.6.0-next.11
|
|
91
|
+
- @forge/bundler@1.1.0-next.15
|
|
92
|
+
- @forge/cli-shared@2.1.6-next.12
|
|
93
|
+
|
|
3
94
|
## 2.0.7-next.14
|
|
4
95
|
|
|
5
96
|
### Patch Changes
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "2.0.7-next.
|
|
3
|
+
"version": "2.0.7-next.22",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -432,9 +432,9 @@
|
|
|
432
432
|
"integrity": "sha512-MDr+UkNNnG/yIlGrfLlrkU+dS4YMo+h8CMQ17TkVQMmt0Jjos33+mftbnAp+PCnOueGg07CukICBlZXfRMWm5A=="
|
|
433
433
|
},
|
|
434
434
|
"@forge/bundler": {
|
|
435
|
-
"version": "1.1.0-next.
|
|
436
|
-
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-1.1.0-next.
|
|
437
|
-
"integrity": "sha512-
|
|
435
|
+
"version": "1.1.0-next.22",
|
|
436
|
+
"resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-1.1.0-next.22.tgz",
|
|
437
|
+
"integrity": "sha512-jFuDgZyVx9wEBiidB01c37SpwRThB2AzawLHnHvVMZLPVqhNMwebKTCtlaovxmXZcpYrpHgcw9yg3ghRuilA4Q==",
|
|
438
438
|
"requires": {
|
|
439
439
|
"@babel/core": "~7.10.2",
|
|
440
440
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
@@ -444,8 +444,8 @@
|
|
|
444
444
|
"@babel/preset-typescript": "^7.6.0",
|
|
445
445
|
"@forge/api": "2.6.0-next.0",
|
|
446
446
|
"@forge/babel-plugin-transform-ui": "1.0.0",
|
|
447
|
-
"@forge/cli-shared": "2.
|
|
448
|
-
"@forge/lint": "2.0.0-next.
|
|
447
|
+
"@forge/cli-shared": "2.2.0-next.19",
|
|
448
|
+
"@forge/lint": "2.0.0-next.21",
|
|
449
449
|
"babel-loader": "^8.0.6",
|
|
450
450
|
"chalk": "^2.4.2",
|
|
451
451
|
"memfs": "^2.17.1",
|
|
@@ -460,11 +460,11 @@
|
|
|
460
460
|
}
|
|
461
461
|
},
|
|
462
462
|
"@forge/cli-shared": {
|
|
463
|
-
"version": "2.
|
|
464
|
-
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-2.
|
|
465
|
-
"integrity": "sha512-
|
|
463
|
+
"version": "2.2.0-next.19",
|
|
464
|
+
"resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-2.2.0-next.19.tgz",
|
|
465
|
+
"integrity": "sha512-TtbT9cXLvmwvW8AZ1I01i20O77VXQQO1cJWFXLRDHIZ0Xe3GMZ3vcIOqz6X5+X07aBeyZpQHodWaZLxIJDhnRA==",
|
|
466
466
|
"requires": {
|
|
467
|
-
"@forge/manifest": "2.6.0-next.
|
|
467
|
+
"@forge/manifest": "2.6.0-next.18",
|
|
468
468
|
"@forge/util": "1.0.1",
|
|
469
469
|
"array.prototype.flatmap": "^1.2.3",
|
|
470
470
|
"case": "^1.6.2",
|
|
@@ -494,9 +494,9 @@
|
|
|
494
494
|
}
|
|
495
495
|
},
|
|
496
496
|
"@forge/csp": {
|
|
497
|
-
"version": "1.
|
|
498
|
-
"resolved": "https://registry.npmjs.org/@forge/csp/-/csp-1.
|
|
499
|
-
"integrity": "sha512-
|
|
497
|
+
"version": "1.9.0-next.1",
|
|
498
|
+
"resolved": "https://registry.npmjs.org/@forge/csp/-/csp-1.9.0-next.1.tgz",
|
|
499
|
+
"integrity": "sha512-ihfIDBMYsZfEJQADXcVxT8h0OhZ2dk6Fhr67jZABpuFZnwAd3VhuArSJI5WRDr5B8bqe1sWESz1zKYDnXQrLHw==",
|
|
500
500
|
"requires": {
|
|
501
501
|
"cheerio": "^0.22.0",
|
|
502
502
|
"content-security-policy-parser": "^0.3.0",
|
|
@@ -504,13 +504,13 @@
|
|
|
504
504
|
}
|
|
505
505
|
},
|
|
506
506
|
"@forge/lint": {
|
|
507
|
-
"version": "2.0.0-next.
|
|
508
|
-
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-2.0.0-next.
|
|
509
|
-
"integrity": "sha512-
|
|
507
|
+
"version": "2.0.0-next.21",
|
|
508
|
+
"resolved": "https://registry.npmjs.org/@forge/lint/-/lint-2.0.0-next.21.tgz",
|
|
509
|
+
"integrity": "sha512-hReiWewsUlM1q6CekGwGhXIGQIrEVzvWN9GQkM7Fv/3UpeXQRCgvNy06xX+AdGxuPQks1d9BtI4r6Ubols9JTA==",
|
|
510
510
|
"requires": {
|
|
511
|
-
"@forge/cli-shared": "2.
|
|
512
|
-
"@forge/csp": "1.
|
|
513
|
-
"@forge/manifest": "2.6.0-next.
|
|
511
|
+
"@forge/cli-shared": "2.2.0-next.19",
|
|
512
|
+
"@forge/csp": "1.9.0-next.1",
|
|
513
|
+
"@forge/manifest": "2.6.0-next.18",
|
|
514
514
|
"@typescript-eslint/typescript-estree": "^3.5.0",
|
|
515
515
|
"atlassian-openapi": "^1.0.13",
|
|
516
516
|
"cross-spawn": "^7.0.1",
|
|
@@ -518,9 +518,9 @@
|
|
|
518
518
|
}
|
|
519
519
|
},
|
|
520
520
|
"@forge/manifest": {
|
|
521
|
-
"version": "2.6.0-next.
|
|
522
|
-
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-2.6.0-next.
|
|
523
|
-
"integrity": "sha512-
|
|
521
|
+
"version": "2.6.0-next.18",
|
|
522
|
+
"resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-2.6.0-next.18.tgz",
|
|
523
|
+
"integrity": "sha512-YjE29TbDikvIp3cyZndNHousFhz8OC6k8ju4KQNHUbt6vfqPAImd+TW89QsUQ794DG+Vva8p4z7pvJfYYMo9MQ==",
|
|
524
524
|
"requires": {
|
|
525
525
|
"@forge/util": "1.0.1",
|
|
526
526
|
"ajv": "^6.12.5",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependency-injection.d.ts","sourceRoot":"","sources":["../../src/command-line/dependency-injection.ts"],"names":[],"mappings":"AAEA,OAAO,EAWL,UAAU,EACV,aAAa,
|
|
1
|
+
{"version":3,"file":"dependency-injection.d.ts","sourceRoot":"","sources":["../../src/command-line/dependency-injection.ts"],"names":[],"mappings":"AAEA,OAAO,EAWL,UAAU,EACV,aAAa,EAEb,UAAU,EAGV,gBAAgB,EAYhB,YAAY,EACZ,aAAa,EAOb,kBAAkB,EAElB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,EAML,0BAA0B,EAG3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,gCAAgC,EAAE,MAAM,sDAAsD,CAAC;AAExG,OAAO,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AACtG,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAIlG,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAI3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAIrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAQtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAIzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAG3E,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAWlE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,eAAO,MAAM,eAAe,eAAsB,UAAU,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwOvE,CAAC;AAGF,aAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;AAC3D,oBAAY,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC"}
|
|
@@ -87,10 +87,11 @@ exports.getDependencies = async (cliDetails) => {
|
|
|
87
87
|
const loginCommand = new cli_shared_1.LoginCommand(createGraphQLClient, tokenStore, ui);
|
|
88
88
|
const logoutCommand = new cli_shared_1.LogoutCommand(tokenStore);
|
|
89
89
|
const downloader = new cli_shared_1.BitbucketTemplateDownloader();
|
|
90
|
-
const extractor = new cli_shared_1.
|
|
90
|
+
const extractor = new cli_shared_1.ZipTemplateExtractor(zipAccessor);
|
|
91
|
+
const lister = new cli_shared_1.BitbucketTemplateLister();
|
|
91
92
|
const createAppGraphQLClient = new cli_shared_1.CreateAppGraphQLClient(graphQLClient);
|
|
92
93
|
const registerAppCommand = new cli_shared_1.RegisterAppCommand(createAppGraphQLClient, appConfigWriter, ui);
|
|
93
|
-
const templater = new cli_shared_1.
|
|
94
|
+
const templater = new cli_shared_1.ComposableTemplater(downloader, extractor, lister, ui);
|
|
94
95
|
const npmInstaller = new cli_shared_1.NpmInstaller(ui);
|
|
95
96
|
const createAppCommand = new cli_shared_1.CreateAppCommand(templater, registerAppCommand, npmInstaller);
|
|
96
97
|
const environmentVariablesClient = new graphql_client_1.GraphqlClient(graphQLClient);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli",
|
|
3
|
-
"version": "2.0.7-next.
|
|
3
|
+
"version": "2.0.7-next.22",
|
|
4
4
|
"description": "A command line interface for managing Atlassian-hosted apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"postinstall": "node -e \"process.exitCode = fs.existsSync('./out/bin/postinstall.js')\" || node ./out/bin/postinstall.js"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@forge/bundler": "1.1.0-next.
|
|
22
|
-
"@forge/cli-shared": "2.
|
|
23
|
-
"@forge/csp": "^1.
|
|
24
|
-
"@forge/lint": "2.0.0-next.
|
|
25
|
-
"@forge/manifest": "2.6.0-next.
|
|
21
|
+
"@forge/bundler": "1.1.0-next.22",
|
|
22
|
+
"@forge/cli-shared": "2.2.0-next.19",
|
|
23
|
+
"@forge/csp": "^1.9.0-next.1",
|
|
24
|
+
"@forge/lint": "2.0.0-next.21",
|
|
25
|
+
"@forge/manifest": "2.6.0-next.18",
|
|
26
26
|
"@forge/util": "1.0.1",
|
|
27
27
|
"ajv": "^6.12.5",
|
|
28
28
|
"archiver": "^5.2.0",
|