29765 Commits

Author SHA1 Message Date
soupette
c5e690fa24 Fix PR feedback
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:33 +02:00
soupette
17b80aa720 Make sure to send the events only once
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:33 +02:00
soupette
20fcd5983f Fix CTB reloading state
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:32 +02:00
soupette
ca366a312e Add speed plugin to admin dev deps
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:32 +02:00
soupette
7d77676b35 Remove terser dependency
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:03 +02:00
soupette
4cfdbeed19 Add tests
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:03 +02:00
soupette
3568beaa28 Remove useless babel plugins
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:03 +02:00
soupette
521f582b86 Remove @babel/runtime and its associated plugin from the admin package
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:02 +02:00
soupette
0275baa5b8 Update tests for better clarity
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:02 +02:00
soupette
dcc58408e2 Add tests
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:02 +02:00
soupette
cd9a6e4bd8 Fix PR feedback
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:01 +02:00
soupette
036a371160 Fixes #12896
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:01 +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
Alexandre Bodin
c5d31f6204 Yarn lock 2022-04-04 12:13:51 +02:00
soupette
69d2849ea1 Add missing dependency
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:13:29 +02:00
Alexandre Bodin
3bb854cbf0 Update kitchensink-ts versions 2022-04-04 12:11:08 +02:00
soupette
8203f81e5a Fix dev mode
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:10:00 +02:00
Convly
0d135d449d Cleanup tsconfig & clean the dist dir before build 2022-04-04 12:07:39 +02:00
Convly
7340836b14 Init new develop 2022-04-04 12:07:38 +02:00
Convly
9a2b867061 Minor fixes 2022-04-04 12:07:38 +02:00
Convly
61d84e556d Update loader to support default syntax 2022-04-04 12:07:37 +02:00
soupette
392e167976 Clean kitchensink-ts package.json
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:07:37 +02:00
soupette
9240e69fc8 Remove tslint config
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:02:52 +02:00
soupette
57486399ae Add tsconfig-admin.json to generators
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:02:52 +02:00
soupette
ea4b16b036 Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:02:52 +02:00
Convly
fb720da187 Fix directories resolve 2022-04-04 12:02:21 +02:00
ronronscelestes
a6fecbb914 file format and sizing checks 2022-04-04 11:59:30 +02:00
Convly
84d106e7f8 Use new dirs (app/dist) 2022-04-04 11:46:22 +02:00
Convly
fb91d68983 Typos 2022-04-04 11:41:13 +02:00
Convly
6fc673f288 Fix plugin generators 2022-04-04 11:40:00 +02:00
Convly
e9619b5b25 Remove test plugin from kitchensink-ts 2022-04-04 11:40:00 +02:00
Convly
b373282f85 Add generators for typescript 2022-04-04 11:38:00 +02:00
Convly
f5cf8cd976 Rename app.example.ts to app.example.tsx 2022-04-04 11:36:55 +02:00
Convly
b2d98ab3fc Update files/ts/src/index.js -> index.ts 2022-04-04 11:36:55 +02:00
Convly
116505d892 Handle ts projects with generators 2022-04-04 11:36:55 +02:00
Convly
cbf15e6ccc useTypeScript -> useTypescript for consistency 2022-04-04 11:36:54 +02:00
soupette
57549a3a0d Fix PR feedback
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:54 +02:00
soupette
90f77cf724 Remove typescript dependency from admin package
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:53 +02:00
soupette
fdc6e77d98 Fix watch-admin command
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:53 +02:00
soupette
d47d741664 Fix develop command
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:52 +02:00
soupette
3cbc9c24df Fix build command
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:52 +02:00
soupette
e783e0770a Fix develop mode without TS and refacto strapi-admin file
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:52 +02:00
soupette
4365796df1 Remove ts from kitchensink and fix async issue
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 11:36:51 +02:00
Convly
1c637d6798 Use primary process instead of master process 2022-04-04 11:36:51 +02:00
Convly
f0cacae5d8 Fixes 2022-04-04 11:36:50 +02:00
Convly
648208af27 Refactor builders & compilation scripts 2022-04-04 11:36:50 +02:00
Convly
b6e0b91594 Add a default value for the userConfiguration 2022-04-04 11:33:00 +02:00
Convly
04b8318b18 Fix the dist folder not being created early enough 2022-04-04 11:33:00 +02:00
Convly
57fb0b8f00 Remove useless exclude directory from the tsconfig file 2022-04-04 11:33:00 +02:00