From 0aac671422ac72ee18c16252c9e3c8f8a0c95427 Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Sun, 15 Dec 2024 21:20:43 -0300 Subject: [PATCH 01/10] bump: deps update rich-domain --- CHANGELOG.md | 7 ++++ Makefile | 31 +++++++++++++++++- package.json | 5 ++- packages/cnpj/package.json | 2 +- packages/cpf/package.json | 2 +- packages/date/package.json | 2 +- packages/email/package.json | 2 +- packages/money/package.json | 2 +- packages/password/package.json | 2 +- packages/patterns/package.json | 2 +- packages/phone/package.json | 2 +- packages/username/package.json | 2 +- packages/zip-code/package.json | 2 +- update-peer-dependency.sh | 60 ++++++++++++++++++++++++++++++++++ yarn.lock | 5 +++ 15 files changed, 114 insertions(+), 14 deletions(-) create mode 100755 update-peer-dependency.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a441be..f15d5eb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file. --- +### [4.1.0-beta] - 2024-12-15 + +#### Feat + +- Atualizando lib core para versão beta +- rich-domain v1.25.0-beta + ## Released --- diff --git a/Makefile b/Makefile index 68c6dd97..dd1ae0df 100644 --- a/Makefile +++ b/Makefile @@ -1,31 +1,60 @@ -.PHONY: startVerdaccio stopVerdaccio publishVerdaccio addUser login build graph publish +# Define the targets and the commands to be executed +.PHONY: startVerdaccio stopVerdaccio publishVerdaccio addUser login build graph publish update +# Start Verdaccio Docker container (local NPM registry) +# This will install 'expect', pull the latest Verdaccio image, and run it. startVerdaccio: +# Install the 'expect' package needed for some automation scripts sudo apt-get update && sudo apt-get install expect +# Pull the latest nightly version of the Verdaccio image docker pull verdaccio/verdaccio:nightly-master +# Run Verdaccio in detached mode with port 4873 exposed docker run -it -d --rm --name lib_verdaccio -p 4873:4873 verdaccio/verdaccio:nightly-master +# Clear any existing NPM configuration echo "" > ./.npmrc +# Set the registry to the local Verdaccio instance for project-specific use npm config set registry http://localhost:4873/ --location project +# Stop the running Verdaccio Docker container stopVerdaccio: +# Stop the Verdaccio container with the name 'lib_verdaccio' docker stop lib_verdaccio +# Add a new user to the local NPM registry (Verdaccio) +# This will execute the script that interacts with the registry to add a user addUser: ./scripts/make-user.sh +# Log in to the local NPM registry (Verdaccio) +# This will execute the login script to authenticate the user with Verdaccio login: ./scripts/login.sh +# Build the project and its dependencies using npm +# This includes running the general build process and the Lerna build process build: npm run build && npm run build:lerna +# Build and publish packages to the local Verdaccio registry +# This builds all packages using Yarn and Lerna and publishes them to the local registry publishVerdaccio: yarn build yarn build:lerna yarn lerna exec "npm publish --registry http://localhost:4873" +# Generate and visualize the dependency graph of the project using Nx +# This will show a graphical representation of the dependencies in the monorepo graph: yarn nx graph +# Publish packages using Lerna +# This command publishes packages to the specified registry using Lerna publish: yarn lerna publish + +# Update a specific peer dependency across all packages in the monorepo +# Example usage: make update lib=rich-domain v=1.1.0 +# This will update the specified peer dependency (e.g., 'rich-domain') to the given version (e.g., '1.1.0') in all package.json files in the ./packages directory +# update peer dependency in all packages once +update: + ./update-peer-dependency.sh $(lib) $(v) diff --git a/package.json b/package.json index e51e019d..7c4b09ce 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "prepublish:lib": "rimraf ./dist && npm run check:circular-deps", "publish:lib": "npm publish", "format:all": "npx prettier --write .", - "prepare": "husky install", "check:types": "tsc -v packages --noEmit" }, "repository": { @@ -53,7 +52,7 @@ }, "homepage": "https://github.com/4lessandrodev/type-ddd/tree/main", "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "devDependencies": { "@types/jest": "^27.0.1", @@ -65,7 +64,7 @@ "lint-staged": "^15.0.1", "madge": "^8.0.0", "prettier": "^3.0.0", - "rich-domain": "^1.24.1", + "rich-domain": "1.25.0-beta", "rimraf": "^5.0.5", "ts-jest": "^27.1.4", "ts-node": "^10.7.0", diff --git a/packages/cnpj/package.json b/packages/cnpj/package.json index 9bca8e01..7ec572b3 100644 --- a/packages/cnpj/package.json +++ b/packages/cnpj/package.json @@ -33,7 +33,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/cpf/package.json b/packages/cpf/package.json index fcffe38b..ceec91eb 100644 --- a/packages/cpf/package.json +++ b/packages/cpf/package.json @@ -30,7 +30,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/date/package.json b/packages/date/package.json index a0a4a379..ee035139 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -29,7 +29,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/email/package.json b/packages/email/package.json index 6f8ec188..9078ec5e 100644 --- a/packages/email/package.json +++ b/packages/email/package.json @@ -29,7 +29,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/money/package.json b/packages/money/package.json index a7f6d8d8..6d1aa21f 100644 --- a/packages/money/package.json +++ b/packages/money/package.json @@ -30,7 +30,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/password/package.json b/packages/password/package.json index 2ebb7ec3..3718387b 100644 --- a/packages/password/package.json +++ b/packages/password/package.json @@ -35,7 +35,7 @@ }, "peerDependencies": { "bcrypt": "^5.0.1", - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 1c4b06ab..07bcf146 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -32,7 +32,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/phone/package.json b/packages/phone/package.json index 8644b528..20a49258 100644 --- a/packages/phone/package.json +++ b/packages/phone/package.json @@ -31,7 +31,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/username/package.json b/packages/username/package.json index 2e551578..e23911d4 100644 --- a/packages/username/package.json +++ b/packages/username/package.json @@ -30,7 +30,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/packages/zip-code/package.json b/packages/zip-code/package.json index 4a971aab..1848ee14 100644 --- a/packages/zip-code/package.json +++ b/packages/zip-code/package.json @@ -31,7 +31,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", diff --git a/update-peer-dependency.sh b/update-peer-dependency.sh new file mode 100755 index 00000000..edd8967e --- /dev/null +++ b/update-peer-dependency.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +# Update a specific peer dependency across all packages in the monorepo + +# Usage example: +# in root folder execute: +# ./update-peer-dependency.sh +# ./update-peer-dependency.sh rich-domain 1.25.0 + +# Check if jq is installed +if ! command -v jq &> /dev/null; then + echo "Error: jq is not installed. Please install jq to proceed." + exit 1 +fi + +# Check if the correct number of arguments is provided +# The script expects two arguments: the name of the dependency and the desired version. +if [ "$#" -ne 2 ]; then + echo "Usage: $0 " + echo "Example: $0 rich-domain 1.25.0-beta" + exit 1 +fi + +# Assign the arguments to variables +DEPENDENCY=$1 # The name of the dependency to be updated +VERSION=$2 # The version to be set for the dependency + +# Directory where the packages are located. The script will look inside this directory. +PACKAGES_DIR="./packages" + +# Check if the /packages directory exists +if [ ! -d "$PACKAGES_DIR" ]; then + echo "The /packages directory does not exist! Please ensure the path is correct." + exit 1 +fi + +# Start the loop to iterate over all folders inside the /packages directory +for PACKAGE in $PACKAGES_DIR/*/; do + # Check if the current path is a directory + if [ -d "$PACKAGE" ]; then + # Build the path for the package.json file inside the package + PACKAGE_JSON="${PACKAGE}package.json" + + # Check if the package.json file exists in the current directory + if [ -f "$PACKAGE_JSON" ]; then + # Check if the package.json contains the specific dependency under peerDependencies + if jq -e ".peerDependencies | has(\"$DEPENDENCY\")" "$PACKAGE_JSON" > /dev/null; then + # Update the version of the dependency in the package.json file + echo "Updating '$DEPENDENCY' to version ^$VERSION in $PACKAGE_JSON" + + # Use jq to modify the version of the dependency + # The result is written to a temporary file and then replaces the original file + jq ".peerDependencies[\"$DEPENDENCY\"] = \"^$VERSION\"" "$PACKAGE_JSON" > "$PACKAGE_JSON.tmp" && mv "$PACKAGE_JSON.tmp" "$PACKAGE_JSON" + fi + fi + fi +done + +# Message indicating the script has finished successfully +echo "Update completed." diff --git a/yarn.lock b/yarn.lock index bb93b699..de6e82df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5856,6 +5856,11 @@ rfdc@^1.4.1: resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== +rich-domain@1.25.0-beta: + version "1.25.0-beta" + resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.25.0-beta.tgz#cb5f9f0260977b666f44457238b7e8a7e9e30b66" + integrity sha512-B5XbfndP0VyidO1VflDeystk9ZCJVLhhncfq/2UhytvYqOcsmqyIl16IbQ1mEZ1weGhUYT/ip3ChgE4lezTghw== + rich-domain@^1.24.1: version "1.24.1" resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.24.1.tgz#fdb33c43886d4ec4c2b6ccdd0cb2d1c60a6c97a7" From 4e9374518b32c0e9fd5e2aa643ac529f20618db1 Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Sun, 15 Dec 2024 21:31:34 -0300 Subject: [PATCH 02/10] Publish - @type-ddd/cnpj@0.0.4-alpha.0 - @type-ddd/cpf@0.0.4-alpha.0 - @type-ddd/date@0.0.4-alpha.0 - @type-ddd/email@0.0.5-alpha.0 - @type-ddd/logger@0.0.3-alpha.0 - @type-ddd/money@0.0.4-alpha.0 - @type-ddd/password@0.0.5-alpha.0 - @type-ddd/patterns@0.0.4-alpha.0 - @type-ddd/phone@0.0.4-alpha.0 - @type-ddd/core@0.0.7-alpha.0 - @type-ddd/username@0.0.4-alpha.0 - @type-ddd/zip-code@0.0.4-alpha.0 --- packages/cnpj/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/cnpj/package.json | 2 +- packages/cpf/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/cpf/package.json | 2 +- packages/date/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/date/package.json | 2 +- packages/email/CHANGELOG.md | 25 +++++++++++++++++++++++++ packages/email/package.json | 2 +- packages/logger/CHANGELOG.md | 13 +++++++++++++ packages/logger/package.json | 2 +- packages/money/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/money/package.json | 2 +- packages/password/CHANGELOG.md | 26 ++++++++++++++++++++++++++ packages/password/package.json | 2 +- packages/patterns/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/patterns/package.json | 2 +- packages/phone/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/phone/package.json | 2 +- packages/type-ddd/CHANGELOG.md | 22 ++++++++++++++++++++++ packages/type-ddd/package.json | 22 +++++++++++----------- packages/username/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/username/package.json | 2 +- packages/zip-code/CHANGELOG.md | 24 ++++++++++++++++++++++++ packages/zip-code/package.json | 2 +- 24 files changed, 300 insertions(+), 22 deletions(-) diff --git a/packages/cnpj/CHANGELOG.md b/packages/cnpj/CHANGELOG.md index 4daf77d3..b6051103 100644 --- a/packages/cnpj/CHANGELOG.md +++ b/packages/cnpj/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/cnpj@0.0.2...@type-ddd/cnpj@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/cnpj/package.json b/packages/cnpj/package.json index 7ec572b3..1a5954bf 100644 --- a/packages/cnpj/package.json +++ b/packages/cnpj/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/cnpj", "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.", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/cpf/CHANGELOG.md b/packages/cpf/CHANGELOG.md index 8f5d9f22..331a8604 100644 --- a/packages/cpf/CHANGELOG.md +++ b/packages/cpf/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/cpf@0.0.2...@type-ddd/cpf@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/cpf/package.json b/packages/cpf/package.json index ceec91eb..f3c784ab 100644 --- a/packages/cpf/package.json +++ b/packages/cpf/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/cpf", "description": "This package provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/date/CHANGELOG.md b/packages/date/CHANGELOG.md index 4daf77d3..29c1427a 100644 --- a/packages/date/CHANGELOG.md +++ b/packages/date/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/date@0.0.2...@type-ddd/date@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/date/package.json b/packages/date/package.json index ee035139..d267974b 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/date", "description": "Library that provides TypeScript type definitions for handling Dates in Domain-Driven Design contexts. It facilitates the validation and manipulation of Dates.", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/email/CHANGELOG.md b/packages/email/CHANGELOG.md index 4bdf0d33..91b6441d 100644 --- a/packages/email/CHANGELOG.md +++ b/packages/email/CHANGELOG.md @@ -1,3 +1,28 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.5-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/email@0.0.2...@type-ddd/email@0.0.5-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) +* solve error module not found [#449](https://github.com/4lessandrodev/type-ddd/issues/449) ([e9d14f6](https://github.com/4lessandrodev/type-ddd/commit/e9d14f694cafc9c2123cc31055a4561f460a82d3)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/email/package.json b/packages/email/package.json index 9078ec5e..6c4a52f2 100644 --- a/packages/email/package.json +++ b/packages/email/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/email", "description": "Library that provides TypeScript type definitions for handling Email in Domain-Driven Design contexts. It facilitates the validation and manipulation of emails.", - "version": "0.0.4", + "version": "0.0.5-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md index d6537bca..b5e51eaf 100644 --- a/packages/logger/CHANGELOG.md +++ b/packages/logger/CHANGELOG.md @@ -1,3 +1,16 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.3-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/logger@0.0.2...@type-ddd/logger@0.0.3-alpha.0) (2024-12-16) + +**Note:** Version bump only for package @type-ddd/logger + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/logger/package.json b/packages/logger/package.json index 5b51d465..81e0a3a1 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/logger", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", - "version": "0.0.2", + "version": "0.0.3-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/money/CHANGELOG.md b/packages/money/CHANGELOG.md index 8f5d9f22..cdc47c8f 100644 --- a/packages/money/CHANGELOG.md +++ b/packages/money/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/money@0.0.2...@type-ddd/money@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/money/package.json b/packages/money/package.json index 6d1aa21f..645ccdb6 100644 --- a/packages/money/package.json +++ b/packages/money/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/money", "description": "This package provides TypeScript type definitions for handling Money in Domain-Driven Design contexts", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/password/CHANGELOG.md b/packages/password/CHANGELOG.md index e548227f..d9ea00f2 100644 --- a/packages/password/CHANGELOG.md +++ b/packages/password/CHANGELOG.md @@ -1,3 +1,29 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.5-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/password@0.0.2...@type-ddd/password@0.0.5-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) +* solve error module not found [#449](https://github.com/4lessandrodev/type-ddd/issues/449) ([e9d14f6](https://github.com/4lessandrodev/type-ddd/commit/e9d14f694cafc9c2123cc31055a4561f460a82d3)) +* solve error module not found [#449](https://github.com/4lessandrodev/type-ddd/issues/449) ([7c85419](https://github.com/4lessandrodev/type-ddd/commit/7c85419376860b9b94fbee3f16bc2b10592221f6)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/password/package.json b/packages/password/package.json index 3718387b..7acdf197 100644 --- a/packages/password/package.json +++ b/packages/password/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/password", "description": "Library that provides TypeScript type definitions for handling Password in Domain-Driven Design contexts. It facilitates the validation and manipulation of passwords.", - "version": "0.0.4", + "version": "0.0.5-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/patterns/CHANGELOG.md b/packages/patterns/CHANGELOG.md index 4daf77d3..72ce8944 100644 --- a/packages/patterns/CHANGELOG.md +++ b/packages/patterns/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/patterns@0.0.2...@type-ddd/patterns@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 07bcf146..739f3f5b 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/patterns", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/phone/CHANGELOG.md b/packages/phone/CHANGELOG.md index 4daf77d3..d5abe260 100644 --- a/packages/phone/CHANGELOG.md +++ b/packages/phone/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/phone@0.0.2...@type-ddd/phone@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/phone/package.json b/packages/phone/package.json index 20a49258..f6a49b7c 100644 --- a/packages/phone/package.json +++ b/packages/phone/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/phone", "description": "Library that provides TypeScript type definitions for handling Phone Numbers in Domain-Driven Design contexts. It facilitates the validation and manipulation of Brazilian phone numbers.", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/type-ddd/CHANGELOG.md b/packages/type-ddd/CHANGELOG.md index 269038c3..d069eb59 100644 --- a/packages/type-ddd/CHANGELOG.md +++ b/packages/type-ddd/CHANGELOG.md @@ -1,3 +1,25 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.7-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/core@0.0.2...@type-ddd/core@0.0.7-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) +* export money ([633577e](https://github.com/4lessandrodev/type-ddd/commit/633577eb6aeb4aa7389d747f1b076a042a5e8b22)) +* solve error module not found [#449](https://github.com/4lessandrodev/type-ddd/issues/449) ([e9d14f6](https://github.com/4lessandrodev/type-ddd/commit/e9d14f694cafc9c2123cc31055a4561f460a82d3)) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/type-ddd/package.json b/packages/type-ddd/package.json index 34bace3c..c0965a1a 100644 --- a/packages/type-ddd/package.json +++ b/packages/type-ddd/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/core", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", - "version": "0.0.6", + "version": "0.0.7-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", @@ -13,16 +13,16 @@ "build": "tsc" }, "dependencies": { - "@type-ddd/cnpj": "^0.0.3", - "@type-ddd/cpf": "^0.0.3", - "@type-ddd/date": "^0.0.3", - "@type-ddd/email": "^0.0.4", - "@type-ddd/money": "^0.0.3", - "@type-ddd/password": "^0.0.4", - "@type-ddd/patterns": "^0.0.3", - "@type-ddd/phone": "^0.0.3", - "@type-ddd/username": "^0.0.3", - "@type-ddd/zip-code": "^0.0.3", + "@type-ddd/cnpj": "^0.0.4-alpha.0", + "@type-ddd/cpf": "^0.0.4-alpha.0", + "@type-ddd/date": "^0.0.4-alpha.0", + "@type-ddd/email": "^0.0.5-alpha.0", + "@type-ddd/money": "^0.0.4-alpha.0", + "@type-ddd/password": "^0.0.5-alpha.0", + "@type-ddd/patterns": "^0.0.4-alpha.0", + "@type-ddd/phone": "^0.0.4-alpha.0", + "@type-ddd/username": "^0.0.4-alpha.0", + "@type-ddd/zip-code": "^0.0.4-alpha.0", "rich-domain": "^1.24.1" }, "files": [ diff --git a/packages/username/CHANGELOG.md b/packages/username/CHANGELOG.md index 4daf77d3..721268af 100644 --- a/packages/username/CHANGELOG.md +++ b/packages/username/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/username@0.0.2...@type-ddd/username@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/username/package.json b/packages/username/package.json index e23911d4..681dac08 100644 --- a/packages/username/package.json +++ b/packages/username/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/username", "description": "This package provides TypeScript type definitions for handling User Name in Domain-Driven Design contexts", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/zip-code/CHANGELOG.md b/packages/zip-code/CHANGELOG.md index 4daf77d3..5bf5b0d4 100644 --- a/packages/zip-code/CHANGELOG.md +++ b/packages/zip-code/CHANGELOG.md @@ -1,3 +1,27 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [0.0.4-alpha.0](https://github.com/4lessandrodev/type-ddd/compare/@type-ddd/zip-code@0.0.2...@type-ddd/zip-code@0.0.4-alpha.0) (2024-12-16) + + + +## 4.0.5 (2024-11-28) + + +### Bug Fixes + +* change type create method return null [#194](https://github.com/4lessandrodev/type-ddd/issues/194) ([2cd03bf](https://github.com/4lessandrodev/type-ddd/commit/2cd03bf34387f4889a0a292ba350f2c0cfc753b7)) + + + +## 4.0.3 (2024-07-26) + + + + + # Changelog All notable changes to this project will be documented in this file. diff --git a/packages/zip-code/package.json b/packages/zip-code/package.json index 1848ee14..25e5a440 100644 --- a/packages/zip-code/package.json +++ b/packages/zip-code/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/zip-code", "description": "This package provides TypeScript type definitions for handling Brazilian Zip Code in Domain-Driven Design contexts", - "version": "0.0.3", + "version": "0.0.4-alpha.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", From 46f0ccd8427f152f9737de94a9538edb7e1294e4 Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Sun, 15 Dec 2024 21:38:20 -0300 Subject: [PATCH 03/10] bump: deps update rich-domain --- packages/type-ddd/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/type-ddd/package.json b/packages/type-ddd/package.json index c0965a1a..4c6f6ccc 100644 --- a/packages/type-ddd/package.json +++ b/packages/type-ddd/package.json @@ -23,7 +23,7 @@ "@type-ddd/phone": "^0.0.4-alpha.0", "@type-ddd/username": "^0.0.4-alpha.0", "@type-ddd/zip-code": "^0.0.4-alpha.0", - "rich-domain": "^1.24.1" + "rich-domain": "^1.25.0-beta" }, "files": [ "index.js", From d4c5b088c9476b7e79a6e6adf8e19b0f1a3c8555 Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:37:30 -0300 Subject: [PATCH 04/10] chore: bump deps rich-domain --- CHANGELOG.md | 8 +++++--- package.json | 4 ++-- packages/cnpj/package.json | 2 +- packages/cpf/package.json | 2 +- packages/date/package.json | 2 +- packages/email/package.json | 2 +- packages/money/package.json | 2 +- packages/password/package.json | 2 +- packages/patterns/package.json | 2 +- packages/phone/package.json | 2 +- packages/type-ddd/package.json | 22 +++++++++++----------- packages/username/package.json | 2 +- packages/zip-code/package.json | 2 +- 13 files changed, 28 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f15d5eb7..b1dd1f7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,15 +6,17 @@ All notable changes to this project will be documented in this file. --- -### [4.1.0-beta] - 2024-12-15 +## Released + +--- + +### [4.1.0] - 2024-12-15 #### Feat - Atualizando lib core para versão beta - rich-domain v1.25.0-beta -## Released - --- ### [4.0.5] - 2024-11-28 diff --git a/package.json b/package.json index 7c4b09ce..b9f7e321 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "type-ddd", - "version": "4.0.5", + "version": "4.1.0", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -52,7 +52,7 @@ }, "homepage": "https://github.com/4lessandrodev/type-ddd/tree/main", "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "devDependencies": { "@types/jest": "^27.0.1", diff --git a/packages/cnpj/package.json b/packages/cnpj/package.json index 1a5954bf..c657640a 100644 --- a/packages/cnpj/package.json +++ b/packages/cnpj/package.json @@ -33,7 +33,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/cpf/package.json b/packages/cpf/package.json index f3c784ab..f4a27767 100644 --- a/packages/cpf/package.json +++ b/packages/cpf/package.json @@ -30,7 +30,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/date/package.json b/packages/date/package.json index d267974b..010cbdd4 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -29,7 +29,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/email/package.json b/packages/email/package.json index 6c4a52f2..3370e4ea 100644 --- a/packages/email/package.json +++ b/packages/email/package.json @@ -29,7 +29,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/money/package.json b/packages/money/package.json index 645ccdb6..e02f4c75 100644 --- a/packages/money/package.json +++ b/packages/money/package.json @@ -30,7 +30,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/password/package.json b/packages/password/package.json index 7acdf197..614a789d 100644 --- a/packages/password/package.json +++ b/packages/password/package.json @@ -35,7 +35,7 @@ }, "peerDependencies": { "bcrypt": "^5.0.1", - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 739f3f5b..5f49428b 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -32,7 +32,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/phone/package.json b/packages/phone/package.json index f6a49b7c..e81fcf7b 100644 --- a/packages/phone/package.json +++ b/packages/phone/package.json @@ -31,7 +31,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/type-ddd/package.json b/packages/type-ddd/package.json index 4c6f6ccc..021e527e 100644 --- a/packages/type-ddd/package.json +++ b/packages/type-ddd/package.json @@ -13,17 +13,17 @@ "build": "tsc" }, "dependencies": { - "@type-ddd/cnpj": "^0.0.4-alpha.0", - "@type-ddd/cpf": "^0.0.4-alpha.0", - "@type-ddd/date": "^0.0.4-alpha.0", - "@type-ddd/email": "^0.0.5-alpha.0", - "@type-ddd/money": "^0.0.4-alpha.0", - "@type-ddd/password": "^0.0.5-alpha.0", - "@type-ddd/patterns": "^0.0.4-alpha.0", - "@type-ddd/phone": "^0.0.4-alpha.0", - "@type-ddd/username": "^0.0.4-alpha.0", - "@type-ddd/zip-code": "^0.0.4-alpha.0", - "rich-domain": "^1.25.0-beta" + "@type-ddd/cnpj": "^0.0.4", + "@type-ddd/cpf": "^0.0.4", + "@type-ddd/date": "^0.0.4", + "@type-ddd/email": "^0.0.5", + "@type-ddd/money": "^0.0.4", + "@type-ddd/password": "^0.0.5", + "@type-ddd/patterns": "^0.0.4", + "@type-ddd/phone": "^0.0.4", + "@type-ddd/username": "^0.0.4", + "@type-ddd/zip-code": "^0.0.4", + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/username/package.json b/packages/username/package.json index 681dac08..e1370739 100644 --- a/packages/username/package.json +++ b/packages/username/package.json @@ -30,7 +30,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", diff --git a/packages/zip-code/package.json b/packages/zip-code/package.json index 25e5a440..58e16d8b 100644 --- a/packages/zip-code/package.json +++ b/packages/zip-code/package.json @@ -31,7 +31,7 @@ "build": "tsc" }, "peerDependencies": { - "rich-domain": "^1.25.0-beta" + "rich-domain": "^1.25.0" }, "files": [ "index.js", From b675f72a734d9f0b59a43904664ff55bba07983e Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:39:00 -0300 Subject: [PATCH 05/10] chore: bump deps rich-domain --- yarn.lock | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index de6e82df..56ef46d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1212,6 +1212,36 @@ dependencies: tslib "^2.4.0" +"@type-ddd/cnpj@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/cpf@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/date@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/email@^0.0.5": + version "0.0.5-alpha.0" + +"@type-ddd/money@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/password@^0.0.5": + version "0.0.5-alpha.0" + +"@type-ddd/patterns@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/phone@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/username@^0.0.4": + version "0.0.4-alpha.0" + +"@type-ddd/zip-code@^0.0.4": + version "0.0.4-alpha.0" + "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" @@ -5861,10 +5891,10 @@ rich-domain@1.25.0-beta: resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.25.0-beta.tgz#cb5f9f0260977b666f44457238b7e8a7e9e30b66" integrity sha512-B5XbfndP0VyidO1VflDeystk9ZCJVLhhncfq/2UhytvYqOcsmqyIl16IbQ1mEZ1weGhUYT/ip3ChgE4lezTghw== -rich-domain@^1.24.1: - version "1.24.1" - resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.24.1.tgz#fdb33c43886d4ec4c2b6ccdd0cb2d1c60a6c97a7" - integrity sha512-0w7TbcRaTmXzWQBOMbGMOVMmkJ53LtRxCbDOA/0yTq64cGJef2l2LIrwWtfZ+ag8suo9hUpLDZhCNuhQb498pQ== +rich-domain@^1.25.0: + version "1.25.0" + resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.25.0.tgz#5043a2aed040660b2d3f05390eeee9259c511cdb" + integrity sha512-W6/yB2twlPahc1WRWVYsa8YOQ+X/OKwTCVkS2MaiGSCt3BhcQncNi5fVfyKXPumB9bgdEpRpnSERDQLUiYGJkA== rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" From 05479de5822a39f3dbdfcfb431eaf882bedebbd1 Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:40:22 -0300 Subject: [PATCH 06/10] Publish - @type-ddd/cnpj@0.1.0 - @type-ddd/cpf@0.1.0 - @type-ddd/date@0.1.0 - @type-ddd/email@0.1.0 - @type-ddd/money@0.1.0 - @type-ddd/password@0.1.0 - @type-ddd/patterns@0.1.0 - @type-ddd/phone@0.1.0 - @type-ddd/core@0.1.0 - @type-ddd/username@0.1.0 - @type-ddd/zip-code@0.1.0 --- packages/cnpj/package.json | 2 +- packages/cpf/package.json | 2 +- packages/date/package.json | 2 +- packages/email/package.json | 2 +- packages/money/package.json | 2 +- packages/password/package.json | 2 +- packages/patterns/package.json | 2 +- packages/phone/package.json | 2 +- packages/type-ddd/package.json | 2 +- packages/username/package.json | 2 +- packages/zip-code/package.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/cnpj/package.json b/packages/cnpj/package.json index c657640a..ef5e5676 100644 --- a/packages/cnpj/package.json +++ b/packages/cnpj/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/cnpj", "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.", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/cpf/package.json b/packages/cpf/package.json index f4a27767..6c046ac4 100644 --- a/packages/cpf/package.json +++ b/packages/cpf/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/cpf", "description": "This package provides TypeScript type definitions for handling CPF (Cadastro de Pessoa Física) in Domain-Driven Design contexts", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/date/package.json b/packages/date/package.json index 010cbdd4..6e194280 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/date", "description": "Library that provides TypeScript type definitions for handling Dates in Domain-Driven Design contexts. It facilitates the validation and manipulation of Dates.", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/email/package.json b/packages/email/package.json index 3370e4ea..7fb7f46a 100644 --- a/packages/email/package.json +++ b/packages/email/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/email", "description": "Library that provides TypeScript type definitions for handling Email in Domain-Driven Design contexts. It facilitates the validation and manipulation of emails.", - "version": "0.0.5-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/money/package.json b/packages/money/package.json index e02f4c75..125b0f57 100644 --- a/packages/money/package.json +++ b/packages/money/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/money", "description": "This package provides TypeScript type definitions for handling Money in Domain-Driven Design contexts", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/password/package.json b/packages/password/package.json index 614a789d..84a826eb 100644 --- a/packages/password/package.json +++ b/packages/password/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/password", "description": "Library that provides TypeScript type definitions for handling Password in Domain-Driven Design contexts. It facilitates the validation and manipulation of passwords.", - "version": "0.0.5-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 5f49428b..5d073d10 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/patterns", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/phone/package.json b/packages/phone/package.json index e81fcf7b..efaf07f4 100644 --- a/packages/phone/package.json +++ b/packages/phone/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/phone", "description": "Library that provides TypeScript type definitions for handling Phone Numbers in Domain-Driven Design contexts. It facilitates the validation and manipulation of Brazilian phone numbers.", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/type-ddd/package.json b/packages/type-ddd/package.json index 021e527e..a2b1c606 100644 --- a/packages/type-ddd/package.json +++ b/packages/type-ddd/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/core", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", - "version": "0.0.7-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/username/package.json b/packages/username/package.json index e1370739..3c736705 100644 --- a/packages/username/package.json +++ b/packages/username/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/username", "description": "This package provides TypeScript type definitions for handling User Name in Domain-Driven Design contexts", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", diff --git a/packages/zip-code/package.json b/packages/zip-code/package.json index 58e16d8b..1e3e2a3a 100644 --- a/packages/zip-code/package.json +++ b/packages/zip-code/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/zip-code", "description": "This package provides TypeScript type definitions for handling Brazilian Zip Code in Domain-Driven Design contexts", - "version": "0.0.4-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", From f3b1b0d8aaf6df7b6d0624a382a3c95b3ee2295b Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:41:22 -0300 Subject: [PATCH 07/10] chore: bump deps rich-domain --- packages/type-ddd/package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/type-ddd/package.json b/packages/type-ddd/package.json index a2b1c606..f499e7c3 100644 --- a/packages/type-ddd/package.json +++ b/packages/type-ddd/package.json @@ -13,16 +13,16 @@ "build": "tsc" }, "dependencies": { - "@type-ddd/cnpj": "^0.0.4", - "@type-ddd/cpf": "^0.0.4", - "@type-ddd/date": "^0.0.4", - "@type-ddd/email": "^0.0.5", - "@type-ddd/money": "^0.0.4", - "@type-ddd/password": "^0.0.5", - "@type-ddd/patterns": "^0.0.4", - "@type-ddd/phone": "^0.0.4", - "@type-ddd/username": "^0.0.4", - "@type-ddd/zip-code": "^0.0.4", + "@type-ddd/cnpj": "^0.1.0", + "@type-ddd/cpf": "^0.1.0", + "@type-ddd/date": "^0.1.0", + "@type-ddd/email": "^0.1.0", + "@type-ddd/money": "^0.1.0", + "@type-ddd/password": "^0.1.0", + "@type-ddd/patterns": "^0.1.0", + "@type-ddd/phone": "^0.1.0", + "@type-ddd/username": "^0.1.0", + "@type-ddd/zip-code": "^0.1.0", "rich-domain": "^1.25.0" }, "files": [ From 509ee206f6deb6eff571a51b2784ae5a7f4daedc Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:43:22 -0300 Subject: [PATCH 08/10] chore: bump deps rich-domain --- yarn.lock | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/yarn.lock b/yarn.lock index 56ef46d5..59cc97a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1212,36 +1212,6 @@ dependencies: tslib "^2.4.0" -"@type-ddd/cnpj@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/cpf@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/date@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/email@^0.0.5": - version "0.0.5-alpha.0" - -"@type-ddd/money@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/password@^0.0.5": - version "0.0.5-alpha.0" - -"@type-ddd/patterns@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/phone@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/username@^0.0.4": - version "0.0.4-alpha.0" - -"@type-ddd/zip-code@^0.0.4": - version "0.0.4-alpha.0" - "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" From 31e0dc3302b3f85ff1c0fc9008d22cf830d0812d Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:53:14 -0300 Subject: [PATCH 09/10] docs: update version --- packages/logger/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/logger/package.json b/packages/logger/package.json index 81e0a3a1..28caa393 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,7 +1,7 @@ { "name": "@type-ddd/logger", "description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design", - "version": "0.0.3-alpha.0", + "version": "0.1.0", "main": "index.js", "types": "index.d.ts", "author": "Alessandro Dev", From 2ba239d4571d0130083af837dbc1299df3b9003a Mon Sep 17 00:00:00 2001 From: 4lessandrodev Date: Tue, 17 Dec 2024 23:57:57 -0300 Subject: [PATCH 10/10] docs: update version --- CHANGELOG.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1dd1f7c..76501051 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,8 @@ All notable changes to this project will be documented in this file. #### Feat -- Atualizando lib core para versão beta -- rich-domain v1.25.0-beta +- Atualizando lib core para nova versão +- rich-domain v1.25.0 --- diff --git a/package.json b/package.json index b9f7e321..65e1e370 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "lint-staged": "^15.0.1", "madge": "^8.0.0", "prettier": "^3.0.0", - "rich-domain": "1.25.0-beta", + "rich-domain": "1.25.0", "rimraf": "^5.0.5", "ts-jest": "^27.1.4", "ts-node": "^10.7.0",