@rushstack/rush-http-build-cache-plugin 5.151.0 → 5.153.0

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.
Files changed (58) hide show
  1. package/LICENSE +24 -0
  2. package/package.json +6 -6
  3. package/.eslintrc.js +0 -12
  4. package/.rush/temp/chunked-rush-logs/rush-http-build-cache-plugin._phase_build.chunks.jsonl +0 -7
  5. package/.rush/temp/chunked-rush-logs/rush-http-build-cache-plugin._phase_test.chunks.jsonl +0 -15
  6. package/.rush/temp/operation/_phase_build/all.log +0 -7
  7. package/.rush/temp/operation/_phase_build/log-chunks.jsonl +0 -7
  8. package/.rush/temp/operation/_phase_build/state.json +0 -3
  9. package/.rush/temp/operation/_phase_test/all.log +0 -15
  10. package/.rush/temp/operation/_phase_test/log-chunks.jsonl +0 -15
  11. package/.rush/temp/operation/_phase_test/state.json +0 -3
  12. package/.rush/temp/rushstack+rush-http-build-cache-plugin-_phase_build-09ba4578e86c440fbc153748b6a18b90fb360365.tar.log +0 -32
  13. package/.rush/temp/rushstack+rush-http-build-cache-plugin-_phase_test-bdfa659684a6b57c1ae1e0d2fa0aac93dac1c358.tar.log +0 -25
  14. package/.rush/temp/shrinkwrap-deps.json +0 -9
  15. package/config/jest.config.json +0 -14
  16. package/config/rig.json +0 -18
  17. package/coverage/HttpBuildCacheProvider.ts.html +0 -1426
  18. package/coverage/RushHttpBuildCachePlugin.ts.html +0 -328
  19. package/coverage/base.css +0 -224
  20. package/coverage/block-navigation.js +0 -87
  21. package/coverage/cobertura-coverage.xml +0 -641
  22. package/coverage/favicon.png +0 -0
  23. package/coverage/index.html +0 -146
  24. package/coverage/index.ts.html +0 -106
  25. package/coverage/junit.xml +0 -9
  26. package/coverage/prettify.css +0 -1
  27. package/coverage/prettify.js +0 -2
  28. package/coverage/sort-arrow-sprite.png +0 -0
  29. package/coverage/sorter.js +0 -196
  30. package/lib/test/HttpBuildCacheProvider.test.d.ts +0 -2
  31. package/lib/test/HttpBuildCacheProvider.test.d.ts.map +0 -1
  32. package/lib/test/HttpBuildCacheProvider.test.js +0 -94
  33. package/lib/test/HttpBuildCacheProvider.test.js.map +0 -1
  34. package/rush-logs/rush-http-build-cache-plugin._phase_build.cache.log +0 -3
  35. package/rush-logs/rush-http-build-cache-plugin._phase_build.log +0 -7
  36. package/rush-logs/rush-http-build-cache-plugin._phase_test.cache.log +0 -3
  37. package/rush-logs/rush-http-build-cache-plugin._phase_test.log +0 -15
  38. package/src/HttpBuildCacheProvider.ts +0 -447
  39. package/src/RushHttpBuildCachePlugin.ts +0 -81
  40. package/src/index.ts +0 -7
  41. package/src/schemas/http-config.schema.json +0 -52
  42. package/src/test/HttpBuildCacheProvider.test.ts +0 -128
  43. package/temp/build/lint/_eslint-it73M-Rx.json +0 -21
  44. package/temp/build/typescript/file-copy.json +0 -1
  45. package/temp/build/typescript/ts_l9Fw4VUO.json +0 -1
  46. package/temp/test/jest/haste-map-8bff56e236187dbf28a94cdea7ee2158-1f8f3a8b20228094c245723445dd2c9a-e95bfd62c357a87bf3c5f47c6c3a2910 +0 -0
  47. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/33/core_3305ad7ebc3e67008b0e3d5efb3c89fa +0 -159
  48. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/3b/core_3bc9b1aaea9d0e6b8c2abd6cc99051d8 +0 -163
  49. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/66/data_662ee7a852684a50b5465ea7d1610925 +0 -14
  50. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/b7/jsonschemadraft04_b75c7627c284f64550e887c2057ef2b6 +0 -139
  51. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/b9/jsonschemadraft07_b9cfe2070b124a335100e419866f22e9 +0 -152
  52. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/d5/core_d54674276357d38b544776746c491fe4 +0 -159
  53. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/dd/core_ddf14bea0382190ed8fdfd5580a03808 +0 -163
  54. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/ef/jsonschemadraft07_ef987ddfbeb03ba4a34e7532df7928e0 +0 -152
  55. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/f3/data_f34177071494d6cb15f3fe5d39e6e64d +0 -14
  56. package/temp/test/jest/jest-transform-cache-8bff56e236187dbf28a94cdea7ee2158-79ef2876fae7ca75eedb2aa53dc48338/f8/jsonschemadraft04_f83be58b69304badc2bd53040f13bbfa +0 -139
  57. package/temp/test/jest/perf-cache-8bff56e236187dbf28a94cdea7ee2158-da39a3ee5e6b4b0d3255bfef95601890 +0 -1
  58. package/tsconfig.json +0 -3
