@atlaspack/types-internal 2.14.1-dev.134 → 2.14.1-dev.137

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,53 @@
1
1
  # @atlaspack/types-internal
2
2
 
3
+ ## 2.14.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ ## 2.14.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
14
+ - @atlaspack/feature-flags@2.16.0
15
+
16
+ ## 2.14.6
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b)]:
21
+ - @atlaspack/feature-flags@2.15.1
22
+
23
+ ## 2.14.5
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929)]:
28
+ - @atlaspack/feature-flags@2.15.0
29
+
30
+ ## 2.14.4
31
+
32
+ ### Patch Changes
33
+
34
+ - Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
35
+ - @atlaspack/feature-flags@2.14.4
36
+
37
+ ## 2.14.3
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7)]:
42
+ - @atlaspack/feature-flags@2.14.3
43
+
44
+ ## 2.14.2
45
+
46
+ ### Patch Changes
47
+
48
+ - 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)]:
49
+ - @atlaspack/feature-flags@2.14.2
50
+
3
51
  ## 2.14.1
4
52
 
5
53
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -317,6 +317,7 @@ export type InitialServerOptions = {
317
317
  export interface PluginOptions {
318
318
  readonly mode: BuildMode;
319
319
  readonly parcelVersion: string;
320
+ readonly isAtlaspackSuper?: boolean;
320
321
  readonly env: EnvMap;
321
322
  readonly hmrOptions: HMROptions | null | undefined;
322
323
  readonly serveOptions: ServerOptions | false;
@@ -936,9 +937,18 @@ export interface Config {
936
937
  * of the passed searchPath.
937
938
  */
938
939
  getConfigFrom<T>(searchPath: FilePath, filePaths: Array<FilePath>, options?: {
940
+ /**
941
+ * @deprecated Use `readTracking` instead.
942
+ */
939
943
  packageKey?: string;
940
944
  parse?: boolean;
941
945
  exclude?: boolean;
946
+ } | {
947
+ /**
948
+ * If specified, this function will return a proxy object that will track reads to
949
+ * config fields and only register invalidations for when those keys change.
950
+ */
951
+ readTracking?: boolean;
942
952
  }): Promise<ConfigResultWithFilePath<T> | null | undefined>;
943
953
 
944
954
  /** 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.134+e072f4b10",
3
+ "version": "2.14.1-dev.137+67cb517ae",
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.134+e072f4b10",
20
- "@atlaspack/feature-flags": "2.14.1-dev.134+e072f4b10",
19
+ "@atlaspack/diagnostic": "2.14.1-dev.137+67cb517ae",
20
+ "@atlaspack/feature-flags": "2.14.1-dev.137+67cb517ae",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
24
  "type": "commonjs",
25
- "gitHead": "e072f4b100a13d97c544324004819ee51cdac4a8"
25
+ "gitHead": "67cb517ae793046fb5a0d2ef02ba74510fefccf3"
26
26
  }
package/src/index.js CHANGED
@@ -417,6 +417,7 @@ export type InitialServerOptions = {|
417
417
  export interface PluginOptions {
418
418
  +mode: BuildMode;
419
419
  +parcelVersion: string;
420
+ +isAtlaspackSuper?: boolean;
420
421
  +env: EnvMap;
421
422
  +hmrOptions: ?HMROptions;
422
423
  +serveOptions: ServerOptions | false;
@@ -975,11 +976,22 @@ export interface Config {
975
976
  getConfigFrom<T>(
976
977
  searchPath: FilePath,
977
978
  filePaths: Array<FilePath>,
978
- options?: {|
979
- packageKey?: string,
980
- parse?: boolean,
981
- exclude?: boolean,
982
- |},
979
+ options?:
980
+ | {|
981
+ /**
982
+ * @deprecated Use `readTracking` instead.
983
+ */
984
+ packageKey?: string,
985
+ parse?: boolean,
986
+ exclude?: boolean,
987
+ |}
988
+ | {|
989
+ /**
990
+ * If specified, this function will return a proxy object that will track reads to
991
+ * config fields and only register invalidations for when those keys change.
992
+ */
993
+ readTracking?: boolean,
994
+ |},
983
995
  ): Promise<?ConfigResultWithFilePath<T>>;
984
996
  /** Finds the nearest package.json from the config's searchPath. */
985
997
  getPackage(): Promise<?PackageJSON>;