Skip to content

Commit 0aac671

Browse files
committed
bump: deps update rich-domain
1 parent 92332ca commit 0aac671

15 files changed

Lines changed: 114 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
66

77
---
88

9+
### [4.1.0-beta] - 2024-12-15
10+
11+
#### Feat
12+
13+
- Atualizando lib core para versão beta
14+
- rich-domain v1.25.0-beta
15+
916
## Released
1017

1118
---

Makefile

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,60 @@
1-
.PHONY: startVerdaccio stopVerdaccio publishVerdaccio addUser login build graph publish
1+
# Define the targets and the commands to be executed
2+
.PHONY: startVerdaccio stopVerdaccio publishVerdaccio addUser login build graph publish update
23

4+
# Start Verdaccio Docker container (local NPM registry)
5+
# This will install 'expect', pull the latest Verdaccio image, and run it.
36
startVerdaccio:
7+
# Install the 'expect' package needed for some automation scripts
48
sudo apt-get update && sudo apt-get install expect
9+
# Pull the latest nightly version of the Verdaccio image
510
docker pull verdaccio/verdaccio:nightly-master
11+
# Run Verdaccio in detached mode with port 4873 exposed
612
docker run -it -d --rm --name lib_verdaccio -p 4873:4873 verdaccio/verdaccio:nightly-master
13+
# Clear any existing NPM configuration
714
echo "" > ./.npmrc
15+
# Set the registry to the local Verdaccio instance for project-specific use
816
npm config set registry http://localhost:4873/ --location project
917

18+
# Stop the running Verdaccio Docker container
1019
stopVerdaccio:
20+
# Stop the Verdaccio container with the name 'lib_verdaccio'
1121
docker stop lib_verdaccio
1222

23+
# Add a new user to the local NPM registry (Verdaccio)
24+
# This will execute the script that interacts with the registry to add a user
1325
addUser:
1426
./scripts/make-user.sh
1527

28+
# Log in to the local NPM registry (Verdaccio)
29+
# This will execute the login script to authenticate the user with Verdaccio
1630
login:
1731
./scripts/login.sh
1832

33+
# Build the project and its dependencies using npm
34+
# This includes running the general build process and the Lerna build process
1935
build:
2036
npm run build && npm run build:lerna
2137

38+
# Build and publish packages to the local Verdaccio registry
39+
# This builds all packages using Yarn and Lerna and publishes them to the local registry
2240
publishVerdaccio:
2341
yarn build
2442
yarn build:lerna
2543
yarn lerna exec "npm publish --registry http://localhost:4873"
2644

45+
# Generate and visualize the dependency graph of the project using Nx
46+
# This will show a graphical representation of the dependencies in the monorepo
2747
graph:
2848
yarn nx graph
2949

50+
# Publish packages using Lerna
51+
# This command publishes packages to the specified registry using Lerna
3052
publish:
3153
yarn lerna publish
54+
55+
# Update a specific peer dependency across all packages in the monorepo
56+
# Example usage: make update lib=rich-domain v=1.1.0
57+
# 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
58+
# update peer dependency in all packages once
59+
update:
60+
./update-peer-dependency.sh $(lib) $(v)

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"prepublish:lib": "rimraf ./dist && npm run check:circular-deps",
4242
"publish:lib": "npm publish",
4343
"format:all": "npx prettier --write .",
44-
"prepare": "husky install",
4544
"check:types": "tsc -v packages --noEmit"
4645
},
4746
"repository": {
@@ -53,7 +52,7 @@
5352
},
5453
"homepage": "https://github.com/4lessandrodev/type-ddd/tree/main",
5554
"peerDependencies": {
56-
"rich-domain": "^1.24.1"
55+
"rich-domain": "^1.25.0-beta"
5756
},
5857
"devDependencies": {
5958
"@types/jest": "^27.0.1",
@@ -65,7 +64,7 @@
6564
"lint-staged": "^15.0.1",
6665
"madge": "^8.0.0",
6766
"prettier": "^3.0.0",
68-
"rich-domain": "^1.24.1",
67+
"rich-domain": "1.25.0-beta",
6968
"rimraf": "^5.0.5",
7069
"ts-jest": "^27.1.4",
7170
"ts-node": "^10.7.0",

packages/cnpj/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"build": "tsc"
3434
},
3535
"peerDependencies": {
36-
"rich-domain": "^1.24.1"
36+
"rich-domain": "^1.25.0-beta"
3737
},
3838
"files": [
3939
"index.js",

packages/cpf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "tsc"
3131
},
3232
"peerDependencies": {
33-
"rich-domain": "^1.24.1"
33+
"rich-domain": "^1.25.0-beta"
3434
},
3535
"files": [
3636
"index.js",

packages/date/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build": "tsc"
3030
},
3131
"peerDependencies": {
32-
"rich-domain": "^1.24.1"
32+
"rich-domain": "^1.25.0-beta"
3333
},
3434
"files": [
3535
"index.js",

packages/email/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"build": "tsc"
3030
},
3131
"peerDependencies": {
32-
"rich-domain": "^1.24.1"
32+
"rich-domain": "^1.25.0-beta"
3333
},
3434
"files": [
3535
"index.js",

packages/money/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "tsc"
3131
},
3232
"peerDependencies": {
33-
"rich-domain": "^1.24.1"
33+
"rich-domain": "^1.25.0-beta"
3434
},
3535
"files": [
3636
"index.js",

packages/password/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"peerDependencies": {
3737
"bcrypt": "^5.0.1",
38-
"rich-domain": "^1.24.1"
38+
"rich-domain": "^1.25.0-beta"
3939
},
4040
"files": [
4141
"index.js",

packages/patterns/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"build": "tsc"
3333
},
3434
"peerDependencies": {
35-
"rich-domain": "^1.24.1"
35+
"rich-domain": "^1.25.0-beta"
3636
},
3737
"files": [
3838
"index.js",

0 commit comments

Comments
 (0)