Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix: use del-cli instead of del because it does not work under Windows #25

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

Julien-R44
Copy link
Member

Since del is already a builtin command on Windows, the npm run clean command doesn't work as expected on Windows ( it asks for confirmation every time, which is really annoying 😅 ).

See del-cli readme : https://github.com/sindresorhus/del-cli

This shouldn't change anything for the other platforms, because del-cli is an alias : https://github.com/sindresorhus/del-cli/blob/main/package.json#L16

@thetutlage thetutlage merged commit 11d8129 into adonisjs:develop Jan 11, 2022
@thetutlage
Copy link
Member

Thanks for the PR :)

@thetutlage thetutlage self-requested a review January 11, 2022 03:32
Julien-R44 added a commit to JuliensForks/lucid that referenced this pull request Jan 20, 2022
Julien-R44 added a commit to JuliensForks/lucid that referenced this pull request Jan 20, 2022
thetutlage pushed a commit to adonisjs/lucid that referenced this pull request Feb 5, 2022
…nd `db:wipe` commands (#764)

* feat: added migration:reset command

* feat: added shouldCloseConnectionAfterMigrations in MigrationsBase

* feat(commands): added migration:refresh

* test(commands): added migration:refresh tests

* fix: failing test on windows cause of path backslashes

* chore: remove log

* fix: use del-cli instead of del

See : adonisjs/mrm-preset#25

* feat: add `dropAllTables` to QueryClient and TransactionClient

* test: add failling test for exception raised when using `dropAllTables` with no tables in database

* fix: `dropAllTables` should not raises exception when database is empty

* test(commands): add test for db:wipe

* feat(commands): add `db:wipe` command

* feat(commands): add `migration:fresh` command

* test(commands): add test for `migration:fresh`

* chore: update description of new commands `force` flags

* chore: update dryRun flags description of new commands
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants