21145 Commits

Author SHA1 Message Date
Convly
2f26c05bee Merge branch 'features/typescript' of github.com:strapi/strapi into typescript/tsconfigs 2022-04-12 16:47:49 +02:00
Convly
e47cd1ad09 Fix configs generation 2022-04-12 15:58:21 +02:00
cyril lopez
91cbfef66e
Merge pull request #13108 from strapi/typescript/extend-strapi-typings
[TS] Allow to extend the StrapiInterface type
2022-04-12 15:44:19 +02:00
Convly
8fad694674 Update import 2022-04-12 15:42:57 +02:00
Convly
1aff33e1d1 Add example for Strapi type extension 2022-04-12 15:30:09 +02:00
Convly
60a26e08fc Export the StrapiInterface type so that it can be extended by the user 2022-04-12 14:37:22 +02:00
cyril lopez
99544589b0
Merge pull request #13090 from strapi/chore/add-missing-dep
Add missing babel polyfill dependency
2022-04-08 15:14:49 +02:00
soupette
36a65b4743 Add missing babel polyfill dependency
Signed-off-by: soupette <cyril@strapi.io>
2022-04-08 10:59:18 +02:00
cyril lopez
4e5b69058f
Merge pull request #13059 from strapi/ts/documentation-plugin
Fix documenation plugin
2022-04-06 10:41:39 +02:00
Convly
380d02eded Fix correct tsconfig filename in @strapi/typescript-utils/get-config-path 2022-04-05 16:36:38 +02:00
Convly
1d254182fa Fix webpack configuration to reference the correct tsconfig file 2022-04-05 16:33:30 +02:00
Convly
e84a051956 Update tsconfig base files in @strapi/typescript-utils 2022-04-05 16:32:47 +02:00
Convly
b25ac466ac Update tsconfig templates files 2022-04-05 16:32:18 +02:00
Convly
54fefcf5d2 isTypeScriptProject -> isUsingTypeScript 2022-04-05 16:30:50 +02:00
soupette
db37b4063b Fix documenation plugin
Signed-off-by: soupette <cyril@strapi.io>
2022-04-05 11:15:28 +02:00
cyril lopez
831726978a
Merge pull request #13055 from strapi/typescript/fix-static-resources-resolution
[TS] Fix static resources resolution
2022-04-05 11:11:46 +02:00
Convly
6f5e69b659 Remove copy-resource, favicon path resolution is already handled by the favicon middleware 2022-04-04 17:19:51 +02:00
Convly
a9525c0704 Remove public folder & package.json file from the copied resources in the build process 2022-04-04 17:14:06 +02:00
Convly
f7a20effb1 Fix public directories 2022-04-04 17:12:47 +02:00
Convly
2626f5e7b4 Merge branch 'features/typescript' into typescript/move-package-json-app-dir 2022-04-04 17:08:09 +02:00
Convly
07e08520d0 Remove the public folder from dist & app dirs 2022-04-04 16:51:37 +02:00
Convly
9565d3ec2b Fix rebase 2022-04-04 12:26:41 +02:00
soupette
1399aa94b6 Fix PR feedback
Signed-off-by: soupette <cyril@strapi.io>
2022-04-04 12:22:33 +02:00
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