43 Commits

Author SHA1 Message Date
Alexandre Bodin
a2fc472261 chore: refactor cli 2024-01-09 13:45:43 +01:00
Alexandre Bodin
3124f474fe chore: move commands from admin back to strapi/strapi 2023-12-20 11:38:58 +01:00
Alexandre Bodin
4ad8ac0235 chore: return commands to decouple code 2023-12-13 13:15:18 +01:00
Alexandre Bodin
8bf56b0d72 chore(strapi/strapi): simplify code 2023-12-12 09:57:35 +01:00
Alexandre Bodin
e0de993d4a Merge branch 'develop' into v5/main 2023-11-30 16:42:36 +01:00
Alexandre Bodin
6b35da10af Merge branch 'main' into develop 2023-11-30 16:32:56 +01:00
Sébastien Vanvelthem
520c59aa2c chore(lock): deduplicate dependencies
Co-Authored-By: Sébastien Vanvelthem <belgattitude@users.noreply.github.com>
2023-11-28 15:36:30 +01:00
Alexandre Bodin
9628e9d90f chore: remove ee direct imports 2023-11-24 09:33:00 +01:00
Alexandre Bodin
27aa897cbb Merge branch 'develop' into v5/main 2023-11-23 11:52:10 +01:00
Josh
eb7b88426d
fix(pack-up): ensure we pass the tsconfig file name, not a path to it (#18875)
* fix(pack-up): ensure we pass the tsconfig file name, not a path to it

fix(admin): annotate return type on createBuildContext

fix(admin): ensure shared is a the base folder not importing from server

chore(pack-up): PRINT MOREEEE

fix(ctb): export required type

chore: refactor tsconfigs

* chore: pr amends
2023-11-23 09:16:25 +00:00
Alexandre BODIN
50a99072ab
Merge pull request #18775 from strapi/fix/ts-generation 2023-11-15 16:35:16 +01:00
Josh
2519224956
fix(admin): windows files paths do not make for module paths (#18797) 2023-11-15 13:03:15 +00:00
Jamie Howard
08920be519
Convert CM to TS (#18669)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-15 11:08:04 +00:00
Ben Irvin
b185fd1777
Merge branch 'releases/4.15.5' into fix/ts-generation 2023-11-14 16:57:16 +01:00
Ben Irvin
daa0b19179 fix: build webpackwatcher before loading strapi instance 2023-11-14 16:56:43 +01:00
Ben Irvin
82ef97a8d4 chore: replace fs-extra 2023-11-14 16:40:55 +01:00
Ben Irvin
dffb2ce6d6 fix: use tsconfig.config for ts project check 2023-11-14 15:58:55 +01:00
Ben Irvin
cf6fc4e024 chore: add comment to cleanup method 2023-11-14 15:56:33 +01:00
Marc-Roig
6daaab5d7a
fix: cast bundle analyzer plugin type 2023-11-14 14:55:02 +01:00
Ben Irvin
28d0d5434a fix: ts tests 2023-11-14 14:42:26 +01:00
Ben Irvin
59219dc25d chore: move comment 2023-11-14 11:57:15 +01:00
Ben Irvin
b3d58260fd chore: matching text on spinner 2023-11-14 11:56:34 +01:00
Ben Irvin
25ae5d28f4 fix: remove leftover testing 2023-11-14 11:39:44 +01:00
Ben Irvin
33ca1358cc feat: add timer for strapi load 2023-11-14 11:39:32 +01:00
Ben Irvin
6e9b1a3a29 fix: check tsconfig instead of distdir 2023-11-14 11:35:47 +01:00
Ben Irvin
476368c2f5 fix: remove incorrect dep 2023-11-14 11:32:47 +01:00
Alexandre Bodin
c9ec5ee0e4 chore(admin): simplify user customisation loading 2023-11-14 10:51:17 +01:00
Marc-Roig
d077922b77
Merge branch 'v5/main' into v5/document_id 2023-11-14 10:19:24 +01:00
Ben Irvin
ecc6fe5413 chore: move prettyTime next to timer 2023-11-14 10:11:32 +01:00
Ben Irvin
2333e3d8ce fix: packup externals 2023-11-14 09:04:21 +01:00
Alexandre Bodin
8ac0ef5c42 fix(admin): load app custom with jsx and allow more extensions 2023-11-13 19:21:11 +01:00
Ben Irvin
ef68047284 fix: clean and build without diagnostics 2023-11-13 18:07:39 +01:00
Josh
2f026ea9b3
fix(admin): admin build errors (#18764) (#18770)
* fix(admin): import & pass user customisations for admin panel

* fix(admin): modules should be resolved with module paths not system paths

* fix(admin): ensure webpack config is a type of function before calling, warn otherwise

* fix: convert the pluginPath to a system path before trying to resolve relative

* chore: update documentation
2023-11-13 12:07:27 +00:00
Josh
175b72af9d
fix(admin): admin build errors (#18764)
* fix(admin): import & pass user customisations for admin panel

* fix(admin): modules should be resolved with module paths not system paths

* fix(admin): ensure webpack config is a type of function before calling, warn otherwise

* fix: convert the pluginPath to a system path before trying to resolve relative

* chore: update documentation
2023-11-13 10:21:24 +00:00
Marc-Roig
ed954d6a95
fix: typescript tests failing because of missing prettier types 2023-11-09 12:42:44 +01:00
Josh
ca1ec5aecf
refactor(admin): add watch-admin flag (#18688) 2023-11-07 11:35:40 +01:00
Alexandre BODIN
03194ce5a3
fix(admin): use appropriate loader between jsx and tsx (#18670) 2023-11-06 11:58:55 +01:00
Josh
e741a4a0c0
fix: import Document directly & add ignorePrompts CLI flag (#18668) 2023-11-03 17:06:51 +01:00
Alexandre BODIN
805908ba2b
fix(admin): close webpack watch on reload (#18667) 2023-11-03 16:28:46 +01:00
Josh
0e69461383
fix(admin): build pipeline & deps (#18658) 2023-11-03 15:56:03 +01:00
Alexandre BODIN
5f65fd6451 fix(admin): missing env utilities (#18657) 2023-11-03 10:02:49 +01:00
Alexandre BODIN
f5b09a8e61
fix(admin): missing env utilities (#18657) 2023-11-03 08:52:55 +00:00
Josh
116339ad86
refactor: admin build pipeline (#18539)
* chore(admin): refactor admin develop/build pipeline

chore: remove `webpackChunkName` comments

chore: reuse admin tsconfig where possible

chore: add .strapi to gitignore

chore(admin): pack-up

feat(admin): inject commands into strapi from admin for building

feat(admin): move watch command to admin

chore: keep backward compat API available

Update packages/core/admin/_internal/cli/index.ts

docs(admin): document the build & develop process and pipeline

test(admin): fix StrapiApp tests

chore: fix build

* Update skipped_tests.yml

* test(e2e): fix e2e setup

feat: add dependency installation

fix: mjs webpack resolution

* chore: fix server exports

* fix: typescript project type generation

* fix: development watch mode

* fix: connect to hot middleware – anywhere

* Update packages/core/admin/_internal/node/core/monorepo.ts

Co-authored-by: Marc Roig <marc12info@gmail.com>

* fix(admin): theme toggle type export

* chore: fixes

* chore: pr amends

Co-Authored-By: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00:00