Skip to content

Commit 1cec829

Browse files
committed
chore: bump deps
1 parent 97f5936 commit 1cec829

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+370
-235
lines changed

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# @types-ddd/core
2+
# @type-ddd/core
33

44
> Now with individual packages
55
@@ -54,28 +54,28 @@ This package provide utils file and interfaces to assistant build a complex appl
5454
Install full available packages
5555

5656
```sh
57-
$ npm i @types-ddd/core
57+
$ npm i @type-ddd/core
5858

5959
# or
6060

61-
$ yarn add @types-ddd/core
61+
$ yarn add @type-ddd/core
6262

6363
```
6464

6565
## Individual
6666

6767
Alternatively you can install individual packages
6868

69-
- `@types-ddd/cpf` [Docs](./packages/cpf)
70-
- `@types-ddd/cnpj` [Docs](./packages/cnpj)
71-
- `@types-ddd/date` [Docs](./packages/date)
72-
- `@types-ddd/email` [Docs](./packages/email)
73-
- `@types-ddd/password` [Docs](./packages/password)
74-
- `@types-ddd/patterns` [Docs](./packages/patterns)
75-
- `@types-ddd/phone` [Docs](./packages/phone)
76-
- `@types-ddd/username` [Docs](./packages/username)
77-
- `@types-ddd/zip-code` [Docs](./packages/zip-code)
78-
- `@types-ddd/money` [Docs](./packages/money)
69+
- `@type-ddd/cpf` [Docs](./packages/cpf)
70+
- `@type-ddd/cnpj` [Docs](./packages/cnpj)
71+
- `@type-ddd/date` [Docs](./packages/date)
72+
- `@type-ddd/email` [Docs](./packages/email)
73+
- `@type-ddd/password` [Docs](./packages/password)
74+
- `@type-ddd/patterns` [Docs](./packages/patterns)
75+
- `@type-ddd/phone` [Docs](./packages/phone)
76+
- `@type-ddd/username` [Docs](./packages/username)
77+
- `@type-ddd/zip-code` [Docs](./packages/zip-code)
78+
- `@type-ddd/money` [Docs](./packages/money)
7979

8080
---
8181

@@ -188,16 +188,16 @@ Alternatively you can install individual packages
188188

189189
Install individual package
190190

191-
- `@types-ddd/cpf` [Docs](./packages/cpf)
192-
- `@types-ddd/cnpj` [Docs](./packages/cnpj)
193-
- `@types-ddd/date` [Docs](./packages/date)
194-
- `@types-ddd/email` [Docs](./packages/email)
195-
- `@types-ddd/password` [Docs](./packages/password)
196-
- `@types-ddd/patterns` [Docs](./packages/patterns)
197-
- `@types-ddd/phone` [Docs](./packages/phone)
198-
- `@types-ddd/username` [Docs](./packages/username)
199-
- `@types-ddd/zip-code` [Docs](./packages/zip-code)
200-
- `@types-ddd/money` [Docs](./packages/money)
191+
- `@type-ddd/cpf` [Docs](./packages/cpf)
192+
- `@type-ddd/cnpj` [Docs](./packages/cnpj)
193+
- `@type-ddd/date` [Docs](./packages/date)
194+
- `@type-ddd/email` [Docs](./packages/email)
195+
- `@type-ddd/password` [Docs](./packages/password)
196+
- `@type-ddd/patterns` [Docs](./packages/patterns)
197+
- `@type-ddd/phone` [Docs](./packages/phone)
198+
- `@type-ddd/username` [Docs](./packages/username)
199+
- `@type-ddd/zip-code` [Docs](./packages/zip-code)
200+
- `@type-ddd/money` [Docs](./packages/money)
201201

202202
---
203203

@@ -209,7 +209,7 @@ Install individual package
209209

