Compare commits

..

No commits in common. "3b56224a5b236f9b3a770278b344f3d568fbf15f" and "254e1426085d249fff80740e8fe9b76c3cad8799" have entirely different histories.

21 changed files with 7 additions and 15081 deletions

View File

@ -1,2 +0,0 @@
[build]
target-dir = 'dist/target'

View File

@ -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
View File

@ -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
.env
# System Files
.DS_Store
Thumbs.db
.nx/cache
.nx/workspace-data
.env

9428
.pnp.cjs generated

File diff suppressed because one or more lines are too long

2126
.pnp.loader.mjs generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
{
"recommendations": [
"nrwl.angular-console",
"esbenp.prettier-vscode"
]
}

Binary file not shown.

2
Cargo.lock generated
View File

@ -116,7 +116,7 @@ dependencies = [
]
[[package]]
name = "bot"
name = "bot-terre"
version = "0.1.0"
dependencies = [
"poise",

View File

@ -1,13 +1,8 @@
[package]
name = "bot-terre"
version = "0.1.0"
edition = "2024"
[workspace]
resolver = '2'
members = [
'apps/bot',
]
[profile.release]
lto = true
[workspace.dependencies]
[dependencies]
poise = "0.6.1"
tokio = {version = "1.45.0", features = ["rt-multi-thread"]}

View File

@ -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

View File

View File

@ -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

View File

@ -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": []
}

View File

@ -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

View File

16
nx.json
View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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"
}

1419
yarn.lock

File diff suppressed because it is too large Load Diff