Skip to content

Commit

Permalink
Create @jakubmazanec/template and update @jakubmazanec/changesets-cha…
Browse files Browse the repository at this point in the history
…ngelog, @jakubmazanec/error, @jakubmazanec/eslint-config, @jakubmazanec/ts-utils
  • Loading branch information
jakubmazanec committed Apr 13, 2023
1 parent c5848fd commit f7731ef
Show file tree
Hide file tree
Showing 83 changed files with 5,788 additions and 4,034 deletions.
8 changes: 8 additions & 0 deletions .changeset/dry-planets-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@jakubmazanec/changesets-changelog': patch
'@jakubmazanec/error': patch
'@jakubmazanec/eslint-config': patch
'@jakubmazanec/ts-utils': patch
---

Adds missing readme and contributing files.
6 changes: 6 additions & 0 deletions .changeset/fast-rats-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@jakubmazanec/error': major
'@jakubmazanec/ts-utils': major
---

Changes license from MIT to GNU Lesser General Public License v3.
6 changes: 6 additions & 0 deletions .changeset/five-lemons-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@jakubmazanec/template': major
---

Creates package with TypeScript-first library for working with templates using
[EJS](https://github.com/mde/ejs) and [Zod](https://github.com/colinhacks/zod).
8 changes: 8 additions & 0 deletions .changeset/olive-swans-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@jakubmazanec/changesets-changelog': patch
'@jakubmazanec/error': patch
'@jakubmazanec/eslint-config': patch
'@jakubmazanec/ts-utils': patch
---

Fixes SWC config.
8 changes: 8 additions & 0 deletions .changeset/thick-suns-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@jakubmazanec/error': major
---

Adds new function `createCustomErrorWithData` for creating errors without the optional data. The
function `createCustomError` now only creates custom error class that doesn't have `data` property.
This is to prevent situations when `data` property has wrong type. Also, the type for the error data
can be now defined using [Zod](https://github.com/colinhacks/zod).
7 changes: 7 additions & 0 deletions .changeset/wicked-candles-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@jakubmazanec/error': patch
'@jakubmazanec/eslint-config': patch
'@jakubmazanec/ts-utils': patch
---

Fixes Jest config.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ public/
npm-shrinkwrap.json
package-lock.json
CHANGELOG.md
LICENSE.md
2 changes: 1 addition & 1 deletion LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Jakub Mazanec
Copyright (c) 2023 Jakub Mazanec

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
Expand Down
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
# js-tools
<div align="center">

# JavaScript tools

</div>

## Projects

- [@jakubmazanec/changesets-changelog](./packages/changesets-changelog) – Changelog for projects
using Changesets.
- [@jakubmazanec/error](./packages/error) – Collection of utilities for creating and handling
errors.
- [@jakubmazanec/eslint-config](./packages/eslint-config) – ESLint config for TypeScript projects.
- [@jakubmazanec/template](./packages/template) – TypeScript-first library for working with
templates using EJS and Zod.
- [@jakubmazanec/ts-utils](./packages/ts-utils) – Collection of TypeScript types and utilities.

## License

Each project is licensed separately. Unless otherwise noted, the rest of the code in this repository
is licensed under the MIT license. See [LICENSE](./LICENSE.md) for details.
Loading

0 comments on commit f7731ef

Please sign in to comment.