-
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
0 parents
commit ede4a9d
Showing
9 changed files
with
139 additions
and
0 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,26 @@ | ||
{ | ||
"$schema": "https://dprint.dev/schemas/v0.json", | ||
"projectType": "openSource", | ||
"incremental": true, | ||
"typescript": { | ||
"semiColons": "asi" | ||
}, | ||
"json": {}, | ||
"markdown": {}, | ||
"useTabs": false, | ||
"indentWidth": 4, | ||
"includes": [ | ||
"**/*.{ts,tsx,js,jsx,json,md,rs}" | ||
], | ||
"excludes": [ | ||
"**/node_modules", | ||
"**/*-lock.json", | ||
"**/target", | ||
"**/examples" | ||
], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/typescript-0.40.1.wasm", | ||
"https://plugins.dprint.dev/json-0.8.0.wasm", | ||
"https://plugins.dprint.dev/markdown-0.5.1.wasm" | ||
] | ||
} |
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,31 @@ | ||
# This workflow will install Deno and run `deno lint` on a stable Ubuntu build. | ||
|
||
name: Deno | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup repo | ||
uses: actions/checkout@v2 | ||
|
||
- uses: denolib/setup-deno@v2 | ||
with: | ||
deno-version: v1.x | ||
|
||
- name: Cache Dependencies | ||
run: deno cache --unstable deps.ts | ||
|
||
- name: Lint | ||
run: deno lint --unstable | ||
|
||
- name: Test | ||
run: deno test --unstable | ||
|
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,6 @@ | ||
{ | ||
"deno.enable": true, | ||
"deno.import_intellisense_origins": { | ||
"https://deno.land": true | ||
} | ||
} |
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 @@ | ||
Copyright 2021 Khushraj Rathod ([email protected]) <https://www.khushrajrathod.com> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,37 @@ | ||
<div align="center"> | ||
<img src="assets/logo.svg" width="400" height="400" alt="blueprint illustration"> | ||
<h1>Blueprint</h1> | ||
<p> | ||
<b>Starter for Deno Modules</b> | ||
</p> | ||
<p> | ||
<img alt="build status" src="https://img.shields.io/github/workflow/status/KhushrajRathod/Blueprint/Deno?label=checks" > | ||
<img alt="language" src="https://img.shields.io/github/languages/top/KhushrajRathod/Blueprint" > | ||
<img alt="code size" src="https://img.shields.io/github/languages/code-size/KhushrajRathod/Blueprint"> | ||
<img alt="issues" src="https://img.shields.io/github/issues/KhushrajRathod/Blueprint" > | ||
<img alt="license" src="https://img.shields.io/github/license/KhushrajRathod/Blueprint"> | ||
<img alt="version" src="https://img.shields.io/github/v/release/KhushrajRathod/Blueprint"> | ||
</p> | ||
<p> | ||
<b><a href="https://deno.land/x/blueprint">View on deno.land</a></b> | ||
</p> | ||
<br> | ||
<br> | ||
<br> | ||
</div> | ||
|
||
## Usage | ||
|
||
```ts | ||
import {} from 'https://deno.land/x/[email protected]/mod.ts | ||
``` | ||
|
||
## Supporters | ||
|
||
[![Stargazers repo roster for @KhushrajRathod/Blueprint](https://reporoster.com/stars/KhushrajRathod/Blueprint)](https://github.com/KhushrajRathod/Blueprint/stargazers) | ||
|
||
[![Forkers repo roster for @KhushrajRathod/Blueprint](https://reporoster.com/forks/KhushrajRathod/Blueprint)](https://github.com/KhushrajRathod/Blueprint/network/members) | ||
|
||
## Related | ||
|
||
- [Deno modules](https://github.com/KhushrajRathod/DenoModules) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
export { assertEquals } from "https://deno.land/[email protected]/testing/asserts.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import {} from "./deps.ts" | ||
console.log("Hello world") |
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,17 @@ | ||
// See https://deno.land/manual/testing | ||
import { assertEquals } from "./deps.ts" | ||
|
||
Deno.test("hello world #1", () => { | ||
const x = 1 + 2 | ||
assertEquals(x, 3) | ||
}) | ||
|
||
Deno.test("hello world #2", () => { | ||
const x = 2 + 2 | ||
assertEquals(x, 4) | ||
}) | ||
|
||
Deno.test("hello world #3", () => { | ||
const x = 3 + 2 | ||
assertEquals(x, 5) | ||
}) |