Граф коммитов

376 Коммитов

Автор SHA1 Сообщение Дата
Kenneth Chau 97c27bf470
fixes windows to use the fast path as well (#420)
* fixes windows to use the fast path as well

* Change files
2022-06-10 19:14:15 +00:00
Ken Chau b910c0a063 applying package updates 2022-06-10 18:21:21 +00:00
Kenneth Chau 8f8e06270d
Backfill hasher speed boost: using a tree to create a grouping for package files hash (#418)
* WIP: need to refine the path/to/package -> array of file hashes

* generating packageHashes in 1s

* using a trie to improve speedds

* Fixing eslint version mismatch issue

* using the package hash inside repoInfo & hashOfFiles

* Change files

* adds a test for testing fast path

* separating packagehash creation out the repoInfo file; added test & comments

* fixing the new tests
2022-06-10 11:19:26 -07:00
Ken Chau 8c494d308e applying package updates 2022-05-19 12:02:01 +00:00
VincentBailly fbd340d76b
buffer ado request body (#416)
* Azure blob storage timeout

* Change files

* buffer request body until the request is complete

* more accurate comment

Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
2022-05-19 13:59:30 +02:00
Ken Chau 5d5b8806d0 applying package updates 2022-05-18 12:15:03 +00:00
VincentBailly a2c7c0f6f4
opt in for incremental caching (#414)
* Make incremental cache an opt-in option

* Change files

Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
2022-05-18 14:12:38 +02:00
Ken Chau 9275d8c6be applying package updates 2022-04-25 13:30:56 +00:00
VincentBailly 0d5fbc2c0b
Use memoized file hashes to only cache the files that have changes (#413)
* use mtime instead of hash

* Change files

* fix strict equal bug

* add unit tests

* turn the feature on by default

* use memoized file hashes to compute which files to cache

* remove race condition

* Map.has()

Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
2022-04-25 15:28:33 +02:00
Ken Chau 93a62c6517 applying package updates 2022-04-20 12:32:29 +00:00
VincentBailly 9cb309b87a
dont upload unchanged files (#404)
* filter unchanged files

Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
2022-04-20 14:30:30 +02:00
Ken Chau 3df4d219a5 applying package updates 2022-03-31 05:28:57 +00:00
David Zearing 8662e9d4ec
Updating package-deps-hash version. (#407)
* Fixing bad dependency.

* Change files

* Signature changed for getPackageDeps to return a Map. Change here: aa0700fa74

* underscores?

* 1 more.
2022-03-31 07:26:59 +02:00
Ken Chau 6b5c826da0 applying package updates 2022-01-13 19:46:10 +00:00
Kenneth Chau 633a5d1182
Fix platform diffs (#402)
* fixing platform differences in a monorepo, added tests

* Change files

* undo it.only
2022-01-13 19:43:41 +00:00
Ken Chau 92c41a17a8 applying package updates 2022-01-07 21:26:53 +00:00
Kenneth Chau 5f26b448b6
Bump workspace tools (#400)
* bumps the workspace-tools

* Change files
2022-01-07 13:24:32 -08:00
Ken Chau c60c0e141d applying package updates 2022-01-07 16:43:20 +00:00
Kenneth Chau 52711efb56
Speeding up hasher by reducing wasted calculations (#399)
* speeding up the hasher by reducing wasted calculations

* Change files
2022-01-07 08:41:16 -08:00
Ken Chau 6fa1c1a6a3 applying package updates 2021-10-12 19:45:45 +00:00
Kenneth Chau 04f6ecf73f
Feat: flexible storage provider via custom classes (#391)
* feat: adds a way to set up custom cache storage provider classes

* Change files

* adding tests

* some documentation on the custom provider

* Change files

* update with functional style

* making the name customizable for a cache provider

* adding a backfill api test

* adding put and fetch api test for custom providers

* make sure beachball ignores some test fixtures
2021-10-12 12:43:22 -07:00
Ken Chau 185bc10038 applying package updates 2021-09-21 22:29:42 +00:00
Elizabeth Craig c21ba92bfd
Fix git root detection in worktrees (#389)
* Fix git root detection in worktrees

* Change files

* update naming
2021-09-21 15:27:27 -07:00
Ken Chau 74898eb75f applying package updates 2021-07-31 21:38:03 +00:00
Kenneth Chau 25de1b2c65
Improve the speed of put as the number o files in cwd increases to >10k (#385) 2021-07-31 14:35:33 -07:00
Ken Chau 2a1a61f42b applying package updates 2021-06-22 14:38:58 +00:00
VincentBailly bd716573b8
Fix: files from a different package are included in the hash. (#374)
* Fix: files from a different package are included in the hash.

When a package is a substring of another package, the files in the
package which have the longuest name will affect the hash of the other.

* Change files

* fix for windows

Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
2021-06-22 16:36:58 +02:00
Ken Chau e092941ab2 applying package updates 2021-05-06 13:46:20 +00:00
VincentBailly 3df30b0220
dont cache unchanged files (#356)
* dont cache unchanged files

* order import

* v2

* Change files

* remove .only statement

Co-authored-by: Vincent Bailly <vibailly@microsoft.com>
2021-05-06 15:43:55 +02:00
dependabot-preview[bot] 2aa3d6679a
Bump filenamify from 4.1.0 to 4.2.0 (#311)
Bumps [filenamify](https://github.com/sindresorhus/filenamify) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/sindresorhus/filenamify/releases)
- [Commits](https://github.com/sindresorhus/filenamify/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-27 12:34:20 +03:00
Ken Chau bbe49a4807 applying package updates 2021-04-27 09:06:13 +00:00
dependabot-preview[bot] 0e5a9db6ed
Bump @types/node from 13.13.35 to 14.14.41 (#346)
* Bump @types/node from 13.13.35 to 14.14.41

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.35 to 14.14.41.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Change files

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Ronald Ndirangu <ronald.ndirangu@gmail.com>
2021-04-27 12:03:15 +03:00
Ken Chau 4c75d4ce5f applying package updates 2021-04-27 08:36:41 +00:00
dependabot-preview[bot] 6bd7fc1761
Bump chalk from 3.0.0 to 4.1.1 (#345)
* Bump chalk from 3.0.0 to 4.1.1

Bumps [chalk](https://github.com/chalk/chalk) from 3.0.0 to 4.1.1.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v3.0.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Change files

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Ronald Ndirangu <ronald.ndirangu@gmail.com>
2021-04-27 11:34:00 +03:00
Ken Chau 72dc49d733 applying package updates 2021-04-27 08:32:03 +00:00
dependabot-preview[bot] 89e99fe8f0
[Security] Bump ssri from 6.0.1 to 6.0.2 (#344)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-27 11:29:57 +03:00
Ken Chau b1c0dd5f4d applying package updates 2021-04-27 08:29:06 +00:00
dependabot-preview[bot] 59421f5944
Bump @types/fs-extra from 8.0.1 to 9.0.11 (#343)
* Bump @types/fs-extra from 8.0.1 to 9.0.11

Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 8.0.1 to 9.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Change files

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Ronald Ndirangu <ronald.ndirangu@gmail.com>
2021-04-27 11:28:12 +03:00
dependabot-preview[bot] f33abef63e
Bump find-up from 4.1.0 to 5.0.0 (#314)
* Bump find-up from 4.1.0 to 5.0.0

Bumps [find-up](https://github.com/sindresorhus/find-up) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/find-up/releases)
- [Commits](https://github.com/sindresorhus/find-up/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Change files

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Ronald Ndirangu <ronald.ndirangu@gmail.com>
2021-04-27 11:26:34 +03:00
dependabot-preview[bot] 310b0343db
[Security] Bump y18n from 4.0.0 to 4.0.3 (#342)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-27 10:12:02 +03:00
Ken Chau eaa82fcd5c applying package updates 2021-04-23 23:51:52 +00:00
Kenneth Chau 040579da32
bumps workspace-tools to speed up boot of these tools (#347)
* bumps workspace-tools to take advantage of the faster boot of the lib

* Change files
2021-04-23 16:49:37 -07:00
Sunil Pai 03b0e808d9
Add syntax highlighting to a code sample (#323)
The code sample near the bottom of the page showing how to use the javascript api lacks syntax highlight, this PR adds the tag to the code block that should enable it.
2020-12-29 15:52:43 +01:00
Sunil Pai 7f3329b8c3
Fix typo in README: s/blog/blob (#322) 2020-12-29 15:51:41 +01:00
dependabot[bot] 7ffdfd3e3b
Bump ini from 1.3.5 to 1.3.8 (#318)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 10:35:34 +01:00
Ken Chau 42facce22f applying package updates 2020-12-01 09:45:24 +00:00
Ken Chau 14c6fa1913 applying package updates 2020-12-01 09:43:25 +00:00
dependabot-preview[bot] 5662530194
Bump @types/node from 13.13.4 to 14.14.10 (#306)
* Bump @types/node from 13.13.4 to 14.14.10

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.4 to 14.14.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* CI against node 14

* Change files

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Weggersen <bewegger@microsoft.com>
2020-12-01 10:42:19 +01:00
dependabot-preview[bot] d6b3b5f327
Bump typescript from 3.7.4 to 4.1.2 (#307)
* Bump typescript from 3.7.4 to 4.1.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.4 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.4...v4.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Use local TypeScript in VSCode

* Address type issues

* Change files

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Weggersen <bewegger@microsoft.com>
2020-12-01 10:40:50 +01:00
Ken Chau e5bb599aad applying package updates 2020-12-01 09:13:42 +00:00