42 Commits

Author SHA1 Message Date
Ben Irvin
4052ef6e8f
fix: respect autogenerate setting for JS projects 2024-01-16 12:10:23 +01:00
Josh
e1ede8c55a
feat(strapi): add experimental pluginlink command to CLI (#19143)
* feat(strapi): add plugin:link-watch command to CLI

* chore: skip assertion of strapi project if its the plugin:init command

* fix: add yalc

* fix: add yalc files/folders to ignore list to avoid restarting strapi when using

* chore: don't use run-action on plugin:init

* chore: add yarn dlx command to yarn suggestion
2024-01-11 16:00:54 +00:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
Josh
ddbb55f2eb Merge branch 'main' into releases/4.17.0 2024-01-02 13:41:57 +00:00
Mark Kaylor
24e6b11e8e Merge branch 'main' of github.com:strapi/strapi into feature/content-releases 2023-12-08 14:07:43 +01:00
Fernando Chávez
35f56a0444
feat(core): add feature flags (#18871)
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-12-08 09:19:31 +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
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
Simone
f9fb2e7c49
feat(content-releases): Redirect to /content-releases/:releaseId onCreate and add header on details page (#18720)
* draft implementation details header

* implementation details ui with mock data

* fix unit tests

* fix fernando comments

* update pages structure

* first raw implementation store with rtk

* refactor(releases): redux toolkit query work

* rename releases page

* merge feature/content-releases

* test(releases): setup test harness for working with the admin app (#18817)

* test(releases): setup test harness for working with the admin app

* chore: remove file that shouldn't be here

* rename  releases page

* merge "content-releases/release-details-redirect-after-creation"

* test(releases): setup test harness for working with the admin app

* rename  releases page

* merge "content-releases/release-details-redirect-after-creation"

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>

* fix Fernando's review comments

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-17 16:59:01 +01:00
markkaylor
cbe36a5ce3
feat(content-releases): add create release-action endpoint (#18739) 2023-11-16 11:37:14 +01: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
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
Ben Irvin
ecc6fe5413 chore: move prettyTime next to timer 2023-11-14 10:11:32 +01:00
Fernando Chavez
9bb870fda9 Merge branch 'main' of github.com:strapi/strapi into feature/content-releases 2023-11-14 09:47:36 +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
Fernando Chavez
7424dfe016 chore(content-releases): add content-releases core plugin to build 2023-11-08 10:35:36 +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