Skip to content

Commit 44aa87e

Browse files
🔖 ci(release): npm packages release
1 parent 1985d5e commit 44aa87e

File tree

5 files changed

+31
-28
lines changed

5 files changed

+31
-28
lines changed

.changeset/sixty-buttons-mate.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/thin-walls-check.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/two-eggs-beam.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/repository/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# @archisquad/repository
2+
3+
## 0.1.0
4+
5+
### Minor Changes
6+
7+
- 67265ba: Added support for defining indentifier field by user. Indetifier could be a
8+
field in Entity model, or a function. It could be left undefined, then Entity
9+
API assumes that developer stick with the default `id` field.
10+
- e616e3a: Changed way of schema declaration, allowing to use schema libraries such as zod
11+
or valibot. Added data validation in runtime during the Entity creation and
12+
update. Changed way of entity model declaration, introducted the configure
13+
object and single function invocation instead of previous double. Now, you can
14+
define function for infer schema type and validator - that way Entity API
15+
supports your favorite schema library, and still brings no extra dependecies.
16+
Added possibility to define custom methods on Entity.
17+
18+
### Patch Changes
19+
20+
- e616e3a: Fixed problem with relation types - ealier Entity type was applied with wide
21+
Relationship type that match every string used on entity object - which gives
22+
false positive that such key exists on entity.

packages/repository/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archisquad/repository",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"description": "Repository pattern implementation with TypeScript as framework agnostic library",
55
"type": "module",
66
"main": "dist/index.cjs",
@@ -19,7 +19,9 @@
1919
"types": "./dist/index.d.ts"
2020
}
2121
},
22-
"files": ["dist"],
22+
"files": [
23+
"dist"
24+
],
2325
"scripts": {
2426
"lint:dev": "biome check --apply-unsafe ./",
2527
"lint": "biome ci ./",
@@ -28,7 +30,11 @@
2830
"build": "unbuild",
2931
"pub-check": "publint"
3032
},
31-
"keywords": ["repository", "framework agnostic", "archisquad"],
33+
"keywords": [
34+
"repository",
35+
"framework agnostic",
36+
"archisquad"
37+
],
3238
"maintainers": [
3339
{
3440
"name": "Mateusz Gostański",

0 commit comments

Comments
 (0)