@atlaspack/types-internal 2.14.1-dev.138 → 2.14.1-dev.141

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,60 @@
1
1
  # @atlaspack/types-internal
2
2
 
3
+ ## 2.14.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
8
+ - @atlaspack/feature-flags@2.17.0
9
+
10
+ ## 2.14.8
11
+
12
+ ### Patch Changes
13
+
14
+ - [#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
15
+
16
+ ## 2.14.7
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
21
+ - @atlaspack/feature-flags@2.16.0
22
+
23
+ ## 2.14.6
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b)]:
28
+ - @atlaspack/feature-flags@2.15.1
29
+
30
+ ## 2.14.5
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929)]:
35
+ - @atlaspack/feature-flags@2.15.0
36
+
37
+ ## 2.14.4
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
42
+ - @atlaspack/feature-flags@2.14.4
43
+
44
+ ## 2.14.3
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7)]:
49
+ - @atlaspack/feature-flags@2.14.3
50
+
51
+ ## 2.14.2
52
+
53
+ ### Patch Changes
54
+
55
+ - 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)]:
56
+ - @atlaspack/feature-flags@2.14.2
57
+
3
58
  ## 2.14.1
4
59
 
5
60
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -317,7 +317,6 @@ export type InitialServerOptions = {
317
317
  export interface PluginOptions {
318
318
  readonly mode: BuildMode;
319
319
  readonly parcelVersion: string;
320
- readonly isAtlaspackSuper?: boolean;
321
320
  readonly env: EnvMap;
322
321
  readonly hmrOptions: HMROptions | null | undefined;
323
322
  readonly serveOptions: ServerOptions | false;
@@ -937,9 +936,18 @@ export interface Config {
937
936
  * of the passed searchPath.
938
937
  */
939
938
  getConfigFrom<T>(searchPath: FilePath, filePaths: Array<FilePath>, options?: {
939
+ /**
940
+ * @deprecated Use `readTracking` instead.
941
+ */
940
942
  packageKey?: string;
941
943
  parse?: boolean;
942
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;
943
951
  }): Promise<ConfigResultWithFilePath<T> | null | undefined>;
944
952
 
945
953
  /** Finds the nearest package.json from the config's searchPath. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/types-internal",
3
- "version": "2.14.1-dev.138+7df3f2cee",
3
+ "version": "2.14.1-dev.141+84eec3484",
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.138+7df3f2cee",
20
- "@atlaspack/feature-flags": "2.14.1-dev.138+7df3f2cee",
19
+ "@atlaspack/diagnostic": "2.14.1-dev.141+84eec3484",
20
+ "@atlaspack/feature-flags": "2.14.1-dev.141+84eec3484",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
24
  "type": "commonjs",
25
- "gitHead": "7df3f2ceef899e67a62d99a53652584695291051"
25
+ "gitHead": "84eec348413c647de4872f902c4bc8ff54c347f3"
26
26
  }
package/src/index.js CHANGED
@@ -417,7 +417,6 @@ export type InitialServerOptions = {|
417
417
  export interface PluginOptions {
418
418
  +mode: BuildMode;
419
419
  +parcelVersion: string;
420
- +isAtlaspackSuper?: boolean;
421
420
  +env: EnvMap;
422
421
  +hmrOptions: ?HMROptions;
423
422
  +serveOptions: ServerOptions | false;
@@ -976,11 +975,22 @@ export interface Config {
976
975
  getConfigFrom<T>(
977
976
  searchPath: FilePath,
978
977
  filePaths: Array<FilePath>,
979
- options?: {|
980
- packageKey?: string,
981
- parse?: boolean,
982
- exclude?: boolean,
983
- |},
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
+ |},
984
994
  ): Promise<?ConfigResultWithFilePath<T>>;
985
995
  /** Finds the nearest package.json from the config's searchPath. */
986
996
  getPackage(): Promise<?PackageJSON>;