Skip to content

Commit 8e100d5

Browse files
Migrate to monorepo with pnpm
1 parent 7a937db commit 8e100d5

File tree

387 files changed

+25232
-13903
lines changed

Some content is hidden

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

387 files changed

+25232
-13903
lines changed

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dist
2+
3+
node_modules/
4+
pnpm-lock.yaml
5+
6+
.nuxt

.eslintrc.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1+
// https://eslint.org/docs/user-guide/configuring
2+
13
module.exports = {
24
root: true,
5+
parser: "vue-eslint-parser",
6+
parserOptions: {
7+
parser: "@typescript-eslint/parser",
8+
},
39
env: {
410
browser: true,
511
node: true,
12+
es6: true,
13+
jest: true,
614
},
7-
parserOptions: {
8-
parser: '@babel/eslint-parser',
9-
requireConfigFile: false,
15+
globals: {
16+
google: true,
1017
},
11-
extends: ['@nuxt/eslint-config', 'plugin:nuxt/recommended', 'prettier'],
12-
plugins: [],
13-
// add your custom rules here
18+
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
19+
extends: ["standard", "@nuxt/eslint-config", "prettier"],
1420
rules: {
15-
'vue/multi-word-component-names': 'off',
16-
'vue/no-reserved-component-names': 'off',
21+
"vue/multi-word-component-names": "off",
22+
"vue/no-reserved-component-names": "off",
1723
},
1824
}

.github/workflows/lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: pnpm/action-setup@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version-file: ".node-version"
14+
cache: "pnpm"
15+
- run: |
16+
pnpm install
17+
pnpm run lint

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Test
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: pnpm/action-setup@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version-file: ".node-version"
14+
cache: "pnpm"
15+
- run: |
16+
pnpm install
17+
pnpm run test

.gitignore

Lines changed: 4 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,8 @@
1-
# Created by .ignore support plugin (hsz.mobi)
2-
### Node template
3-
# Logs
4-
/logs
5-
*.log
6-
npm-debug.log*
7-
yarn-debug.log*
8-
yarn-error.log*
1+
node_modules
92

10-
# Runtime data
11-
pids
12-
*.pid
13-
*.seed
14-
*.pid.lock
15-
16-
# Directory for instrumented libs generated by jscoverage/JSCover
17-
lib-cov
18-
19-
# Coverage directory used by tools like istanbul
20-
coverage
21-
22-
# nyc test coverage
23-
.nyc_output
24-
25-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26-
.grunt
27-
28-
# Bower dependency directory (https://bower.io/)
29-
bower_components
30-
31-
# node-waf configuration
32-
.lock-wscript
33-
34-
# Compiled binary addons (https://nodejs.org/api/addons.html)
35-
build/Release
36-
37-
# Dependency directories
38-
node_modules/
39-
jspm_packages/
40-
41-
# TypeScript v1 declaration files
42-
typings/
43-
44-
# Optional npm cache directory
45-
.npm
46-
47-
# Optional eslint cache
48-
.eslintcache
49-
50-
# Optional REPL history
51-
.node_repl_history
52-
53-
# Output of 'npm pack'
54-
*.tgz
55-
56-
# Yarn Integrity file
57-
.yarn-integrity
58-
59-
# dotenv environment variables file
60-
.env
61-
62-
# parcel-bundler cache (https://parceljs.org/)
63-
.cache
64-
65-
# next.js build output
66-
.next
67-
68-
# nuxt.js build output
69-
.nuxt
70-
71-
# Nuxt generate
723
dist
734

74-
# vuepress build output
75-
.vuepress/dist
76-
77-
# Serverless directories
78-
.serverless
79-
80-
# IDE / Editor
81-
.idea
82-
83-
# Service worker
84-
sw.*
85-
86-
# macOS
87-
.DS_Store
88-
89-
# Vim swap files
90-
*.swp
91-
92-
.output
5+
build
936

94-
.yarn/*
95-
!.yarn/patches
96-
!.yarn/plugins
97-
!.yarn/releases
98-
!.yarn/sdks
99-
!.yarn/versions
7+
.nuxt/
8+
.output/

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

.npmignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
index.html
2+
spec
3+
tsconfig.json
4+
vite.config.mts
5+
tailwind.config.ts
6+
docs
7+
.github
8+
screenshot.png
9+
netlify.toml
10+
.node-version
11+
.eslintignore
12+
.eslintrc.js
13+
postcss.config.js

.prettierignore

Lines changed: 2 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,7 @@
1-
###
2-
# Place your Prettier ignore content here
3-
4-
###
5-
# .gitignore content is duplicated here due to https://github.com/prettier/prettier/issues/8506
6-
7-
# Created by .ignore support plugin (hsz.mobi)
8-
### Node template
9-
# Logs
10-
/logs
11-
*.log
12-
npm-debug.log*
13-
yarn-debug.log*
14-
yarn-error.log*
15-
16-
# Runtime data
17-
pids
18-
*.pid
19-
*.seed
20-
*.pid.lock
21-
22-
# Directory for instrumented libs generated by jscoverage/JSCover
23-
lib-cov
24-
25-
# Coverage directory used by tools like istanbul
26-
coverage
27-
28-
# nyc test coverage
29-
.nyc_output
30-
31-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
32-
.grunt
33-
34-
# Bower dependency directory (https://bower.io/)
35-
bower_components
36-
37-
# node-waf configuration
38-
.lock-wscript
39-
40-
# Compiled binary addons (https://nodejs.org/api/addons.html)
41-
build/Release
1+
dist
422

43-
# Dependency directories
443
node_modules/
45-
jspm_packages/
46-
47-
# TypeScript v1 declaration files
48-
typings/
49-
50-
# Optional npm cache directory
51-
.npm
52-
53-
# Optional eslint cache
54-
.eslintcache
55-
56-
# Optional REPL history
57-
.node_repl_history
58-
59-
# Output of 'npm pack'
60-
*.tgz
61-
62-
# Yarn Integrity file
63-
.yarn-integrity
64-
65-
# dotenv environment variables file
66-
.env
67-
68-
# parcel-bundler cache (https://parceljs.org/)
69-
.cache
70-
71-
# next.js build output
72-
.next
4+
pnpm-lock.yaml
735

746
# nuxt.js build output
757
.nuxt
76-
77-
# Nuxt generate
78-
dist
79-
80-
# vuepress build output
81-
.vuepress/dist
82-
83-
# Serverless directories
84-
.serverless
85-
86-
# IDE / Editor
87-
.idea
88-
89-
# Service worker
90-
sw.*
91-
92-
# macOS
93-
.DS_Store
94-
95-
# Vim swap files
96-
*.swp

.prettierrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"semi": false,
3-
"singleQuote": true,
4-
"printWidth": 120
2+
"printWidth": 120,
3+
"semi": false
54
}

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)