545 Commits

Author SHA1 Message Date
Convly
876d4a52a8 Merge branch 'master' of github.com:strapi/strapi into features/typescript 2022-03-15 14:57:45 +01:00
soupette
aa6eada62b Remove tslint config
Signed-off-by: soupette <cyril@strapi.io>
2022-03-15 14:28:18 +01:00
soupette
7223064af3 Add tsconfig-admin.json to generators
Signed-off-by: soupette <cyril@strapi.io>
2022-03-15 13:50:08 +01:00
Convly
b6e365c343 Typos 2022-03-14 16:26:03 +01:00
Convly
5f9e16522b Fix plugin generators 2022-03-14 15:39:21 +01:00
Convly
274c201984 Add generators for typescript 2022-03-14 14:54:44 +01:00
Mark Kaylor
3be69154de merge master and fix conflicts 2022-03-14 14:32:47 +01:00
Alexandre BODIN
5a845afdad
Merge pull request #12712 from Eggwise/patch-1
Allow snake case in content type generator
2022-03-11 13:55:00 +01:00
sv-developer
1f1bfecd4a Fix naming and import fail 2022-03-11 09:44:12 +01:00
sv-developer
e22bc04d35 Use seperate validation function for attribute input validation 2022-03-11 08:23:21 +01:00
soupette
15b9e9b961 Merge branch 'features/typescript' of github.com:strapi/strapi into typescript/migrate-pages-components 2022-03-10 17:02:09 +01:00
Convly
ea0e2f6bd7 Rename app.example.ts to app.example.tsx 2022-03-09 17:16:05 +01:00
Convly
b0fc568112 Update files/ts/src/index.js -> index.ts 2022-03-09 16:34:18 +01:00
Convly
764e4336ec Handle ts projects with generators 2022-03-09 16:29:00 +01:00
soupette
50fa9cbaa8 Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2022-03-09 11:39:10 +01:00
Convly
d92ae025e7 useTypeScript -> useTypescript for consistency 2022-03-09 11:06:41 +01:00
Alexandre Bodin
8549f5aca3 v4.1.3 2022-03-08 19:28:44 +01:00
soupette
81896fdf60 Migrate default plugins file to TS
Signed-off-by: soupette <cyril@strapi.io>
2022-03-07 16:15:26 +01:00
Convly
0d3c753bff Handle ts option in cli 2022-03-07 11:09:26 +01:00
soupette
9a7fff9231 Prevent default export in order to provide typings
Signed-off-by: soupette <cyril@strapi.io>
2022-03-04 17:02:03 +01:00
Alexandre Bodin
6f72c38052 v4.1.2 2022-03-02 16:01:32 +01:00
Eggwise
79c5733019
Allow snake_case in validation for content type attr 2022-03-02 11:02:27 +01:00
Eggwise
79fd16cd23
Add snake_case param for validating generate input 2022-03-02 10:58:17 +01:00
RufusLeTerrible
adffc30bc7
Merge pull request #12627 from strapi/fix/getNonLocalisedFieldNestedInComponent
Populate nested images for getNonLocalisedFields
2022-03-01 19:00:34 +01:00
Alexandre Bodin
3a4db96af2 v4.1.1 2022-02-24 16:52:10 +01:00
Mark Kaylor
2c735db6e0 update execa commands 2022-02-24 11:12:08 +01:00
Pierre Noël
7cf2821451 migrate graphql upload to use streams + use fs-extra 2022-02-23 11:42:35 +01:00
Pierre Noël
db4e56af07 fix unit tests 2022-02-23 10:31:33 +01:00
Gustav Hansen
393909c381
Merge pull request #12563 from ComfortablyCoding/fix-plugin-template-node-engine
fix(plugin template): missing patch `x` symbol for v12
2022-02-18 12:45:38 +01:00
Alexandre Bodin
d4273d81fb v4.1.0 2022-02-17 14:43:38 +01:00
daedalus
27c98ff85e fix(plugin template): missing patch x symbol for v12 2022-02-17 02:20:42 -05:00
Alexandre Bodin
669bb2f044 v4.0.8 2022-02-16 15:12:40 +01:00
Michiel Sioen
d32e31d488 added audio preview in content builder 2022-02-15 19:42:05 +01:00
soupette
7f0d73eee3 Fix conflicts with yarn.lock
Signed-off-by: soupette <cyril@strapi.io>
2022-02-15 09:50:31 +01:00
Dieter Sting
bc48274555
Merge pull request #12042 from sunnysonx/fix/generator
Fix: Corrected file paths when generating CTs, APIs, Controllers, Middlewares, Policies, Services inside Plugins
2022-02-15 08:22:38 +01:00
sunnyson
989cfe3ec5
remove unused import
Co-authored-by: Dieter Sting <3165079+Elhebert@users.noreply.github.com>
2022-02-11 22:31:26 +02:00
sunnyson
43c58cb692
Update packages/generators/generators/lib/plops/api.js
Co-authored-by: Dieter Sting <3165079+Elhebert@users.noreply.github.com>
2022-02-10 21:55:29 +02:00
Convly
af0cba8c5b v4.0.7 2022-02-02 16:11:26 +01:00
Convly
5b48053946 v4.0.6 2022-01-28 15:08:27 +01:00
sunnyson
5e92996f5a
Merge branch 'master' into fix/generator 2022-01-27 14:35:04 +02:00
sunnyson
0d955131ac
Merge branch 'master' into fix/validate-generation-name-inside-plugin 2022-01-27 14:34:23 +02:00
WalkingPizza
ba5825ee5f Check that plugin name is kebab-cased upon generation 2022-01-26 13:10:21 +01:00
Pierre Noël
b48cf115c7 rename APP_SECRETS to APP_KEYS 2022-01-25 11:06:52 +01:00
Pierre Noël
c9b0f048d7 remove url config 2022-01-21 16:39:06 +01:00
Pierre Noël
4d51e8131c
Merge branch 'master' into fix/enable-session-middleware 2022-01-21 14:01:12 +01:00
Marin
73c86d7d60 fix(CLI-Generator): ♻️ validate plugin/middleware/policy during generation and do not allow empty names 2022-01-21 14:58:46 +02:00
sunnyson
12d72d71e2
Merge branch 'master' into fix/generator 2022-01-21 14:51:44 +02:00
Marin
621c75ea27 refactor(CLI-Generate): ♻️ add root path support for middlewares & policies 2022-01-21 14:39:22 +02:00
Marin
e1375a80e1 refactor(CLI-Generate): ♻️ fix getFilePath path for plugins 2022-01-21 14:19:02 +02:00
Marin
fc099f4f15 Revert "fixing file paths when generating CT inside plugins"
This reverts commit 2435689d50b631a30509047a9dabef91120ffe18.
2022-01-21 12:49:21 +02:00