-
Notifications
You must be signed in to change notification settings - Fork 0
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
Guillaume Robin
committed
Jul 7, 2024
1 parent
ed3bf3c
commit 96eaad1
Showing
7 changed files
with
1,204 additions
and
1,127 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# This workflow will install Deno then run `deno lint` and `deno test`. | ||
# For more information see: https://github.com/denoland/setup-deno | ||
|
||
name: Deno | ||
|
||
on: | ||
push: | ||
branches: ["master", "develop"] | ||
pull_request: | ||
branches: ["master", "develop"] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Deno | ||
# uses: denoland/setup-deno@v1 | ||
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 | ||
with: | ||
deno-version: v1.x | ||
|
||
# Uncomment this step to verify the use of 'deno fmt' on each commit. | ||
# - name: Verify formatting | ||
# run: deno fmt --check | ||
|
||
- name: Run linter | ||
run: deno lint | ||
|
||
- name: Run tests | ||
run: deno task 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Changelog | ||
|
||
**0.1.0** | ||
**0.1.0** |
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,13 +1,28 @@ | ||
# Early access | ||
|
||
Denojection is a port of [Objection.js](https://github.com/Vincit/objection.js) to a TypeScript-native format, with additional improvements and fixes. Although Objection.js is [no longer actively maintained](https://github.com/Vincit/objection.js/discussions/2463), we have decided to fork the project and continue its development using Deno. Denojection will be compatible with both Node and Deno. | ||
Denojection is a port of [Objection.js](https://github.com/Vincit/objection.js) | ||
to a TypeScript-native format, with additional improvements and fixes. Although | ||
Objection.js is | ||
[no longer actively maintained](https://github.com/Vincit/objection.js/discussions/2463), | ||
we have decided to fork the project and continue its development using Deno. | ||
Denojection will be compatible with both Node and Deno. | ||
|
||
> ⚠️ Denobjection is still in an early stage of development and clearly not production ready. | ||
> ⚠️ Denobjection is still in an early stage of development and clearly not | ||
> production ready. | ||
# [Denobjection](#) | ||
|
||
Denobjection is an [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping) for [Deno](https://deno.com/) and [Node.js](https://nodejs.org/) that aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable. | ||
Denobjection is an | ||
[ORM](https://en.wikipedia.org/wiki/Object-relational_mapping) for | ||
[Deno](https://deno.com/) and [Node.js](https://nodejs.org/) that aims to stay | ||
out of your way and make it as easy as possible to use the full power of SQL and | ||
the underlying database engine while still making the common stuff easy and | ||
enjoyable. | ||
|
||
Even though ORM is the best commonly known acronym to describe objection, a more accurate description is to call it **a relational query builder**. You get all the benefits of an SQL query builder but also a powerful set of tools for working with relations. | ||
Even though ORM is the best commonly known acronym to describe objection, a more | ||
accurate description is to call it **a relational query builder**. You get all | ||
the benefits of an SQL query builder but also a powerful set of tools for | ||
working with relations. | ||
|
||
Deobjection is built on an SQL query builder called [knex](http://knexjs.org). All databases supported by knex are supported by Denobjection. | ||
Deobjection is built on an SQL query builder called [knex](http://knexjs.org). | ||
All databases supported by knex are supported by Denobjection. |
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,5 +1,5 @@ | ||
{ | ||
"imports": { | ||
"knex": "npm:knex@^3.1.0" | ||
} | ||
"imports": { | ||
"knex": "npm:knex@^3.1.0" | ||
} | ||
} |
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
Oops, something went wrong.