131 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
Alexandre Bodin
655615b738 Upgrade babel 2022-08-03 12:09:08 +02:00
Alexandre BODIN
f2002891c4
Merge pull request #13952 from strapi/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.18.10
Bump @babel/plugin-transform-runtime from 7.16.7 to 7.18.10
2022-08-03 11:58:45 +02:00
Alexandre BODIN
803e50d18b
Merge pull request #13956 from strapi/dependabot/npm_and_yarn/babel/parser-7.18.10
Bump @babel/parser from 7.18.6 to 7.18.10
2022-08-03 11:56:59 +02:00
dependabot[bot]
1852eb40f1
Bump @babel/parser from 7.18.6 to 7.18.10
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.18.6 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-parser)

---
updated-dependencies:
- dependency-name: "@babel/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 09:11:02 +00:00
dependabot[bot]
202eb2350b
Bump @babel/plugin-transform-runtime from 7.16.7 to 7.18.10
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.16.7 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-plugin-transform-runtime)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 09:04:11 +00: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
Alexandre BODIN
c282437dac
Merge pull request #13848 from strapi/dependabot/npm_and_yarn/babel/plugin-transform-modules-commonjs-7.18.6
Bump @babel/plugin-transform-modules-commonjs from 7.16.7 to 7.18.6
2022-08-02 18:16:09 +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
dependabot[bot]
a7271ddca1
Bump @babel/plugin-transform-modules-commonjs from 7.16.7 to 7.18.6
Bumps [@babel/plugin-transform-modules-commonjs](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-modules-commonjs) from 7.16.7 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-plugin-transform-modules-commonjs)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-modules-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-27 12:51:48 +00: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
Alexandre Bodin
fe296baf71 v4.2.3 2022-07-13 14:20:58 +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
dependabot[bot]
7039b63aff
Bump @babel/generator from 7.16.7 to 7.18.7
Bumps [@babel/generator](https://github.com/babel/babel/tree/HEAD/packages/babel-generator) from 7.16.7 to 7.18.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.7/packages/babel-generator)

---
updated-dependencies:
- dependency-name: "@babel/generator"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 10:17:02 +00:00
Convly
a3672cf3d1 Merge branch 'features/typescript' into typescript/schema-types-generation 2022-07-07 16:30:56 +02:00
Convly
a5fbcc9e48 Merge branch 'master' into features/typescript 2022-07-07 15:20:34 +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
dependabot[bot]
29fed64259
Bump @babel/parser from 7.16.7 to 7.18.6
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.16.7 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-parser)

---
updated-dependencies:
- dependency-name: "@babel/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 09:07:12 +00: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
376ff3133c v4.2.2 2022-06-29 15:28:03 +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
Jean-Sébastien Herbaux
c5ffea6ff2
Merge pull request #13566 from strapi/4.2.0
4.2.0
2022-06-15 15:17:49 +02:00