-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rewrite with less dependencies (#114)
- Loading branch information
1 parent
667fb3c
commit 295cda5
Showing
83 changed files
with
8,988 additions
and
9,553 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
/__tests__/**/*.spec.ts | ||
/__snapshots__/ | ||
/__tests__/unit/coverage/ | ||
/*.js | ||
/build/ | ||
/config/ | ||
/dist/ | ||
/distribution/ | ||
/docs/ | ||
/prisma/ | ||
/node_modules/** | ||
env.json |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
jobs: | ||
publish: | ||
if: "contains(github.event.head_commit.message, 'release:')" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
registry-url: "https://registry.npmjs.org" | ||
- name: Cache .pnpm-store | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
- name: Install pnpm | ||
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 | ||
- name: Install | ||
run: pnpm install | ||
- name: Publish | ||
run: npm publish --access=public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_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,40 @@ | ||
name: CF | ||
|
||
on: | ||
pull_request: | ||
types: [ready_for_review, synchronize, opened] | ||
|
||
jobs: | ||
prettier: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
concurrency: | ||
group: ${{ github.head_ref }}-prettier | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.GH_TOKEN }} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Cache .pnpm-store | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
- name: Install pnpm | ||
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 | ||
- name: Install | ||
run: pnpm install | ||
- name: Lint | ||
run: pnpm run lint | ||
- name: Format | ||
run: pnpm run prettier | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "style: resolve style guide violations" |
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,46 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
- "develop" | ||
pull_request: | ||
types: [ready_for_review, synchronize, opened] | ||
|
||
jobs: | ||
conflicts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Merge Conflict finder | ||
uses: olivernybroe/[email protected] | ||
test: | ||
needs: [conflicts] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
concurrency: | ||
group: ${{ github.head_ref }}-sdk | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Cache .pnpm-store | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
- name: Install pnpm | ||
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 | ||
- name: Install | ||
run: pnpm install | ||
- name: Test | ||
run: pnpm run test |
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 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,5 +1,5 @@ | ||
.coverage | ||
.pnp.js | ||
.yarn/** | ||
dist | ||
distribution | ||
docs | ||
packages/**/distribution | ||
packages/**/prisma |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.