Skip to content

Commit

Permalink
Merge pull request #11 from networkteam/next
Browse files Browse the repository at this point in the history
Add app router support
  • Loading branch information
hlubek authored Apr 29, 2024
2 parents a40744a + ae56c76 commit ac70d89
Show file tree
Hide file tree
Showing 45 changed files with 2,583 additions and 478 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"plugins": ["simple-import-sort"],
"extends": ["plugin:prettier/recommended"],
"extends": ["plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["simple-import-sort", "@typescript-eslint"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"react/no-unescaped-entities": "off",
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'
cache: yarn
registry-url: 'https://registry.npmjs.org'
- name: Set outputs
id: vars
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: yarn
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test
on:
push:
branches:
- main
- next
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: yarn
- run: yarn install
- run: yarn test
17 changes: 10 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ dist
dist-ssr
*.local

api/
index.d.ts
index.d.ts.map
index.js
lib/
types/
utils/
/api/
/lib/
/types/
/utils/
/server/
/index.*
/server.*
/client.*

!/src/**/*

# Editor directories and files
.vscode/*
Expand Down
Loading

0 comments on commit ac70d89

Please sign in to comment.