210210
```ts
211211

212-
import { ValueObject, Ok, Fail, Result } from '@types-ddd/core';
212+
import { ValueObject, Ok, Fail, Result } from '@type-ddd/core';
213213

214214
interface Props {
215215
amount: number;
@@ -320,7 +320,7 @@ console.log(value);
320320

321321
```ts
322322

323-
import { Entity, Ok, Fail, Result, UID } from '@types-ddd/core';
323+
import { Entity, Ok, Fail, Result, UID } from '@type-ddd/core';
324324

325325
interface Props {
326326
id?: UID;
@@ -409,7 +409,7 @@ In my example, let's use the context of payment. All payment transactions are en
409409

410410
```ts
411411

412-
import { Aggregate, Ok, Fail, Result, UID, EventHandler } from '@types-ddd/core';
412+
import { Aggregate, Ok, Fail, Result, UID, EventHandler } from '@type-ddd/core';
413413

414414
// Entities and VO that encapsulate context.
415415
interface Props {
@@ -497,7 +497,7 @@ Event Handler
497497

498498
```ts
499499

500-
import { Context, EventHandler } from '@types-ddd/core';
500+
import { Context, EventHandler } from '@type-ddd/core';
501501

502502

503503
class OrderCreatedEvent extends EventHandler<Order> {
@@ -541,7 +541,7 @@ await order.dispatchAll();
541541

542542
```ts
543543

544-
import { Context } from '@types-ddd/core';
544+
import { Context } from '@type-ddd/core';
545545

546546
const context = Context.events();
547547

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module.exports = {
99
'.+\\.ts$': 'ts-jest',
1010
},
1111
moduleNameMapper: {
12-
'@types-ddd': '<rootDir>/lib/index',
12+
'@type-ddd': '<rootDir>/lib/index',
1313
},
1414
};

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"packages": [
44
"packages/*"
55
],
6-
"version": "1.0.4"
6+
"version": "0.0.1"
77
}

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "types-ddd",
2+
"name": "type-ddd",
33
"version": "4.0.0",
44
"description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design",
55
"main": "dist/index.js",
@@ -46,12 +46,12 @@
4646
},
4747
"repository": {
4848
"type": "git",
49-
"url": "git+https://github.com/4lessandrodev/types-ddd.git"
49+
"url": "git+https://github.com/4lessandrodev/type-ddd.git"
5050
},
5151
"bugs": {
52-
"url": "https://github.com/4lessandrodev/types-ddd/issues"
52+
"url": "https://github.com/4lessandrodev/type-ddd/issues"
5353
},
54-
"homepage": "https://github.com/4lessandrodev/types-ddd/tree/main",
54+
"homepage": "https://github.com/4lessandrodev/type-ddd/tree/main",
5555
"peerDependencies": {
5656
"rich-domain": "^1.23.1"
5757
},

packages/cnpj/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
88

99
## Released
1010

11-
### [1.0.0] - 2024-05-14
11+
### [0.0.1] - 2024-05-31
1212

1313
### Base
1414

packages/cnpj/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# `@types-ddd/cnpj`
1+
# `@type-ddd/cnpj`
22

3-
> The @types-ddd/cnpj library provides TypeScript type definitions for handling CNPJ (Cadastro Nacional da Pessoa Jurídica) in Domain-Driven Design contexts. It facilitates the validation and manipulation of CNPJ numbers, ensuring they adhere to the Brazilian legal standards.
3+
> The @type-ddd/cnpj library provides TypeScript type definitions for handling CNPJ (Cadastro Nacional da Pessoa Jurídica) in Domain-Driven Design contexts. It facilitates the validation and manipulation of CNPJ numbers, ensuring they adhere to the Brazilian legal standards.
44
55
---
66

77
## Installation
88

9-
Install `rich-domain` and `@types-ddd/cnpj` with your favorite package manager
9+
Install `rich-domain` and `@type-ddd/cnpj` with your favorite package manager
1010

1111
```sh
1212

13-
npm i rich-domain @types-ddd/cnpj
13+
npm i rich-domain @type-ddd/cnpj
1414

1515
# OR
1616

17-
yarn add rich-domain @types-ddd/cnpj
17+
yarn add rich-domain @type-ddd/cnpj
1818

1919
```
2020

@@ -24,7 +24,7 @@ Don't worry about removing special characters; they are automatically stripped f
2424

2525
```ts
2626

27-
import { CNPJ } from '@types-ddd/cnpj'
27+
import { CNPJ } from '@type-ddd/cnpj'
2828

2929
// Instance of CNPJ or throws an error if provide an invalid value
3030
const cnpj = CNPJ.init('54097792000193');

packages/cnpj/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@types-ddd/cnpj",
2+
"name": "@type-ddd/cnpj",
33
"description": "Library that provides TypeScript type definitions for handling CNPJ (Cadastro Nacional da Pessoa Jurídica) in Domain-Driven Design contexts. It facilitates the validation and manipulation of CNPJ numbers, ensuring they adhere to the Brazilian legal standards.",
4-
"version": "1.0.4",
4+
"version": "0.0.1",
55
"main": "index.js",
66
"types": "index.d.ts",
77
"author": "Alessandro Dev",

packages/cpf/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
88

99
## Released
1010

11-
### [1.0.0] - 2024-05-14
11+
### [0.0.1] - 2024-05-14
1212

1313
### Base
1414

packages/cpf/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# `@types-ddd/cpf`
1+
# `@type-ddd/cpf`
22

3-
> The @types-ddd/cpf library provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts. It facilitates the validation and manipulation of CPF numbers, ensuring they adhere to the Brazilian legal standards.
3+
> The @type-ddd/cpf library provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts. It facilitates the validation and manipulation of CPF numbers, ensuring they adhere to the Brazilian legal standards.
44
55
---
66

77
## Installation
88

9-
Install `rich-domain` and `@types-ddd/cpf` with your favorite package manager
9+
Install `rich-domain` and `@type-ddd/cpf` with your favorite package manager
1010

1111
```sh
1212

13-
npm i rich-domain @types-ddd/cpf
13+
npm i rich-domain @type-ddd/cpf
1414

1515
# OR
1616

17-
yarn add rich-domain @types-ddd/cpf
17+
yarn add rich-domain @type-ddd/cpf
1818

1919
```
2020

@@ -24,7 +24,7 @@ Don't worry about removing special characters; they are automatically stripped f
2424

2525
```ts
2626

27-
import { CPF } from '@types-ddd/cpf'
27+
import { CPF } from '@type-ddd/cpf'
2828

2929
// Instance of cpf or throws an error if provide an invalid value
3030
const cpf = CPF.init('54097792000193');

packages/cpf/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@types-ddd/cpf",
2+
"name": "@type-ddd/cpf",
33
"description": "This package provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts",
4-
"version": "1.0.4",
4+
"version": "0.0.1",
55
"main": "index.js",
66
"types": "index.d.ts",
77
"author": "Alessandro Dev",
@@ -40,11 +40,11 @@
4040
],
4141
"repository": {
4242
"type": "git",
43-
"url": "git+https://github.com/4lessandrodev/types-ddd.git"
43+
"url": "git+https://github.com/4lessandrodev/type-ddd.git"
4444
},
4545
"bugs": {
46-
"url": "https://github.com/4lessandrodev/types-ddd/issues"
46+
"url": "https://github.com/4lessandrodev/type-ddd/issues"
4747
},
48-
"homepage": "https://github.com/4lessandrodev/types-ddd/tree/main/cpf",
48+
"homepage": "https://github.com/4lessandrodev/type-ddd/tree/main/cpf",
4949
"gitHead": "4cb9159bde8d6fc951e9d902feed2ad25da49fa4"
5050
}

0 commit comments

Comments
 (0)