@atlaspack/types-internal 2.14.1-dev.16 → 2.14.1-dev.161
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 +88 -0
- package/lib/index.d.ts +11 -1
- package/package.json +4 -4
- package/src/index.js +18 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# @atlaspack/types-internal
|
|
2
2
|
|
|
3
|
+
## 2.14.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
|
|
8
|
+
- @atlaspack/feature-flags@2.18.2
|
|
9
|
+
|
|
10
|
+
## 2.14.11
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
|
|
15
|
+
- @atlaspack/feature-flags@2.18.1
|
|
16
|
+
|
|
17
|
+
## 2.14.10
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75), [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2)]:
|
|
22
|
+
- @atlaspack/feature-flags@2.18.0
|
|
23
|
+
|
|
24
|
+
## 2.14.9
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
|
|
29
|
+
- @atlaspack/feature-flags@2.17.0
|
|
30
|
+
|
|
31
|
+
## 2.14.8
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#595](https://github.com/atlassian-labs/atlaspack/pull/595) [`51aba5f`](https://github.com/atlassian-labs/atlaspack/commit/51aba5fc0e49235ee06bbc3c376f48c3e7da5c4b) Thanks [@yamadapc](https://github.com/yamadapc)! - Add bundleId to write bundle request results
|
|
36
|
+
|
|
37
|
+
## 2.14.7
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
|
|
42
|
+
- @atlaspack/feature-flags@2.16.0
|
|
43
|
+
|
|
44
|
+
## 2.14.6
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b)]:
|
|
49
|
+
- @atlaspack/feature-flags@2.15.1
|
|
50
|
+
|
|
51
|
+
## 2.14.5
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929)]:
|
|
56
|
+
- @atlaspack/feature-flags@2.15.0
|
|
57
|
+
|
|
58
|
+
## 2.14.4
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
|
|
63
|
+
- @atlaspack/feature-flags@2.14.4
|
|
64
|
+
|
|
65
|
+
## 2.14.3
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7)]:
|
|
70
|
+
- @atlaspack/feature-flags@2.14.3
|
|
71
|
+
|
|
72
|
+
## 2.14.2
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [[`9b85d3e`](https://github.com/atlassian-labs/atlaspack/commit/9b85d3e645b10bd027eed2304afc970a5ba40062), [`17b9579`](https://github.com/atlassian-labs/atlaspack/commit/17b9579484eced0ed8f23e2aba6d23b3c7238c39), [`8f4e6c1`](https://github.com/atlassian-labs/atlaspack/commit/8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f)]:
|
|
77
|
+
- @atlaspack/feature-flags@2.14.2
|
|
78
|
+
|
|
79
|
+
## 2.14.1
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- [#420](https://github.com/atlassian-labs/atlaspack/pull/420) [`e1422ad`](https://github.com/atlassian-labs/atlaspack/commit/e1422ad0a801faaa4bc4f1023bed042ffe236e9b) Thanks [@JakeLane](https://github.com/JakeLane)! - Support async script runtime in conditional bundling
|
|
84
|
+
|
|
85
|
+
- [#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.
|
|
86
|
+
This has hopefully been fixed, so this change will force those packages to re-release.
|
|
87
|
+
- Updated dependencies [[`4aab060`](https://github.com/atlassian-labs/atlaspack/commit/4aab0605c0d4ee8e0dcc3ffa1162eae5b360b677), [`e1422ad`](https://github.com/atlassian-labs/atlaspack/commit/e1422ad0a801faaa4bc4f1023bed042ffe236e9b), [`570493b`](https://github.com/atlassian-labs/atlaspack/commit/570493beaf754e7985aebc7daaaf6dfcfa8fe56b)]:
|
|
88
|
+
- @atlaspack/feature-flags@2.14.1
|
|
89
|
+
- @atlaspack/diagnostic@2.14.1
|
|
90
|
+
|
|
3
91
|
## 2.14.0
|
|
4
92
|
|
|
5
93
|
### Minor Changes
|
package/lib/index.d.ts
CHANGED
|
@@ -936,9 +936,18 @@ export interface Config {
|
|
|
936
936
|
* of the passed searchPath.
|
|
937
937
|
*/
|
|
938
938
|
getConfigFrom<T>(searchPath: FilePath, filePaths: Array<FilePath>, options?: {
|
|
939
|
+
/**
|
|
940
|
+
* @deprecated Use `readTracking` instead.
|
|
941
|
+
*/
|
|
939
942
|
packageKey?: string;
|
|
940
943
|
parse?: boolean;
|
|
941
944
|
exclude?: boolean;
|
|
945
|
+
} | {
|
|
946
|
+
/**
|
|
947
|
+
* If specified, this function will return a proxy object that will track reads to
|
|
948
|
+
* config fields and only register invalidations for when those keys change.
|
|
949
|
+
*/
|
|
950
|
+
readTracking?: boolean;
|
|
942
951
|
}): Promise<ConfigResultWithFilePath<T> | null | undefined>;
|
|
943
952
|
|
|
944
953
|
/** Finds the nearest package.json from the config's searchPath. */
|
|
@@ -1646,7 +1655,8 @@ export interface BundleGraph<TBundle extends Bundle> {
|
|
|
1646
1655
|
|
|
1647
1656
|
/** Returns the common root directory for the entry assets of a target. */
|
|
1648
1657
|
getEntryRoot(target: Target): FilePath;
|
|
1649
|
-
getConditionalBundleMapping(): Map<
|
|
1658
|
+
getConditionalBundleMapping(): Map<string, Map<string, {
|
|
1659
|
+
bundle: TBundle;
|
|
1650
1660
|
ifTrueBundles: Array<TBundle>;
|
|
1651
1661
|
ifFalseBundles: Array<TBundle>;
|
|
1652
1662
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/types-internal",
|
|
3
|
-
"version": "2.14.1-dev.
|
|
3
|
+
"version": "2.14.1-dev.161+207d003c0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"check-ts": "tsc --noEmit lib/index.d.ts"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/diagnostic": "2.14.1-dev.
|
|
20
|
-
"@atlaspack/feature-flags": "2.14.1-dev.
|
|
19
|
+
"@atlaspack/diagnostic": "2.14.1-dev.161+207d003c0",
|
|
20
|
+
"@atlaspack/feature-flags": "2.14.1-dev.161+207d003c0",
|
|
21
21
|
"@parcel/source-map": "^2.1.1",
|
|
22
22
|
"utility-types": "^3.10.0"
|
|
23
23
|
},
|
|
24
24
|
"type": "commonjs",
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "207d003c0f1d4ffa6a1c52d2f8841d998616c523"
|
|
26
26
|
}
|
package/src/index.js
CHANGED
|
@@ -975,11 +975,22 @@ export interface Config {
|
|
|
975
975
|
getConfigFrom<T>(
|
|
976
976
|
searchPath: FilePath,
|
|
977
977
|
filePaths: Array<FilePath>,
|
|
978
|
-
options?:
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
978
|
+
options?:
|
|
979
|
+
| {|
|
|
980
|
+
/**
|
|
981
|
+
* @deprecated Use `readTracking` instead.
|
|
982
|
+
*/
|
|
983
|
+
packageKey?: string,
|
|
984
|
+
parse?: boolean,
|
|
985
|
+
exclude?: boolean,
|
|
986
|
+
|}
|
|
987
|
+
| {|
|
|
988
|
+
/**
|
|
989
|
+
* If specified, this function will return a proxy object that will track reads to
|
|
990
|
+
* config fields and only register invalidations for when those keys change.
|
|
991
|
+
*/
|
|
992
|
+
readTracking?: boolean,
|
|
993
|
+
|},
|
|
983
994
|
): Promise<?ConfigResultWithFilePath<T>>;
|
|
984
995
|
/** Finds the nearest package.json from the config's searchPath. */
|
|
985
996
|
getPackage(): Promise<?PackageJSON>;
|
|
@@ -1644,10 +1655,11 @@ export interface BundleGraph<TBundle: Bundle> {
|
|
|
1644
1655
|
/** Returns the common root directory for the entry assets of a target. */
|
|
1645
1656
|
getEntryRoot(target: Target): FilePath;
|
|
1646
1657
|
getConditionalBundleMapping(): Map<
|
|
1647
|
-
|
|
1658
|
+
string,
|
|
1648
1659
|
Map<
|
|
1649
1660
|
string,
|
|
1650
1661
|
{|
|
|
1662
|
+
bundle: TBundle,
|
|
1651
1663
|
ifTrueBundles: Array<TBundle>,
|
|
1652
1664
|
ifFalseBundles: Array<TBundle>,
|
|
1653
1665
|
|},
|