28 Commits

Author SHA1 Message Date
Josh
293219f39f
chore(admin): convert more components to TS (#18420)
* chore(admin): convert ConfigurationProvider

* chore: convert PluginsInitializer

* fix(admin): imports with ConfigurationsProvider

* chore: convert NpsSurvey to TS

* chore: PR fixes
2023-10-12 14:28:25 +01:00
Josh
7016a1b045
chore: initialise ts admin (#18282)
* chore: initialise ts admin

* chore: set JSX to automatic

finally found it

* chore: set DTS true for the whole workflow to produce types for the helper-plugin

* chore(helper-plugin): fix the circular dependencies and calls for react
2023-10-05 08:39:49 +01:00
Josh
9756cafa00
feat(experimental): add plugin:build command (#17747)
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2023-09-05 10:25:14 +01:00
Josh
d08e60ce27
fix: webpack dev server wants false not undefined for a non-enabled plugins (#17744) 2023-08-22 12:59:44 +01:00
Josh
7089eb7a3e
fix: dont use relative paths, use webpack alias instead (#17733) 2023-08-22 09:37:43 +01:00
Gustav Hansen
394f72216a useTracking: Disable tracking if it was requested it to be disabled 2022-10-20 17:36:44 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
soupette
84bd88a230 Enable plugin development in JS project.
Added loader for ts.
Created default tsconfig file

Signed-off-by: soupette <cyril@strapi.io>
2022-04-14 10:59:42 +02:00
soupette
09f9c82f82 Add option to mesure webpack speed
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:21:30 +02:00
soupette
f5ba9af535 Speed up webpack config by using esbuild-loader
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:16:31 +02:00
soupette
29a5493c0d Migrate to webpack-dev-server 4
Signed-off-by: soupette <cyril@strapi.io>
2021-11-09 15:55:30 +01:00
Alexandre Bodin
f15056f158 Fix dev build 2021-09-28 10:41:31 +02:00
soupette
b213928796 Revert
Signed-off-by: soupette <cyril@strapi.io>
2021-09-16 14:03:09 +02:00
soupette
d48dd8575d Fix webpack dev config startup
Signed-off-by: soupette <cyril@strapi.io>
2021-09-16 13:04:05 +02:00
Alexandre Bodin
3d8950e29d Fix admin build and develop scripts 2021-09-09 11:31:38 +02:00
Alexandre Bodin
edd2896226 Fix yarn develop in admin package 2021-09-09 11:23:29 +02:00
soupette
46ae14f532 Enable plan switch at runtime
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-07-01 15:50:11 +02:00
soupette
dbfcfa211d Created custom plugin to switch from ee to ce at runtime
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-07-01 14:19:50 +02:00
soupette
c1cb6d1d0d Fix lint
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-23 20:18:13 +02:00
soupette
48f6b55eb3 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-02 17:45:05 +02:00
soupette
8016364c60 Invalidate webpack cache in dev mode
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-02 09:29:46 +02:00
soupette
c7e2a2bd66 Prefix global variables by STRAPI_ADMIN
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-05 17:52:41 +02:00
soupette
ceb6926e92 Created store configuration
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-05 15:21:53 +02:00
soupette
dfad76bdd1 Remove SETTINGS_BASE_URL config
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-05 11:28:17 +02:00
soupette
8262e48554 Support .env
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-05 11:08:52 +02:00
soupette
7a4a4b591c Add webpack plugin to check duplicate deps
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-03 16:33:46 +02:00
Alexandre Bodin
a14504e699 Init scoped packages 2021-04-29 12:03:54 +02:00