@atlaspack/fs 2.14.1-dev.144 → 2.14.1-dev.145
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 +90 -0
- package/index.d.ts +5 -4
- package/lib/browser.js +10 -1
- package/lib/browser.js.map +1 -1
- package/lib/index.js +10 -1
- package/lib/index.js.map +1 -1
- package/package.json +10 -10
- package/src/NodeVCSAwareFS.js +10 -0
package/lib/index.js
CHANGED
|
@@ -1018,7 +1018,7 @@ function $1e76aa5674175761$var$ncp(source, dest, options, callback) {
|
|
|
1018
1018
|
|
|
1019
1019
|
|
|
1020
1020
|
var $d7f6ae9f917393f7$exports = {};
|
|
1021
|
-
$d7f6ae9f917393f7$exports = JSON.parse("{\"name\":\"@atlaspack/fs\",\"version\":\"2.14.1-dev.
|
|
1021
|
+
$d7f6ae9f917393f7$exports = JSON.parse("{\"name\":\"@atlaspack/fs\",\"version\":\"2.14.1-dev.145+fa4d24840\",\"description\":\"Blazing fast, zero configuration web application bundler\",\"license\":\"(MIT OR Apache-2.0)\",\"publishConfig\":{\"access\":\"public\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/atlassian-labs/atlaspack.git\"},\"main\":\"lib/index.js\",\"source\":\"src/index.js\",\"types\":\"index.d.ts\",\"engines\":{\"node\":\">= 16.0.0\"},\"targets\":{\"types\":false,\"main\":{\"includeNodeModules\":{\"@atlaspack/build-cache\":false,\"@atlaspack/diagnostic\":false,\"@atlaspack/feature-flags\":false,\"@atlaspack/logger\":false,\"@atlaspack/rust\":false,\"@atlaspack/types-internal\":false,\"@atlaspack/utils\":false,\"@atlaspack/watcher-watchman-js\":false,\"@parcel/watcher\":false,\"@atlaspack/workers\":false}},\"browser\":{\"includeNodeModules\":{\"@atlaspack/build-cache\":false,\"@atlaspack/diagnostic\":false,\"@atlaspack/feature-flags\":false,\"@atlaspack/logger\":false,\"@atlaspack/rust\":false,\"@atlaspack/types-internal\":false,\"@atlaspack/utils\":false,\"@atlaspack/watcher-watchman-js\":false,\"@parcel/watcher\":false,\"@atlaspack/workers\":false}}},\"scripts\":{\"build-ts\":\"mkdir -p lib && flow-to-ts src/types.js > lib/types.d.ts\",\"check-ts\":\"tsc --noEmit index.d.ts\"},\"dependencies\":{\"@atlaspack/build-cache\":\"2.13.3-dev.145+fa4d24840\",\"@atlaspack/feature-flags\":\"2.14.1-dev.145+fa4d24840\",\"@atlaspack/logger\":\"2.14.1-dev.145+fa4d24840\",\"@atlaspack/rust\":\"3.0.1-dev.145+fa4d24840\",\"@atlaspack/types-internal\":\"2.14.1-dev.145+fa4d24840\",\"@atlaspack/utils\":\"2.14.1-dev.145+fa4d24840\",\"@atlaspack/workers\":\"2.14.1-dev.145+fa4d24840\",\"@parcel/watcher\":\"^2.0.7\"},\"devDependencies\":{\"@atlaspack/watcher-watchman-js\":\"2.14.1-dev.145+fa4d24840\",\"graceful-fs\":\"^4.2.4\",\"ncp\":\"^2.0.0\",\"nullthrows\":\"^1.1.1\",\"utility-types\":\"^3.10.0\"},\"browser\":{\"@atlaspack/fs\":\"./lib/browser.js\",\"./src/NodeFS.js\":\"./src/NodeFS.browser.js\"},\"type\":\"commonjs\",\"gitHead\":\"fa4d24840815e7048a21d74caf01e2df633fabe3\"}");
|
|
1022
1022
|
|
|
1023
1023
|
|
|
1024
1024
|
|
|
@@ -2363,6 +2363,15 @@ class $907e69a4d4f6f904$export$80de92554c03942a extends (0, $94eb45ad74bb764d$ex
|
|
|
2363
2363
|
let vcsState = null;
|
|
2364
2364
|
try {
|
|
2365
2365
|
vcsState = await (0, $2V2hx$atlaspacklogger.instrumentAsync)('NodeVCSAwareFS::getVcsStateSnapshot', ()=>(0, $2V2hx$atlaspackrust.getVcsStateSnapshot)(gitRepoPath, this.#excludePatterns));
|
|
2366
|
+
(0, ($parcel$interopDefault($2V2hx$atlaspacklogger))).info({
|
|
2367
|
+
origin: '@atlaspack/fs',
|
|
2368
|
+
message: 'Expose VCS timing metrics',
|
|
2369
|
+
meta: {
|
|
2370
|
+
trackableEvent: 'vcs_timing_metrics',
|
|
2371
|
+
dirtyFilesExecutionTime: vcsState?.dirtyFilesExecutionTime,
|
|
2372
|
+
yarnStatesExecutionTime: vcsState?.yarnStatesExecutionTime
|
|
2373
|
+
}
|
|
2374
|
+
});
|
|
2366
2375
|
} catch (err) {
|
|
2367
2376
|
(0, ($parcel$interopDefault($2V2hx$atlaspacklogger))).error({
|
|
2368
2377
|
origin: '@atlaspack/fs',
|