This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Sam Ruberti <[email protected]>
- Loading branch information
1 parent
37ba1e9
commit 8c78768
Showing
187 changed files
with
10,959 additions
and
880 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,25 +9,35 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.0 | ||
|
||
- name: Set up pnpm | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Set up node | ||
uses: actions/setup-node@v3 | ||
with: | ||
deno-version: v1.x | ||
cache: pnpm | ||
node-version: 18 | ||
|
||
- name: Retrieve Version | ||
if: startsWith(github.ref, 'refs/tags/') | ||
id: get_tag_version | ||
run: echo "tag_version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16.x" | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install Dependencies | ||
run: pnpm install | ||
|
||
- name: Build NPM Package | ||
run: deno task dnt ${{steps.get_tag_version.outputs.tag_version}} | ||
run: pnpm build | ||
|
||
- run: npm pack | ||
working-directory: "./target/npm" | ||
working-directory: "./packages/useink" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: package | ||
path: "./target/npm/*.tgz" | ||
path: "./packages/useink/*.tgz" | ||
|
||
- uses: octokit/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.DS_Store | ||
.env | ||
benches.json | ||
target | ||
deno.lock | ||
.vscode | ||
benches.json | ||
dist | ||
node_modules | ||
target |
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,4 @@ | ||
{ | ||
"recommendations": ["rome.rome"], | ||
"unwantedRecommendations": [] | ||
} |
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,13 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports.rome": true | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "rome.rome", | ||
"[typescript]": { | ||
"editor.defaultFormatter": "rome.rome" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "rome.rome" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -15,8 +15,7 @@ interactions relating to the project. | |
To develop on your machine, install the following (and please submit issues if | ||
errors crop up) | ||
|
||
- [Deno](https://deno.land/[email protected]/getting_started/installation) | ||
- [dprint](https://dprint.dev/) | ||
- [pnpm](https://pnpm.io/installation) | ||
|
||
## Rules | ||
|
||
|
@@ -84,8 +83,7 @@ issue) | |
We use the following tools to enforce linting rules, formatting and spell | ||
checking | ||
|
||
- [`deno lint`](https://deno.land/manual/tools/linter) | ||
- [`dprint`](https://dprint.dev/) | ||
- [`yarn lint`](https://rome.tools/) | ||
- [`cspell`](https://cspell.org/) | ||
|
||
We encourage adding the [recommended](.vscode/extensions.json) (or similar) | ||
|
@@ -94,8 +92,7 @@ extensions to your IDE. | |
To run a project wide check you can use: | ||
|
||
```bash | ||
deno lint | ||
dprint fmt # or dprint check | ||
yarn lint | ||
cspell "**/*" | ||
``` | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.