21169 Commits

Author SHA1 Message Date
Convly
8729ba6fdd Remove console.log from the kitchensink-ts index.ts file 2022-04-14 14:59:13 +02:00
Convly
431ccbe55c Fix isTypeScriptProject -> isUsingTypeScript 2022-04-14 14:55:57 +02:00
Convly
51be8899e6 Update the tsconfig.json file to use the extend 2022-04-14 14:47:15 +02:00
Convly
9ecf96c912 Merge branch 'features/typescript' of github.com:strapi/strapi into ts/split-ts-config 2022-04-14 14:46:57 +02:00
Jean-Sébastien Herbaux
32aada93f7
Merge pull request #13062 from strapi/typescript/tsconfigs
[TS] Updated tsconfigs design for generated app
2022-04-14 14:46:44 +02:00
Convly
1a82a62b9f Merge remote-tracking branch 'origin/typescript/tsconfigs' into ts/split-ts-config 2022-04-14 14:28:59 +02:00
soupette
d9fb9e9d51 Merge branch 'features/typescript' of github.com:strapi/strapi into ts/split-ts-config 2022-04-14 11:14:15 +02:00
soupette
0bff46cceb Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2022-04-14 11:13:52 +02:00
soupette
7fdae1dd55 Remove useTypescript arg from the build command
Signed-off-by: soupette <cyril@strapi.io>
2022-04-14 11:02:31 +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
Jean-Sébastien Herbaux
54f6843f37
Merge pull request #13120 from strapi/typescript/telemetry
[TS] - Telemetry
2022-04-13 18:18:15 +02:00
Convly
a9872a56a8 Merge branch 'typescript/telemetry' of github.com:strapi/strapi into typescript/telemetry 2022-04-13 17:45:30 +02:00
Convly
9dfec11228 Fix unit testing 2022-04-13 17:45:19 +02:00
soupette
9a052ee876 Fix tests
Signed-off-by: soupette <cyril@strapi.io>
2022-04-13 17:15:16 +02:00
Convly
9a2ae88480 Prevent access to telemetry-properties route if the telemetry is disabled 2022-04-13 16:11:42 +02:00
Convly
8440d4064f Add the typescript telemetry events to the admin events 2022-04-13 15:41:39 +02:00
Convly
9f651bb878 Fix review comments (remove comments) 2022-04-12 17:54:31 +02:00
Convly
9c6bff7e3f Move the typescript checks to the sender init 2022-04-12 17:31:30 +02:00
Convly
ce0b361fba Update ts confif resolution for events 2022-04-12 17:14:00 +02:00
Convly
56e2b99133 Merge branch 'features/typescript' of github.com:strapi/strapi into typescript/telemetry 2022-04-12 17:09:09 +02:00
Convly
7654dbd961 Update plugin build & tsconfigs 2022-04-12 16:57:00 +02:00
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
511bf2920c Update config to handle useTypescript 2022-04-04 17:34:56 +02:00
Convly
77daaf7e72 Merge branch 'features/typescript' into typescript/telemetry 2022-04-04 17:33:07 +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