-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip: JSR compat * wip: need to port handlebars and we're good * feat: use handlebars from JSR * chore: update version to 3.0.0 * chore: add publish to JSR on push to main * ci: fix coverage command * put back to 2.4.0 * chore: exclude folder from JSR * feat: no slow trype anymore * fix: mapping decorator type * docs: readme warning about JSR * docs: add JSR badge * chore: export metadata/mod.ts * feat: export validation and fix type * chore: export hook * chore: export logger * ci: publish without slow-types * chore: update 2.4.5 * docs: add metadata JSDOC * docs: hook JSDoc * chore: 2.4.6 * docs: * docs: @module for validation export * docs: logger * docs: app.ts JSdoc * docs: exception JSDOC * docs: router * docs: injector doc * docs: guard * docs: Event * docs: partial kv queue doc * chore: 2.4.7 * docs: more router doc * docs: fix decorators documentation * docs: better module doc * docs: fix JSDoc formatting * chore: 2.5.0 * docs: metadata key
- Loading branch information
1 parent
abb8b90
commit cb34f03
Showing
58 changed files
with
1,600 additions
and
173 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
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
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
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,24 +1,43 @@ | ||
{ | ||
"name": "@danet/core", | ||
"version": "2.3.0", | ||
"exports": "./mod.ts", | ||
"version": "2.5.1", | ||
"exports": { | ||
".": "./mod.ts", | ||
"./metadata": "./src/metadata/mod.ts", | ||
"./validation": "./validation.ts", | ||
"./hook": "./src/hook/mod.ts", | ||
"./logger": "./src/logger.ts" | ||
}, | ||
"lint": { | ||
"include": ["src/"], | ||
"exclude": ["node_modules/", "./**/*.test.ts"], | ||
"include": [ | ||
"src/" | ||
], | ||
"exclude": [ | ||
"node_modules/", | ||
"./**/*.test.ts" | ||
], | ||
"rules": { | ||
"tags": ["recommended"], | ||
"include": ["ban-untagged-todo"], | ||
"exclude": ["no-unused-vars"] | ||
"tags": [ | ||
"recommended" | ||
], | ||
"include": [ | ||
"ban-untagged-todo" | ||
], | ||
"exclude": [ | ||
"no-unused-vars" | ||
] | ||
} | ||
}, | ||
"fmt": { | ||
"options": { | ||
"singleQuote": true, | ||
"useTabs": true | ||
}, | ||
"files": { | ||
"exclude": ["./node_modules/", "./coverage/", "./doc/"] | ||
} | ||
"exclude": [ | ||
"./node_modules/", | ||
"./coverage/", | ||
"./doc/" | ||
] | ||
}, | ||
"compilerOptions": { | ||
"emitDecoratorMetadata": true, | ||
|
@@ -29,5 +48,17 @@ | |
"tasks": { | ||
"test": "NO_LOG=true COOKIE_SECRET_KEY=mysecretkey deno test -A --unstable-kv --unstable-cron --coverage=coverage spec/**/*.test.ts", | ||
"start:example": "deno run --allow-net --allow-env --watch example/run.ts" | ||
}, | ||
"imports": { | ||
"@std/testing": "jsr:@std/[email protected]", | ||
"validatte": "jsr:@danet/[email protected]", | ||
"@std/path": "jsr:@std/[email protected]", | ||
"@std/fmt": "jsr:@std/[email protected]", | ||
"deno_reflect": "jsr:@dx/[email protected]", | ||
"@hono": "jsr:@hono/[email protected]", | ||
"@danet/handlebars": "jsr:@danet/[email protected]" | ||
}, | ||
"publish": { | ||
"exclude": ["./coverage/", "./spec", ".github", ".vscode", "./example"] | ||
} | ||
} |
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,7 +1,4 @@ | ||
import { | ||
assertEquals, | ||
assertExists, | ||
} from 'https://deno.land/[email protected]/testing/asserts.ts'; | ||
import { assertEquals, assertExists } from '@std/testing/asserts'; | ||
import { DanetApplication } from '../src/mod.ts'; | ||
import { Module } from '../src/module/mod.ts'; | ||
import { Body, Controller, Get, Post } from '../src/router/controller/mod.ts'; | ||
|
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.