Compare commits
No commits in common. "3b56224a5b236f9b3a770278b344f3d568fbf15f" and "254e1426085d249fff80740e8fe9b76c3cad8799" have entirely different histories.
3b56224a5b
...
254e142608
@ -1,2 +0,0 @@
|
|||||||
[build]
|
|
||||||
target-dir = 'dist/target'
|
|
@ -1,13 +0,0 @@
|
|||||||
# Editor configuration, see http://editorconfig.org
|
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
charset = utf-8
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
|
|
||||||
[*.md]
|
|
||||||
max_line_length = off
|
|
||||||
trim_trailing_whitespace = false
|
|
46
.gitignore
vendored
46
.gitignore
vendored
@ -1,47 +1,3 @@
|
|||||||
# See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
|
|
||||||
|
|
||||||
# compiled output
|
|
||||||
dist
|
|
||||||
tmp
|
|
||||||
out-tsc
|
|
||||||
|
|
||||||
# dependencies
|
|
||||||
node_modules
|
|
||||||
|
|
||||||
# IDEs and editors
|
|
||||||
/.idea
|
|
||||||
.project
|
|
||||||
.classpath
|
|
||||||
.c9/
|
|
||||||
*.launch
|
|
||||||
.settings/
|
|
||||||
*.sublime-workspace
|
|
||||||
|
|
||||||
# IDE - VSCode
|
|
||||||
.vscode/*
|
|
||||||
!.vscode/settings.json
|
|
||||||
!.vscode/tasks.json
|
|
||||||
!.vscode/launch.json
|
|
||||||
!.vscode/extensions.json
|
|
||||||
|
|
||||||
# misc
|
|
||||||
/.sass-cache
|
|
||||||
/connect.lock
|
|
||||||
/coverage
|
|
||||||
/libpeerconnection.log
|
|
||||||
npm-debug.log
|
|
||||||
yarn-error.log
|
|
||||||
testem.log
|
|
||||||
/typings
|
|
||||||
|
|
||||||
|
|
||||||
/target
|
/target
|
||||||
|
|
||||||
.env
|
.env
|
||||||
|
|
||||||
# System Files
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
|
|
||||||
.nx/cache
|
|
||||||
.nx/workspace-data
|
|
2126
.pnp.loader.mjs
generated
2126
.pnp.loader.mjs
generated
File diff suppressed because it is too large
Load Diff
7
.vscode/extensions.json
vendored
7
.vscode/extensions.json
vendored
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"recommendations": [
|
|
||||||
|
|
||||||
"nrwl.angular-console",
|
|
||||||
"esbenp.prettier-vscode"
|
|
||||||
]
|
|
||||||
}
|
|
Binary file not shown.
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -116,7 +116,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bot"
|
name = "bot-terre"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"poise",
|
"poise",
|
||||||
|
15
Cargo.toml
15
Cargo.toml
@ -1,13 +1,8 @@
|
|||||||
|
[package]
|
||||||
|
name = "bot-terre"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
[workspace]
|
[dependencies]
|
||||||
resolver = '2'
|
|
||||||
members = [
|
|
||||||
'apps/bot',
|
|
||||||
]
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
lto = true
|
|
||||||
|
|
||||||
[workspace.dependencies]
|
|
||||||
poise = "0.6.1"
|
poise = "0.6.1"
|
||||||
tokio = {version = "1.45.0", features = ["rt-multi-thread"]}
|
tokio = {version = "1.45.0", features = ["rt-multi-thread"]}
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
version: "2.0"
|
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
init:
|
|
||||||
desc: "Initialize the project"
|
|
||||||
cmds:
|
|
||||||
- echo "Initializing project..."
|
|
||||||
- mkdir -p src tests
|
|
||||||
- touch src/main.py tests/test_main.py
|
|
||||||
silent: true
|
|
@ -1,11 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "bot"
|
|
||||||
version = "0.1.0"
|
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
poise = { workspace = true }
|
|
||||||
tokio = { workspace = true }
|
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
@ -1,63 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "bot",
|
|
||||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
||||||
"projectType": "application",
|
|
||||||
"sourceRoot": "apps/bot/src",
|
|
||||||
"targets": {
|
|
||||||
"build": {
|
|
||||||
"cache": true,
|
|
||||||
"executor": "@monodon/rust:build",
|
|
||||||
"outputs": [
|
|
||||||
"{options.target-dir}"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"target-dir": "dist/target/bot"
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"production": {
|
|
||||||
"release": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"test": {
|
|
||||||
"cache": true,
|
|
||||||
"executor": "@monodon/rust:test",
|
|
||||||
"outputs": [
|
|
||||||
"{options.target-dir}"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"target-dir": "dist/target/bot"
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"production": {
|
|
||||||
"release": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint": {
|
|
||||||
"cache": true,
|
|
||||||
"executor": "@monodon/rust:lint",
|
|
||||||
"outputs": [
|
|
||||||
"{options.target-dir}"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"target-dir": "dist/target/bot"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"run": {
|
|
||||||
"executor": "@monodon/rust:run",
|
|
||||||
"outputs": [
|
|
||||||
"{options.target-dir}"
|
|
||||||
],
|
|
||||||
"options": {
|
|
||||||
"target-dir": "dist/target/bot"
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"production": {
|
|
||||||
"release": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tags": []
|
|
||||||
}
|
|
14
compose.yaml
14
compose.yaml
@ -1,14 +0,0 @@
|
|||||||
services:
|
|
||||||
database:
|
|
||||||
image: clickhouse/clickhouse-server:latest
|
|
||||||
ports:
|
|
||||||
- 8123:8123
|
|
||||||
- 9000:9000
|
|
||||||
ulimits:
|
|
||||||
nofile:
|
|
||||||
soft: 262144
|
|
||||||
hard: 262144
|
|
||||||
environment:
|
|
||||||
CLICKHOUSE_USER: default
|
|
||||||
CLICKHOUSE_PASSWORD: password
|
|
||||||
CLICKHOUSE_DB: default
|
|
16
nx.json
16
nx.json
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
||||||
"namedInputs": {
|
|
||||||
"default": [
|
|
||||||
"{projectRoot}/**/*",
|
|
||||||
"sharedGlobals"
|
|
||||||
],
|
|
||||||
"production": [
|
|
||||||
"default"
|
|
||||||
],
|
|
||||||
"sharedGlobals": []
|
|
||||||
},
|
|
||||||
"plugins": [
|
|
||||||
"@monodon/rust"
|
|
||||||
]
|
|
||||||
}
|
|
1898
package-lock.json
generated
1898
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@bot-terre/source",
|
|
||||||
"version": "0.0.0",
|
|
||||||
"license": "MIT",
|
|
||||||
"scripts": {
|
|
||||||
"nx": "nx"
|
|
||||||
},
|
|
||||||
"private": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@monodon/rust": "2.3.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@nx/workspace": "21.0.3",
|
|
||||||
"nx": "21.0.3"
|
|
||||||
},
|
|
||||||
"packageManager": "yarn@4.9.1"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user