31 Commits
Author SHA1 Message Date
3045e84a06 feat: use the network source architecture (defineNetwork) (#2650)
Co-authored-by: Felmon Fekadu <[email protected]>
Co-authored-by: Felmon Fekadu <[email protected]>
2026-04-06 14:29:03 +02:00
a2a00c418f chore: add support for windows builds (#2651)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-03-23 18:21:38 +01:00
8d9482ccf7 fix(GraphQL): support application/graphql-response+json response content-type (#2513)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-03-17 12:03:25 +01:00
e4cd588f8e fix: handle special characters in postinstall script (#2649)
Co-authored-by: Artem Zakharchenko <[email protected]>
2026-03-16 22:50:03 +01:00
Artem ZakharchenkoandGitHub ac1a53a7c9 fix: migrate to until-async (#2590) 2025-09-20 13:13:48 +02:00
Artem ZakharchenkoandGitHub 933ee9ee4f fix: do not append .mjs to .d.ts core imports (#2496) 2025-05-09 10:40:49 +02:00
37d96f55ab feat: migrate to ESM internally, remain CJS-first (#2490)
Co-authored-by: Mateusz BurzyÅ„ski <[email protected]>
2025-05-08 19:05:47 +02:00
Artem ZakharchenkoandGitHub bdcb4df522 fix: keep graphql import as require in cjs (#2258) 2024-09-04 10:11:40 +02:00
Lenz Weber-TronicandGitHub f823842995 fix: give node export condition higher priority (#2134) 2024-04-17 13:11:26 +02:00
Artem ZakharchenkoandGitHub 299157415b fix: resolve "~/core" import for .d.mts modules (#2095) 2024-03-17 21:58:22 +01:00
Artem ZakharchenkoandGitHub 129e3b04c3 feat: support multiple directories in "msw.workerDirectory" (#1832) 2024-01-15 11:25:29 +01:00
Artem ZakharchenkoandGitHub 133af213d6 fix: publish source and include sourcemaps (#1958) 2024-01-08 12:14:28 +01:00
Matthew CostabileandGitHub 31dc751c05 chore: remove ts-ignores. force ts-expect-error (#1883) 2023-11-24 15:49:51 +01:00
Artem ZakharchenkoandGitHub 7ca3c1863d chore: add "smoke-test/examples" workflow (#1825) 2023-11-02 10:28:53 +01:00
8c8e959b49 feat!: adopt the global Fetch API (#1436)
Co-authored-by: Frederik Rabøl <[email protected]>
Co-authored-by: Christoph Fricke <[email protected]>
Co-authored-by: Piotr <[email protected]>
Co-authored-by: Kristján Oddsson <[email protected]>
Co-authored-by: thepassle <[email protected]>
Co-authored-by: Kevin Østerkilde <[email protected]>
Co-authored-by: Laryssa Rocha <[email protected]>
Co-authored-by: Matthew Costabile <[email protected]>
2023-10-23 09:45:04 +02:00
Artem ZakharchenkoandGitHub ce1519f80f chore: use pnpm (#1542)
* chore: migrate to pnpm

* chore: remove smoke tests

* chore: fix "auto-update-worker" integration test
2023-02-18 15:27:00 +01:00
Artem ZakharchenkoandGitHub fd5176f5ed chore: use @swc/jest vs ts-jest (#1457)
* chore: use @swc/jest vs ts-jest

* chore: fix esm default import issue in tests
2022-11-14 17:14:23 +01:00
Felix YanandArtem Zakharchenko 8f2fd05bd9 chore: correct a typo in smoke.sh (#1367) 2022-08-22 12:41:28 +02:00
Artem ZakharchenkoandGitHub d11b0a4804 feat: improve module formats (cjs, esm, iife) (#1247)
* chore: adopt "tsup"

* chore: copy worker with tsup

* chore: bundle iife correctly, fix call frames

* chore: inject "setTimeout" for node build

* chore: log worker checksum

* chore(postinstall): use early return over process.exit
2022-05-20 19:09:37 +02:00
Artem Zakharchenko 534380c04d Injects the built package version into the worker script 2021-06-16 12:56:41 +02:00
Artem Zakharchenko 1f6176b702 postinstall: Resolves CLI path relative to CWD 2021-02-24 10:44:22 +01:00
Artem Zakharchenko e964486e8d CLI: Always uses "process.cwd" in the "init" command 2021-02-24 10:44:22 +01:00
Artem Zakharchenko 6bf87ec85b Updates the worker script when detected "packageJson.msw.workerDirectory" 2021-02-22 17:25:56 +01:00
Artem Zakharchenko 84b04a672c Adds smoke tests against the Examples repository 2020-07-02 09:39:53 +02:00
Artem Zakharchenko 109a70b513 Configures build to point to the built service worker 2020-05-07 10:04:03 +02:00
Artem Zakharchenko 6112295452 Fixes service worker file path to be relative to __dirname 2020-05-01 16:41:07 +02:00
Artem Zakharchenko bb5a1f409b rollup-integrity-check-plugin: Sets up watcher on "transform" hook 2020-04-30 22:59:25 +02:00
Artem Zakharchenko f34a3588a5 Adds a watcher on the worker file in rollup plugin 2020-04-24 11:17:40 +02:00
Artem Zakharchenko fbf4b10c0d Uses rollup for building 2020-04-22 10:03:14 +02:00
Artem Zakharchenko a90847ebda Adds Service Worker to compilation, but ignores in output 2020-03-27 11:15:32 +01:00
Artem Zakharchenko 55f5d296c0 Signs Service Worker as a part of webpack build 2020-03-27 09:56:49 +01:00