-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [wip] * [wip] migrates tests to jest for easier debugging, removes deps * [chore] ignore dist * [chore] fix ordering of event listeners to make sure async functions were run after * [chore] updates tests to be jest tests adds website scaffolding * [chore] updates ci workflow and cleans up website * [chore] get types building and docs produced * Gabrielcsapo/typescript conversion (#89) * Minor fixes Replaced JavaScript with TypeScript in README Made sure that package will be built if installed from github Fixed some types Made some async functions return a Promise if callback was not specified * Fixed small TYPO that broke README.md * Update package.json Added myself as contributor cuz y not * Update service.ts oops, missed a spot * Create .git-package.meta this dotfile should be commited to the repo * Create .npmignore .git-package.meta should not get committed to npm Co-authored-by: Buj Itself <[email protected]> Co-authored-by: Gabriel Csapo <[email protected]> * [chore] updates dependencies * [chore] fixes node@14 tests * [chore] fix failing tests * [chore] fix failing tests * [chore] fix lint issues * [chore] updates changelog Co-authored-by: Buj <[email protected]> Co-authored-by: Buj Itself <[email protected]>
- Loading branch information
1 parent
19520cc
commit 05b5342
Showing
186 changed files
with
14,235 additions
and
16,320 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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
{ | ||
"extends": "eslint:recommended", | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
}, | ||
"rules": { | ||
"strict": 0, | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"no-octal": 0 | ||
} | ||
} | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"prettier", | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
] | ||
} |
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 @@ | ||
|
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,64 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
test: | ||
name: "Node ${{ matrix.node }} - ${{ matrix.os }}" | ||
runs-on: ${{ matrix.os }}-latest | ||
|
||
strategy: | ||
matrix: | ||
node: ["14", "16", "latest"] | ||
os: [ubuntu, macOS, windows] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: volta-cli/action@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: install dependencies | ||
run: npm i | ||
- name: lint | ||
run: npm run lint | ||
env: | ||
CI: true | ||
- name: test | ||
run: npm test | ||
env: | ||
CI: true | ||
|
||
gh-release: | ||
if: github.event_name != 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "16.x" | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} | ||
- name: install dependencies | ||
run: npm i | ||
- name: Release to GitHub Pages | ||
env: | ||
USE_SSH: true | ||
GIT_USER: git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Gabriel J. Csapo" | ||
cd packages/website | ||
npm run deploy |
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 |
---|---|---|
|
@@ -6,4 +6,8 @@ coverage | |
example/test | ||
example/tmp | ||
package-lock.json | ||
.vs/ | ||
.vs/ | ||
dist | ||
temp | ||
etc | ||
build-complete.meta |
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 @@ | ||
.git-package.meta |
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 @@ | ||
{ | ||
"singleQuote": 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
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.