Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor (add more typing) #13

Merged
merged 6 commits into from
May 1, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: updated examples in the release
  • Loading branch information
andersondanilo committed May 1, 2022
commit 9526422fc035678da24acd8702263a186cd0be62
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install jsonapi-fractal --save

## Serialize with transformers
```js
// examples/serialize-with-transformer.js
// examples/serialize-with-transformers.js
```

## Links
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"build": "tsc",
"lint": "eslint '{src,examples,tests}/**/*.{ts,js}'",
"typedoc": "typedoc --readme none --excludeInternal --excludePrivate src/index.ts",
"update-examples": "embedme README.md",
"prepare-release": "npm run typedoc && npm run update-examples",
"prepare": "husky install"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
[
"@semantic-release/exec",
{
"prepareCmd": "npm run typedoc"
"prepareCmd": "npm run prepare-release"
}
],
"@semantic-release/npm",
Expand Down