Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cedccba
commit 6638f06
Showing
6 changed files
with
589 additions
and
1 deletion.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,55 @@ | ||
# Stacks ORM | ||
|
||
This package contains the Stacks ORM. | ||
|
||
## ☘️ Features | ||
|
||
- Based on your models | ||
- Fully-typed | ||
- Reusability | ||
|
||
## 🤖 Usage | ||
|
||
```bash | ||
bun install -d your-orm | ||
``` | ||
|
||
Now, you can use it in your project: | ||
|
||
```js | ||
import { orm } from 'your-orm' | ||
|
||
// wip | ||
``` | ||
|
||
To view the full documentation, please visit [https://stacksjs.org/orm](https://stacksjs.org/orm). | ||
|
||
## 🧪 Testing | ||
|
||
```bash | ||
bun test | ||
``` | ||
|
||
## 📈 Changelog | ||
|
||
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently. | ||
|
||
## 🚜 Contributing | ||
|
||
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details. | ||
|
||
## 🏝 Community | ||
|
||
For help, discussion about best practices, or any other conversation that would benefit from being searchable: | ||
|
||
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions) | ||
|
||
For casual chit-chat with others using this package: | ||
|
||
[Join the Stacks Discord Server](https://discord.gg/stacksjs) | ||
|
||
## 📄 License | ||
|
||
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information. | ||
|
||
Made with 💙 |
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,18 @@ | ||
import { intro, outro } from '@stacksjs/build' | ||
|
||
const { startTime } = await intro({ | ||
dir: import.meta.dir, | ||
}) | ||
|
||
const result = await Bun.build({ | ||
entrypoints: ['./src/index.ts'], | ||
outdir: './dist', | ||
format: 'esm', | ||
target: 'bun', | ||
}) | ||
|
||
await outro({ | ||
dir: import.meta.dir, | ||
startTime, | ||
result, | ||
}) |
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,45 @@ | ||
{ | ||
"name": "stacks-orm", | ||
"type": "module", | ||
"version": "0.60.3", | ||
"description": "Your custom ORM.", | ||
"author": "Chris Breuer", | ||
"license": "MIT", | ||
"funding": "https://github.com/sponsors/chrisbbreuer", | ||
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/validation#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/stacksjs/stacks.git", | ||
"directory": "./storage/framework/core/validation" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/stacksjs/stacks/issues" | ||
}, | ||
"keywords": ["orm", "kysely", "functions", "stacks"], | ||
"exports": { | ||
".": { | ||
"bun": "./src/index.ts", | ||
"import": "./dist/index.js" | ||
}, | ||
"./*": { | ||
"bun": "./*", | ||
"import": "./dist/*" | ||
} | ||
}, | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"contributors": ["Chris Breuer <chris@stacksjs.org>"], | ||
"files": ["README.md", "dist", "src"], | ||
"scripts": { | ||
"build": "bun --bun build.ts", | ||
"typecheck": "bun --bun tsc --noEmit", | ||
"prepublishOnly": "bun run build" | ||
}, | ||
"dependencies": { | ||
"@stacksjs/database": "workspace:*", | ||
"@stacksjs/error-handling": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"@stacksjs/development": "workspace:*" | ||
} | ||
} |
Oops, something went wrong.