@atlaspack/core 2.16.2-canary.14 → 2.16.2-canary.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 +349 -0
- package/lib/AssetGraph.d.ts +80 -0
- package/lib/AssetGraph.js +117 -15
- package/lib/Atlaspack.d.ts +52 -0
- package/lib/Atlaspack.js +82 -34
- package/lib/AtlaspackConfig.d.ts +65 -0
- package/lib/AtlaspackConfig.js +24 -6
- package/lib/AtlaspackConfig.schema.d.ts +46 -0
- package/lib/AtlaspackConfig.schema.js +7 -5
- package/lib/BundleGraph.d.ts +182 -0
- package/lib/BundleGraph.js +92 -24
- package/lib/CommittedAsset.d.ts +23 -0
- package/lib/CommittedAsset.js +6 -0
- package/lib/Dependency.d.ts +44 -0
- package/lib/Dependency.js +8 -2
- package/lib/Environment.d.ts +10 -0
- package/lib/Environment.js +7 -5
- package/lib/EnvironmentManager.d.ts +37 -0
- package/lib/EnvironmentManager.js +143 -0
- package/lib/IdentifierRegistry.d.ts +6 -0
- package/lib/IdentifierRegistry.js +1 -3
- package/lib/InternalConfig.d.ts +24 -0
- package/lib/InternalConfig.js +3 -2
- package/lib/PackagerRunner.d.ts +80 -0
- package/lib/PackagerRunner.js +64 -21
- package/lib/ReporterRunner.d.ts +25 -0
- package/lib/ReporterRunner.js +6 -9
- package/lib/RequestTracker.d.ts +385 -0
- package/lib/RequestTracker.js +371 -141
- package/lib/SymbolPropagation.d.ts +11 -0
- package/lib/SymbolPropagation.js +66 -7
- package/lib/TargetDescriptor.schema.d.ts +5 -0
- package/lib/Transformation.d.ts +72 -0
- package/lib/Transformation.js +17 -9
- package/lib/UncommittedAsset.d.ts +61 -0
- package/lib/UncommittedAsset.js +30 -9
- package/lib/Validation.d.ts +37 -0
- package/lib/Validation.js +18 -2
- package/lib/applyRuntimes.d.ts +25 -0
- package/lib/applyRuntimes.js +7 -1
- package/lib/assetUtils.d.ts +42 -0
- package/lib/assetUtils.js +7 -4
- package/lib/atlaspack-v3/AtlaspackV3.d.ts +26 -0
- package/lib/atlaspack-v3/AtlaspackV3.js +26 -5
- package/lib/atlaspack-v3/NapiWorkerPool.d.ts +12 -0
- package/lib/atlaspack-v3/NapiWorkerPool.js +3 -0
- package/lib/atlaspack-v3/fs.d.ts +12 -0
- package/lib/atlaspack-v3/fs.js +3 -1
- package/lib/atlaspack-v3/index.d.ts +5 -0
- package/lib/atlaspack-v3/index.js +28 -1
- package/lib/atlaspack-v3/jsCallable.d.ts +1 -0
- package/lib/atlaspack-v3/jsCallable.js +0 -2
- package/lib/atlaspack-v3/worker/compat/asset-symbols.d.ts +51 -0
- package/lib/atlaspack-v3/worker/compat/asset-symbols.js +5 -3
- package/lib/atlaspack-v3/worker/compat/bitflags.d.ts +15 -0
- package/lib/atlaspack-v3/worker/compat/bitflags.js +5 -5
- package/lib/atlaspack-v3/worker/compat/dependency.d.ts +25 -0
- package/lib/atlaspack-v3/worker/compat/dependency.js +3 -0
- package/lib/atlaspack-v3/worker/compat/environment.d.ts +25 -0
- package/lib/atlaspack-v3/worker/compat/environment.js +4 -5
- package/{src/atlaspack-v3/worker/compat/index.js → lib/atlaspack-v3/worker/compat/index.d.ts} +0 -1
- package/lib/atlaspack-v3/worker/compat/mutable-asset.d.ts +49 -0
- package/lib/atlaspack-v3/worker/compat/mutable-asset.js +14 -9
- package/lib/atlaspack-v3/worker/compat/plugin-config.d.ts +37 -0
- package/lib/atlaspack-v3/worker/compat/plugin-config.js +8 -10
- package/lib/atlaspack-v3/worker/compat/plugin-logger.d.ts +9 -0
- package/lib/atlaspack-v3/worker/compat/plugin-options.d.ts +22 -0
- package/lib/atlaspack-v3/worker/compat/plugin-options.js +1 -0
- package/lib/atlaspack-v3/worker/compat/plugin-tracer.d.ts +5 -0
- package/lib/atlaspack-v3/worker/compat/plugin-tracer.js +3 -0
- package/lib/atlaspack-v3/worker/compat/target.d.ts +11 -0
- package/lib/atlaspack-v3/worker/compat/target.js +2 -0
- package/lib/atlaspack-v3/worker/index.js +3 -0
- package/lib/atlaspack-v3/worker/worker.d.ts +58 -0
- package/lib/atlaspack-v3/worker/worker.js +26 -5
- package/lib/constants.d.ts +13 -0
- package/lib/constants.js +0 -1
- package/lib/dumpGraphToGraphViz.d.ts +10 -0
- package/lib/dumpGraphToGraphViz.js +71 -16
- package/lib/index.d.ts +8 -0
- package/lib/index.js +45 -1
- package/lib/loadAtlaspackPlugin.d.ts +8 -0
- package/lib/loadAtlaspackPlugin.js +3 -0
- package/lib/loadDotEnv.d.ts +3 -0
- package/lib/loadDotEnv.js +4 -1
- package/lib/projectPath.d.ts +19 -0
- package/lib/projectPath.js +5 -0
- package/lib/public/Asset.d.ts +74 -0
- package/lib/public/Asset.js +21 -11
- package/lib/public/Bundle.d.ts +45 -0
- package/lib/public/Bundle.js +15 -16
- package/lib/public/BundleGraph.d.ts +70 -0
- package/lib/public/BundleGraph.js +10 -4
- package/lib/public/BundleGroup.d.ts +12 -0
- package/lib/public/BundleGroup.js +4 -5
- package/lib/public/Config.d.ts +75 -0
- package/lib/public/Config.js +118 -17
- package/lib/public/Dependency.d.ts +32 -0
- package/lib/public/Dependency.js +8 -6
- package/lib/public/Environment.d.ts +32 -0
- package/lib/public/Environment.js +4 -5
- package/lib/public/MutableBundleGraph.d.ts +26 -0
- package/lib/public/MutableBundleGraph.js +54 -12
- package/lib/public/PluginOptions.d.ts +25 -0
- package/lib/public/PluginOptions.js +2 -2
- package/lib/public/Symbols.d.ts +81 -0
- package/lib/public/Symbols.js +63 -14
- package/lib/public/Target.d.ts +16 -0
- package/lib/public/Target.js +7 -6
- package/lib/registerCoreWithSerializer.d.ts +2 -0
- package/lib/registerCoreWithSerializer.js +5 -3
- package/lib/requests/AssetGraphRequest.d.ts +74 -0
- package/lib/requests/AssetGraphRequest.js +33 -4
- package/lib/requests/AssetGraphRequestRust.d.ts +21 -0
- package/lib/requests/AssetGraphRequestRust.js +24 -6
- package/lib/requests/AssetRequest.d.ts +16 -0
- package/lib/requests/AssetRequest.js +23 -6
- package/lib/requests/AtlaspackBuildRequest.d.ts +29 -0
- package/lib/requests/AtlaspackBuildRequest.js +6 -2
- package/lib/requests/AtlaspackConfigRequest.d.ts +45 -0
- package/lib/requests/AtlaspackConfigRequest.js +15 -11
- package/lib/requests/BundleGraphRequest.d.ts +28 -0
- package/lib/requests/BundleGraphRequest.js +29 -18
- package/lib/requests/ConfigRequest.d.ts +59 -0
- package/lib/requests/ConfigRequest.js +28 -4
- package/lib/requests/DevDepRequest.d.ts +30 -0
- package/lib/requests/DevDepRequest.js +31 -5
- package/lib/requests/EntryRequest.d.ts +36 -0
- package/lib/requests/EntryRequest.js +9 -0
- package/lib/requests/PackageRequest.d.ts +27 -0
- package/lib/requests/PackageRequest.js +7 -2
- package/lib/requests/PathRequest.d.ts +48 -0
- package/lib/requests/PathRequest.js +30 -5
- package/lib/requests/TargetRequest.d.ts +48 -0
- package/lib/requests/TargetRequest.js +89 -55
- package/lib/requests/ValidationRequest.d.ts +20 -0
- package/lib/requests/ValidationRequest.js +5 -1
- package/lib/requests/WriteBundleRequest.d.ts +28 -0
- package/lib/requests/WriteBundleRequest.js +39 -11
- package/lib/requests/WriteBundlesRequest.d.ts +26 -0
- package/lib/requests/WriteBundlesRequest.js +47 -6
- package/lib/requests/asset-graph-diff.d.ts +1 -0
- package/lib/requests/asset-graph-diff.js +8 -3
- package/lib/requests/asset-graph-dot.d.ts +9 -0
- package/lib/requests/asset-graph-dot.js +1 -7
- package/lib/resolveOptions.d.ts +3 -0
- package/lib/resolveOptions.js +21 -10
- package/lib/rustWorkerThreadDylibHack.d.ts +9 -0
- package/lib/rustWorkerThreadDylibHack.js +0 -1
- package/lib/serializerCore.browser.d.ts +3 -0
- package/lib/summarizeRequest.d.ts +10 -0
- package/lib/types.d.ts +490 -0
- package/lib/types.js +6 -0
- package/lib/utils.d.ts +23 -0
- package/lib/utils.js +17 -2
- package/lib/worker.d.ts +44 -0
- package/lib/worker.js +30 -7
- package/package.json +23 -29
- package/src/{AssetGraph.js → AssetGraph.ts} +159 -52
- package/src/{Atlaspack.js → Atlaspack.ts} +114 -60
- package/src/{AtlaspackConfig.schema.js → AtlaspackConfig.schema.ts} +16 -19
- package/src/{AtlaspackConfig.js → AtlaspackConfig.ts} +81 -54
- package/src/{BundleGraph.js → BundleGraph.ts} +206 -128
- package/src/{CommittedAsset.js → CommittedAsset.ts} +14 -12
- package/src/{Dependency.js → Dependency.ts} +59 -42
- package/src/{Environment.js → Environment.ts} +17 -15
- package/src/EnvironmentManager.ts +154 -0
- package/src/{IdentifierRegistry.js → IdentifierRegistry.ts} +1 -4
- package/src/{InternalConfig.js → InternalConfig.ts} +22 -23
- package/src/{PackagerRunner.js → PackagerRunner.ts} +139 -79
- package/src/{ReporterRunner.js → ReporterRunner.ts} +13 -18
- package/src/{RequestTracker.js → RequestTracker.ts} +738 -320
- package/src/{SymbolPropagation.js → SymbolPropagation.ts} +170 -45
- package/src/{TargetDescriptor.schema.js → TargetDescriptor.schema.ts} +0 -1
- package/src/{Transformation.js → Transformation.ts} +67 -61
- package/src/{UncommittedAsset.js → UncommittedAsset.ts} +57 -36
- package/src/{Validation.js → Validation.ts} +32 -17
- package/src/{applyRuntimes.js → applyRuntimes.ts} +33 -26
- package/src/{assetUtils.js → assetUtils.ts} +47 -35
- package/src/atlaspack-v3/{AtlaspackV3.js → AtlaspackV3.ts} +44 -18
- package/src/atlaspack-v3/{NapiWorkerPool.js → NapiWorkerPool.ts} +10 -5
- package/src/atlaspack-v3/{fs.js → fs.ts} +3 -4
- package/src/atlaspack-v3/{index.js → index.ts} +2 -4
- package/src/atlaspack-v3/jsCallable.ts +14 -0
- package/src/atlaspack-v3/worker/compat/{asset-symbols.js → asset-symbols.ts} +52 -49
- package/src/atlaspack-v3/worker/compat/{bitflags.js → bitflags.ts} +8 -10
- package/src/atlaspack-v3/worker/compat/{dependency.js → dependency.ts} +12 -12
- package/src/atlaspack-v3/worker/compat/{environment.js → environment.ts} +4 -8
- package/src/atlaspack-v3/worker/compat/index.ts +9 -0
- package/src/atlaspack-v3/worker/compat/{mutable-asset.js → mutable-asset.ts} +20 -19
- package/src/atlaspack-v3/worker/compat/{plugin-config.js → plugin-config.ts} +27 -26
- package/src/atlaspack-v3/worker/compat/{plugin-logger.js → plugin-logger.ts} +0 -2
- package/src/atlaspack-v3/worker/compat/{plugin-options.js → plugin-options.ts} +4 -5
- package/src/atlaspack-v3/worker/compat/{plugin-tracer.js → plugin-tracer.ts} +2 -2
- package/src/atlaspack-v3/worker/compat/{target.js → target.ts} +3 -4
- package/src/atlaspack-v3/worker/index.js +2 -1
- package/src/atlaspack-v3/worker/{worker.js → worker.ts} +85 -64
- package/src/{constants.js → constants.ts} +0 -3
- package/src/{dumpGraphToGraphViz.js → dumpGraphToGraphViz.ts} +73 -28
- package/src/index.ts +18 -0
- package/src/{loadAtlaspackPlugin.js → loadAtlaspackPlugin.ts} +11 -9
- package/src/{loadDotEnv.js → loadDotEnv.ts} +2 -2
- package/src/{projectPath.js → projectPath.ts} +20 -9
- package/src/public/{Asset.js → Asset.ts} +40 -27
- package/src/public/{Bundle.js → Bundle.ts} +28 -29
- package/src/public/{BundleGraph.js → BundleGraph.ts} +81 -50
- package/src/public/{BundleGroup.js → BundleGroup.ts} +7 -10
- package/src/public/{Config.js → Config.ts} +171 -33
- package/src/public/{Dependency.js → Dependency.ts} +20 -17
- package/src/public/{Environment.js → Environment.ts} +13 -16
- package/src/public/{MutableBundleGraph.js → MutableBundleGraph.ts} +55 -24
- package/src/public/{PluginOptions.js → PluginOptions.ts} +6 -6
- package/src/public/{Symbols.js → Symbols.ts} +109 -36
- package/src/public/{Target.js → Target.ts} +10 -8
- package/src/{registerCoreWithSerializer.js → registerCoreWithSerializer.ts} +9 -7
- package/src/requests/{AssetGraphRequest.js → AssetGraphRequest.ts} +73 -48
- package/src/requests/{AssetGraphRequestRust.js → AssetGraphRequestRust.ts} +32 -21
- package/src/requests/{AssetRequest.js → AssetRequest.ts} +24 -18
- package/src/requests/{AtlaspackBuildRequest.js → AtlaspackBuildRequest.ts} +30 -31
- package/src/requests/{AtlaspackConfigRequest.js → AtlaspackConfigRequest.ts} +61 -51
- package/src/requests/{BundleGraphRequest.js → BundleGraphRequest.ts} +66 -57
- package/src/requests/{ConfigRequest.js → ConfigRequest.ts} +71 -50
- package/src/requests/{DevDepRequest.js → DevDepRequest.ts} +60 -35
- package/src/requests/{EntryRequest.js → EntryRequest.ts} +43 -31
- package/src/requests/{PackageRequest.js → PackageRequest.ts} +21 -21
- package/src/requests/{PathRequest.js → PathRequest.ts} +49 -37
- package/src/requests/{TargetRequest.js → TargetRequest.ts} +215 -178
- package/src/requests/{ValidationRequest.js → ValidationRequest.ts} +18 -17
- package/src/requests/{WriteBundleRequest.js → WriteBundleRequest.ts} +77 -49
- package/src/requests/{WriteBundlesRequest.js → WriteBundlesRequest.ts} +69 -30
- package/src/requests/{asset-graph-diff.js → asset-graph-diff.ts} +14 -14
- package/src/requests/{asset-graph-dot.js → asset-graph-dot.ts} +8 -12
- package/src/{resolveOptions.js → resolveOptions.ts} +33 -24
- package/src/{rustWorkerThreadDylibHack.js → rustWorkerThreadDylibHack.ts} +1 -4
- package/src/{serializerCore.browser.js → serializerCore.browser.ts} +2 -3
- package/src/{summarizeRequest.js → summarizeRequest.ts} +17 -5
- package/src/types.ts +644 -0
- package/src/{utils.js → utils.ts} +52 -21
- package/src/{worker.js → worker.ts} +51 -35
- package/test/{AssetGraph.test.js → AssetGraph.test.ts} +37 -8
- package/test/{Atlaspack.test.js → Atlaspack.test.ts} +5 -10
- package/test/{AtlaspackConfig.test.js → AtlaspackConfig.test.ts} +0 -5
- package/test/{AtlaspackConfigRequest.test.js → AtlaspackConfigRequest.test.ts} +3 -15
- package/test/{BundleGraph.test.js → BundleGraph.test.ts} +8 -13
- package/test/{Dependency.test.js → Dependency.test.ts} +2 -3
- package/test/{EntryRequest.test.js → EntryRequest.test.ts} +1 -6
- package/test/{Environment.test.js → Environment.test.ts} +45 -39
- package/test/EnvironmentManager.test.ts +190 -0
- package/test/{IdentifierRegistry.test.js → IdentifierRegistry.test.ts} +2 -4
- package/test/{InternalAsset.test.js → InternalAsset.test.ts} +2 -7
- package/test/PackagerRunner.test.ts +0 -0
- package/test/{PublicAsset.test.js → PublicAsset.test.ts} +2 -7
- package/test/{PublicBundle.test.js → PublicBundle.test.ts} +1 -2
- package/test/{PublicDependency.test.js → PublicDependency.test.ts} +0 -2
- package/test/{PublicEnvironment.test.js → PublicEnvironment.test.ts} +10 -9
- package/test/{PublicMutableBundleGraph.test.js → PublicMutableBundleGraph.test.ts} +6 -11
- package/test/{RequestTracker.test.js → RequestTracker.test.ts} +314 -59
- package/test/{SymbolPropagation.test.js → SymbolPropagation.test.ts} +124 -74
- package/test/{TargetRequest.test.js → TargetRequest.test.ts} +3 -17
- package/test/public/Config.test.ts +104 -0
- package/test/requests/{AssetGraphRequestRust.test.js → AssetGraphRequestRust.test.ts} +0 -1
- package/test/requests/{ConfigRequest.test.js → ConfigRequest.test.ts} +202 -13
- package/test/requests/{DevDepRequest.test.js → DevDepRequest.test.ts} +0 -2
- package/test/{test-utils.js → test-utils.ts} +4 -11
- package/test/{utils.test.js → utils.test.ts} +1 -3
- package/tsconfig.json +4 -0
- package/index.d.ts +0 -30
- package/src/atlaspack-v3/jsCallable.js +0 -18
- package/src/index.js +0 -13
- package/src/types.js +0 -600
- package/test/PackagerRunner.test.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,354 @@
|
|
|
1
1
|
# @atlaspack/core
|
|
2
2
|
|
|
3
|
+
## 2.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#721](https://github.com/atlassian-labs/atlaspack/pull/721) [`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd) Thanks [@benjervis](https://github.com/benjervis)! - Add support for bundle merging based on `webpackChunkName` comments.
|
|
8
|
+
|
|
9
|
+
Adding a `webpackChunkName` comment to an import will allow the bundler to merge multiple imports into a single bundle.
|
|
10
|
+
|
|
11
|
+
e.g.:
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import(/* webpackChunkName: "my-chunk" */ './my-module');
|
|
15
|
+
import(/* webpackChunkName: "my-chunk" */ './another-module');
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
This can be enabled with the feature flag `supportWebpackChunkName`.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
|
|
23
|
+
- @atlaspack/feature-flags@2.20.0
|
|
24
|
+
- @atlaspack/fs@2.15.16
|
|
25
|
+
- @atlaspack/profiler@2.14.18
|
|
26
|
+
- @atlaspack/types@2.15.11
|
|
27
|
+
- @atlaspack/workers@2.14.21
|
|
28
|
+
- @atlaspack/cache@3.2.16
|
|
29
|
+
- @atlaspack/graph@3.5.10
|
|
30
|
+
- @atlaspack/utils@2.17.3
|
|
31
|
+
- @atlaspack/package-manager@2.14.21
|
|
32
|
+
- @atlaspack/plugin@2.14.21
|
|
33
|
+
|
|
34
|
+
## 2.19.2
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- [#707](https://github.com/atlassian-labs/atlaspack/pull/707) [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a) Thanks [@yamadapc](https://github.com/yamadapc)! - Fix content key not found exceptions when bundling is aborted after a unsafe to incrementally bundle asset graph request
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa), [`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
|
|
41
|
+
- @atlaspack/plugin@2.14.20
|
|
42
|
+
- @atlaspack/feature-flags@2.19.2
|
|
43
|
+
- @atlaspack/cache@3.2.15
|
|
44
|
+
- @atlaspack/fs@2.15.15
|
|
45
|
+
- @atlaspack/graph@3.5.9
|
|
46
|
+
- @atlaspack/utils@2.17.2
|
|
47
|
+
- @atlaspack/package-manager@2.14.20
|
|
48
|
+
- @atlaspack/profiler@2.14.17
|
|
49
|
+
- @atlaspack/types@2.15.10
|
|
50
|
+
- @atlaspack/workers@2.14.20
|
|
51
|
+
|
|
52
|
+
## 2.19.1
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
|
|
57
|
+
- @atlaspack/feature-flags@2.19.1
|
|
58
|
+
- @atlaspack/cache@3.2.14
|
|
59
|
+
- @atlaspack/fs@2.15.14
|
|
60
|
+
- @atlaspack/graph@3.5.8
|
|
61
|
+
- @atlaspack/utils@2.17.1
|
|
62
|
+
- @atlaspack/package-manager@2.14.19
|
|
63
|
+
- @atlaspack/profiler@2.14.16
|
|
64
|
+
- @atlaspack/types@2.15.9
|
|
65
|
+
- @atlaspack/workers@2.14.19
|
|
66
|
+
- @atlaspack/plugin@2.14.19
|
|
67
|
+
|
|
68
|
+
## 2.19.0
|
|
69
|
+
|
|
70
|
+
### Minor Changes
|
|
71
|
+
|
|
72
|
+
- [#640](https://github.com/atlassian-labs/atlaspack/pull/640) [`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d) Thanks [@JakeLane](https://github.com/JakeLane)! - Clean up conditional bundling feature flags
|
|
73
|
+
|
|
74
|
+
- [#693](https://github.com/atlassian-labs/atlaspack/pull/693) [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417) Thanks [@mattcompiles](https://github.com/mattcompiles)! - These packages should have been bumped in [pull request 691](https://github.com/atlassian-labs/atlaspack/pull/691).
|
|
75
|
+
|
|
76
|
+
Rectifying by creating a new changeset now.
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- [#690](https://github.com/atlassian-labs/atlaspack/pull/690) [`c4415a4`](https://github.com/atlassian-labs/atlaspack/commit/c4415a455543d984ca28452c2cb87a794d22497c) Thanks [@yamadapc](https://github.com/yamadapc)! - Bug fix for build abort state corruption
|
|
81
|
+
|
|
82
|
+
- [#685](https://github.com/atlassian-labs/atlaspack/pull/685) [`f0f7c71`](https://github.com/atlassian-labs/atlaspack/commit/f0f7c7168a1d3d18c6f30d2daed611275692b7c5) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Fixes an issue where star re-exports of empty files (usually occurring in compiled typescript libraries) could cause exports to undefined at runtime.
|
|
83
|
+
Fix is behind the feature-flag `emptyFileStarRexportFix`.
|
|
84
|
+
|
|
85
|
+
- [#678](https://github.com/atlassian-labs/atlaspack/pull/678) [`3ba1aee`](https://github.com/atlassian-labs/atlaspack/commit/3ba1aee6a794a26b2f0255aaf6d003981532d0ae) Thanks [@marcins](https://github.com/marcins)! - Move adding of Atlaspack V3 disposable to be conditional on Atlaspack V3
|
|
86
|
+
|
|
87
|
+
- Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`c4415a4`](https://github.com/atlassian-labs/atlaspack/commit/c4415a455543d984ca28452c2cb87a794d22497c), [`f0f7c71`](https://github.com/atlassian-labs/atlaspack/commit/f0f7c7168a1d3d18c6f30d2daed611275692b7c5), [`de23e0c`](https://github.com/atlassian-labs/atlaspack/commit/de23e0ce49d5504fe3947ac26640a3d951087da3), [`c9631af`](https://github.com/atlassian-labs/atlaspack/commit/c9631aff284b2c1c27e8a52f9da392ce65d666e8), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417), [`a5ed1b4`](https://github.com/atlassian-labs/atlaspack/commit/a5ed1b414498560f393ff491af4da25b6e8dde56)]:
|
|
88
|
+
- @atlaspack/feature-flags@2.19.0
|
|
89
|
+
- @atlaspack/utils@2.17.0
|
|
90
|
+
- @atlaspack/rust@3.4.1
|
|
91
|
+
- @atlaspack/package-manager@2.14.18
|
|
92
|
+
- @atlaspack/fs@2.15.13
|
|
93
|
+
- @atlaspack/cache@3.2.13
|
|
94
|
+
- @atlaspack/graph@3.5.7
|
|
95
|
+
- @atlaspack/workers@2.14.18
|
|
96
|
+
- @atlaspack/logger@2.14.13
|
|
97
|
+
- @atlaspack/profiler@2.14.15
|
|
98
|
+
- @atlaspack/types@2.15.8
|
|
99
|
+
- @atlaspack/plugin@2.14.18
|
|
100
|
+
|
|
101
|
+
## 2.18.8
|
|
102
|
+
|
|
103
|
+
### Patch Changes
|
|
104
|
+
|
|
105
|
+
- Updated dependencies [[`c75bf55`](https://github.com/atlassian-labs/atlaspack/commit/c75bf553fff4decc285b5fd499a275853b18f8f2)]:
|
|
106
|
+
- @atlaspack/rust@3.4.0
|
|
107
|
+
- @atlaspack/cache@3.2.12
|
|
108
|
+
- @atlaspack/fs@2.15.12
|
|
109
|
+
- @atlaspack/logger@2.14.12
|
|
110
|
+
- @atlaspack/utils@2.16.1
|
|
111
|
+
- @atlaspack/package-manager@2.14.17
|
|
112
|
+
- @atlaspack/workers@2.14.17
|
|
113
|
+
- @atlaspack/types@2.15.7
|
|
114
|
+
- @atlaspack/plugin@2.14.17
|
|
115
|
+
|
|
116
|
+
## 2.18.7
|
|
117
|
+
|
|
118
|
+
### Patch Changes
|
|
119
|
+
|
|
120
|
+
- [#666](https://github.com/atlassian-labs/atlaspack/pull/666) [`1ff31f1`](https://github.com/atlassian-labs/atlaspack/commit/1ff31f10391c48780c9fcfc243b4e828a1b285e0) Thanks [@marcins](https://github.com/marcins)! - Ensure tracer is disabled if it was enabled on teardown
|
|
121
|
+
|
|
122
|
+
- [#661](https://github.com/atlassian-labs/atlaspack/pull/661) [`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c) Thanks [@marcins](https://github.com/marcins)! - Add new feature flag atlaspackV3CleanShutdown which will dispose of the NAPI worker pool when disposing of the Atlaspack class
|
|
123
|
+
|
|
124
|
+
- Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c), [`30ee2cf`](https://github.com/atlassian-labs/atlaspack/commit/30ee2cfcd34cf2646ded0eda13fdb80a2a5de529)]:
|
|
125
|
+
- @atlaspack/feature-flags@2.18.4
|
|
126
|
+
- @atlaspack/utils@2.16.0
|
|
127
|
+
- @atlaspack/cache@3.2.11
|
|
128
|
+
- @atlaspack/fs@2.15.11
|
|
129
|
+
- @atlaspack/graph@3.5.6
|
|
130
|
+
- @atlaspack/package-manager@2.14.16
|
|
131
|
+
- @atlaspack/workers@2.14.16
|
|
132
|
+
- @atlaspack/profiler@2.14.14
|
|
133
|
+
- @atlaspack/types@2.15.6
|
|
134
|
+
- @atlaspack/plugin@2.14.16
|
|
135
|
+
|
|
136
|
+
## 2.18.6
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- [#655](https://github.com/atlassian-labs/atlaspack/pull/655) [`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be) Thanks [@yamadapc](https://github.com/yamadapc)! - Clean-up inline requires multi-threading feature-flag
|
|
141
|
+
|
|
142
|
+
- [#658](https://github.com/atlassian-labs/atlaspack/pull/658) [`74fd942`](https://github.com/atlassian-labs/atlaspack/commit/74fd94236ac697207082c4b755b079e56f5564fb) Thanks [@yamadapc](https://github.com/yamadapc)! - Fix environment deduplication issues
|
|
143
|
+
|
|
144
|
+
- Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
|
|
145
|
+
- @atlaspack/feature-flags@2.18.3
|
|
146
|
+
- @atlaspack/cache@3.2.10
|
|
147
|
+
- @atlaspack/fs@2.15.10
|
|
148
|
+
- @atlaspack/graph@3.5.5
|
|
149
|
+
- @atlaspack/utils@2.15.3
|
|
150
|
+
- @atlaspack/package-manager@2.14.15
|
|
151
|
+
- @atlaspack/profiler@2.14.13
|
|
152
|
+
- @atlaspack/types@2.15.5
|
|
153
|
+
- @atlaspack/workers@2.14.15
|
|
154
|
+
- @atlaspack/plugin@2.14.15
|
|
155
|
+
|
|
156
|
+
## 2.18.5
|
|
157
|
+
|
|
158
|
+
### Patch Changes
|
|
159
|
+
|
|
160
|
+
- [#652](https://github.com/atlassian-labs/atlaspack/pull/652) [`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956) Thanks [@yamadapc](https://github.com/yamadapc)! - Fix bugs related to build aborts. Builds and cache writes will no longer be aborted.
|
|
161
|
+
|
|
162
|
+
- Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
|
|
163
|
+
- @atlaspack/feature-flags@2.18.2
|
|
164
|
+
- @atlaspack/cache@3.2.9
|
|
165
|
+
- @atlaspack/fs@2.15.9
|
|
166
|
+
- @atlaspack/graph@3.5.4
|
|
167
|
+
- @atlaspack/utils@2.15.2
|
|
168
|
+
- @atlaspack/package-manager@2.14.14
|
|
169
|
+
- @atlaspack/profiler@2.14.12
|
|
170
|
+
- @atlaspack/types@2.15.4
|
|
171
|
+
- @atlaspack/workers@2.14.14
|
|
172
|
+
- @atlaspack/plugin@2.14.14
|
|
173
|
+
|
|
174
|
+
## 2.18.4
|
|
175
|
+
|
|
176
|
+
### Patch Changes
|
|
177
|
+
|
|
178
|
+
- [#650](https://github.com/atlassian-labs/atlaspack/pull/650) [`ef3d622`](https://github.com/atlassian-labs/atlaspack/commit/ef3d6228f4e006702198a19c61e051d194d325cb) Thanks [@alshdavid](https://github.com/alshdavid)! - Remove package.json#exports
|
|
179
|
+
|
|
180
|
+
- [#646](https://github.com/atlassian-labs/atlaspack/pull/646) [`6b1f5ff`](https://github.com/atlassian-labs/atlaspack/commit/6b1f5fff68d7131fae075e14f4d2c02606dc6058) Thanks [@alshdavid](https://github.com/alshdavid)! - Export WORKER_PATH from @atlaspack/core
|
|
181
|
+
|
|
182
|
+
- [#633](https://github.com/atlassian-labs/atlaspack/pull/633) [`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b) Thanks [@sbhuiyan-atlassian](https://github.com/sbhuiyan-atlassian)! - Ported various HMR changes from Parcel
|
|
183
|
+
|
|
184
|
+
- [#648](https://github.com/atlassian-labs/atlaspack/pull/648) [`c8f7df4`](https://github.com/atlassian-labs/atlaspack/commit/c8f7df4eadfc4718040fceb065dae6e96a4051e7) Thanks [@alshdavid](https://github.com/alshdavid)! - Export ATLASPACK_VERSION and other internals
|
|
185
|
+
|
|
186
|
+
- [#626](https://github.com/atlassian-labs/atlaspack/pull/626) [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca) Thanks [@yamadapc](https://github.com/yamadapc)! - Clean-up tsconfig invalidation improvements feature-flag
|
|
187
|
+
|
|
188
|
+
- Updated dependencies [[`ef3d622`](https://github.com/atlassian-labs/atlaspack/commit/ef3d6228f4e006702198a19c61e051d194d325cb), [`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
|
|
189
|
+
- @atlaspack/workers@2.14.13
|
|
190
|
+
- @atlaspack/logger@2.14.11
|
|
191
|
+
- @atlaspack/feature-flags@2.18.1
|
|
192
|
+
- @atlaspack/fs@2.15.8
|
|
193
|
+
- @atlaspack/package-manager@2.14.13
|
|
194
|
+
- @atlaspack/types@2.15.3
|
|
195
|
+
- @atlaspack/cache@3.2.8
|
|
196
|
+
- @atlaspack/utils@2.15.1
|
|
197
|
+
- @atlaspack/graph@3.5.3
|
|
198
|
+
- @atlaspack/plugin@2.14.13
|
|
199
|
+
- @atlaspack/profiler@2.14.11
|
|
200
|
+
|
|
201
|
+
## 2.18.3
|
|
202
|
+
|
|
203
|
+
### Patch Changes
|
|
204
|
+
|
|
205
|
+
- 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)]:
|
|
206
|
+
- @atlaspack/feature-flags@2.18.0
|
|
207
|
+
- @atlaspack/utils@2.15.0
|
|
208
|
+
- @atlaspack/cache@3.2.7
|
|
209
|
+
- @atlaspack/fs@2.15.7
|
|
210
|
+
- @atlaspack/graph@3.5.2
|
|
211
|
+
- @atlaspack/package-manager@2.14.12
|
|
212
|
+
- @atlaspack/workers@2.14.12
|
|
213
|
+
- @atlaspack/profiler@2.14.10
|
|
214
|
+
- @atlaspack/types@2.15.2
|
|
215
|
+
- @atlaspack/plugin@2.14.12
|
|
216
|
+
|
|
217
|
+
## 2.18.2
|
|
218
|
+
|
|
219
|
+
### Patch Changes
|
|
220
|
+
|
|
221
|
+
- Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
|
|
222
|
+
- @atlaspack/feature-flags@2.17.0
|
|
223
|
+
- @atlaspack/cache@3.2.6
|
|
224
|
+
- @atlaspack/fs@2.15.6
|
|
225
|
+
- @atlaspack/graph@3.5.1
|
|
226
|
+
- @atlaspack/utils@2.14.11
|
|
227
|
+
- @atlaspack/package-manager@2.14.11
|
|
228
|
+
- @atlaspack/profiler@2.14.9
|
|
229
|
+
- @atlaspack/types@2.15.1
|
|
230
|
+
- @atlaspack/workers@2.14.11
|
|
231
|
+
- @atlaspack/plugin@2.14.11
|
|
232
|
+
|
|
233
|
+
## 2.18.1
|
|
234
|
+
|
|
235
|
+
### Patch Changes
|
|
236
|
+
|
|
237
|
+
- Updated dependencies [[`1b52b99`](https://github.com/atlassian-labs/atlaspack/commit/1b52b99db4298b04c1a6eb0f97994d75a2d436f9)]:
|
|
238
|
+
- @atlaspack/graph@3.5.0
|
|
239
|
+
|
|
240
|
+
## 2.18.0
|
|
241
|
+
|
|
242
|
+
### Minor Changes
|
|
243
|
+
|
|
244
|
+
- [#601](https://github.com/atlassian-labs/atlaspack/pull/601) [`1e32d4e`](https://github.com/atlassian-labs/atlaspack/commit/1e32d4eae6b3af3968e8a0ef97d35b4347fd4196) Thanks [@yamadapc](https://github.com/yamadapc)! - Improve granular configuration file invalidations
|
|
245
|
+
|
|
246
|
+
- [#599](https://github.com/atlassian-labs/atlaspack/pull/599) [`0b2f6f5`](https://github.com/atlassian-labs/atlaspack/commit/0b2f6f55794d3ff6e2f5a41f963e7e5dd8ad9f8d) Thanks [@pancaspe87](https://github.com/pancaspe87)! - load and write env to cache - change is feature flagged
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- [#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
|
|
251
|
+
|
|
252
|
+
- [#572](https://github.com/atlassian-labs/atlaspack/pull/572) [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca) Thanks [@yamadapc](https://github.com/yamadapc)! - Add feature-flagged change which removes all environment duplication around objects
|
|
253
|
+
|
|
254
|
+
- 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), [`35fdd4b`](https://github.com/atlassian-labs/atlaspack/commit/35fdd4b52da0af20f74667f7b8adfb2f90279b7c), [`6dd4ccb`](https://github.com/atlassian-labs/atlaspack/commit/6dd4ccb753541de32322d881f973d571dd57e4ca)]:
|
|
255
|
+
- @atlaspack/fs@2.15.5
|
|
256
|
+
- @atlaspack/types@2.15.0
|
|
257
|
+
- @atlaspack/rust@3.3.5
|
|
258
|
+
- @atlaspack/cache@3.2.5
|
|
259
|
+
- @atlaspack/package-manager@2.14.10
|
|
260
|
+
- @atlaspack/profiler@2.14.8
|
|
261
|
+
- @atlaspack/workers@2.14.10
|
|
262
|
+
- @atlaspack/plugin@2.14.10
|
|
263
|
+
- @atlaspack/logger@2.14.10
|
|
264
|
+
- @atlaspack/utils@2.14.10
|
|
265
|
+
|
|
266
|
+
## 2.17.4
|
|
267
|
+
|
|
268
|
+
### Patch Changes
|
|
269
|
+
|
|
270
|
+
- [#588](https://github.com/atlassian-labs/atlaspack/pull/588) [`1940859`](https://github.com/atlassian-labs/atlaspack/commit/194085942f0e86532e9d039fc3f8039badce4594) Thanks [@yamadapc](https://github.com/yamadapc)! - Do not invalidate all javascript files when tsconfig files change
|
|
271
|
+
|
|
272
|
+
- [#592](https://github.com/atlassian-labs/atlaspack/pull/592) [`15b6155`](https://github.com/atlassian-labs/atlaspack/commit/15b61556e9114203ebbc9de94b864118ca764598) Thanks [@yamadapc](https://github.com/yamadapc)! - Report large file invalidations
|
|
273
|
+
|
|
274
|
+
- [#503](https://github.com/atlassian-labs/atlaspack/pull/503) [`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818) Thanks [@JakeLane](https://github.com/JakeLane)! - Fix conditional bundling reporter when condition is reused
|
|
275
|
+
|
|
276
|
+
- [#562](https://github.com/atlassian-labs/atlaspack/pull/562) [`d04de26`](https://github.com/atlassian-labs/atlaspack/commit/d04de26af684d7abfba5091fbe3df16a12cd0ebc) Thanks [@yamadapc](https://github.com/yamadapc)! - Update with feature-flagged change to write packages into files rather than LMDB
|
|
277
|
+
|
|
278
|
+
- Updated dependencies [[`124b7ff`](https://github.com/atlassian-labs/atlaspack/commit/124b7fff44f71aac9fbad289a9a9509b3dfc9aaa), [`e052521`](https://github.com/atlassian-labs/atlaspack/commit/e0525210850ed1606146eb86991049cf567c5dec), [`15c6d70`](https://github.com/atlassian-labs/atlaspack/commit/15c6d7000bd89da876bc590aa75b17a619a41896), [`e4d966c`](https://github.com/atlassian-labs/atlaspack/commit/e4d966c3c9c4292c5013372ae65b10d19d4bacc6), [`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`42a775d`](https://github.com/atlassian-labs/atlaspack/commit/42a775de8eec638ad188f3271964170d8c04d84b), [`29c2f10`](https://github.com/atlassian-labs/atlaspack/commit/29c2f106de9679adfb5afa04e1910471dc65a427), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b), [`1ef91fc`](https://github.com/atlassian-labs/atlaspack/commit/1ef91fcc863fdd2831511937083dbbc1263b3d9d)]:
|
|
279
|
+
- @atlaspack/cache@3.2.4
|
|
280
|
+
- @atlaspack/rust@3.3.4
|
|
281
|
+
- @atlaspack/fs@2.15.4
|
|
282
|
+
- @atlaspack/feature-flags@2.16.0
|
|
283
|
+
- @atlaspack/logger@2.14.9
|
|
284
|
+
- @atlaspack/utils@2.14.9
|
|
285
|
+
- @atlaspack/package-manager@2.14.9
|
|
286
|
+
- @atlaspack/graph@3.4.7
|
|
287
|
+
- @atlaspack/workers@2.14.9
|
|
288
|
+
- @atlaspack/profiler@2.14.7
|
|
289
|
+
- @atlaspack/types@2.14.9
|
|
290
|
+
- @atlaspack/plugin@2.14.9
|
|
291
|
+
|
|
292
|
+
## 2.17.3
|
|
293
|
+
|
|
294
|
+
### Patch Changes
|
|
295
|
+
|
|
296
|
+
- [#551](https://github.com/atlassian-labs/atlaspack/pull/551) [`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b) Thanks [@yamadapc](https://github.com/yamadapc)! - Log request tracker invalidation counts on start-up
|
|
297
|
+
|
|
298
|
+
- [#550](https://github.com/atlassian-labs/atlaspack/pull/550) [`3a3e8e7`](https://github.com/atlassian-labs/atlaspack/commit/3a3e8e7be9e2dffd7304436d792f0f595d59665a) Thanks [@yamadapc](https://github.com/yamadapc)! - Fix typescript declaration files
|
|
299
|
+
|
|
300
|
+
- [#555](https://github.com/atlassian-labs/atlaspack/pull/555) [`15c1e3c`](https://github.com/atlassian-labs/atlaspack/commit/15c1e3c0628bae4c768d76cf3afc53d6d0d7ce7c) Thanks [@alshdavid](https://github.com/alshdavid)! - Added ATLASPACK_NATIVE_THREADS env variable to control the number of threads used by the native thread schedular
|
|
301
|
+
|
|
302
|
+
- 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)]:
|
|
303
|
+
- @atlaspack/feature-flags@2.15.1
|
|
304
|
+
- @atlaspack/fs@2.15.3
|
|
305
|
+
- @atlaspack/rust@3.3.3
|
|
306
|
+
- @atlaspack/cache@3.2.3
|
|
307
|
+
- @atlaspack/graph@3.4.6
|
|
308
|
+
- @atlaspack/utils@2.14.8
|
|
309
|
+
- @atlaspack/package-manager@2.14.8
|
|
310
|
+
- @atlaspack/logger@2.14.8
|
|
311
|
+
- @atlaspack/profiler@2.14.6
|
|
312
|
+
- @atlaspack/types@2.14.8
|
|
313
|
+
- @atlaspack/workers@2.14.8
|
|
314
|
+
- @atlaspack/plugin@2.14.8
|
|
315
|
+
|
|
316
|
+
## 2.17.2
|
|
317
|
+
|
|
318
|
+
### Patch Changes
|
|
319
|
+
|
|
320
|
+
- Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929), [`556d6ab`](https://github.com/atlassian-labs/atlaspack/commit/556d6ab8ede759fa7f37fcd3f4da336ef1c55e8f)]:
|
|
321
|
+
- @atlaspack/feature-flags@2.15.0
|
|
322
|
+
- @atlaspack/logger@2.14.7
|
|
323
|
+
- @atlaspack/rust@3.3.2
|
|
324
|
+
- @atlaspack/cache@3.2.2
|
|
325
|
+
- @atlaspack/fs@2.15.2
|
|
326
|
+
- @atlaspack/graph@3.4.5
|
|
327
|
+
- @atlaspack/utils@2.14.7
|
|
328
|
+
- @atlaspack/package-manager@2.14.7
|
|
329
|
+
- @atlaspack/workers@2.14.7
|
|
330
|
+
- @atlaspack/profiler@2.14.5
|
|
331
|
+
- @atlaspack/types@2.14.7
|
|
332
|
+
- @atlaspack/plugin@2.14.7
|
|
333
|
+
|
|
334
|
+
## 2.17.1
|
|
335
|
+
|
|
336
|
+
### Patch Changes
|
|
337
|
+
|
|
338
|
+
- Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
|
|
339
|
+
- @atlaspack/feature-flags@2.14.4
|
|
340
|
+
- @atlaspack/rust@3.3.1
|
|
341
|
+
- @atlaspack/cache@3.2.1
|
|
342
|
+
- @atlaspack/fs@2.15.1
|
|
343
|
+
- @atlaspack/graph@3.4.4
|
|
344
|
+
- @atlaspack/utils@2.14.6
|
|
345
|
+
- @atlaspack/logger@2.14.6
|
|
346
|
+
- @atlaspack/package-manager@2.14.6
|
|
347
|
+
- @atlaspack/profiler@2.14.4
|
|
348
|
+
- @atlaspack/types@2.14.6
|
|
349
|
+
- @atlaspack/workers@2.14.6
|
|
350
|
+
- @atlaspack/plugin@2.14.6
|
|
351
|
+
|
|
3
352
|
## 2.17.0
|
|
4
353
|
|
|
5
354
|
### Minor Changes
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { GraphVisitor } from '@atlaspack/types';
|
|
2
|
+
import type { ContentGraphOpts, ContentKey, NodeId, SerializedContentGraph } from '@atlaspack/graph';
|
|
3
|
+
import type { Asset, AssetGraphNode, AssetGroup, AssetGroupNode, AssetNode, Dependency, DependencyNode, Entry, EntryFileNode, EntrySpecifierNode, Environment, Target } from './types';
|
|
4
|
+
import { ContentGraph } from '@atlaspack/graph';
|
|
5
|
+
import { ProjectPath } from './projectPath';
|
|
6
|
+
type InitOpts = {
|
|
7
|
+
entries?: Array<ProjectPath>;
|
|
8
|
+
targets?: Array<Target>;
|
|
9
|
+
assetGroups?: Array<AssetGroup>;
|
|
10
|
+
};
|
|
11
|
+
type AssetGraphOpts = ContentGraphOpts<AssetGraphNode> & {
|
|
12
|
+
bundlingVersion?: number;
|
|
13
|
+
disableIncrementalBundling?: boolean;
|
|
14
|
+
hash?: string | null | undefined;
|
|
15
|
+
};
|
|
16
|
+
type SerializedAssetGraph = SerializedContentGraph<AssetGraphNode> & {
|
|
17
|
+
bundlingVersion: number;
|
|
18
|
+
disableIncrementalBundling: boolean;
|
|
19
|
+
hash?: string | null | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare function nodeFromDep(dep: Dependency): DependencyNode;
|
|
22
|
+
export declare function nodeFromAssetGroup(assetGroup: AssetGroup): AssetGroupNode;
|
|
23
|
+
export declare function nodeFromAsset(asset: Asset): AssetNode;
|
|
24
|
+
export declare function nodeFromEntrySpecifier(entry: ProjectPath): EntrySpecifierNode;
|
|
25
|
+
export declare function nodeFromEntryFile(entry: Entry): EntryFileNode;
|
|
26
|
+
export default class AssetGraph extends ContentGraph<AssetGraphNode> {
|
|
27
|
+
#private;
|
|
28
|
+
onNodeRemoved: ((nodeId: NodeId) => unknown) | null | undefined;
|
|
29
|
+
hash: string | null | undefined;
|
|
30
|
+
envCache: Map<string, Environment>;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated
|
|
33
|
+
*/
|
|
34
|
+
safeToIncrementallyBundle: boolean;
|
|
35
|
+
undeferredDependencies: Set<Dependency>;
|
|
36
|
+
constructor(opts?: AssetGraphOpts | null);
|
|
37
|
+
static deserialize(opts: AssetGraphOpts): AssetGraph;
|
|
38
|
+
serialize(): SerializedAssetGraph;
|
|
39
|
+
/**
|
|
40
|
+
* Force incremental bundling to be disabled.
|
|
41
|
+
*/
|
|
42
|
+
setDisableIncrementalBundling(disable: boolean): void;
|
|
43
|
+
testing_getDisableIncrementalBundling(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Make sure this asset graph is marked as needing a full bundling pass.
|
|
46
|
+
*/
|
|
47
|
+
setNeedsBundling(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Get the current bundling version.
|
|
50
|
+
*
|
|
51
|
+
* Each bundle pass should keep this version around. Whenever an asset graph has a new version,
|
|
52
|
+
* bundling should be re-run.
|
|
53
|
+
*/
|
|
54
|
+
getBundlingVersion(): number;
|
|
55
|
+
/**
|
|
56
|
+
* If the `bundlingVersion` has not changed since the last bundling pass,
|
|
57
|
+
* we can incrementally bundle, which will not require a full bundling pass
|
|
58
|
+
* but just update assets into the bundle graph output.
|
|
59
|
+
*/
|
|
60
|
+
canIncrementallyBundle(lastVersion: number): boolean;
|
|
61
|
+
normalizeEnvironment(input: Asset | Dependency | AssetGroup): void;
|
|
62
|
+
setRootConnections({ entries, assetGroups }: InitOpts): void;
|
|
63
|
+
addNode(node: AssetGraphNode): NodeId;
|
|
64
|
+
removeNode(nodeId: NodeId): void;
|
|
65
|
+
resolveEntry(entry: ProjectPath, resolved: Array<Entry>, correspondingRequest: ContentKey): void;
|
|
66
|
+
resolveTargets(entry: Entry, targets: Array<Target>, correspondingRequest: string): void;
|
|
67
|
+
resolveDependency(dependency: Dependency, assetGroup: AssetGroup | null | undefined, correspondingRequest: string): void;
|
|
68
|
+
shouldVisitChild(nodeId: NodeId, childNodeId: NodeId): boolean;
|
|
69
|
+
markParentsWithHasDeferred(nodeId: NodeId): void;
|
|
70
|
+
unmarkParentsWithHasDeferred(nodeId: NodeId): void;
|
|
71
|
+
shouldDeferDependency(dependency: Dependency, sideEffects: boolean | null | undefined, canDefer: boolean): boolean;
|
|
72
|
+
resolveAssetGroup(assetGroup: AssetGroup, assets: Array<Asset>, correspondingRequest: ContentKey): void;
|
|
73
|
+
resolveAsset(assetNode: AssetNode, dependentAssets: Array<Asset>): void;
|
|
74
|
+
getIncomingDependencies(asset: Asset): Array<Dependency>;
|
|
75
|
+
traverseAssets<TContext>(visit: GraphVisitor<Asset, TContext>, startNodeId?: NodeId | null): TContext | null | undefined;
|
|
76
|
+
getEntryAssetGroupNodes(): Array<AssetGroupNode>;
|
|
77
|
+
getEntryAssets(): Array<Asset>;
|
|
78
|
+
getHash(): string;
|
|
79
|
+
}
|
|
80
|
+
export {};
|