58 Commits

Author SHA1 Message Date
Alexandre Bodin
4c6e67c493 v4.3.6 2022-08-24 15:53:23 +02:00
Alexandre Bodin
a52b053551 v4.3.5 2022-08-24 14:10:18 +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
Alexandre Bodin
28a2a00db8 v4.3.4 2022-08-11 10:17:34 +02:00
Alexandre Bodin
4d60bfdeee v4.3.3 2022-08-10 14:08:54 +02:00
Convly
a7eb9c81e6 Fix return type def 2022-08-03 09:51:45 +02:00
Convly
bf9c618a83 Fix invalid return for ts get-config-path 2022-08-03 09:50:27 +02:00
Convly
20259d944d Fix ts utils' getConfigPath returning false positive due to ancestors lookup 2022-08-02 10:52:10 +02:00
Alexandre Bodin
7039c0d228 v4.3.2 2022-08-01 17:18:09 +02:00
Pierre Noël
1eab2fb08c v4.3.1 2022-08-01 16:44:44 +02:00
Convly
74a2b908df v4.3.0 2022-07-27 14:44:39 +02:00
Convly
0b8c7b59c6 Merge branch 'master' into features/typescript 2022-07-25 09:30:18 +02:00
Convly
704cdd8ae7 Use ISOString instead of Date for Default date values 2022-07-21 15:48:47 +02:00
Convly
d0168cf957 Handle dates 2022-07-21 08:46:35 +02:00
Convly
870dd61c28 Add silent option, rename from content-types:generate-types to ts:generate-types 2022-07-21 08:37:40 +02:00
Convly
c29a20349f Add tests for global module definition 2022-07-11 10:24:30 +02:00
Convly
9c4e9c500f Add missing tests for attributes properties generation 2022-07-08 15:06:52 +02:00
Convly
fbf166908b Improve test coverage for imports & attributes 2022-07-07 15:16:09 +02:00
Convly
4b17487953 Fix typo: litteral -> literal 2022-07-07 01:22:13 +02:00
Convly
fa240cfee3 Add unit tests for typescript generators utils 2022-07-07 01:20:36 +02:00
Convly
3b48fd1fcb Fix toTypeLiteral util - handle undefined and null, throw on function types 2022-07-07 01:19:57 +02:00
Convly
d587de6b19 Handle UID attributes when generating attributes types definition 2022-07-06 15:58:46 +02:00
Convly
dde36c88f1 Fix morph type detection 2022-07-06 15:31:57 +02:00
Convly
531977f9da Use lodash pipe instead of lodash flow 2022-07-06 15:26:56 +02:00
Convly
bac691d797 Move the attributes mappers outside of the generation function 2022-07-06 15:25:34 +02:00
Convly
93af3acbd1 Use _ instead of fp as variable name for the lodash import 2022-07-06 15:23:20 +02:00
Convly
1fe3db7126 Slightly improve performance when merging schemas definitions with new lines 2022-07-06 15:14:39 +02:00
Convly
870318b05a Replace 'debug' mode by a 'verbose' one 2022-07-06 14:56:26 +02:00
Convly
6e0e9d3526 Remove dependency to @strapi/strapi 2022-07-06 14:54:51 +02:00
Convly
7ad8c26abc Merge branch 'typescript/types/schema' into typescript/schema-types-generation 2022-06-30 16:09:31 +02:00
Convly
bdb5a3ee89 Merge branch 'releases/4.3.0' into features/typescript 2022-06-30 16:08:51 +02:00
Convly
ac470bd343 Set debug mode to false by default for generateSchemasDefinitions 2022-06-20 13:59:26 +02:00
Convly
6c9b500586 Update generator. Use typescript compiler API to generate definitions 2022-06-17 19:00:27 +02:00
Convly
44d216a028 Merge branch 'typescript/types/schema' into typescript/schema-types-generation 2022-06-16 18:03:35 +02:00
Convly
6f01b3dbaa Merge branch 'master' of github.com:strapi/strapi into features/typescript 2022-06-16 18:01:02 +02:00
Convly
ebe8dd1cc8 Merge branch 'typescript/types/schema' into typescript/schema-types-generation 2022-06-13 15:04:42 +02:00
Convly
e5a7d43355 Update extended tsconfigs paths & fix kitchensink-ts app env/config variables 2022-06-08 11:30:01 +02:00
Convly
6fe5a1e0cd Move createTSConfigFile method to ts utils package 2022-06-07 17:38:48 +02:00
Convly
3995c8cd27 Add dedicated command to generate schemas types 2022-06-03 13:54:35 +02:00
Convly
da364912ee Merge branch 'master' of github.com:strapi/strapi into features/typescript 2022-05-31 15:29:18 +02:00
Convly
66e3aa5dcb Merge branch 'master' into features/typescript 2022-05-24 08:02:38 +02:00
Convly
eb012fa242 Add incremental build by default in the generated tsconfig.json 2022-05-23 16:55:42 +02:00
Bassel Kanso
716e4fae8f refactor resolveOutDir 2022-05-18 11:06:42 +03:00
Bassel Kanso
12c64a2d11 refactor resolveOutDir in typescript/utils 2022-05-17 16:40:09 +03:00
Bassel Kanso
3f53cff0c9 update jsdoc 2022-05-09 02:42:19 +03:00
Bassel Kanso
77740ed044 Merge branch 'features/typescript' into typescript/fix-cli 2022-05-05 17:06:01 +03:00
Bassel Kanso
c444692191 make compile function accept configOptions, and pass incremental:true when compiling for the cli commands 2022-05-05 17:03:24 +03:00
Convly
377e8e9da7 Merge branch 'master' into features/typescript 2022-05-02 15:40:18 +02:00
Convly
4fa2804f35 Merge branch 'master' into features/typescript 2022-04-15 15:47:16 +02:00