@rushstack/rush-http-build-cache-plugin 5.107.0 → 5.107.1

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 (39) hide show
  1. package/.rush/temp/operation/_phase_build/all.log +2 -2
  2. package/.rush/temp/operation/_phase_build/state.json +1 -1
  3. package/.rush/temp/operation/_phase_test/all.log +3 -11
  4. package/.rush/temp/operation/_phase_test/state.json +1 -1
  5. package/.rush/temp/{rushstack+rush-http-build-cache-plugin-_phase_build-ff82f884c82f3a1a38c20cd3495a1617ca1ac1db.tar.log → rushstack+rush-http-build-cache-plugin-_phase_build-80b284e341e2ccefeaa4fdb7b46fd2a78cb27a76.tar.log} +2 -2
  6. package/.rush/temp/{rushstack+rush-http-build-cache-plugin-_phase_build-ff82f884c82f3a1a38c20cd3495a1617ca1ac1db.untar.log → rushstack+rush-http-build-cache-plugin-_phase_build-80b284e341e2ccefeaa4fdb7b46fd2a78cb27a76.untar.log} +2 -2
  7. package/.rush/temp/rushstack+rush-http-build-cache-plugin-_phase_test-1fe1c5543d37cbc17d345e8ab6394a2f42ea520e.tar.log +24 -0
  8. package/.rush/temp/rushstack+rush-http-build-cache-plugin-_phase_test-1fe1c5543d37cbc17d345e8ab6394a2f42ea520e.untar.log +10 -0
  9. package/.rush/temp/shrinkwrap-deps.json +1 -51
  10. package/config/jest.config.json +1 -1
  11. package/config/rig.json +1 -1
  12. package/{temp/coverage/lcov-report → coverage}/HttpBuildCacheProvider.ts.html +1 -1
  13. package/{temp/coverage/lcov-report → coverage}/RushHttpBuildCachePlugin.ts.html +1 -1
  14. package/coverage/cobertura-coverage.xml +615 -0
  15. package/{temp/coverage/lcov-report → coverage}/index.html +1 -1
  16. package/{temp/coverage/lcov-report → coverage}/index.ts.html +1 -1
  17. package/coverage/junit.xml +9 -0
  18. package/package.json +5 -7
  19. package/rush-logs/rush-http-build-cache-plugin._phase_build.cache.log +3 -3
  20. package/rush-logs/rush-http-build-cache-plugin._phase_build.log +2 -2
  21. package/rush-logs/rush-http-build-cache-plugin._phase_test.cache.log +19 -1
  22. package/rush-logs/rush-http-build-cache-plugin._phase_test.log +3 -11
  23. package/tsconfig.json +1 -4
  24. package/temp/coverage/clover.xml +0 -524
  25. package/temp/coverage/coverage-final.json +0 -4
  26. package/temp/coverage/lcov.info +0 -626
  27. package/temp/test.jest/haste-map-bae913f9b9aa720eb4deeae0a60a4b27-22ae7f4ce9de4306889d8c05e5cc39b9-1028402de70f7f23751971bc19191def +0 -0
  28. package/temp/test.jest/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-0bc2a534d3e30a2b12c9a7d83be63585/16/package_168a638b427aa3c01b8c6c6dde63ae1f +0 -37
  29. package/temp/test.jest/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-0bc2a534d3e30a2b12c9a7d83be63585/1f/core_1fd772d60086eee1b65959af4b2df498 +0 -159
  30. package/temp/test.jest/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-0bc2a534d3e30a2b12c9a7d83be63585/9e/core_9ee01abb65993dce1aaada04a7cab7ca +0 -159
  31. package/temp/test.jest/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-0bc2a534d3e30a2b12c9a7d83be63585/aa/mappingTable_aa1c5457fe878a73e92e96548b32d248 +0 -2
  32. package/temp/test.jest/perf-cache-bae913f9b9aa720eb4deeae0a60a4b27-da39a3ee5e6b4b0d3255bfef95601890 +0 -1
  33. /package/{temp/coverage/lcov-report → coverage}/base.css +0 -0
  34. /package/{temp/coverage/lcov-report → coverage}/block-navigation.js +0 -0
  35. /package/{temp/coverage/lcov-report → coverage}/favicon.png +0 -0
  36. /package/{temp/coverage/lcov-report → coverage}/prettify.css +0 -0
  37. /package/{temp/coverage/lcov-report → coverage}/prettify.js +0 -0
  38. /package/{temp/coverage/lcov-report → coverage}/sort-arrow-sprite.png +0 -0
  39. /package/{temp/coverage/lcov-report → coverage}/sorter.js +0 -0
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2023-09-19T00:30:27.626Z
134
+ at 2023-09-19T21:04:19.224Z
135
135
  </div>
