227 Commits

Author SHA1 Message Date
Christian Capeans
08147cbfb9 chore: add comments to codemod 2024-01-08 13:17:25 +01:00
Christian Capeans
2c499f3395 Merge branch 'v5/main' of github.com:strapi/strapi into chore/sqlite3-codemod 2024-01-08 12:31:08 +01:00
Ben Irvin
7d13a12c99
feat: Upgrade Tool
* feat: upgrade tool refactor for updated specs (v5)
* chore: format code (prettier)
* chore: remove debug comments
* feat: upgrade the strapi dependencies in project's package.json
* feat: install dependencies during the upgrade process
* chore: fix lint issue
* chore: rephrase requirement sentence's sentiment
* feat: add a --yes option for the upgrade CLI
* enh: make properties readonly to avoid mutations
* chore: adding better logs to the upgrade CLI
* chore: remove unused import
* feat: add minor and patch commands
* fix: use major and minor instead of premajor and preminor
* fix: re-add type casting
* fix: make major requirements required
* chore: revert sentiment update on GIT_CLEAN requirement
* fix: make promisify working by mocking the entire file-system
* fix: yarn.lock update
* feat: Select and run codemods only (#19083)
* chore: add unit tests for upgrader tasks
* fix: rename tests
* chore: Update packages/utils/upgrade/src/tasks/__tests__/upgrade.test.ts
* chore: Add unit tests for upgrade tool (#19056)
* chore: move example codemods (#19156)
* chore: fix yarn.lock
* fix: sync glob versions
* chore: add comment
* chore: update docs

---------

Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
2024-01-08 11:26:27 +01:00
Christian Capeans
30eebd0bcc chore: create script for sqlite migration 2024-01-04 18:36:41 +01:00
Christian
cb6f5d7891
Merge pull request #19111 from strapi/chore/tasks-tests
Add tests for the upgrade task
2023-12-24 16:49:17 +01:00
Christian
69a0284191
chore: Add unit tests for upgrade tool (#19056) 2023-12-22 18:29:34 +01:00
Ben Irvin
bd1faa1a29
Update packages/utils/upgrade/src/tasks/__tests__/upgrade.test.ts 2023-12-22 18:26:32 +01:00
Christian Capeans
07a9db4884 fix: rename tests 2023-12-22 17:56:07 +01:00
Christian Capeans
c2b8acad48 chore: add unit tests for upgrader tasks 2023-12-22 16:54:26 +01:00
Christian
7de4744503
feat: Select and run codemods only (#19083) 2023-12-22 15:24:11 +01:00
Convly
f646f9ceda chore: revert sentiment update on GIT_CLEAN requirement 2023-12-14 10:52:09 +01:00
Convly
a17f4e8617 fix: make major requirements required 2023-12-14 10:29:30 +01:00
Convly
c56802ae6f Merge branch 'features/upgrade-tool' of github.com:strapi/strapi into upgrade-tool/chores 2023-12-14 10:26:11 +01:00
Bassel Kanso
fec3b08033 fix: re-add type casting 2023-12-12 13:27:02 +02:00
Bassel Kanso
315452778c fix: use major and minor instead of premajor and preminor 2023-12-12 13:24:58 +02:00
Bassel Kanso
8a84ee15e6 feat: add minor and patch commands 2023-12-12 00:08:46 +02:00
Convly
f59036e01a chore: remove unused import 2023-12-11 11:12:04 +01:00
Convly
157485bba6 chore: adding better logs to the upgrade CLI 2023-12-11 11:11:39 +01:00
Convly
b1db985dbe enhancement: make properties readonly to avoid mutations 2023-12-11 10:57:14 +01:00
Convly
3985636f21 feat: add a --yes option for the upgrade CLI
This option will allow automatically answering yes to every CLI prompts
2023-12-11 10:55:51 +01:00
Convly
1a0e5e68b6 chore: rephrase requirement sentence's sentiment 2023-12-11 10:54:17 +01:00
Convly
299d0804d7 chore: fix lint issue 2023-12-08 09:32:54 +01:00
Convly
a82ae60e6a feat: install dependencies during the upgrade process 2023-12-08 09:16:16 +01:00
Convly
77d33f18e0 feat: upgrade the strapi dependencies in project's package.json
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-12-08 09:10:25 +01:00
Convly
997b3498fc chore: remove debug comments 2023-12-06 18:14:23 +01:00
Convly
6896b1dc9b chore: format code (prettier) 2023-12-06 18:14:17 +01:00
Convly
1b089e5804 feat: upgrade tool refactor for updated specs (v5) 2023-12-06 18:10:23 +01:00