Skip to content

Commit def0b92

Browse files
authored
Merge pull request #19 from geekdada/v2
V2
2 parents 625effa + d33a12d commit def0b92

File tree

189 files changed

+16526
-14443
lines changed

Some content is hidden

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

189 files changed

+16526
-14443
lines changed

.commitlintrc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"extends": ["@commitlint/config-angular"],
33
"rules": {
4-
"subject-case": [
5-
2,
6-
"always",
7-
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
8-
],
4+
"header-max-length": [1, "always", 72],
95
"type-enum": [
106
2,
117
"always",

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/node_modules
33
/coverage
44
/public
5+
/src/utils/shadcn.ts

.eslintrc.cjs

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
settings: {
4+
react: {
5+
version: 'detect',
6+
},
7+
'import/parsers': {
8+
'@typescript-eslint/parser': ['.ts', '.tsx'],
9+
},
10+
'import/resolver': {
11+
typescript: {
12+
alwaysTryTypes: true,
13+
},
14+
},
15+
},
16+
env: {
17+
browser: true,
18+
node: true,
19+
es6: true,
20+
},
21+
parserOptions: {
22+
ecmaFeatures: {
23+
jsx: true,
24+
},
25+
ecmaVersion: 'esnext',
26+
},
27+
plugins: ['@typescript-eslint', 'import'],
28+
extends: [
29+
'eslint:recommended',
30+
'plugin:@typescript-eslint/recommended',
31+
'plugin:import/errors',
32+
'plugin:import/warnings',
33+
'plugin:import/typescript',
34+
'plugin:react/recommended',
35+
'plugin:react-hooks/recommended',
36+
'plugin:prettier/recommended',
37+
],
38+
rules: {
39+
'no-debugger': 'warn',
40+
'react/no-unknown-property': ['error', { ignore: ['css'] }],
41+
'react/prop-types': 'off',
42+
'@typescript-eslint/ban-ts-comment': 'off',
43+
'@typescript-eslint/no-explicit-any': 'off',
44+
'@typescript-eslint/no-unused-vars': 'warn',
45+
'import/no-named-as-default-member': 'off',
46+
'import/order': [
47+
'error',
48+
{
49+
groups: [
50+
'builtin',
51+
'external',
52+
'internal',
53+
'unknown',
54+
'parent',
55+
'sibling',
56+
'index',
57+
'object',
58+
'type',
59+
],
60+
'newlines-between': 'always',
61+
pathGroups: [
62+
{
63+
pattern: '@/**',
64+
group: 'internal',
65+
position: 'before',
66+
},
67+
{
68+
pattern: 'react*',
69+
group: 'external',
70+
position: 'before',
71+
},
72+
],
73+
pathGroupsExcludedImportTypes: ['builtin'],
74+
distinctGroup: false,
75+
alphabetize: {
76+
order: 'asc',
77+
caseInsensitive: true,
78+
},
79+
},
80+
],
81+
},
82+
}

.eslintrc.js

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

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
node-version: [14]
17+
node-version: [18]
1818

1919
steps:
2020
- uses: actions/checkout@v1
@@ -37,13 +37,14 @@ jobs:
3737
- name: yarn install, build
3838
run: |
3939
yarn install
40+
yarn build
4041
4142
- name: test, report coverage
4243
run: |
4344
yarn verify-translation
44-
yarn test:coverage
45+
yarn test
4546
46-
- uses: codecov/codecov-action@v1
47-
if: success() && matrix.os == 'ubuntu-latest'
48-
with:
49-
token: ${{ secrets.CODECOV_TOKEN }}
47+
# - uses: codecov/codecov-action@v1
48+
# if: success() && matrix.os == 'ubuntu-latest'
49+
# with:
50+
# token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [ubuntu-latest]
14-
node-version: [14]
14+
node-version: [18]
1515

1616
steps:
1717
- uses: actions/checkout@v1

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
# production
1414
/build
15-
/build.tar.gz
16-
/yasd.tar.gz
15+
/*.tar.gz
1716

1817
# misc
1918
.DS_Store

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)