package/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ @rushstack/rush-http-build-cache-plugin
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+
5
+ MIT License
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining
8
+ a copy of this software and associated documentation files (the
9
+ "Software"), to deal in the Software without restriction, including
10
+ without limitation the rights to use, copy, modify, merge, publish,
11
+ distribute, sublicense, and/or sell copies of the Software, and to
12
+ permit persons to whom the Software is furnished to do so, subject to
13
+ the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-http-build-cache-plugin",
3
- "version": "5.151.0",
3
+ "version": "5.153.0",
4
4
  "description": "Rush plugin for generic HTTP cloud build cache",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,14 +13,14 @@
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
15
  "https-proxy-agent": "~5.0.0",
16
- "@rushstack/rush-sdk": "5.151.0",
17
- "@rushstack/node-core-library": "5.13.0"
16
+ "@rushstack/node-core-library": "5.13.0",
17
+ "@rushstack/rush-sdk": "5.153.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/rush-lib": "5.151.0",
21
- "local-node-rig": "1.0.0",
20
+ "@microsoft/rush-lib": "5.153.0",
22
21
  "@rushstack/terminal": "0.15.2",
23
- "@rushstack/heft": "0.71.1"
22
+ "@rushstack/heft": "0.73.1",
23
+ "local-node-rig": "1.0.0"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "heft build --clean",
package/.eslintrc.js DELETED
@@ -1,12 +0,0 @@
1
- // This is a workaround for https://github.com/eslint/eslint/issues/3458
2
- require('local-node-rig/profiles/default/includes/eslint/patch/modern-module-resolution');
3
- // This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4
- require('local-node-rig/profiles/default/includes/eslint/patch/custom-config-package-names');
5
-
6
- module.exports = {
7
- extends: [
8
- 'local-node-rig/profiles/default/includes/eslint/profile/node-trusted-tool',
9
- 'local-node-rig/profiles/default/includes/eslint/mixins/friendly-locals'
10
- ],
11
- parserOptions: { tsconfigRootDir: __dirname }
12
- };
@@ -1,7 +0,0 @@
1
- {"kind":"O","text":"Invoking: heft run --only build -- --clean --production\n"}
2
- {"kind":"O","text":" ---- build started ---- \n"}
3
- {"kind":"O","text":"[build:typescript] Using TypeScript version 5.8.2\n"}
4
- {"kind":"O","text":"[build:lint] Using ESLint version 8.57.0\n"}
5
- {"kind":"O","text":"[build:typescript] Copied 1 file and linked 0 files\n"}
6
- {"kind":"O","text":" ---- build finished (9.725s) ---- \n"}
7
- {"kind":"O","text":"\u001b[1m\u001b[32m-------------------- Finished (9.731s) --------------------\u001b[39m\u001b[22m\n"}
@@ -1,15 +0,0 @@
1
- {"kind":"O","text":"Invoking: heft run --only test -- --clean --production\n"}
2
- {"kind":"O","text":"\u001b[1mThe provided list of phases does not contain all phase dependencies. You may need to run the excluded phases manually.\u001b[22m\n"}
3
- {"kind":"O","text":" ---- test started ---- \n"}
4
- {"kind":"O","text":"[test:jest] Using Jest version 29.5.0\n"}
5
- {"kind":"O","text":"[test:jest] \u001b[0m\n"}
6
- {"kind":"O","text":"[test:jest] Run start. 1 test suite\n"}
7
- {"kind":"O","text":"[test:jest] \u001b[47m\u001b[30mSTART\u001b[39m\u001b[49m lib/test/HttpBuildCacheProvider.test.js\n"}
8
- {"kind":"O","text":"[test:jest] \u001b[42m\u001b[30mPASS\u001b[39m\u001b[49m lib/test/HttpBuildCacheProvider.test.js (duration: 2.002s, 2 passed, 0 failed)\n"}
9
- {"kind":"O","text":"[test:jest] \n"}
10
- {"kind":"O","text":"[test:jest] Tests finished:\n"}
11
- {"kind":"O","text":"[test:jest] \u001b[32m Successes: 2\u001b[39m\n"}
12
- {"kind":"O","text":"[test:jest] Failures: 0\n"}
13
- {"kind":"O","text":"[test:jest] Total: 2\n"}
14
- {"kind":"O","text":" ---- test finished (4.006s) ---- \n"}
15
- {"kind":"O","text":"\u001b[1m\u001b[32m-------------------- Finished (4.028s) --------------------\u001b[39m\u001b[22m\n"}
@@ -1,7 +0,0 @@
1
- Invoking: heft run --only build -- --clean --production
2
- ---- build started ----
3
- [build:typescript] Using TypeScript version 5.8.2
4
- [build:lint] Using ESLint version 8.57.0
5
- [build:typescript] Copied 1 file and linked 0 files
6
- ---- build finished (9.725s) ----
7
- -------------------- Finished (9.731s) --------------------
@@ -1,7 +0,0 @@
1
- {"kind":"O","text":"Invoking: heft run --only build -- --clean --production\n"}
2
- {"kind":"O","text":" ---- build started ---- \n"}
3
- {"kind":"O","text":"[build:typescript] Using TypeScript version 5.8.2\n"}
4
- {"kind":"O","text":"[build:lint] Using ESLint version 8.57.0\n"}
5
- {"kind":"O","text":"[build:typescript] Copied 1 file and linked 0 files\n"}
6
- {"kind":"O","text":" ---- build finished (9.725s) ---- \n"}
7
- {"kind":"O","text":"\u001b[1m\u001b[32m-------------------- Finished (9.731s) --------------------\u001b[39m\u001b[22m\n"}
@@ -1,3 +0,0 @@
1
- {
2
- "nonCachedDurationMs": 10766.250474
3
- }
@@ -1,15 +0,0 @@
1
- Invoking: heft run --only test -- --clean --production
2
- The provided list of phases does not contain all phase dependencies. You may need to run the excluded phases manually.
3
- ---- test started ----
4
- [test:jest] Using Jest version 29.5.0
5
- [test:jest]
6
- [test:jest] Run start. 1 test suite
7
- [test:jest] START lib/test/HttpBuildCacheProvider.test.js
8
- [test:jest] PASS lib/test/HttpBuildCacheProvider.test.js (duration: 2.002s, 2 passed, 0 failed)
9
- [test:jest]
10
- [test:jest] Tests finished:
11
- [test:jest] Successes: 2
12
- [test:jest] Failures: 0
13
- [test:jest] Total: 2
14
- ---- test finished (4.006s) ----
15
- -------------------- Finished (4.028s) --------------------
@@ -1,15 +0,0 @@
1
- {"kind":"O","text":"Invoking: heft run --only test -- --clean --production\n"}
2
- {"kind":"O","text":"\u001b[1mThe provided list of phases does not contain all phase dependencies. You may need to run the excluded phases manually.\u001b[22m\n"}
3
- {"kind":"O","text":" ---- test started ---- \n"}
4
- {"kind":"O","text":"[test:jest] Using Jest version 29.5.0\n"}
5
- {"kind":"O","text":"[test:jest] \u001b[0m\n"}
6
- {"kind":"O","text":"[test:jest] Run start. 1 test suite\n"}
7
- {"kind":"O","text":"[test:jest] \u001b[47m\u001b[30mSTART\u001b[39m\u001b[49m lib/test/HttpBuildCacheProvider.test.js\n"}
8
- {"kind":"O","text":"[test:jest] \u001b[42m\u001b[30mPASS\u001b[39m\u001b[49m lib/test/HttpBuildCacheProvider.test.js (duration: 2.002s, 2 passed, 0 failed)\n"}
9
- {"kind":"O","text":"[test:jest] \n"}
10
- {"kind":"O","text":"[test:jest] Tests finished:\n"}
11
- {"kind":"O","text":"[test:jest] \u001b[32m Successes: 2\u001b[39m\n"}
12
- {"kind":"O","text":"[test:jest] Failures: 0\n"}
13
- {"kind":"O","text":"[test:jest] Total: 2\n"}
14
- {"kind":"O","text":" ---- test finished (4.006s) ---- \n"}
15
- {"kind":"O","text":"\u001b[1m\u001b[32m-------------------- Finished (4.028s) --------------------\u001b[39m\u001b[22m\n"}
@@ -1,3 +0,0 @@
1
- {
2
- "nonCachedDurationMs": 5191.087886000023
3
- }
@@ -1,32 +0,0 @@
1
- Start time: Tue Mar 25 2025 16:56:36 GMT+0000 (Coordinated Universal Time)
2
- Invoking "/usr/bin/tar -c -f /mnt/vss/_work/1/s/common/temp/build-cache/rushstack+rush-http-build-cache-plugin-_phase_build-09ba4578e86c440fbc153748b6a18b90fb360365-c176a90dfe06002c.temp -z --files-from=-"
3
-
4
- ======= BEGIN PROCESS INPUT ======
5
- .rush/temp/operation/_phase_build/all.log
6
- .rush/temp/operation/_phase_build/log-chunks.jsonl
7
- .rush/temp/operation/_phase_build/state.json
8
- lib/HttpBuildCacheProvider.d.ts
9
- lib/HttpBuildCacheProvider.d.ts.map
10
- lib/HttpBuildCacheProvider.js
11
- lib/HttpBuildCacheProvider.js.map
12
- lib/RushHttpBuildCachePlugin.d.ts
13
- lib/RushHttpBuildCachePlugin.d.ts.map
14
- lib/RushHttpBuildCachePlugin.js
15
- lib/RushHttpBuildCachePlugin.js.map
16
- lib/index.d.ts
17
- lib/index.d.ts.map
18
- lib/index.js
19
- lib/index.js.map
20
- lib/schemas/http-config.schema.json
21
- lib/test/HttpBuildCacheProvider.test.d.ts
22
- lib/test/HttpBuildCacheProvider.test.d.ts.map
23
- lib/test/HttpBuildCacheProvider.test.js
24
- lib/test/HttpBuildCacheProvider.test.js.map
25
- temp/build/lint/_eslint-it73M-Rx.json
26
- temp/build/typescript/file-copy.json
27
- temp/build/typescript/ts_l9Fw4VUO.json
28
- ======== END PROCESS INPUT =======
29
- ======= BEGIN PROCESS OUTPUT =======
30
- ======== END PROCESS OUTPUT ========
31
-
32
- Exited with code "0"
@@ -1,25 +0,0 @@
1
- Start time: Tue Mar 25 2025 16:56:42 GMT+0000 (Coordinated Universal Time)
2
- Invoking "/usr/bin/tar -c -f /mnt/vss/_work/1/s/common/temp/build-cache/rushstack+rush-http-build-cache-plugin-_phase_test-bdfa659684a6b57c1ae1e0d2fa0aac93dac1c358-f442314e5a5ee536.temp -z --files-from=-"
3
-
4
- ======= BEGIN PROCESS INPUT ======
5
- .rush/temp/operation/_phase_test/all.log
6
- .rush/temp/operation/_phase_test/log-chunks.jsonl
7
- .rush/temp/operation/_phase_test/state.json
8
- coverage/HttpBuildCacheProvider.ts.html
9
- coverage/RushHttpBuildCachePlugin.ts.html
10
- coverage/base.css
11
- coverage/block-navigation.js
12
- coverage/cobertura-coverage.xml
13
- coverage/favicon.png
14
- coverage/index.html
15
- coverage/index.ts.html
16
- coverage/junit.xml
17
- coverage/prettify.css
18
- coverage/prettify.js
19
- coverage/sort-arrow-sprite.png
20
- coverage/sorter.js
21
- ======== END PROCESS INPUT =======
22
- ======= BEGIN PROCESS OUTPUT =======
23
- ======== END PROCESS OUTPUT ========
24
-
25
- Exited with code "0"
@@ -1,9 +0,0 @@
1
- {
2
- "../../../rush-plugins/rush-http-build-cache-plugin": "../../../rush-plugins/rush-http-build-cache-plugin:c67osaye76DDfIHh56yPqMYuRdMqQpaN/fzI6wsRuHo=:",
3
- "/agent-base@6.0.2": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
4
- "/debug@4.3.4(supports-color@8.1.1)": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
5
- "/has-flag@4.0.0": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
6
- "/https-proxy-agent@5.0.1": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
7
- "/ms@2.1.2": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
8
- "/supports-color@8.1.1": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="
9
- }
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "local-node-rig/profiles/default/config/jest.config.json",
3
- "clearMocks": true,
4
- "restoreMocks": true,
5
- "collectCoverage": true,
6
- "coverageThreshold": {
7
- "global": {
8
- "branches": 4,
9
- "functions": 15,
10
- "lines": 4,
11
- "statements": 4
12
- }
13
- }
14
- }
package/config/rig.json DELETED
@@ -1,18 +0,0 @@
1
- {
2
- // The "rig.json" file directs tools to look for their config files in an external package.
3
- // Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package
4
- "$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
5
-
6
- /**
7
- * (Required) The name of the rig package to inherit from.
8
- * It should be an NPM package name with the "-rig" suffix.
9
- */
10
- "rigPackageName": "local-node-rig",
11
-
12
- /**
13
- * (Optional) Selects a config profile from the rig package. The name must consist of
14
- * lowercase alphanumeric words separated by hyphens, for example "sample-profile".
15
- * If omitted, then the "default" profile will be used."
16
- */
17
- "rigProfile": "default"
18
- }