136
136
  <script src="prettify.js"></script>
137
137
  <script>
@@ -82,7 +82,7 @@
82
82
  <div class='footer quiet pad2 space-top1 center small'>
83
83
  Code coverage generated by
84
84
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
85
- at 2023-09-19T00:30:27.626Z
85
+ at 2023-09-19T21:04:19.224Z
86
86
  </div>
87
87
  <script src="prettify.js"></script>
88
88
  <script>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites name="jest tests" tests="2" failures="0" errors="0" time="1.265">
3
+ <testsuite name="HttpBuildCacheProvider" errors="0" failures="0" skipped="0" timestamp="2023-09-19T21:04:17" time="1.035" tests="2">
4
+ <testcase classname="HttpBuildCacheProvider tryGetCacheEntryBufferByIdAsync &gt; " name="prints warning if read credentials are not available (lib/test/HttpBuildCacheProvider.test.js)" time="0.015">
5
+ </testcase>
6
+ <testcase classname="HttpBuildCacheProvider tryGetCacheEntryBufferByIdAsync &gt; " name="attempts up to 3 times to download a cache entry (lib/test/HttpBuildCacheProvider.test.js)" time="0.005">
7
+ </testcase>
8
+ </testsuite>
9
+ </testsuites>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rushstack/rush-http-build-cache-plugin",
3
- "version": "5.107.0",
3
+ "version": "5.107.1",
4
4
  "description": "Rush plugin for generic HTTP cloud build cache",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,16 +15,14 @@
15
15
  "https-proxy-agent": "~5.0.0",
16
16
  "node-fetch": "2.6.7",
17
17
  "@rushstack/node-core-library": "3.60.0",
18
- "@rushstack/rush-sdk": "5.107.0"
18
+ "@rushstack/rush-sdk": "5.107.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@types/heft-jest": "1.0.1",
22
- "@types/node": "18.17.15",
23
21
  "@types/node-fetch": "2.6.2",
24
- "@microsoft/rush-lib": "5.107.0",
22
+ "@microsoft/rush-lib": "5.107.1",
25
23
  "@rushstack/eslint-config": "3.3.4",
26
- "@rushstack/heft": "0.59.0",
27
- "@rushstack/heft-node-rig": "2.2.23"
24
+ "@rushstack/heft": "0.60.0",
25
+ "local-node-rig": "1.0.0"
28
26
  },
