@ceylar/ada 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +30 -0
- package/.github/workflows/test-version-on-pr.yml +38 -0
- package/babel.config.json +8 -8
- package/eslint.config.mjs +63 -63
- package/package.json +51 -51
- package/prettier.config.mjs +12 -12
- package/readme.md +3 -3
- package/resources/eslint.config.mjs +67 -67
- package/resources/prettier.config.mjs +12 -12
- package/resources/stylelint.config.mjs +7 -7
- package/resources/tsconfig.json +36 -36
- package/rollup.config.ts +55 -55
- package/src/cli/commands/get.ts +21 -21
- package/src/cli/commands/index.ts +3 -3
- package/src/cli/commands/init.ts +108 -108
- package/src/cli/commands/set.ts +13 -13
- package/src/cli/type.ts +12 -12
- package/src/cli/util.ts +23 -23
- package/src/config/get.ts +38 -38
- package/src/config/index.ts +4 -4
- package/src/config/schema.ts +19 -19
- package/src/config/set.ts +14 -14
- package/src/config/type.ts +8 -8
- package/src/entities/manager/index.ts +2 -2
- package/src/entities/manager/schema.ts +5 -5
- package/src/entities/manager/type.ts +7 -7
- package/src/index.ts +52 -52
- package/src/util/index.ts +3 -3
- package/src/util/isEmpty.ts +11 -11
- package/src/util/logger.ts +15 -15
- package/src/util/resolveCurrentDir.ts +7 -7
- package/tsconfig.json +31 -31
- package/bin/index.js +0 -8787
- package/bin/resources/eslint.config.mjs +0 -67
- package/bin/resources/prettier.config.mjs +0 -12
- package/bin/resources/stylelint.config.mjs +0 -7
- package/bin/resources/tsconfig.json +0 -37
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import js from '@eslint/js';
|
|
2
|
-
import react from 'eslint-plugin-react';
|
|
3
|
-
import reactHooks from 'eslint-plugin-react-hooks';
|
|
4
|
-
import simpleImportSort from 'eslint-plugin-simple-import-sort';
|
|
5
|
-
import globals from 'globals';
|
|
6
|
-
import ts from 'typescript-eslint';
|
|
7
|
-
|
|
8
|
-
/** @type {import('eslint').Linter.Config<Linter.RulesRecord>[]} */
|
|
9
|
-
export default ts.config(
|
|
10
|
-
js.configs.recommended,
|
|
11
|
-
...ts.configs.recommended,
|
|
12
|
-
{
|
|
13
|
-
plugins: {
|
|
14
|
-
react: react,
|
|
15
|
-
'react-hooks': reactHooks,
|
|
16
|
-
'simple-import-sort': simpleImportSort,
|
|
17
|
-
ts: ts.plugin
|
|
18
|
-
},
|
|
19
|
-
rules: {
|
|
20
|
-
'prefer-const': 'error',
|
|
21
|
-
'no-else-return': 'error',
|
|
22
|
-
|
|
23
|
-
'react-hooks/exhaustive-deps': 'off',
|
|
24
|
-
|
|
25
|
-
'no-console': 'warn',
|
|
26
|
-
|
|
27
|
-
'simple-import-sort/exports': 'error',
|
|
28
|
-
'simple-import-sort/imports': [
|
|
29
|
-
'error',
|
|
30
|
-
{
|
|
31
|
-
groups: [
|
|
32
|
-
['^react', '^@?\\w'],
|
|
33
|
-
['^@(([\\/.]?\\w)|assets|test-utils)'],
|
|
34
|
-
['^\\u0000'],
|
|
35
|
-
['^\\.\\.(?!/?$)', '^\\.\\./?$'],
|
|
36
|
-
['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
|
|
37
|
-
['^.+\\.s?css$']
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
languageOptions: {
|
|
43
|
-
globals: {
|
|
44
|
-
...globals.node,
|
|
45
|
-
...globals.browser,
|
|
46
|
-
...globals.es2022
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
languageOptions: {
|
|
52
|
-
parserOptions: {
|
|
53
|
-
project: ['tsconfig.json']
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
files: ['/src/**/*.ts', '/src/**/*.tsx']
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
languageOptions: {
|
|
60
|
-
parserOptions: react.configs.recommended.parserOptions
|
|
61
|
-
},
|
|
62
|
-
files: ['/src/**/*.js', '/src/**/*.jsx']
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
ignores: ['node_modules', 'build', 'dist']
|
|
66
|
-
}
|
|
67
|
-
);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"lib": [
|
|
5
|
-
"dom",
|
|
6
|
-
"dom.iterable",
|
|
7
|
-
"esnext"
|
|
8
|
-
],
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"strict": true,
|
|
14
|
-
"forceConsistentCasingInFileNames": true,
|
|
15
|
-
"module": "esnext",
|
|
16
|
-
"newLine": "lf",
|
|
17
|
-
"moduleResolution": "bundler",
|
|
18
|
-
"isolatedModules": true,
|
|
19
|
-
"resolveJsonModule": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"jsx": "react-jsx",
|
|
22
|
-
"sourceMap": true,
|
|
23
|
-
"noUnusedLocals": true,
|
|
24
|
-
"noUnusedParameters": true,
|
|
25
|
-
"noFallthroughCasesInSwitch": true,
|
|
26
|
-
"baseUrl": ".",
|
|
27
|
-
"paths": {
|
|
28
|
-
"@/*": [
|
|
29
|
-
"./src/*"
|
|
30
|
-
],
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"exclude": [
|
|
34
|
-
"dist",
|
|
35
|
-
"node_modules",
|
|
36
|
-
]
|
|
37
|
-
}
|