Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tapjs/tapjs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: tap@18.4.3
Choose a base ref
...
head repository: tapjs/tapjs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: tap@18.4.4
Choose a head ref
  • 10 commits
  • 98 files changed
  • 1 contributor

Commits on Oct 7, 2023

  1. document the .tap folder

    Fix: #944
    isaacs committed Oct 7, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    dtolnay David Tolnay
    Copy the full SHA
    1cd8c04 View commit details
  2. Copy the full SHA
    0d4fe42 View commit details

Commits on Oct 8, 2023

  1. snapshot: handle file:// cwd urls on windows

    There's an extra / that has to be accounted for, so they were being
    snapshotted as `file:///{CWD}` instead of `file://{CWD}` as they are on
    unix.
    isaacs committed Oct 8, 2023
    Copy the full SHA
    0827682 View commit details
  2. Copy the full SHA
    56186de View commit details
  3. update resolve-import

    Need it to realpath symlinked packages, to address the plan
    in #940
    isaacs committed Oct 8, 2023
    Copy the full SHA
    f70ce4f View commit details
  4. Manage plugins better in npm workspaces

    1. Detect if the tap in use is not built with the plugins listed in the
    config. If this is the case, run `build([], config)` prior to spawning
    test processes.
    
    2. When executing npm install as part of `tap plugin add`, detect the
    appropriate place to do so, in this priority order:
    
      - the parent of the node_modules folder containing `tap`
      - the parent of the node_modules folder containing `@tapjs/test`
      - the output of `npm prefix` (ie, workspace root)
      - the root of the project (previous behavior)
    
    Adds `t.pluginSignature` getter which returns the built string signature
    which can be compared against the desired set captured by
    `config.pluginSignature`.
    
    Fix: #940
    isaacs committed Oct 8, 2023
    Copy the full SHA
    57c6847 View commit details
  5. Copy the full SHA
    16f52fe View commit details
  6. ci: run tests in -Rmin mode

    isaacs committed Oct 8, 2023
    Copy the full SHA
    4449bb6 View commit details
  7. Copy the full SHA
    8798de3 View commit details
  8. update versions

    @tapjs/worker@1.1.8
    @tapjs/typescript@1.2.8
    @tapjs/test@1.3.8
    tap@18.4.4
    @tapjs/synonyms@1.1.8
    @tapjs/stdin@1.1.8
    @tapjs/spawn@1.1.8
    @tapjs/snapshot@1.2.8
    @tapjs/sinon@1.1.8
    @tapjs/run@1.4.4
    @tapjs/reporter@1.3.4
    @tapjs/node-serialize@1.1.8
    @tapjs/nock@3.1.8
    @tapjs/mock@1.2.6
    @tapjs/mocha-globals@1.1.8
    @tapjs/intercept@1.2.8
    @tapjs/fixture@1.2.8
    @tapjs/filter@1.2.8
    @tapjs/esbuild-kit@1.1.8
    @tapjs/dummy-plugin@1.1.8
    @tapjs/create-plugin@1.1.8
    @tapjs/core@1.3.8
    @tapjs/config@2.4.4
    @tapjs/clock@1.1.8
    @tapjs/before-each@1.1.8
    @tapjs/before@1.1.8
    @tapjs/asserts@1.1.8
    @tapjs/after-each@1.1.8
    @tapjs/after@1.1.8
    isaacs committed Oct 8, 2023
    Copy the full SHA
    5cfde0e View commit details