29
27
  "scripts": {
30
28
  "build": "heft build --clean",
@@ -1,10 +1,10 @@
1
1
  Build cache hit.
2
- Clearing cached folders: dist, lib, lib-commonjs, temp
2
+ Clearing cached folders: dist, lib, lib-commonjs, temp, .heft
3
3
  Successfully restored output from the build cache.
4
4
  Restoring cached log file at /home/vsts/work/1/s/rush-plugins/rush-http-build-cache-plugin/.rush/temp/operation/_phase_build/all.log
5
5
  Invoking: heft run --only build -- --clean --production
6
6
  ---- build started ----
7
7
  [build:typescript] Using TypeScript version 5.0.4
8
8
  [build:typescript] Copied 1 folder or file and linked 0 files
9
- ---- build finished (7.022s) ----
10
- -------------------- Finished (7.027s) --------------------
9
+ ---- build finished (6.305s) ----
10
+ -------------------- Finished (6.307s) --------------------
@@ -2,5 +2,5 @@ Invoking: heft run --only build -- --clean --production
2
2
  ---- build started ----
3
3
  [build:typescript] Using TypeScript version 5.0.4
4
4
  [build:typescript] Copied 1 folder or file and linked 0 files
5
- ---- build finished (7.022s) ----
6
- -------------------- Finished (7.027s) --------------------
5
+ ---- build finished (6.305s) ----
6
+ -------------------- Finished (6.307s) --------------------
@@ -1 +1,19 @@
1
- This project does not define the caching behavior of the "_phase:test" command, so caching has been disabled.
1
+ Build cache hit.
2
+ Clearing cached folders: coverage
3
+ Successfully restored output from the build cache.
4
+ Restoring cached log file at /home/vsts/work/1/s/rush-plugins/rush-http-build-cache-plugin/.rush/temp/operation/_phase_test/all.log
5
+ Invoking: heft run --only test -- --clean --production
6
+ The provided list of phases does not contain all phase dependencies. You may need to run the excluded phases manually.
7
+ ---- test started ----
8
+ [test:jest] Using Jest version 29.5.0
9
+ [test:jest]
10
+ [test:jest] Run start. 1 test suite
11
+ [test:jest] START lib/test/HttpBuildCacheProvider.test.js
12
+ [test:jest] PASS lib/test/HttpBuildCacheProvider.test.js (duration: 1.035s, 2 passed, 0 failed)
13
+ [test:jest]
14
+ [test:jest] Tests finished:
15
+ [test:jest] Successes: 2
16
+ [test:jest] Failures: 0
17
+ [test:jest] Total: 2
18
+ ---- test finished (1.888s) ----
19
+ -------------------- Finished (1.891s) --------------------
@@ -5,19 +5,11 @@ The provided list of phases does not contain all phase dependencies. You may nee
5
5
  [test:jest]
6
6
  [test:jest] Run start. 1 test suite
7
7
  [test:jest] START lib/test/HttpBuildCacheProvider.test.js
8
- [test:jest] PASS lib/test/HttpBuildCacheProvider.test.js (duration: 1.135s, 2 passed, 0 failed)
8
+ [test:jest] PASS lib/test/HttpBuildCacheProvider.test.js (duration: 1.035s, 2 passed, 0 failed)
9
9
  [test:jest]
10
10
  [test:jest] Tests finished:
11
11
  [test:jest] Successes: 2
12
12
  [test:jest] Failures: 0
13
13
  [test:jest] Total: 2
14
- -----------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------
15
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
16
- -----------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------
17
- All files | 54.61 | 53.33 | 53.33 | 54.61 |
18
- HttpBuildCacheProvider.ts | 65.56 | 55.17 | 61.53 | 65.56 | 63-64,104-131,134-145,148-173,176-185,192-193,218-219,222-225,269,287-288,326-330,335-336,340-349,354-366,369-373,389-391,399-401,404-406,409-421
19
- RushHttpBuildCachePlugin.ts | 0 | 0 | 0 | 0 | 1-81
20
- index.ts | 0 | 0 | 0 | 0 | 1-4
21
- -----------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------
22
- ---- test finished (2.036s) ----
23
- -------------------- Finished (2.038s) --------------------
14
+ ---- test finished (1.888s) ----
15
+ -------------------- Finished (1.891s) --------------------
package/tsconfig.json CHANGED
@@ -1,6 +1,3 @@
1
1
  {
2
- "extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
3
- "compilerOptions": {
4
- "types": ["node", "heft-jest"]
5
- }
2
+ "extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json"
6
3
  }