• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

contentful-userland / cf-content-types-generator
93%

Build:
DEFAULT BRANCH: master
Repo Added 07 Jun 2021 09:13AM UTC
Token 9JxDkTBAWVce0uiakr0FSPKMBVahscfSe regen
Build 115 Last
Files 30
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

17 Sep 2025 07:02AM UTC coverage: 92.513%. Remained the same
17789502038

push

github

web-flow
fix: stringify string literals correctly (#417)

Fixes #415 

Use `JSON.stringify` to render string literals.

This means that e.g. if you have a string `"a\nb"` when it's rendered
into the output Typescript instead of

```
"a
b"
```

which is a syntax error, you will get

```
"a\nb"
```

as desired, and so on for other sequences that should be escaped when
serialising a string.

---------

Co-authored-by: Marco Link <marcoxlink@googlemail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

79 of 93 branches covered (84.95%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

440 of 468 relevant lines covered (94.02%)

15.23 hits per line

Relevant lines Covered
Build:
Build:
468 RELEVANT LINES 440 COVERED LINES
15.23 HITS PER LINE
Source Files on master
  • Tree
  • List 30
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17789502038 master fix: stringify string literals correctly (#417) Fixes #415 Use `JSON.stringify` to render string literals. This means that e.g. if you have a string `"a\nb"` when it's rendered into the output Typescript instead of ``` "a b" ``` which is a s... push 17 Sep 2025 07:04AM UTC web-flow github
92.51
17742986132 master chore(deps-dev): bump @types/lodash from 4.17.7 to 4.17.20 (#424) Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.7 to 4.17.20. <details> <summary>Commits</summary> <ul> <li>See full diff... push 15 Sep 2025 06:33PM UTC web-flow github
92.51
17742980354 master chore(deps): bump axios from 1.7.4 to 1.12.1 (#431) Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.12.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's relea... push 15 Sep 2025 06:32PM UTC web-flow github
92.51
15255352282 master chore(deps): bump @octokit/endpoint from 10.1.1 to 10.1.3 (#401) Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js) from 10.1.1 to 10.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/o... push 26 May 2025 01:38PM UTC web-flow github
92.51
15255347364 master chore(deps): bump @octokit/request-error from 6.1.4 to 6.1.7 (#402) Bumps [@octokit/request-error](https://github.com/octokit/request-error.js) from 6.1.4 to 6.1.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://g... push 26 May 2025 01:37PM UTC web-flow github
92.51
15255344126 master chore(deps-dev): bump husky from 9.1.4 to 9.1.7 (#386) Bumps [husky](https://github.com/typicode/husky) from 9.1.4 to 9.1.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typicode/husky/releases">husky... push 26 May 2025 01:37PM UTC web-flow github
92.51
15255340840 master chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#385) Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/moxystudio/no... push 26 May 2025 01:37PM UTC web-flow github
92.51
14591931229 master feat: accept resource links to native external references in v10 type generator (#407) Trying to use `cf-content-types-generator` with a Contentful schema that includes fields with native external references currently results in an exception and ... push 22 Apr 2025 09:55AM UTC web-flow github
92.51
10881367844 master chore(deps-dev): bump ts-jest from 29.1.1 to 29.2.5 (#369) Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.1 to 29.2.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kulshekhar/ts... push 16 Sep 2024 09:47AM UTC web-flow github
92.32
10881362300 master chore(deps): bump micromatch from 4.0.7 to 4.0.8 (#368) Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/micromatch/micro... push 16 Sep 2024 09:47AM UTC web-flow github
92.32
See All Builds (37)

Badge your Repo: cf-content-types-generator

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc