Skip to content

Commit a1d51a6

Browse files
authored
feat: Nuxt 3 and Content 2 (#22)
1 parent ae2fcdd commit a1d51a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+5321
-13108
lines changed

.editorconfig

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# editorconfig.org
21
root = true
32

43
[*]

.eslintignore

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,2 @@
1-
node_modules
21
dist
3-
.nuxt
4-
coverage
5-
*.log*
6-
.DS_Store
7-
.code
8-
*.iml
9-
package-lock.json
10-
templates/*
11-
sw.js
2+
node_modules

.eslintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": [
3+
"@nuxtjs/eslint-config-typescript"
4+
],
5+
"rules": {
6+
"@typescript-eslint/no-unused-vars": [
7+
"off"
8+
]
9+
}
10+
}

.eslintrc.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/ci-dev.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 13 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,27 @@
1-
name: ci-main
1+
name: ci
22

33
on:
44
push:
55
branches:
66
- main
7+
- dev
78
pull_request:
89
branches:
910
- main
11+
- dev
1012

1113
jobs:
1214
ci:
13-
runs-on: ${{ matrix.os }}
14-
15-
strategy:
16-
matrix:
17-
os: [ubuntu-latest] # macos-latest, windows-latest
18-
node: [16]
15+
runs-on: ubuntu-latest
1916

2017
steps:
21-
- uses: actions/setup-node@v2
22-
with:
23-
node-version: ${{ matrix.node }}
24-
25-
- name: Checkout
26-
uses: actions/checkout@master
27-
with:
28-
persist-credentials: false
29-
fetch-depth: 0
30-
31-
- name: Cache
32-
uses: actions/cache@v2
33-
with:
34-
path: node_modules
35-
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
36-
37-
- name: Dependencies
38-
if: steps.cache.outputs.cache-hit != 'true'
39-
run: yarn
40-
41-
- name: Lint
42-
run: yarn lint
43-
44-
- name: Prepare
45-
run: node ./node_modules/playwright/install.js
46-
47-
- name: Test
48-
run: yarn test
49-
50-
- name: Coverage
51-
uses: codecov/codecov-action@v2
52-
53-
- name: Build
54-
run: yarn build
55-
56-
- name: Version Check
57-
id: check
58-
uses: EndBug/version-check@v2
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-node@v3
5920
with:
60-
token: ${{ secrets.GITHUB_TOKEN }}
61-
62-
- name: Release
63-
if: github.event_name == 'push' && steps.check.outputs.changed == 'true'
64-
run: ./scripts/release.sh
65-
env:
66-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
21+
node-version: '16'
22+
cache: yarn
23+
- run: yarn install
24+
- run: yarn dev:prepare
25+
- run: yarn lint
26+
- run: yarn prepack
27+
- run: yarn test

0 commit comments

Comments
 (0)