@forge/cli 6.9.2-next.2 → 6.10.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,5 +1,90 @@
1
1
  # @forge/cli
2
2
 
3
+ ## 6.10.0-next.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 96f9f6d8: Handle URL and options passed together to HTTP polyfill
8
+ - Updated dependencies [96f9f6d8]
9
+ - @forge/bundler@4.7.0-next.9
10
+ - @forge/manifest@4.12.0-next.4
11
+ - @forge/runtime@4.3.4-next.0
12
+ - @forge/tunnel@3.4.0-next.10
13
+ - @forge/cli-shared@3.11.2-next.5
14
+ - @forge/lint@3.4.0-next.7
15
+
16
+ ## 6.10.0-next.9
17
+
18
+ ### Patch Changes
19
+
20
+ - 4aaab2f2: Added logs for when tunnel fails due to the docker daemon not being started
21
+ - Updated dependencies [4aaab2f2]
22
+ - Updated dependencies [39d5feac]
23
+ - Updated dependencies [f53e1b42]
24
+ - @forge/cli-shared@3.11.2-next.4
25
+ - @forge/lint@3.4.0-next.6
26
+ - @forge/manifest@4.12.0-next.3
27
+ - @forge/bundler@4.7.0-next.8
28
+ - @forge/tunnel@3.4.0-next.9
29
+
30
+ ## 6.10.0-next.8
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [f18ccd86]
35
+ - @forge/egress@1.2.1-next.0
36
+ - @forge/lint@3.4.0-next.5
37
+ - @forge/bundler@4.7.0-next.7
38
+ - @forge/tunnel@3.4.0-next.8
39
+
40
+ ## 6.10.0-next.7
41
+
42
+ ### Minor Changes
43
+
44
+ - f0888c8: Add linting support for CSUIK frontend files
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [f0888c8]
49
+ - Updated dependencies [4ecea90]
50
+ - @forge/bundler@4.7.0-next.6
51
+ - @forge/manifest@4.12.0-next.2
52
+ - @forge/tunnel@3.4.0-next.7
53
+ - @forge/cli-shared@3.11.2-next.3
54
+ - @forge/lint@3.4.0-next.4
55
+
56
+ ## 6.9.2-next.6
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [4d17795]
61
+ - @forge/lint@3.4.0-next.3
62
+ - @forge/bundler@4.6.8-next.5
63
+ - @forge/tunnel@3.4.0-next.6
64
+
65
+ ## 6.9.2-next.5
66
+
67
+ ### Patch Changes
68
+
69
+ - Updated dependencies [dc1c587]
70
+ - @forge/bundler@4.6.8-next.4
71
+ - @forge/tunnel@3.4.0-next.5
72
+
73
+ ## 6.9.2-next.4
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [490911c]
78
+ - @forge/bundler@4.6.8-next.3
79
+ - @forge/tunnel@3.4.0-next.4
80
+
81
+ ## 6.9.2-next.3
82
+
83
+ ### Patch Changes
84
+
85
+ - Updated dependencies [5298560]
86
+ - @forge/tunnel@3.4.0-next.3
87
+
3
88
  ## 6.9.2-next.2
4
89
 
5
90
  ### Patch Changes
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@forge/cli",
3
- "version": "6.9.2-next.2",
3
+ "version": "6.10.0-next.10",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@forge/cli",
9
- "version": "6.9.2-next.2",
9
+ "version": "6.10.0-next.10",
10
10
  "hasInstallScript": true,
11
11
  "license": "UNLICENSED",
12
12
  "dependencies": {
13
- "@forge/bundler": "4.6.8-next.2",
14
- "@forge/cli-shared": "3.11.2-next.2",
15
- "@forge/egress": "1.2.0",
16
- "@forge/lint": "3.3.2-next.2",
17
- "@forge/manifest": "4.12.0-next.1",
18
- "@forge/runtime": "4.3.3",
19
- "@forge/tunnel": "3.3.7-next.2",
13
+ "@forge/bundler": "4.7.0-next.9",
14
+ "@forge/cli-shared": "3.11.2-next.5",
15
+ "@forge/egress": "1.2.1-next.0",
16
+ "@forge/lint": "3.4.0-next.7",
17
+ "@forge/manifest": "4.12.0-next.4",
18
+ "@forge/runtime": "4.3.4-next.0",
19
+ "@forge/tunnel": "3.4.0-next.10",
20
20
  "@forge/util": "1.2.3",
21
21
  "@sentry/node": "^7.29.0",
22
22
  "ajv": "^6.12.6",
@@ -64,7 +64,7 @@
64
64
  "@types/js-yaml": "^3.12.2",
65
65
  "@types/minimatch": "^3.0.5",
66
66
  "@types/mkdirp": "^1.0.2",
67
- "@types/node": "14.18.42",
67
+ "@types/node": "14.18.44",
68
68
  "@types/node-fetch": "^2.5.7",
69
69
  "@types/omelette": "^0.4.2",
70
70
  "@types/semver": "^6.0.1",
@@ -73,6 +73,7 @@
73
73
  "@types/uuid": "^3.4.10",
74
74
  "jest": "^29.1.2",
75
75
  "jest-fixtures": "^0.6.0",
76
+ "jest-when": "^3.5.2",
76
77
  "memfs": "^3.4.1",
77
78
  "sentry-testkit": "^5.0.5",
78
79
  "type-fest": "1.4.0"
@@ -648,18 +649,6 @@
648
649
  "node": ">=10.0.0"
649
650
  }
650
651
  },
651
- "node_modules/@forge/api": {
652
- "version": "2.15.2",
653
- "resolved": "https://registry.npmjs.org/@forge/api/-/api-2.15.2.tgz",
654
- "integrity": "sha512-y4/owmhilMCHiKZpunBKeX6sDXmENQs7EuWEaxvvo+rZ9bbeLqNv26qK0XnMFw6m8h6mocrvtGZU5y5ssVvGcg==",
655
- "dependencies": {
656
- "@forge/auth": "0.0.1",
657
- "@forge/egress": "1.2.0",
658
- "@forge/storage": "1.5.1",
659
- "@types/node-fetch": "^2.5.7",
660
- "node-fetch": "2.6.7"
661
- }
662
- },
663
652
  "node_modules/@forge/auth": {
664
653
  "version": "0.0.1",
665
654
  "resolved": "https://registry.npmjs.org/@forge/auth/-/auth-0.0.1.tgz",
@@ -679,9 +668,9 @@
679
668
  "integrity": "sha512-n2eXc/shPwx0ahD3NNfsmeiFoBCukeglt2htePaNnJBDt0VpC6R4Njsjc/wnL5OMgrGl5/GXzN+mymngXrw9qQ=="
680
669
  },
681
670
  "node_modules/@forge/bundler": {
682
- "version": "4.6.8-next.2",
683
- "resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.6.8-next.2.tgz",
684
- "integrity": "sha512-ZwAohjHyuIwN5RHAqObw8adw1KsB0Jdf/KP/zBiJYBe1x8GkomCOOq6DFU5Hgt8UhppOcbpBPy1V+4788XJZJQ==",
671
+ "version": "4.7.0-next.9",
672
+ "resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.7.0-next.9.tgz",
673
+ "integrity": "sha512-g9Nik/K4l8b5aj923OoLpB0agXTQAuN9FGv1dEQew4mW1qtnC4aVrVP4/A6v3ul2FD/AutsaOQbHl8FCCAU6RQ==",
685
674
  "dependencies": {
686
675
  "@babel/core": "^7.16.7",
687
676
  "@babel/plugin-proposal-class-properties": "^7.16.7",
@@ -689,11 +678,11 @@
689
678
  "@babel/plugin-proposal-optional-chaining": "^7.16.7",
690
679
  "@babel/plugin-transform-react-jsx": "^7.16.7",
691
680
  "@babel/preset-typescript": "^7.16.7",
692
- "@forge/api": "2.15.2",
681
+ "@forge/api": "2.15.3-next.1",
693
682
  "@forge/babel-plugin-transform-ui": "1.1.2",
694
- "@forge/cli-shared": "3.11.2-next.2",
695
- "@forge/lint": "3.3.2-next.2",
696
- "@forge/runtime": "4.3.3",
683
+ "@forge/cli-shared": "3.11.2-next.5",
684
+ "@forge/lint": "3.4.0-next.7",
685
+ "@forge/runtime": "4.3.4-next.0",
697
686
  "@forge/util": "1.2.3",
698
687
  "assert": "^1.1.1",
699
688
  "babel-loader": "^8.2.3",
@@ -728,12 +717,29 @@
728
717
  "node": ">=12.13.1"
729
718
  }
730
719
  },
720
+ "node_modules/@forge/bundler/node_modules/@forge/api": {
721
+ "version": "2.15.3-next.1",
722
+ "resolved": "https://registry.npmjs.org/@forge/api/-/api-2.15.3-next.1.tgz",
723
+ "integrity": "sha512-F1FUpqrSvzBNBvo9RLCcR6dx1dPC3CEbTrtzEOwiYHAyMBagh5NljTGlaVdfkpDr1Hwnv5I3xgwxfANTWg9pBw==",
724
+ "dependencies": {
725
+ "@forge/auth": "0.0.1",
726
+ "@forge/egress": "1.2.1-next.0",
727
+ "@forge/storage": "1.5.2-next.0",
728
+ "@types/node-fetch": "^2.5.7",
729
+ "node-fetch": "2.6.7"
730
+ }
731
+ },
732
+ "node_modules/@forge/bundler/node_modules/@forge/storage": {
733
+ "version": "1.5.2-next.0",
734
+ "resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.2-next.0.tgz",
735
+ "integrity": "sha512-7uLi+NPVl9rUDodnKCFSdpfbyEUHKVxkSl1L4QllXOdBTBu4mUIBOe1Haj27FWNsf+OWscB9BmVJ+fNxQvM9iQ=="
736
+ },
731
737
  "node_modules/@forge/cli-shared": {
732
- "version": "3.11.2-next.2",
733
- "resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.11.2-next.2.tgz",
734
- "integrity": "sha512-4CyXxVPvJKvA6qJBwfolWsTDijWRWwlcv4/E9bW5WoB/5pGNUbbq424Gxnj8RiLqt9lNc3s5vdmU1GBAGkFoXg==",
738
+ "version": "3.11.2-next.5",
739
+ "resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.11.2-next.5.tgz",
740
+ "integrity": "sha512-pfZa7w9g7ljucb97F2TKQTLfhKEPcdR2jiE2Erzefn/Z64b+533y+tDH9+Q2sHJj3M0eTsZvmiHv5/vhXNQxlA==",
735
741
  "dependencies": {
736
- "@forge/manifest": "4.12.0-next.1",
742
+ "@forge/manifest": "4.12.0-next.4",
737
743
  "@forge/util": "1.2.3",
738
744
  "@sentry/node": "^7.29.0",
739
745
  "array.prototype.flatmap": "^1.2.3",
@@ -776,21 +782,21 @@
776
782
  }
777
783
  },
778
784
  "node_modules/@forge/egress": {
779
- "version": "1.2.0",
780
- "resolved": "https://registry.npmjs.org/@forge/egress/-/egress-1.2.0.tgz",
781
- "integrity": "sha512-2rYfJnCwp3cIfdYvY+40DHNZXTYq1WafLDoJhkKt4cyVDSER2Tl5MFsLu1M6LbN0YGXyyMHDZ9GhFuYqS+3HJg==",
785
+ "version": "1.2.1-next.0",
786
+ "resolved": "https://registry.npmjs.org/@forge/egress/-/egress-1.2.1-next.0.tgz",
787
+ "integrity": "sha512-q8AaT17+C3XoDehg7PVY8ChJdtHvkRDlUITTt9J2M/l6AOddv7g2vUM9mAbQbiF9DHfp5Yat2pdBG7teHeSERQ==",
782
788
  "dependencies": {
783
789
  "minimatch": "^5.1.0"
784
790
  }
785
791
  },
786
792
  "node_modules/@forge/lint": {
787
- "version": "3.3.2-next.2",
788
- "resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.3.2-next.2.tgz",
789
- "integrity": "sha512-FB6Cs0oftyxPnQk3e/RUau3GAsoxAtsa+x2z1dZ7efVR4N/xaXdkZgJGntupixDyUyU6N+5fUUyfyEvr5n663w==",
793
+ "version": "3.4.0-next.7",
794
+ "resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.4.0-next.7.tgz",
795
+ "integrity": "sha512-gUTdhf+El4Y/57c3SjJ/CdTaQ+B98NmfN2qtP7ajQ0WbqH22XHLVB13o6HQPEReZ7gcfPdjjG6Jjmk43Cs5NGA==",
790
796
  "dependencies": {
791
- "@forge/cli-shared": "3.11.2-next.2",
792
- "@forge/egress": "1.2.0",
793
- "@forge/manifest": "4.12.0-next.1",
797
+ "@forge/cli-shared": "3.11.2-next.5",
798
+ "@forge/egress": "1.2.1-next.0",
799
+ "@forge/manifest": "4.12.0-next.4",
794
800
  "@typescript-eslint/typescript-estree": "^5.40.0",
795
801
  "array.prototype.flatmap": "^1.2.3",
796
802
  "atlassian-openapi": "^1.0.17",
@@ -799,9 +805,9 @@
799
805
  }
800
806
  },
801
807
  "node_modules/@forge/manifest": {
802
- "version": "4.12.0-next.1",
803
- "resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.12.0-next.1.tgz",
804
- "integrity": "sha512-b3aTpBSkBRVrkJvMdUPYy+MSyGWr5Pcic4e+SKg1BwGq1LIVOy6KETP0mAdmUAFK5ipovNY/HJD/ZLpBrOeSbQ==",
808
+ "version": "4.12.0-next.4",
809
+ "resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.12.0-next.4.tgz",
810
+ "integrity": "sha512-DqMBoEBShigBmECIWhjIQlXSb/qTIlUpddoTyGXPdF14r+0EIjb4PxdzgKzD9ll6nR2YwM2wwb/cINTt6AGlbQ==",
805
811
  "dependencies": {
806
812
  "@forge/util": "1.2.3",
807
813
  "ajv": "^6.12.6",
@@ -814,9 +820,9 @@
814
820
  }
815
821
  },
816
822
  "node_modules/@forge/runtime": {
817
- "version": "4.3.3",
818
- "resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.3.3.tgz",
819
- "integrity": "sha512-XS3bw/ll2nxAAlKneD2BjnlZpxznxXgURc+0xQtSApvSEed8ItUMWiEwFLGiMd+gwmijPhuAQYDiP7ma5ZJ0Aw==",
823
+ "version": "4.3.4-next.0",
824
+ "resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.3.4-next.0.tgz",
825
+ "integrity": "sha512-gv2EMfar/pS53t9D63ljCBqnyZnNbQ2dNlJ+lanri/rmhHfhnLRhE4uShXCkkwVwzXDBNHaEGR1Ba8kClm5plQ==",
820
826
  "dependencies": {
821
827
  "@forge/util": "1.2.3",
822
828
  "fp-ts": "^2.0.1",
@@ -832,20 +838,15 @@
832
838
  "node": "^14 || ^16 || ^18"
833
839
  }
834
840
  },
835
- "node_modules/@forge/storage": {
836
- "version": "1.5.1",
837
- "resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.1.tgz",
838
- "integrity": "sha512-Muf3zizR5RFU3efDpC/mYeLa7fSr8zeLC0hW3gxAWHH4T2t6X4WgXbyJxIuaLbSuO/9IAfr90vLqdqTim9MVrA=="
839
- },
840
841
  "node_modules/@forge/tunnel": {
841
- "version": "3.3.7-next.2",
842
- "resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.3.7-next.2.tgz",
843
- "integrity": "sha512-qqgT2XJ07ms7024U8hSxZLmXdXtYF9r4LNSqRcwbpxu1D4fJW+fAtIjsb8yBbifm2l+8IWjzyM9J7qKrrYnNZA==",
842
+ "version": "3.4.0-next.10",
843
+ "resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.4.0-next.10.tgz",
844
+ "integrity": "sha512-ctOPY/uQ/+kkqE7KK9ib6mgtvTccPKziknm0ZM/dyh7eY8sgtk18DArxrW2SuasjIvwvpz0eUdPlJ/ITrNHGEQ==",
844
845
  "dependencies": {
845
- "@forge/bundler": "4.6.8-next.2",
846
- "@forge/cli-shared": "3.11.2-next.2",
846
+ "@forge/bundler": "4.7.0-next.9",
847
+ "@forge/cli-shared": "3.11.2-next.5",
847
848
  "@forge/csp": "2.1.3",
848
- "@forge/runtime": "4.3.3",
849
+ "@forge/runtime": "4.3.4-next.0",
849
850
  "express": "^4.17.1",
850
851
  "express-intercept": "^0.8.10",
851
852
  "http-proxy-middleware": "^1.0.6",
@@ -10067,18 +10068,6 @@
10067
10068
  "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz",
10068
10069
  "integrity": "sha1-HVcr+74Ut3BOC6Dzm3SBW4SHDXA= sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw=="
10069
10070
  },
10070
- "@forge/api": {
10071
- "version": "2.15.2",
10072
- "resolved": "https://registry.npmjs.org/@forge/api/-/api-2.15.2.tgz",
10073
- "integrity": "sha512-y4/owmhilMCHiKZpunBKeX6sDXmENQs7EuWEaxvvo+rZ9bbeLqNv26qK0XnMFw6m8h6mocrvtGZU5y5ssVvGcg==",
10074
- "requires": {
10075
- "@forge/auth": "0.0.1",
10076
- "@forge/egress": "1.2.0",
10077
- "@forge/storage": "1.5.1",
10078
- "@types/node-fetch": "^2.5.7",
10079
- "node-fetch": "2.6.7"
10080
- }
10081
- },
10082
10071
  "@forge/auth": {
10083
10072
  "version": "0.0.1",
10084
10073
  "resolved": "https://registry.npmjs.org/@forge/auth/-/auth-0.0.1.tgz",
@@ -10100,9 +10089,9 @@
10100
10089
  "integrity": "sha512-n2eXc/shPwx0ahD3NNfsmeiFoBCukeglt2htePaNnJBDt0VpC6R4Njsjc/wnL5OMgrGl5/GXzN+mymngXrw9qQ=="
10101
10090
  },
10102
10091
  "@forge/bundler": {
10103
- "version": "4.6.8-next.2",
10104
- "resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.6.8-next.2.tgz",
10105
- "integrity": "sha512-ZwAohjHyuIwN5RHAqObw8adw1KsB0Jdf/KP/zBiJYBe1x8GkomCOOq6DFU5Hgt8UhppOcbpBPy1V+4788XJZJQ==",
10092
+ "version": "4.7.0-next.9",
10093
+ "resolved": "https://registry.npmjs.org/@forge/bundler/-/bundler-4.7.0-next.9.tgz",
10094
+ "integrity": "sha512-g9Nik/K4l8b5aj923OoLpB0agXTQAuN9FGv1dEQew4mW1qtnC4aVrVP4/A6v3ul2FD/AutsaOQbHl8FCCAU6RQ==",
10106
10095
  "requires": {
10107
10096
  "@babel/core": "^7.16.7",
10108
10097
  "@babel/plugin-proposal-class-properties": "^7.16.7",
@@ -10110,11 +10099,11 @@
10110
10099
  "@babel/plugin-proposal-optional-chaining": "^7.16.7",
10111
10100
  "@babel/plugin-transform-react-jsx": "^7.16.7",
10112
10101
  "@babel/preset-typescript": "^7.16.7",
10113
- "@forge/api": "2.15.2",
10102
+ "@forge/api": "2.15.3-next.1",
10114
10103
  "@forge/babel-plugin-transform-ui": "1.1.2",
10115
- "@forge/cli-shared": "3.11.2-next.2",
10116
- "@forge/lint": "3.3.2-next.2",
10117
- "@forge/runtime": "4.3.3",
10104
+ "@forge/cli-shared": "3.11.2-next.5",
10105
+ "@forge/lint": "3.4.0-next.7",
10106
+ "@forge/runtime": "4.3.4-next.0",
10118
10107
  "@forge/util": "1.2.3",
10119
10108
  "assert": "^1.1.1",
10120
10109
  "babel-loader": "^8.2.3",
@@ -10144,14 +10133,33 @@
10144
10133
  "webpack": "5.78.0",
10145
10134
  "webpack-bundle-analyzer": "^4.8.0",
10146
10135
  "whatwg-url": "^7.0.0"
10136
+ },
10137
+ "dependencies": {
10138
+ "@forge/api": {
10139
+ "version": "2.15.3-next.1",
10140
+ "resolved": "https://registry.npmjs.org/@forge/api/-/api-2.15.3-next.1.tgz",
10141
+ "integrity": "sha512-F1FUpqrSvzBNBvo9RLCcR6dx1dPC3CEbTrtzEOwiYHAyMBagh5NljTGlaVdfkpDr1Hwnv5I3xgwxfANTWg9pBw==",
10142
+ "requires": {
10143
+ "@forge/auth": "0.0.1",
10144
+ "@forge/egress": "1.2.1-next.0",
10145
+ "@forge/storage": "1.5.2-next.0",
10146
+ "@types/node-fetch": "^2.5.7",
10147
+ "node-fetch": "2.6.7"
10148
+ }
10149
+ },
10150
+ "@forge/storage": {
10151
+ "version": "1.5.2-next.0",
10152
+ "resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.2-next.0.tgz",
10153
+ "integrity": "sha512-7uLi+NPVl9rUDodnKCFSdpfbyEUHKVxkSl1L4QllXOdBTBu4mUIBOe1Haj27FWNsf+OWscB9BmVJ+fNxQvM9iQ=="
10154
+ }
10147
10155
  }
10148
10156
  },
10149
10157
  "@forge/cli-shared": {
10150
- "version": "3.11.2-next.2",
10151
- "resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.11.2-next.2.tgz",
10152
- "integrity": "sha512-4CyXxVPvJKvA6qJBwfolWsTDijWRWwlcv4/E9bW5WoB/5pGNUbbq424Gxnj8RiLqt9lNc3s5vdmU1GBAGkFoXg==",
10158
+ "version": "3.11.2-next.5",
10159
+ "resolved": "https://registry.npmjs.org/@forge/cli-shared/-/cli-shared-3.11.2-next.5.tgz",
10160
+ "integrity": "sha512-pfZa7w9g7ljucb97F2TKQTLfhKEPcdR2jiE2Erzefn/Z64b+533y+tDH9+Q2sHJj3M0eTsZvmiHv5/vhXNQxlA==",
10153
10161
  "requires": {
10154
- "@forge/manifest": "4.12.0-next.1",
10162
+ "@forge/manifest": "4.12.0-next.4",
10155
10163
  "@forge/util": "1.2.3",
10156
10164
  "@sentry/node": "^7.29.0",
10157
10165
  "array.prototype.flatmap": "^1.2.3",
@@ -10194,21 +10202,21 @@
10194
10202
  }
10195
10203
  },
10196
10204
  "@forge/egress": {
10197
- "version": "1.2.0",
10198
- "resolved": "https://registry.npmjs.org/@forge/egress/-/egress-1.2.0.tgz",
10199
- "integrity": "sha512-2rYfJnCwp3cIfdYvY+40DHNZXTYq1WafLDoJhkKt4cyVDSER2Tl5MFsLu1M6LbN0YGXyyMHDZ9GhFuYqS+3HJg==",
10205
+ "version": "1.2.1-next.0",
10206
+ "resolved": "https://registry.npmjs.org/@forge/egress/-/egress-1.2.1-next.0.tgz",
10207
+ "integrity": "sha512-q8AaT17+C3XoDehg7PVY8ChJdtHvkRDlUITTt9J2M/l6AOddv7g2vUM9mAbQbiF9DHfp5Yat2pdBG7teHeSERQ==",
10200
10208
  "requires": {
10201
10209
  "minimatch": "^5.1.0"
10202
10210
  }
10203
10211
  },
10204
10212
  "@forge/lint": {
10205
- "version": "3.3.2-next.2",
10206
- "resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.3.2-next.2.tgz",
10207
- "integrity": "sha512-FB6Cs0oftyxPnQk3e/RUau3GAsoxAtsa+x2z1dZ7efVR4N/xaXdkZgJGntupixDyUyU6N+5fUUyfyEvr5n663w==",
10213
+ "version": "3.4.0-next.7",
10214
+ "resolved": "https://registry.npmjs.org/@forge/lint/-/lint-3.4.0-next.7.tgz",
10215
+ "integrity": "sha512-gUTdhf+El4Y/57c3SjJ/CdTaQ+B98NmfN2qtP7ajQ0WbqH22XHLVB13o6HQPEReZ7gcfPdjjG6Jjmk43Cs5NGA==",
10208
10216
  "requires": {
10209
- "@forge/cli-shared": "3.11.2-next.2",
10210
- "@forge/egress": "1.2.0",
10211
- "@forge/manifest": "4.12.0-next.1",
10217
+ "@forge/cli-shared": "3.11.2-next.5",
10218
+ "@forge/egress": "1.2.1-next.0",
10219
+ "@forge/manifest": "4.12.0-next.4",
10212
10220
  "@typescript-eslint/typescript-estree": "^5.40.0",
10213
10221
  "array.prototype.flatmap": "^1.2.3",
10214
10222
  "atlassian-openapi": "^1.0.17",
@@ -10217,9 +10225,9 @@
10217
10225
  }
10218
10226
  },
10219
10227
  "@forge/manifest": {
10220
- "version": "4.12.0-next.1",
10221
- "resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.12.0-next.1.tgz",
10222
- "integrity": "sha512-b3aTpBSkBRVrkJvMdUPYy+MSyGWr5Pcic4e+SKg1BwGq1LIVOy6KETP0mAdmUAFK5ipovNY/HJD/ZLpBrOeSbQ==",
10228
+ "version": "4.12.0-next.4",
10229
+ "resolved": "https://registry.npmjs.org/@forge/manifest/-/manifest-4.12.0-next.4.tgz",
10230
+ "integrity": "sha512-DqMBoEBShigBmECIWhjIQlXSb/qTIlUpddoTyGXPdF14r+0EIjb4PxdzgKzD9ll6nR2YwM2wwb/cINTt6AGlbQ==",
10223
10231
  "requires": {
10224
10232
  "@forge/util": "1.2.3",
10225
10233
  "ajv": "^6.12.6",
@@ -10232,9 +10240,9 @@
10232
10240
  }
10233
10241
  },
10234
10242
  "@forge/runtime": {
10235
- "version": "4.3.3",
10236
- "resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.3.3.tgz",
10237
- "integrity": "sha512-XS3bw/ll2nxAAlKneD2BjnlZpxznxXgURc+0xQtSApvSEed8ItUMWiEwFLGiMd+gwmijPhuAQYDiP7ma5ZJ0Aw==",
10243
+ "version": "4.3.4-next.0",
10244
+ "resolved": "https://registry.npmjs.org/@forge/runtime/-/runtime-4.3.4-next.0.tgz",
10245
+ "integrity": "sha512-gv2EMfar/pS53t9D63ljCBqnyZnNbQ2dNlJ+lanri/rmhHfhnLRhE4uShXCkkwVwzXDBNHaEGR1Ba8kClm5plQ==",
10238
10246
  "requires": {
10239
10247
  "@forge/util": "1.2.3",
10240
10248
  "fp-ts": "^2.0.1",
@@ -10247,20 +10255,15 @@
10247
10255
  "ws": "^7.1.0"
10248
10256
  }
10249
10257
  },
10250
- "@forge/storage": {
10251
- "version": "1.5.1",
10252
- "resolved": "https://registry.npmjs.org/@forge/storage/-/storage-1.5.1.tgz",
10253
- "integrity": "sha512-Muf3zizR5RFU3efDpC/mYeLa7fSr8zeLC0hW3gxAWHH4T2t6X4WgXbyJxIuaLbSuO/9IAfr90vLqdqTim9MVrA=="
10254
- },
10255
10258
  "@forge/tunnel": {
10256
- "version": "3.3.7-next.2",
10257
- "resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.3.7-next.2.tgz",
10258
- "integrity": "sha512-qqgT2XJ07ms7024U8hSxZLmXdXtYF9r4LNSqRcwbpxu1D4fJW+fAtIjsb8yBbifm2l+8IWjzyM9J7qKrrYnNZA==",
10259
+ "version": "3.4.0-next.10",
10260
+ "resolved": "https://registry.npmjs.org/@forge/tunnel/-/tunnel-3.4.0-next.10.tgz",
10261
+ "integrity": "sha512-ctOPY/uQ/+kkqE7KK9ib6mgtvTccPKziknm0ZM/dyh7eY8sgtk18DArxrW2SuasjIvwvpz0eUdPlJ/ITrNHGEQ==",
10259
10262
  "requires": {
10260
- "@forge/bundler": "4.6.8-next.2",
10261
- "@forge/cli-shared": "3.11.2-next.2",
10263
+ "@forge/bundler": "4.7.0-next.9",
10264
+ "@forge/cli-shared": "3.11.2-next.5",
10262
10265
  "@forge/csp": "2.1.3",
10263
- "@forge/runtime": "4.3.3",
10266
+ "@forge/runtime": "4.3.4-next.0",
10264
10267
  "express": "^4.17.1",
10265
10268
  "express-intercept": "^0.8.10",
10266
10269
  "http-proxy-middleware": "^1.0.6",
@@ -10,6 +10,7 @@ export declare class TunnelViewError extends UserError {
10
10
  }
11
11
  export declare class TunnelView {
12
12
  private readonly ui;
13
+ private readonly FAILED_DOCKER_CONNECTION_MESSAGE;
13
14
  constructor(ui: CommandLineUI);
14
15
  dockerPreamble(environmentKey?: string): void;
15
16
  getTunnelErrorHandler(exitFn: typeof exitOnError): (err: Error) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"tunnel-view.d.ts","sourceRoot":"","sources":["../../../src/command-line/view/tunnel-view.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EAGb,WAAW,EAIX,SAAS,EACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,qBAAa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,qBAAa,UAAU;IACT,OAAO,CAAC,QAAQ,CAAC,EAAE;gBAAF,EAAE,EAAE,aAAa;IAEvC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI;IAa7C,qBAAqB,CAAC,MAAM,EAAE,OAAO,WAAW,GAAG,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC;IAQhF,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,MAAM;IA+BxE,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;IAQpG,sBAAsB,CAC3B,yBAAyB,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,EACnD,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,yBAAyB,GAC3D,OAAO,CAAC,IAAI,CAAC;CAyCjB"}
1
+ {"version":3,"file":"tunnel-view.d.ts","sourceRoot":"","sources":["../../../src/command-line/view/tunnel-view.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EAGb,WAAW,EAIX,SAAS,EACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,qBAAa,eAAgB,SAAQ,SAAS;CAAG;AAEjD,qBAAa,UAAU;IAET,OAAO,CAAC,QAAQ,CAAC,EAAE;IAD/B,OAAO,CAAC,QAAQ,CAAC,gCAAgC,CAAyC;gBAC7D,EAAE,EAAE,aAAa;IAEvC,cAAc,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI;IAa7C,qBAAqB,CAAC,MAAM,EAAE,OAAO,WAAW,GAAG,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC;IAQhF,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,MAAM;IA+BxE,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;IAQpG,sBAAsB,CAC3B,yBAAyB,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,EACnD,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,yBAAyB,GAC3D,OAAO,CAAC,IAAI,CAAC;CA4CjB"}
@@ -10,6 +10,7 @@ exports.TunnelViewError = TunnelViewError;
10
10
  class TunnelView {
11
11
  constructor(ui) {
12
12
  this.ui = ui;
13
+ this.FAILED_DOCKER_CONNECTION_MESSAGE = 'Cannot connect to the Docker daemon';
13
14
  }
14
15
  dockerPreamble(environmentKey) {
15
16
  this.ui.info(cli_shared_1.Text.tunnel.preamble);
@@ -79,6 +80,9 @@ class TunnelView {
79
80
  spinner.prefixText = cli_shared_1.Text.tunnel.error.pullDocker;
80
81
  spinner.stopAndPersist();
81
82
  this.ui.warn(cli_shared_1.Text.tunnel.error.dockerPullFailed(''));
83
+ if (data.toString().startsWith(this.FAILED_DOCKER_CONNECTION_MESSAGE)) {
84
+ this.ui.warn(cli_shared_1.Text.tunnel.error.dockerDaemonNotRunning(data.toString(), this.ui.debugEnabled));
85
+ }
82
86
  this.ui.emptyLine();
83
87
  imageDownloadChildProcess.removeAllListeners();
84
88
  onFailure();
@@ -1 +1 @@
1
- {"version":3,"file":"lint-service.d.ts","sourceRoot":"","sources":["../../src/service/lint-service.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAsB,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAEL,YAAY,EACZ,UAAU,EAGV,UAAU,EACV,YAAY,EACb,MAAM,aAAa,CAAC;AAErB,UAAU,WAAW;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,UAAU,SAAS;IACjB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B;AAED,eAAO,MAAM,iBAAiB,UAAU,CAAC;AAEzC,qBAAa,WAAW;IACV,OAAO,CAAC,QAAQ,CAAC,UAAU;IAAc,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAzD,UAAU,EAAE,UAAU,EAAmB,gBAAgB,EAAE,gBAAgB;IAE3F,GAAG,CACd,WAAW,EAAE,MAAM,EACnB,EAAE,GAAG,EAAE,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,EAClB,SAAS,SAAoB,EAC7B,YAAY,0hBAAO,GAClB,OAAO,CAAC,SAAS,CAAC;YAYP,GAAG;IASV,YAAY,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,YAAY;IAI5D,OAAO,CAAC,0BAA0B;IAI3B,YAAY,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE;CAOzD"}
1
+ {"version":3,"file":"lint-service.d.ts","sourceRoot":"","sources":["../../src/service/lint-service.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAsB,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAEL,YAAY,EACZ,UAAU,EAGV,UAAU,EACV,YAAY,EACb,MAAM,aAAa,CAAC;AAGrB,UAAU,WAAW;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,UAAU,SAAS;IACjB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B;AAED,eAAO,MAAM,iBAAiB,UAAU,CAAC;AACzC,qBAAa,WAAW;IACV,OAAO,CAAC,QAAQ,CAAC,UAAU;IAAc,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAAzD,UAAU,EAAE,UAAU,EAAmB,gBAAgB,EAAE,gBAAgB;IAE3F,GAAG,CACd,WAAW,EAAE,MAAM,EACnB,EAAE,GAAG,EAAE,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,EAClB,SAAS,SAAoB,EAC7B,YAAY,0hBAAO,GAClB,OAAO,CAAC,SAAS,CAAC;YA4BP,GAAG;IASV,YAAY,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,YAAY;IAI5D,OAAO,CAAC,0BAA0B;IAI3B,YAAY,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE;CAOzD"}
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LintService = exports.DEFAULT_DIRECTORY = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  const cli_shared_1 = require("@forge/cli-shared");
5
6
  const lint_1 = require("@forge/lint");
7
+ const path_1 = tslib_1.__importDefault(require("path"));
6
8
  exports.DEFAULT_DIRECTORY = './src';
7
9
  class LintService {
8
10
  constructor(configFile, fileSystemReader) {
@@ -10,9 +12,15 @@ class LintService {
10
12
  this.fileSystemReader = fileSystemReader;
11
13
  }
12
14
  async run(environment, { fix }, logger, directory = exports.DEFAULT_DIRECTORY, lintFunction = lint_1.lint) {
15
+ const csuikResources = await this.configFile.getResources(['nativeUI']);
16
+ const csuikDirectories = csuikResources.map((resource) => path_1.default.dirname(resource.path));
13
17
  const exclude = [...(await (0, cli_shared_1.listGitIgnoreFiles)(this.fileSystemReader)), '.git', 'node_modules'];
14
- const filesToLint = await this.fileSystemReader.recursiveReadDir(directory, exclude);
15
- const lintResults = await lintFunction(filesToLint, await this.configFile.readConfig(), environment, logger);
18
+ const [filesToLint, ...csuikFilesByDirectory] = await Promise.all([
19
+ this.fileSystemReader.recursiveReadDir(directory, exclude),
20
+ ...csuikDirectories.map((directory) => this.fileSystemReader.recursiveReadDir(directory, exclude))
21
+ ]);
22
+ const csuikFilesToLint = csuikFilesByDirectory.reduce((allFiles, directoryFiles) => allFiles.concat(directoryFiles), []);
23
+ const lintResults = await lintFunction([...filesToLint, ...csuikFilesToLint], await this.configFile.readConfig(), environment, logger);
16
24
  if (fix) {
17
25
  return { lintResults, fixResults: await this.fix(lintResults) };
18
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli",
3
- "version": "6.9.2-next.2",
3
+ "version": "6.10.0-next.10",
4
4
  "description": "A command line interface for managing Atlassian-hosted apps",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -18,13 +18,13 @@
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": "4.6.8-next.2",
22
- "@forge/cli-shared": "3.11.2-next.2",
23
- "@forge/egress": "1.2.0",
24
- "@forge/lint": "3.3.2-next.2",
25
- "@forge/manifest": "4.12.0-next.1",
26
- "@forge/runtime": "4.3.3",
27
- "@forge/tunnel": "3.3.7-next.2",
21
+ "@forge/bundler": "4.7.0-next.9",
22
+ "@forge/cli-shared": "3.11.2-next.5",
23
+ "@forge/egress": "1.2.1-next.0",
24
+ "@forge/lint": "3.4.0-next.7",
25
+ "@forge/manifest": "4.12.0-next.4",
26
+ "@forge/runtime": "4.3.4-next.0",
27
+ "@forge/tunnel": "3.4.0-next.10",
28
28
  "@forge/util": "1.2.3",
29
29
  "@sentry/node": "^7.29.0",
30
30
  "ajv": "^6.12.6",
@@ -69,7 +69,7 @@
69
69
  "@types/js-yaml": "^3.12.2",
70
70
  "@types/minimatch": "^3.0.5",
71
71
  "@types/mkdirp": "^1.0.2",
72
- "@types/node": "14.18.42",
72
+ "@types/node": "14.18.44",
73
73
  "@types/node-fetch": "^2.5.7",
74
74
  "@types/omelette": "^0.4.2",
75
75
  "@types/semver": "^6.0.1",
@@ -78,6 +78,7 @@
78
78
  "@types/uuid": "^3.4.10",
79
79
  "jest": "^29.1.2",
80
80
  "jest-fixtures": "^0.6.0",
81
+ "jest-when": "^3.5.2",
81
82
  "memfs": "^3.4.1",
82
83
  "sentry-testkit": "^5.0.5",
83
84
  "type-fest": "1.4.0"