-
-
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 804e59c
Showing
12 changed files
with
4,575 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,48 @@ | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
TERM: xterm-256color | ||
FORCE_COLOR: 1 | ||
|
||
jobs: | ||
pull-request: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Use Corepack | ||
run: | | ||
set -e | ||
corepack enable | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Restore | ||
run: | | ||
set -e | ||
pnpm install --frozen-lockfile | ||
- name: Build | ||
run: | | ||
set -e | ||
pnpm build | ||
- name: Test | ||
run: | | ||
set -e | ||
pnpm test | ||
# - name: Publish (dry-run) | ||
# run: | | ||
# set -e | ||
# pnpm -r publish --no-git-checks --dry-run |
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,54 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
|
||
env: | ||
TERM: xterm-256color | ||
FORCE_COLOR: 1 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Use Corepack | ||
run: | | ||
set -e | ||
corepack enable | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Restore | ||
run: | | ||
set -e | ||
pnpm install --frozen-lockfile | ||
- name: Build | ||
run: | | ||
set -e | ||
pnpm build | ||
- name: Test | ||
run: | | ||
set -e | ||
pnpm test | ||
# - name: Publish | ||
# run: | | ||
# set -e | ||
# pnpm config --location=project set //registry.npmjs.org/:_authToken '${NPM_TOKEN}' | ||
# pnpm -r publish --no-git-checks | ||
# env: | ||
# NPM_TOKEN: ${{secrets.NPM_TOKEN}} |
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 @@ | ||
.vscode/ | ||
node_modules/ | ||
lib/ | ||
dist/ | ||
out/ | ||
coverage/ | ||
|
||
.DS_Store | ||
*.tar | ||
*.gz | ||
*.tgz | ||
*.zip | ||
*.log |
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 @@ | ||
Copyright 2024 Chris Ackerman | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS 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,3 @@ | ||
import { rational } from 'eslint-config-rational'; | ||
|
||
export default rational(); |
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,16 @@ | ||
<!doctype html> | ||
|
||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>UNTITLED</title> | ||
</head> | ||
|
||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.ts"></script> | ||
</body> | ||
|
||
</html> |
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,43 @@ | ||
{ | ||
"private": true, | ||
"name": "UNTITLED", | ||
"description": "", | ||
"version": "0.0.0-prerelease", | ||
"license": "ISC", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Shakeskeyboarde/UNTITLED.git" | ||
}, | ||
"scripts": { | ||
"start": "vite", | ||
"build": "vite build", | ||
"test": "eslint . --max-warnings=0 && vitest run --pass-with-no-tests", | ||
"open-coverage": "open out/coverage/index.html" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"publishConfig": { | ||
"access": "public", | ||
"tag": "prerelease" | ||
}, | ||
"type": "module", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js" | ||
} | ||
}, | ||
"packageManager": "[email protected]+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394", | ||
"devDependencies": { | ||
"@types/node": "^20.12.11", | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"eslint": "^8", | ||
"eslint-config-rational": "^5.0.13", | ||
"typescript": "^5.4.5", | ||
"vite": "^5.2.11", | ||
"vite-plugin-checker": "^0.6.4", | ||
"vitest": "^1.6.0" | ||
} | ||
} |
Oops, something went wrong.