release: v1.2.3
This commit is contained in:
parent
54edb9c0aa
commit
3eb02901fe
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"extends": ["@bravo68web/eslint-config/code-style"],
|
"extends": ["@bravo68web/eslint-config"],
|
||||||
"ignorePatterns": ["node_modules", "dist"]
|
"ignorePatterns": ["node_modules", "dist"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@bravo68web/eslint-config",
|
"name": "@bravo68web/eslint-config",
|
||||||
"version": "1.2.2",
|
"version": "1.2.3",
|
||||||
"description": "The official ESLint configuration for bravo68web projects",
|
"description": "The official ESLint configuration for bravo68web projects",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
|
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
|
||||||
|
@ -20,21 +20,22 @@
|
||||||
"test": "vitest run"
|
"test": "vitest run"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "5.59.9",
|
"@typescript-eslint/eslint-plugin": "6.13.2",
|
||||||
"@typescript-eslint/parser": "5.59.9",
|
"@typescript-eslint/parser": "6.13.2",
|
||||||
"deepmerge": "4.3.1",
|
"deepmerge": "4.3.1",
|
||||||
"eslint-config-prettier": "8.8.0",
|
"eslint-config-prettier": "9.1.0",
|
||||||
"eslint-plugin-autofix": "1.1.0",
|
"eslint-plugin-autofix": "1.1.0",
|
||||||
"eslint-plugin-deprecation": "1.4.1",
|
"eslint-plugin-deprecation": "2.0.0",
|
||||||
"eslint-plugin-jsx-a11y": "6.7.1",
|
"eslint-plugin-jsx-a11y": "6.8.0",
|
||||||
|
"eslint-plugin-prettier": "5.0.1",
|
||||||
"eslint-plugin-promise": "6.1.1",
|
"eslint-plugin-promise": "6.1.1",
|
||||||
"eslint-plugin-react": "7.32.2",
|
"eslint-plugin-react": "7.33.2",
|
||||||
"eslint-plugin-regexp": "1.15.0",
|
"eslint-plugin-regexp": "2.1.2",
|
||||||
"eslint-plugin-security": "1.7.1",
|
"eslint-plugin-security": "1.7.1",
|
||||||
"eslint-plugin-simple-import-sort": "10.0.0",
|
"eslint-plugin-simple-import-sort": "10.0.0",
|
||||||
"eslint-plugin-sonarjs": "0.19.0",
|
"eslint-plugin-sonarjs": "0.23.0",
|
||||||
"eslint-plugin-tailwindcss": "3.12.1",
|
"eslint-plugin-tailwindcss": "3.13.0",
|
||||||
"eslint-plugin-unicorn": "47.0.0"
|
"eslint-plugin-unicorn": "49.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "8.x",
|
"eslint": "8.x",
|
||||||
|
@ -42,20 +43,19 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bravo68web/tsconfig": "*",
|
"@bravo68web/tsconfig": "*",
|
||||||
"@rollup/plugin-commonjs": "25.0.3",
|
"@rollup/plugin-commonjs": "25.0.7",
|
||||||
"@rollup/plugin-node-resolve": "15.1.0",
|
"@rollup/plugin-node-resolve": "15.2.3",
|
||||||
"@rollup/plugin-typescript": "11.1.2",
|
"@rollup/plugin-typescript": "11.1.5",
|
||||||
"@types/deepmerge": "2.2.0",
|
"@types/deepmerge": "2.2.0",
|
||||||
"@types/eslint": "8.44.1",
|
"@types/eslint": "8.44.8",
|
||||||
"@types/node": "20.4.5",
|
"@types/node": "20.10.3",
|
||||||
"@types/rollup-plugin-auto-external": "2.0.2",
|
"@types/rollup-plugin-auto-external": "2.0.5",
|
||||||
"eslint": "8.45.0",
|
"eslint": "8.55.0",
|
||||||
"eslint-plugin-prettier": "5.0.0",
|
"rollup": "4.6.1",
|
||||||
"rollup": "3.26.3",
|
|
||||||
"rollup-plugin-auto-external": "2.0.0",
|
"rollup-plugin-auto-external": "2.0.0",
|
||||||
"tsec": "0.2.7",
|
"tsec": "0.2.8",
|
||||||
"typescript": "5.1.6",
|
"typescript": "5.3.2",
|
||||||
"vitest": "0.33.0"
|
"vitest": "1.0.1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bravo68web",
|
"bravo68web",
|
||||||
|
|
|
@ -58,12 +58,12 @@ const config: Linter.Config = {
|
||||||
"sonarjs/cognitive-complexity": "warn",
|
"sonarjs/cognitive-complexity": "warn",
|
||||||
// Unicorn
|
// Unicorn
|
||||||
"unicorn/no-null": 0,
|
"unicorn/no-null": 0,
|
||||||
"unicorn/filename-case": "off",
|
|
||||||
"unicorn/prefer-module": 0,
|
"unicorn/prefer-module": 0,
|
||||||
"unicorn/no-array-reduce": "off",
|
"unicorn/no-array-reduce": "off",
|
||||||
"unicorn/no-useless-undefined": 0,
|
"unicorn/no-useless-undefined": 0,
|
||||||
"unicorn/prevent-abbreviations": 0,
|
"unicorn/prevent-abbreviations": 0,
|
||||||
"unicorn/no-await-expression-member": 0,
|
"unicorn/no-await-expression-member": 0,
|
||||||
|
"unicorn/filename-case": "off",
|
||||||
// Typescript
|
// Typescript
|
||||||
"@typescript-eslint/no-namespace": 0,
|
"@typescript-eslint/no-namespace": 0,
|
||||||
"@typescript-eslint/no-misused-promises": 0,
|
"@typescript-eslint/no-misused-promises": 0,
|
||||||
|
@ -100,6 +100,7 @@ const config: Linter.Config = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
"unicorn/filename-case": "off",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -6,6 +6,7 @@ const strictCodeStyleConfig: Linter.Config = {
|
||||||
plugins: ["prettier"], // Add the prettier package to the plugins array.
|
plugins: ["prettier"], // Add the prettier package to the plugins array.
|
||||||
rules: {
|
rules: {
|
||||||
"prettier/prettier": 2, // Add a rule to enforce the prettier plugin.
|
"prettier/prettier": 2, // Add a rule to enforce the prettier plugin.
|
||||||
|
"unicorn/filename-case": "off",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@bravo68web/prettier-config",
|
"name": "@bravo68web/prettier-config",
|
||||||
"version": "1.2.2",
|
"version": "1.2.3",
|
||||||
"description": "The official Prettier configuration for bravo68web projects",
|
"description": "The official Prettier configuration for bravo68web projects",
|
||||||
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
|
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
|
||||||
"homepage": "https://github.com/BRAVO68WEB/node-config#readme",
|
"homepage": "https://github.com/BRAVO68WEB/node-config#readme",
|
||||||
|
@ -23,9 +23,9 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prettier-plugin-package-perfection": "1.1.0",
|
"prettier-plugin-package-perfection": "1.1.0",
|
||||||
"prettier-plugin-prisma": "5.0.0",
|
"prettier-plugin-prisma": "5.0.0",
|
||||||
"prettier-plugin-sort-json": "1.0.0",
|
"prettier-plugin-sort-json": "3.1.0",
|
||||||
"prettier-plugin-tailwindcss": "0.4.1",
|
"prettier-plugin-tailwindcss": "0.5.9",
|
||||||
"vitest": "0.33.0"
|
"vitest": "1.0.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"prettier": "2.x || 3.x"
|
"prettier": "2.x || 3.x"
|
||||||
|
|
|
@ -24,6 +24,22 @@ Add the following code to your `tsconfig.json` file:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Ready to Use configuration
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"extends": "@bravo68web/tsconfig/ready.json"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- Bun configuration
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"extends": "@bravo68web/tsconfig/bun.json"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
- Web Frontend configuration
|
- Web Frontend configuration
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"allowImportingTsExtensions": true,
|
||||||
|
"allowJs": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"composite": true,
|
||||||
|
"downlevelIteration": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"jsx": "preserve",
|
||||||
"lib": ["ESNext"],
|
"lib": ["ESNext"],
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"target": "esnext",
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"moduleDetection": "force",
|
"moduleDetection": "force",
|
||||||
"allowImportingTsExtensions": true,
|
"moduleResolution": "bundler",
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"composite": true,
|
|
||||||
"strict": true,
|
|
||||||
"downlevelIteration": true,
|
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"jsx": "preserve",
|
"strict": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"target": "esnext",
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"allowJs": true,
|
|
||||||
"types": ["bun-types"]
|
"types": ["bun-types"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@bravo68web/tsconfig",
|
"name": "@bravo68web/tsconfig",
|
||||||
"version": "1.2.2",
|
"version": "1.2.3",
|
||||||
"description": "Typescript config for bravo68web, ensure the consistency of code quality.",
|
"description": "Typescript config for bravo68web, ensure the consistency of code quality.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
|
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
|
"compilerOptions": {
|
||||||
|
"alwaysStrict": false,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationDir": "./types",
|
||||||
|
"emitDecoratorMetadata": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"lib": ["es2018", "es5", "dom"],
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"noEmit": false,
|
||||||
|
"outDir": "build",
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"strict": true,
|
||||||
|
"target": "ES2017"
|
||||||
|
},
|
||||||
|
"display": "ReadyToUse tsconfig.json",
|
||||||
|
"exclude": ["node_modules"],
|
||||||
|
"extends": "./base.json",
|
||||||
|
"ts-node": {
|
||||||
|
"swc": true
|
||||||
|
}
|
||||||
|
}
|
1985
pnpm-lock.yaml
1985
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue