@atlaspack/cli 2.13.7-canary.9 → 2.13.7-canary.90

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,161 @@
1
1
  # @atlaspack/cli
2
2
 
3
+ ## 2.13.17
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`ef3d622`](https://github.com/atlassian-labs/atlaspack/commit/ef3d6228f4e006702198a19c61e051d194d325cb), [`6b1f5ff`](https://github.com/atlassian-labs/atlaspack/commit/6b1f5fff68d7131fae075e14f4d2c02606dc6058), [`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`c8f7df4`](https://github.com/atlassian-labs/atlaspack/commit/c8f7df4eadfc4718040fceb065dae6e96a4051e7), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
8
+ - @atlaspack/logger@2.14.11
9
+ - @atlaspack/core@2.18.4
10
+ - @atlaspack/feature-flags@2.18.1
11
+ - @atlaspack/fs@2.15.8
12
+ - @atlaspack/package-manager@2.14.13
13
+ - @atlaspack/utils@2.15.1
14
+ - @atlaspack/config-default@3.1.15
15
+ - @atlaspack/reporter-cli@2.15.9
16
+ - @atlaspack/reporter-dev-server@2.14.13
17
+ - @atlaspack/reporter-tracer@2.14.13
18
+
19
+ ## 2.13.16
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75), [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2), [`e39c6cf`](https://github.com/atlassian-labs/atlaspack/commit/e39c6cf05f7e95ce5420dbcea66f401b1cbd397c)]:
24
+ - @atlaspack/feature-flags@2.18.0
25
+ - @atlaspack/utils@2.15.0
26
+ - @atlaspack/core@2.18.3
27
+ - @atlaspack/fs@2.15.7
28
+ - @atlaspack/reporter-cli@2.15.8
29
+ - @atlaspack/config-default@3.1.14
30
+ - @atlaspack/package-manager@2.14.12
31
+ - @atlaspack/reporter-dev-server@2.14.12
32
+ - @atlaspack/reporter-tracer@2.14.12
33
+
34
+ ## 2.13.15
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
39
+ - @atlaspack/feature-flags@2.17.0
40
+ - @atlaspack/config-default@3.1.13
41
+ - @atlaspack/core@2.18.2
42
+ - @atlaspack/fs@2.15.6
43
+ - @atlaspack/utils@2.14.11
44
+ - @atlaspack/reporter-cli@2.15.7
45
+ - @atlaspack/package-manager@2.14.11
46
+ - @atlaspack/reporter-dev-server@2.14.11
47
+ - @atlaspack/reporter-tracer@2.14.11
48
+
49
+ ## 2.13.14
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies []:
54
+ - @atlaspack/config-default@3.1.12
55
+
56
+ ## 2.13.13
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies []:
61
+ - @atlaspack/config-default@3.1.11
62
+ - @atlaspack/core@2.18.1
63
+
64
+ ## 2.13.12
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [[`0999fb7`](https://github.com/atlassian-labs/atlaspack/commit/0999fb78da519a6c7582d212883e515fcf6c1252), [`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b), [`1e32d4e`](https://github.com/atlassian-labs/atlaspack/commit/1e32d4eae6b3af3968e8a0ef97d35b4347fd4196), [`0b2f6f5`](https://github.com/atlassian-labs/atlaspack/commit/0b2f6f55794d3ff6e2f5a41f963e7e5dd8ad9f8d), [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca)]:
69
+ - @atlaspack/fs@2.15.5
70
+ - @atlaspack/core@2.18.0
71
+ - @atlaspack/package-manager@2.14.10
72
+ - @atlaspack/reporter-cli@2.15.6
73
+ - @atlaspack/reporter-dev-server@2.14.10
74
+ - @atlaspack/config-default@3.1.10
75
+ - @atlaspack/logger@2.14.10
76
+ - @atlaspack/utils@2.14.10
77
+ - @atlaspack/reporter-tracer@2.14.10
78
+
79
+ ## 2.13.11
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies [[`1940859`](https://github.com/atlassian-labs/atlaspack/commit/194085942f0e86532e9d039fc3f8039badce4594), [`15b6155`](https://github.com/atlassian-labs/atlaspack/commit/15b61556e9114203ebbc9de94b864118ca764598), [`e4d966c`](https://github.com/atlassian-labs/atlaspack/commit/e4d966c3c9c4292c5013372ae65b10d19d4bacc6), [`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`d04de26`](https://github.com/atlassian-labs/atlaspack/commit/d04de26af684d7abfba5091fbe3df16a12cd0ebc), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
84
+ - @atlaspack/core@2.17.4
85
+ - @atlaspack/fs@2.15.4
86
+ - @atlaspack/feature-flags@2.16.0
87
+ - @atlaspack/logger@2.14.9
88
+ - @atlaspack/utils@2.14.9
89
+ - @atlaspack/package-manager@2.14.9
90
+ - @atlaspack/reporter-cli@2.15.5
91
+ - @atlaspack/config-default@3.1.9
92
+ - @atlaspack/reporter-dev-server@2.14.9
93
+ - @atlaspack/reporter-tracer@2.14.9
94
+
95
+ ## 2.13.10
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b), [`3a3e8e7`](https://github.com/atlassian-labs/atlaspack/commit/3a3e8e7be9e2dffd7304436d792f0f595d59665a), [`1ab0a27`](https://github.com/atlassian-labs/atlaspack/commit/1ab0a275aeca40350415e2b03e7440d1dddc6228), [`b8a4ae8`](https://github.com/atlassian-labs/atlaspack/commit/b8a4ae8f83dc0a83d8b145c5f729936ce52080a3), [`15c1e3c`](https://github.com/atlassian-labs/atlaspack/commit/15c1e3c0628bae4c768d76cf3afc53d6d0d7ce7c)]:
100
+ - @atlaspack/core@2.17.3
101
+ - @atlaspack/feature-flags@2.15.1
102
+ - @atlaspack/fs@2.15.3
103
+ - @atlaspack/utils@2.14.8
104
+ - @atlaspack/reporter-cli@2.15.4
105
+ - @atlaspack/package-manager@2.14.8
106
+ - @atlaspack/logger@2.14.8
107
+ - @atlaspack/config-default@3.1.8
108
+ - @atlaspack/reporter-dev-server@2.14.8
109
+ - @atlaspack/reporter-tracer@2.14.8
110
+
111
+ ## 2.13.9
112
+
113
+ ### Patch Changes
114
+
115
+ - Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929), [`556d6ab`](https://github.com/atlassian-labs/atlaspack/commit/556d6ab8ede759fa7f37fcd3f4da336ef1c55e8f)]:
116
+ - @atlaspack/feature-flags@2.15.0
117
+ - @atlaspack/logger@2.14.7
118
+ - @atlaspack/core@2.17.2
119
+ - @atlaspack/fs@2.15.2
120
+ - @atlaspack/utils@2.14.7
121
+ - @atlaspack/reporter-cli@2.15.3
122
+ - @atlaspack/config-default@3.1.7
123
+ - @atlaspack/package-manager@2.14.7
124
+ - @atlaspack/reporter-dev-server@2.14.7
125
+ - @atlaspack/reporter-tracer@2.14.7
126
+
127
+ ## 2.13.8
128
+
129
+ ### Patch Changes
130
+
131
+ - Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
132
+ - @atlaspack/feature-flags@2.14.4
133
+ - @atlaspack/core@2.17.1
134
+ - @atlaspack/fs@2.15.1
135
+ - @atlaspack/utils@2.14.6
136
+ - @atlaspack/reporter-cli@2.15.2
137
+ - @atlaspack/logger@2.14.6
138
+ - @atlaspack/config-default@3.1.6
139
+ - @atlaspack/package-manager@2.14.6
140
+ - @atlaspack/reporter-dev-server@2.14.6
141
+ - @atlaspack/reporter-tracer@2.14.6
142
+
143
+ ## 2.13.7
144
+
145
+ ### Patch Changes
146
+
147
+ - Updated dependencies [[`2e90c9b`](https://github.com/atlassian-labs/atlaspack/commit/2e90c9bd07d7eb52645f9d84ccbb7f82685cbc8c), [`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7), [`e2ba0f6`](https://github.com/atlassian-labs/atlaspack/commit/e2ba0f69702656f3d1ce95ab1454e35062b13b39), [`4c17141`](https://github.com/atlassian-labs/atlaspack/commit/4c1714103dab2aa9039c488f381551d2b65d1d01)]:
148
+ - @atlaspack/core@2.17.0
149
+ - @atlaspack/feature-flags@2.14.3
150
+ - @atlaspack/fs@2.15.0
151
+ - @atlaspack/utils@2.14.5
152
+ - @atlaspack/reporter-cli@2.15.1
153
+ - @atlaspack/logger@2.14.5
154
+ - @atlaspack/config-default@3.1.5
155
+ - @atlaspack/package-manager@2.14.5
156
+ - @atlaspack/reporter-dev-server@2.14.5
157
+ - @atlaspack/reporter-tracer@2.14.5
158
+
3
159
  ## 2.13.6
4
160
 
5
161
  ### Patch Changes
@@ -92,5 +92,19 @@ function makeDebugCommand() {
92
92
  }
93
93
  });
94
94
  (0, _applyOptions.applyOptions)(buildAssetGraph, _options.commonOptions);
95
+ const compactCache = debug.command('compact-cache [input...]').description('Compact the cache').action(async (args, opts, command) => {
96
+ const atlaspack = await getInstance(args, opts, command);
97
+ try {
98
+ await atlaspack.unstable_compactCache();
99
+ _logger().default.info({
100
+ message: 'Done compacting cache',
101
+ origin: '@atlaspack/cli'
102
+ });
103
+ process.exit(0);
104
+ } catch (err) {
105
+ (0, _handleUncaughtException.handleUncaughtException)(err);
106
+ }
107
+ });
108
+ (0, _applyOptions.applyOptions)(compactCache, _options.commonOptions);
95
109
  return debug;
96
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/cli",
3
- "version": "2.13.7-canary.9+4c1714103",
3
+ "version": "2.13.7-canary.90+d1b07988c",
4
4
  "description": "Blazing fast, zero configuration web application bundler",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "type": "commonjs",
@@ -24,18 +24,18 @@
24
24
  "node": ">= 16.0.0"
25
25
  },
26
26
  "dependencies": {
27
- "@atlaspack/config-default": "3.1.5-canary.9+4c1714103",
28
- "@atlaspack/core": "2.16.2-canary.9+4c1714103",
29
- "@atlaspack/diagnostic": "2.14.1-canary.77+4c1714103",
30
- "@atlaspack/events": "2.14.1-canary.77+4c1714103",
31
- "@atlaspack/feature-flags": "2.14.1-canary.77+4c1714103",
32
- "@atlaspack/fs": "2.14.5-canary.9+4c1714103",
33
- "@atlaspack/logger": "2.14.5-canary.9+4c1714103",
34
- "@atlaspack/package-manager": "2.14.5-canary.9+4c1714103",
35
- "@atlaspack/reporter-cli": "2.15.1-canary.9+4c1714103",
36
- "@atlaspack/reporter-dev-server": "2.14.5-canary.9+4c1714103",
37
- "@atlaspack/reporter-tracer": "2.14.5-canary.9+4c1714103",
38
- "@atlaspack/utils": "2.14.5-canary.9+4c1714103",
27
+ "@atlaspack/config-default": "3.1.5-canary.90+d1b07988c",
28
+ "@atlaspack/core": "2.16.2-canary.90+d1b07988c",
29
+ "@atlaspack/diagnostic": "2.14.1-canary.158+d1b07988c",
30
+ "@atlaspack/events": "2.14.1-canary.158+d1b07988c",
31
+ "@atlaspack/feature-flags": "2.14.1-canary.158+d1b07988c",
32
+ "@atlaspack/fs": "2.14.5-canary.90+d1b07988c",
33
+ "@atlaspack/logger": "2.14.5-canary.90+d1b07988c",
34
+ "@atlaspack/package-manager": "2.14.5-canary.90+d1b07988c",
35
+ "@atlaspack/reporter-cli": "2.15.1-canary.90+d1b07988c",
36
+ "@atlaspack/reporter-dev-server": "2.14.5-canary.90+d1b07988c",
37
+ "@atlaspack/reporter-tracer": "2.14.5-canary.90+d1b07988c",
38
+ "@atlaspack/utils": "2.14.5-canary.90+d1b07988c",
39
39
  "chalk": "^4.1.0",
40
40
  "commander": "^7.0.0",
41
41
  "get-port": "^4.2.0"
@@ -45,5 +45,5 @@
45
45
  "@babel/core": "^7.22.11",
46
46
  "rimraf": "^5.0.5"
47
47
  },
48
- "gitHead": "4c1714103dab2aa9039c488f381551d2b65d1d01"
48
+ "gitHead": "d1b07988c0eb630f7161a445ece7cd5034b2551e"
49
49
  }
@@ -83,5 +83,23 @@ export function makeDebugCommand(): commander$Command {
83
83
  });
84
84
  applyOptions(buildAssetGraph, commonOptions);
85
85
 
86
+ const compactCache = debug
87
+ .command('compact-cache [input...]')
88
+ .description('Compact the cache')
89
+ .action(async (args: string[], opts: Options, command: CommandExt) => {
90
+ const atlaspack = await getInstance(args, opts, command);
91
+ try {
92
+ await atlaspack.unstable_compactCache();
93
+ logger.info({
94
+ message: 'Done compacting cache',
95
+ origin: '@atlaspack/cli',
96
+ });
97
+ process.exit(0);
98
+ } catch (err) {
99
+ handleUncaughtException(err);
100
+ }
101
+ });
102
+ applyOptions(compactCache, commonOptions);
103
+
86
104
  return debug;
87
105
  }