diff --git a/nx.json b/nx.json index b012162..fa4165d 100644 --- a/nx.json +++ b/nx.json @@ -9,13 +9,8 @@ "targetDefaults": { "build": { "cache": true, - "dependsOn": [ - "^build" - ], - "inputs": [ - "production", - "^production" - ] + "dependsOn": ["^build"], + "inputs": ["production", "^production"] }, "lint": { "cache": true, @@ -28,34 +23,20 @@ }, "@nx/vite:test": { "cache": true, - "inputs": [ - "default", - "^production" - ] + "inputs": ["default", "^production"] }, - "@nx/jest:jest": { + "@nx/eslint:lint": { "cache": true, "inputs": [ "default", - "^production", - "{workspaceRoot}/jest.preset.js" - ], - "options": { - "passWithNoTests": true - }, - "configurations": { - "ci": { - "ci": true, - "codeCoverage": true - } - } + "{workspaceRoot}/.eslintrc.json", + "{workspaceRoot}/.eslintignore", + "{workspaceRoot}/eslint.config.js" + ] } }, "namedInputs": { - "default": [ - "{projectRoot}/**/*", - "sharedGlobals" - ], + "default": ["{projectRoot}/**/*", "sharedGlobals"], "production": [ "default", "!{projectRoot}/.eslintrc.json", @@ -71,5 +52,25 @@ "{workspaceRoot}/.github/dependabot.yml" ] }, + "release": { + "projectsRelationship": "fixed", + "projects": ["packages/*"], + "changelog": { + "workspaceChangelog": false, + "projectChangelogs": { + "createRelease": "github" + } + }, + "version": { + "generatorOptions": { + "currentVersionResolver": "git-tag", + "specifierSource": "conventional-commits" + } + }, + "git": { + "commit": true, + "tag": true + } + }, "nxCloudAccessToken": "Y2YxODE0MzktNGEyNS00YWIxLThkMTItNTlkYWY1MDQwMDdifHJlYWQtd3JpdGU=" } diff --git a/package.json b/package.json index abb8d1b..5aaa5a7 100644 --- a/package.json +++ b/package.json @@ -38,24 +38,24 @@ }, "devDependencies": { "@libp2p/interface": "1.1.2", - "@nx/devkit": "17.2.8", - "@nx/esbuild": "^17.3.0", - "@nx/eslint": "17.2.8", - "@nx/eslint-plugin": "^17.3.0", - "@nx/jest": "17.2.8", - "@nx/js": "17.2.8", - "@nx/node": "17.2.8", - "@nx/vite": "17.2.8", - "@nx/workspace": "17.2.8", + "@nx/devkit": "17.3.0", + "@nx/esbuild": "17.3.0", + "@nx/eslint": "17.3.0", + "@nx/eslint-plugin": "17.3.0", + "@nx/jest": "17.3.0", + "@nx/js": "17.3.0", + "@nx/node": "17.3.0", + "@nx/vite": "17.3.0", + "@nx/workspace": "17.3.0", "@swc-node/register": "~1.6.8", "@swc/core": "~1.3.107", "@types/jest": "^29.5.11", - "@types/node": "18.16.9", + "@types/node": "18.19.10", "@types/yargs": "^17.0.32", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", - "@vitest/coverage-v8": "~0.34.6", - "@vitest/ui": "~0.34.7", + "@typescript-eslint/eslint-plugin": "6.20.0", + "@typescript-eslint/parser": "6.20.0", + "@vitest/coverage-v8": "1.2.2", + "@vitest/ui": "1.2.2", "babel-jest": "^29.7.0", "esbuild": "^0.19.12", "eslint": "~8.48.0", @@ -63,14 +63,14 @@ "jest": "^29.7.0", "jest-environment-node": "^29.7.0", "ngx-deploy-npm": "8.0.0", - "nx": "17.2.8", + "nx": "17.3.0", "prettier": "^2.8.8", "ts-jest": "^29.1.2", "ts-node": "10.9.1", "tsx": "^4.7.0", - "typescript": "~5.2.2", + "typescript": "5.3.3", "verdaccio": "^5.29.0", "vite": "^5.0.12", - "vitest": "~0.34.6" + "vitest": "1.2.2" } } diff --git a/packages/brain/CHANGELOG.md b/packages/brain/CHANGELOG.md new file mode 100644 index 0000000..49595d1 --- /dev/null +++ b/packages/brain/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for brain to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/brain/package.json b/packages/brain/package.json index 6d34ae1..d7379a5 100644 --- a/packages/brain/package.json +++ b/packages/brain/package.json @@ -1,6 +1,6 @@ { "name": "@soketi/brain", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "tslib": "^2.3.0" }, diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md new file mode 100644 index 0000000..6f34c56 --- /dev/null +++ b/packages/cli/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for cli to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/cli/package.json b/packages/cli/package.json index 4245034..c00de4a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,8 +1,8 @@ { "name": "@soketi/cli", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { - "@soketi/server": "0.1.1", + "@soketi/server": "0.1.2", "yargs": "*" }, "type": "module", diff --git a/packages/connections/CHANGELOG.md b/packages/connections/CHANGELOG.md new file mode 100644 index 0000000..529cb5f --- /dev/null +++ b/packages/connections/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for connections to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/connections/package.json b/packages/connections/package.json index 9afb531..86e19cd 100644 --- a/packages/connections/package.json +++ b/packages/connections/package.json @@ -1,9 +1,9 @@ { "name": "@soketi/connections", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "tslib": "^2.3.0", - "@soketi/utils": "0.1.1" + "@soketi/utils": "0.1.2" }, "type": "module", "main": "./src/index.js", diff --git a/packages/gossiper/CHANGELOG.md b/packages/gossiper/CHANGELOG.md new file mode 100644 index 0000000..4e92c73 --- /dev/null +++ b/packages/gossiper/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for gossiper to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/gossiper/package.json b/packages/gossiper/package.json index 736421b..bec7397 100644 --- a/packages/gossiper/package.json +++ b/packages/gossiper/package.json @@ -1,8 +1,8 @@ { "name": "@soketi/gossiper", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { - "@soketi/connections": "0.1.1", + "@soketi/connections": "0.1.2", "tslib": "^2.3.0" }, "type": "module", diff --git a/packages/p2p/CHANGELOG.md b/packages/p2p/CHANGELOG.md new file mode 100644 index 0000000..15cb058 --- /dev/null +++ b/packages/p2p/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for p2p to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/p2p/package.json b/packages/p2p/package.json index 993f435..1020c79 100644 --- a/packages/p2p/package.json +++ b/packages/p2p/package.json @@ -1,6 +1,6 @@ { "name": "@soketi/p2p", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "@chainsafe/libp2p-noise": "*", "@chainsafe/libp2p-gossipsub": "*", @@ -18,8 +18,8 @@ "@libp2p/prometheus-metrics": "*", "@libp2p/perf": "*", "@libp2p/pnet": "*", - "@soketi/connections": "0.1.1", - "@soketi/gossiper": "0.1.1", + "@soketi/connections": "0.1.2", + "@soketi/gossiper": "0.1.2", "blockstore-core": "*", "datastore-core": "*", "helia": "*", diff --git a/packages/protocols/CHANGELOG.md b/packages/protocols/CHANGELOG.md new file mode 100644 index 0000000..f34329c --- /dev/null +++ b/packages/protocols/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for protocols to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/protocols/package.json b/packages/protocols/package.json index 78ec180..5ca3a9b 100644 --- a/packages/protocols/package.json +++ b/packages/protocols/package.json @@ -1,6 +1,6 @@ { "name": "@soketi/protocols", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "tslib": "^2.3.0" }, diff --git a/packages/routing/CHANGELOG.md b/packages/routing/CHANGELOG.md new file mode 100644 index 0000000..420cfe2 --- /dev/null +++ b/packages/routing/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for routing to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/routing/package.json b/packages/routing/package.json index 4d51ea5..e3b64b8 100644 --- a/packages/routing/package.json +++ b/packages/routing/package.json @@ -1,9 +1,9 @@ { "name": "@soketi/routing", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "tslib": "^2.3.0", - "@soketi/connections": "0.1.1" + "@soketi/connections": "0.1.2" }, "type": "module", "main": "./src/index.js", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md new file mode 100644 index 0000000..6f37de6 --- /dev/null +++ b/packages/server/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for server to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/server/package.json b/packages/server/package.json index 0b93113..aa7fdb6 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,14 +1,14 @@ { "name": "@soketi/server", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "tslib": "^2.3.0", - "@soketi/gossiper": "0.1.1", - "@soketi/connections": "0.1.1", - "@soketi/brain": "0.1.1", - "@soketi/p2p": "0.1.1", - "@soketi/routing": "0.1.1", - "@soketi/utils": "0.1.1", + "@soketi/gossiper": "0.1.2", + "@soketi/connections": "0.1.2", + "@soketi/brain": "0.1.2", + "@soketi/p2p": "0.1.2", + "@soketi/routing": "0.1.2", + "@soketi/utils": "0.1.2", "uWebSockets.js": "*" }, "type": "module", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md new file mode 100644 index 0000000..3961a88 --- /dev/null +++ b/packages/utils/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.1.2 (2024-01-30) + +This was a version bump only for utils to align it with other projects, there were no code changes. \ No newline at end of file diff --git a/packages/utils/package.json b/packages/utils/package.json index dfc19d8..895cb95 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@soketi/utils", - "version": "0.1.1", + "version": "0.1.2", "dependencies": { "tslib": "^2.3.0" },