@atlaspack/cli 2.13.3-dev.39 → 2.13.3-dev.41
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 +20 -0
- package/lib/cli.js +1 -13
- package/package.json +15 -15
- package/src/cli.js +1 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaspack/cli
|
|
2
2
|
|
|
3
|
+
## 2.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#478](https://github.com/atlassian-labs/atlaspack/pull/478) [`570493b`](https://github.com/atlassian-labs/atlaspack/commit/570493beaf754e7985aebc7daaaf6dfcfa8fe56b) Thanks [@yamadapc](https://github.com/yamadapc)! - The first attempt at Version Packages didn't include the built artifacts.
|
|
8
|
+
This has hopefully been fixed, so this change will force those packages to re-release.
|
|
9
|
+
- Updated dependencies [[`b9d41b1`](https://github.com/atlassian-labs/atlaspack/commit/b9d41b175ad5771651a5b0278a5a0147e669234a), [`80bd57b`](https://github.com/atlassian-labs/atlaspack/commit/80bd57b9f9e966563957dee0780d956a682eb2d4), [`ce13d5e`](https://github.com/atlassian-labs/atlaspack/commit/ce13d5e885d55518ee6318e7a72e3a6e4e5126f2), [`4aab060`](https://github.com/atlassian-labs/atlaspack/commit/4aab0605c0d4ee8e0dcc3ffa1162eae5b360b677), [`87087f4`](https://github.com/atlassian-labs/atlaspack/commit/87087f44f348ac583a27ea0819122e191ba80f8d), [`e1422ad`](https://github.com/atlassian-labs/atlaspack/commit/e1422ad0a801faaa4bc4f1023bed042ffe236e9b), [`7e357fb`](https://github.com/atlassian-labs/atlaspack/commit/7e357fb173e7958da330e3721667fa5749420952), [`570493b`](https://github.com/atlassian-labs/atlaspack/commit/570493beaf754e7985aebc7daaaf6dfcfa8fe56b)]:
|
|
10
|
+
- @atlaspack/reporter-dev-server@2.14.1
|
|
11
|
+
- @atlaspack/reporter-tracer@2.14.1
|
|
12
|
+
- @atlaspack/reporter-cli@2.14.1
|
|
13
|
+
- @atlaspack/core@2.15.0
|
|
14
|
+
- @atlaspack/fs@2.14.1
|
|
15
|
+
- @atlaspack/utils@2.14.1
|
|
16
|
+
- @atlaspack/feature-flags@2.14.1
|
|
17
|
+
- @atlaspack/config-default@3.1.1
|
|
18
|
+
- @atlaspack/diagnostic@2.14.1
|
|
19
|
+
- @atlaspack/logger@2.14.1
|
|
20
|
+
- @atlaspack/package-manager@2.14.1
|
|
21
|
+
- @atlaspack/events@2.14.1
|
|
22
|
+
|
|
3
23
|
## 2.13.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/lib/cli.js
CHANGED
|
@@ -121,19 +121,7 @@ command) {
|
|
|
121
121
|
let options = await (0, _normalizeOptions.normalizeOptions)(command, fs);
|
|
122
122
|
let atlaspack = new Atlaspack({
|
|
123
123
|
entries,
|
|
124
|
-
defaultConfig: (
|
|
125
|
-
paths
|
|
126
|
-
}) => {
|
|
127
|
-
for (let path of paths) {
|
|
128
|
-
let customRequire = require('module').createRequire(path);
|
|
129
|
-
try {
|
|
130
|
-
return customRequire.resolve('@atlaspack/config-default');
|
|
131
|
-
} catch (e) {
|
|
132
|
-
// Ignore error
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
throw new Error(`Can't resolve "${specifier}" from any of [${paths.join(', ')}]`);
|
|
136
|
-
})('@atlaspack/config-default', {
|
|
124
|
+
defaultConfig: require.resolve('@atlaspack/config-default', {
|
|
137
125
|
paths: [fs.cwd(), __dirname]
|
|
138
126
|
}),
|
|
139
127
|
shouldPatchConsole: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/cli",
|
|
3
|
-
"version": "2.13.3-dev.
|
|
3
|
+
"version": "2.13.3-dev.41+e01c10d4c",
|
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,26 +24,26 @@
|
|
|
24
24
|
"node": ">= 16.0.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaspack/config-default": "3.1.1-dev.
|
|
28
|
-
"@atlaspack/core": "2.14.1-dev.
|
|
29
|
-
"@atlaspack/diagnostic": "2.14.1-dev.
|
|
30
|
-
"@atlaspack/events": "2.14.1-dev.
|
|
31
|
-
"@atlaspack/feature-flags": "2.14.1-dev.
|
|
32
|
-
"@atlaspack/fs": "2.14.1-dev.
|
|
33
|
-
"@atlaspack/logger": "2.14.1-dev.
|
|
34
|
-
"@atlaspack/package-manager": "2.14.1-dev.
|
|
35
|
-
"@atlaspack/reporter-cli": "2.14.1-dev.
|
|
36
|
-
"@atlaspack/reporter-dev-server": "2.14.1-dev.
|
|
37
|
-
"@atlaspack/reporter-tracer": "2.14.1-dev.
|
|
38
|
-
"@atlaspack/utils": "2.14.1-dev.
|
|
27
|
+
"@atlaspack/config-default": "3.1.1-dev.41+e01c10d4c",
|
|
28
|
+
"@atlaspack/core": "2.14.1-dev.41+e01c10d4c",
|
|
29
|
+
"@atlaspack/diagnostic": "2.14.1-dev.41+e01c10d4c",
|
|
30
|
+
"@atlaspack/events": "2.14.1-dev.41+e01c10d4c",
|
|
31
|
+
"@atlaspack/feature-flags": "2.14.1-dev.41+e01c10d4c",
|
|
32
|
+
"@atlaspack/fs": "2.14.1-dev.41+e01c10d4c",
|
|
33
|
+
"@atlaspack/logger": "2.14.1-dev.41+e01c10d4c",
|
|
34
|
+
"@atlaspack/package-manager": "2.14.1-dev.41+e01c10d4c",
|
|
35
|
+
"@atlaspack/reporter-cli": "2.14.1-dev.41+e01c10d4c",
|
|
36
|
+
"@atlaspack/reporter-dev-server": "2.14.1-dev.41+e01c10d4c",
|
|
37
|
+
"@atlaspack/reporter-tracer": "2.14.1-dev.41+e01c10d4c",
|
|
38
|
+
"@atlaspack/utils": "2.14.1-dev.41+e01c10d4c",
|
|
39
39
|
"chalk": "^4.1.0",
|
|
40
40
|
"commander": "^7.0.0",
|
|
41
41
|
"get-port": "^4.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@atlaspack/babel-register": "2.14.
|
|
44
|
+
"@atlaspack/babel-register": "2.14.1",
|
|
45
45
|
"@babel/core": "^7.22.11",
|
|
46
46
|
"rimraf": "^5.0.5"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e01c10d4cedb9fe2d82cf311e65d33cae6936501"
|
|
49
49
|
}
|
package/src/cli.js
CHANGED
|
@@ -132,26 +132,12 @@ async function run(
|
|
|
132
132
|
|
|
133
133
|
entries = entries.map((entry) => path.resolve(entry));
|
|
134
134
|
|
|
135
|
-
const resolve = (specifier, {paths}) => {
|
|
136
|
-
for (let path of paths) {
|
|
137
|
-
let customRequire = require('module').createRequire(path);
|
|
138
|
-
try {
|
|
139
|
-
return customRequire.resolve('@atlaspack/config-default');
|
|
140
|
-
} catch (e) {
|
|
141
|
-
// Ignore error
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
throw new Error(
|
|
145
|
-
`Can't resolve "${specifier}" from any of [${paths.join(', ')}]`,
|
|
146
|
-
);
|
|
147
|
-
};
|
|
148
|
-
|
|
149
135
|
let Atlaspack = require('@atlaspack/core').default;
|
|
150
136
|
let fs = new NodeFS();
|
|
151
137
|
let options = await normalizeOptions(command, fs);
|
|
152
138
|
let atlaspack = new Atlaspack({
|
|
153
139
|
entries,
|
|
154
|
-
defaultConfig: resolve('@atlaspack/config-default', {
|
|
140
|
+
defaultConfig: require.resolve('@atlaspack/config-default', {
|
|
155
141
|
paths: [fs.cwd(), __dirname],
|
|
156
142
|
}),
|
|
157
143
|
shouldPatchConsole: false,
|