Showing with 967 additions and 362 deletions.
  1. +1 −1 .github/workflows/ci.yml
  2. +121 −121 package-lock.json
  3. +1 −1 package.json
  4. +2 −2 src/after-each/package.json
  5. +5 −2 src/after-each/test/import-deps.ts
  6. +2 −2 src/after/package.json
  7. +5 −2 src/after/test/import-deps.ts
  8. +2 −2 src/asserts/package.json
  9. +5 −2 src/asserts/test/import-deps.ts
  10. +2 −2 src/before-each/package.json
  11. +5 −2 src/before-each/test/import-deps.ts
  12. +2 −2 src/before/package.json
  13. +5 −2 src/before/test/import-deps.ts
  14. +3 −3 src/clock/package.json
  15. +5 −2 src/clock/test/import-deps.ts
  16. +5 −5 src/config/package.json
  17. +5 −2 src/config/test/import-deps.ts
  18. +2 −2 src/core/package.json
  19. +5 −2 src/core/test/import-deps.ts
  20. +3 −3 src/create-plugin/package.json
  21. +5 −2 src/create-plugin/test/import-deps.ts
  22. +1 −0 src/docs/content/api.md
  23. +16 −0 src/docs/content/changelog.md
  24. +105 −0 src/docs/content/dot-tap-folder.md
  25. +1 −2 src/docs/content/environment.md
  26. +7 −0 src/docs/content/upgrading-from-16.md
  27. +3 −3 src/dummy-plugin/package.json
  28. +5 −2 src/dummy-plugin/test/import-deps.ts
  29. +5 −2 src/error-serdes/test/import-deps.ts
  30. +2 −2 src/esbuild-kit/package.json
  31. +5 −2 src/esbuild-kit/test/import-deps.ts
  32. +2 −2 src/filter/package.json
  33. +5 −2 src/filter/test/import-deps.ts
  34. +2 −2 src/fixture/package.json
  35. +5 −2 src/fixture/test/import-deps.ts
  36. +3 −3 src/intercept/package.json
  37. +5 −2 src/intercept/test/import-deps.ts
  38. +6 −6 src/mocha-globals/package.json
  39. +5 −2 src/mocha-globals/test/import-deps.ts
  40. +4 −4 src/mock/package.json
  41. +21 −3 src/mock/src/index.ts
  42. +13 −9 src/mock/src/mock-service.ts
  43. +30 −0 src/mock/src/resolve-mock-entry-point.ts
  44. +5 −2 src/mock/test/import-deps.ts
  45. +27 −1 src/mock/test/index.ts
  46. +8 −8 src/mock/test/mock-service.ts
  47. +30 −0 src/mock/test/resolve-mock-entry-point.ts
  48. +3 −3 src/nock/package.json
  49. +5 −2 src/nock/test/import-deps.ts
  50. +2 −2 src/node-serialize/package.json
  51. +5 −2 src/node-serialize/test/import-deps.ts
  52. +5 −2 src/npm-init-template/test/import-deps.ts
  53. +5 −2 src/parser/test/import-deps.ts
  54. +3 −3 src/reporter/package.json
  55. +5 −2 src/reporter/test/import-deps.ts
  56. +10 −10 src/run/package.json
  57. +52 −7 src/run/src/npm.ts
  58. +7 −0 src/run/src/run.ts
  59. +5 −2 src/run/test/import-deps.ts
  60. +114 −13 src/run/test/npm.ts
  61. +27 −0 src/run/test/run.ts
  62. +3 −3 src/sinon/package.json
  63. +5 −2 src/sinon/test/import-deps.ts
  64. +2 −2 src/snapshot/package.json
  65. +3 −1 src/snapshot/src/clean-cwd.ts
  66. +42 −3 src/snapshot/test/clean-cwd.ts
  67. +5 −2 src/snapshot/test/import-deps.ts
  68. +2 −2 src/spawn/package.json
  69. +5 −2 src/spawn/test/import-deps.ts
  70. +5 −2 src/stack/test/import-deps.ts
  71. +2 −2 src/stdin/package.json
  72. +5 −2 src/stdin/test/import-deps.ts
  73. +3 −3 src/synonyms/package.json
  74. +5 −2 src/synonyms/test/import-deps.ts
  75. +20 −20 src/tap/package.json
  76. +5 −2 src/tap/test/import-deps.ts
  77. +5 −2 src/tcompare/test/import-deps.ts
  78. +18 −18 src/test/package.json
  79. +1 −0 src/test/scripts/package-template.json
  80. +7 −0 src/test/scripts/test-template.ts
  81. +4 −0 src/test/tap-snapshots/test/test-template.ts.test.cjs
  82. +4 −0 src/test/test-built/dist/commonjs/index.d.ts
  83. +1 −1 src/test/test-built/dist/commonjs/index.d.ts.map
  84. +6 −0 src/test/test-built/dist/commonjs/index.js
  85. +1 −1 src/test/test-built/dist/commonjs/index.js.map
  86. +4 −0 src/test/test-built/dist/esm/index.d.ts
  87. +1 −1 src/test/test-built/dist/esm/index.d.ts.map
  88. +6 −0 src/test/test-built/dist/esm/index.js
  89. +1 −1 src/test/test-built/dist/esm/index.js.map
  90. +4 −1 src/test/test-built/package.json
  91. +7 −0 src/test/test-built/src/index.ts
  92. +5 −2 src/test/test/import-deps.ts
  93. +1 −0 src/test/test/test-template.ts
  94. +2 −2 src/typescript/package.json
  95. +5 −2 src/typescript/test/import-deps.ts
  96. +2 −2 src/worker/package.json
  97. +5 −2 src/worker/test/import-deps.ts
  98. +5 −2 src/yaml/test/import-deps.ts
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -35,4 +35,4 @@ jobs:
TAP_TIMEOUT: '0'
TAP_COLOR: '1'
run: |
npm test -ws --color=always
npm test -ws --color=always -Rmin
Loading