Artem Zakharchenko and GitHub
f125c652af
fix: update dependencies ( #2719 )
2026-04-16 17:33:17 +02:00
Artem Zakharchenko and GitHub
a316f92caf
fix: update links to the documentation ( #2519 )
2025-05-31 13:35:45 +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
1867586e86
feat: use picocolors instead of chalk ( #2377 )
...
Co-authored-by: Artem Zakharchenko <[email protected] >
2024-12-16 15:22:37 +01:00
55802090b4
fix(cli): support windows paths in the init command ( #2260 )
...
Co-authored-by: Artem Zakharchenko <[email protected] >
2024-09-04 11:18:06 +02:00
Artem Zakharchenko and GitHub
4621142e6b
fix: resolve "@inquirer/confim" default export ( #2088 )
2024-03-15 18:50:44 +01:00
24183aab48
feat: use a lightweight "@inquirer/confirm" in the CLI ( #2020 )
...
Co-authored-by: Anton Savoskin <[email protected] >
Co-authored-by: Artem Zakharchenko <[email protected] >
2024-02-12 11:12:25 +01:00
Artem Zakharchenko and GitHub
129e3b04c3
feat: support multiple directories in "msw.workerDirectory" ( #1832 )
2024-01-15 11:25:29 +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
Trond Bergquist and Artem Zakharchenko
ac447f6080
feat: create directory in cli init if it doesn't exist
...
Try to create the directory when running npx msw init public and
the directory does not exist. Throw the invariant error in case
the creation of the directory fails
2021-05-03 13:58:22 +02:00
Artem Zakharchenko
e964486e8d
CLI: Always uses "process.cwd" in the "init" command
2021-02-24 10:44:22 +01:00
Artem Zakharchenko
6779b5c14a
CLI: Prompts to auto-save "msw.workerDirectory" on "init" command
2021-02-22 17:25:56 +01:00
Artem Zakharchenko
6bf87ec85b
Updates the worker script when detected "packageJson.msw.workerDirectory"
2021-02-22 17:25:56 +01:00
Justin Hall and Artem Zakharchenko
04403da5d6
fix(cli): update documentation link
2020-06-25 19:24:43 +02:00
Artem Zakharchenko
7b5945c2e4
Fixes invariant predicate for "init" command
2020-05-02 16:36:13 +02:00
Artem Zakharchenko
5562a219b1
CLI: Fixes invalid invariant predicate for file copy error
2020-05-01 16:41:07 +02:00
Artem Zakharchenko
49d27dc078
Aligns "msw init" command with SW updates
2020-03-27 10:17:41 +01:00
Artem Zakharchenko
7211145418
Adds Service Worker integrity check
2020-03-27 09:56:49 +01:00
guanwei and Artem Zakharchenko
6e76c59fb5
Fixs #61 wrong success message
2020-03-13 08:28:31 +01:00
Artem Zakharchenko
ec42c297a6
init: Uses "publicDir" instead of "rootDir"
2019-03-10 10:21:17 +01:00
Artem Zakharchenko
3c1f6cf74d
Adopts functional API
2019-03-09 21:00:28 +01:00