-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from elielnfinic/main
New changes
- Loading branch information
Showing
52 changed files
with
1,762 additions
and
1,120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Publish buf files | ||
on: | ||
workflow_call: | ||
permissions: | ||
contents: read | ||
jobs: | ||
buf: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bufbuild/buf-action@v1 | ||
with: | ||
token: ${{ secrets.BUF_TOKEN }} | ||
pr_comment: false | ||
lint: false | ||
push: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.env | ||
|
||
dist/ | ||
docs/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @d-roak @JanLewDev @elielnfinic @trungnotchung @winprn @hoangquocvietuet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
version: v2 | ||
modules: | ||
# - path: packages/node | ||
# excludes: | ||
# - packages/node/node_modules | ||
- path: packages/network | ||
excludes: | ||
- packages/network/node_modules | ||
- path: packages/object | ||
excludes: | ||
- packages/object/node_modules | ||
- path: packages/node/src/proto | ||
name: buf.build/topology/node | ||
|
||
- path: packages/object/src/proto | ||
name: buf.build/topology/object | ||
|
||
- path: packages/network/src/proto | ||
name: buf.build/topology/network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,58 @@ | ||
{ | ||
"name": "ts-topology", | ||
"description": "The official TypeScript implementation of Topology Protocol", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
"homepage": "https://topology.gg/", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/topology-foundation/ts-topology.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/topology-foundation/ts-topology/issues" | ||
}, | ||
"workspaces": [ | ||
"packages/*", | ||
"examples/*" | ||
], | ||
"scripts": { | ||
"bench": "vitest bench", | ||
"biome-check": "biome check", | ||
"clean": "pnpm --filter '@topology-foundation/*' clean", | ||
"docs": "typedoc", | ||
"postinstall": "pnpm --filter '@topology-foundation/*' build", | ||
"proto-gen": "buf generate", | ||
"release": "release-it", | ||
"test": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.8.3", | ||
"@release-it-plugins/workspaces": "^4.2.0", | ||
"@types/node": "^22.5.4", | ||
"assemblyscript": "^0.27.29", | ||
"release-it": "^17.6.0", | ||
"ts-proto": "^2.2.4", | ||
"typedoc": "^0.26.6", | ||
"typescript": "^5.5.4", | ||
"vite": "^5.4.9", | ||
"vite-tsconfig-paths": "^5.0.1", | ||
"vitest": "^2.1.1" | ||
}, | ||
"private": true, | ||
"release-it": { | ||
"plugins": { | ||
"@release-it-plugins/workspaces": { | ||
"publish": false | ||
} | ||
}, | ||
"npm": false, | ||
"git": { | ||
"commitMessage": "chore: release v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
} | ||
} | ||
"name": "ts-topology", | ||
"description": "The official TypeScript implementation of Topology Protocol", | ||
"version": "0.2.1-4", | ||
"license": "MIT", | ||
"homepage": "https://topology.gg/", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/topology-foundation/ts-topology.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/topology-foundation/ts-topology/issues" | ||
}, | ||
"workspaces": [ | ||
"packages/*", | ||
"examples/*" | ||
], | ||
"scripts": { | ||
"bench": "vitest bench", | ||
"biome-check": "biome check", | ||
"clean": "pnpm --filter '@topology-foundation/*' clean", | ||
"docs": "typedoc", | ||
"postinstall": "pnpm --filter '@topology-foundation/*' build", | ||
"proto-gen": "pnpm proto-gen:object && pnpm proto-gen:network", | ||
"proto-gen:object": "buf generate packages/object/src/proto -o packages/object/src/proto", | ||
"proto-gen:network": "buf generate packages/network/src/proto -o packages/network/src/proto", | ||
"release": "release-it", | ||
"test": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.8.3", | ||
"@release-it-plugins/workspaces": "^4.2.0", | ||
"@types/node": "^22.5.4", | ||
"assemblyscript": "^0.27.29", | ||
"release-it": "^17.6.0", | ||
"ts-proto": "^2.2.4", | ||
"typedoc": "^0.26.6", | ||
"typescript": "^5.5.4", | ||
"vite": "^5.4.9", | ||
"vite-tsconfig-paths": "^5.0.1", | ||
"vitest": "^2.1.1" | ||
}, | ||
"private": true, | ||
"release-it": { | ||
"plugins": { | ||
"@release-it-plugins/workspaces": { | ||
"publish": false | ||
} | ||
}, | ||
"npm": false, | ||
"git": { | ||
"commitMessage": "chore: release v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Topology Logger | ||
|
||
This package makes it easy to log messages in a structured way. | ||
|
||
## Usage | ||
|
||
This package is intended to be used as a dependency for the Topology Protocol. However, you can use it as a standalone package. For that, you can install it using: | ||
|
||
```bash | ||
# yarn | ||
yarn add @topology-foundation/logger | ||
|
||
# npm | ||
npm install @topology-foundation/logger | ||
``` | ||
|
||
### Build | ||
|
||
To build the package, you can run: | ||
|
||
```bash | ||
yarn build | ||
``` | ||
|
||
### Tests | ||
|
||
To run the tests, you can run: | ||
|
||
```bash | ||
yarn test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "@topology-foundation/logger", | ||
"version": "0.2.1-4", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/topology-foundation/ts-topology.git" | ||
}, | ||
"type": "module", | ||
"types": "./dist/src/index.d.ts", | ||
"files": [ | ||
"src", | ||
"dist", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./dist/src/index.d.ts", | ||
"import": "./dist/src/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"build": "tsc -b", | ||
"clean": "rm -rf dist/ node_modules/", | ||
"prepack": "tsc -b", | ||
"test": "vitest" | ||
}, | ||
"dependencies": { | ||
"loglevel": "^1.9.2", | ||
"loglevel-plugin-prefix": "^0.8.4" | ||
} | ||
} |
Oops, something went wrong.