Skip to content

Commit 2fdaba5

Browse files
committed
Refactor
1 parent 92b1b6e commit 2fdaba5

29 files changed

+44
-334
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ npm run build
7979

8080
```bash
8181
# Navigate to JS SDK
82-
cd sdk-js
82+
cd SDK/javascript
8383

8484
# Install dependencies
8585
npm install
@@ -99,7 +99,7 @@ node basic-usage.js
9999

100100
```bash
101101
# Navigate to Python SDK
102-
cd sdk-py
102+
cd SDK/python
103103

104104
# Install development dependencies (optional)
105105
pip install -e .[dev]
@@ -180,14 +180,14 @@ npm run test:coverage # Run tests with coverage
180180

181181
#### JavaScript SDK Tests
182182
```bash
183-
cd sdk-js
183+
cd SDK/javascript
184184
npm test # Run Jest tests
185185
npm run test:e2e # Run end-to-end tests
186186
```
187187

188188
#### Python SDK Tests
189189
```bash
190-
cd sdk-py
190+
cd SDK/python
191191
python -m pytest tests/ # Run all tests
192192
python -m pytest tests/ -v # Verbose output
193193
python -m pytest tests/ --cov # With coverage

GOVERNANCE.md

Lines changed: 0 additions & 120 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Openmemory Contributers
3+
Copyright (c) 2025 Openmemory and Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ install: ## Install all dependencies
1414
@echo "📦 Installing backend dependencies..."
1515
cd backend && npm install
1616
@echo "📦 Installing JavaScript SDK dependencies..."
17-
cd sdk-js && npm install
17+
cd SDK/javascript && npm install
1818
@echo "📦 Installing Python SDK dependencies..."
19-
cd sdk-py && pip install -e .
19+
cd SDK/python && pip install -e .
2020
@echo "✅ All dependencies installed!"
2121

2222
install-dev: ## Install development dependencies
2323
@echo "🛠️ Installing development dependencies..."
2424
cd backend && npm install
25-
cd sdk-js && npm install
26-
cd sdk-py && pip install -e .[dev]
25+
cd SDK/javascript && npm install
26+
cd SDK/python && pip install -e .[dev]
2727
@echo "✅ Development dependencies installed!"
2828

2929
# Build
3030
build: ## Build all components
3131
@echo "🏗️ Building backend..."
3232
cd backend && npm run build
3333
@echo "🏗️ Building JavaScript SDK..."
34-
cd sdk-js && npm run build
34+
cd SDK/javascript && npm run build
3535
@echo "✅ All components built!"
3636

3737
build-backend: ## Build backend only
3838
cd backend && npm run build
3939

4040
build-js-sdk: ## Build JavaScript SDK only
41-
cd sdk-js && npm run build
41+
cd SDK/javascript && npm run build
4242

4343
# Development
4444
dev: ## Start development server
@@ -88,19 +88,19 @@ test-integration: ## Run integration tests
8888
lint: ## Run linters
8989
@echo "🔍 Running linters..."
9090
cd backend && npm run lint || echo "Backend linting completed"
91-
cd sdk-js && npm run lint || echo "JS SDK linting completed"
92-
cd sdk-py && python -m flake8 . || echo "Python linting completed"
91+
cd SDK/javascript && npm run lint || echo "JS SDK linting completed"
92+
cd SDK/python && python -m flake8 . || echo "Python linting completed"
9393

9494
format: ## Format code
9595
@echo "🎨 Formatting code..."
9696
cd backend && npm run format || echo "Backend formatting completed"
97-
cd sdk-js && npm run format || echo "JS SDK formatting completed"
98-
cd sdk-py && python -m black . || echo "Python formatting completed"
97+
cd SDK/javascript && npm run format || echo "JS SDK formatting completed"
98+
cd SDK/python && python -m black . || echo "Python formatting completed"
9999

100100
type-check: ## Run type checking
101101
@echo "🏷️ Running type checks..."
102102
cd backend && npx tsc --noEmit
103-
cd sdk-js && npx tsc --noEmit
103+
cd SDK/javascript && npx tsc --noEmit
104104

105105
# Database
106106
db-reset: ## Reset database
@@ -137,8 +137,8 @@ run: docker-dev ## Alias for docker-dev
137137
clean: ## Clean build artifacts
138138
@echo "🧹 Cleaning build artifacts..."
139139
rm -rf backend/dist/
140-
rm -rf sdk-js/dist/
141-
rm -rf sdk-js/node_modules/.cache/
140+
rm -rf SDK/javascript/dist/
141+
rm -rf SDK/javascript/node_modules/.cache/
142142
rm -rf backend/node_modules/.cache/
143143
find . -name "*.pyc" -delete
144144
find . -name "__pycache__" -type d -exec rm -rf {} + || true
@@ -147,10 +147,10 @@ clean: ## Clean build artifacts
147147
clean-all: clean ## Clean everything including node_modules
148148
@echo "🧹 Deep cleaning..."
149149
rm -rf backend/node_modules/
150-
rm -rf sdk-js/node_modules/
151-
rm -rf sdk-py/build/
152-
rm -rf sdk-py/dist/
153-
rm -rf sdk-py/*.egg-info/
150+
rm -rf SDK/javascript/node_modules/
151+
rm -rf SDK/python/build/
152+
rm -rf SDK/python/dist/
153+
rm -rf SDK/python/*.egg-info/
154154
@echo "✅ Deep cleanup complete!"
155155

156156
# Examples
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"repository": {
3636
"type": "git",
3737
"url": "https://github.com/caviraoss/openmemory.git",
38-
"directory": "sdk-js"
38+
"directory": "SDK/javascript"
3939
}
4040
}

0 commit comments

Comments
 (0)