release: v1.2.3

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2024-01-02 12:34:30 +05:30
parent 54edb9c0aa
commit 3eb02901fe
Signed by: bravo68web
GPG Key ID: F5671FD7BCB9917A
10 changed files with 1484 additions and 624 deletions

View File

@ -1,4 +1,4 @@
{
"extends": ["@bravo68web/eslint-config/code-style"],
"extends": ["@bravo68web/eslint-config"],
"ignorePatterns": ["node_modules", "dist"]
}

View File

@ -1,6 +1,6 @@
{
"name": "@bravo68web/eslint-config",
"version": "1.2.2",
"version": "1.2.3",
"description": "The official ESLint configuration for bravo68web projects",
"license": "MIT",
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
@ -20,21 +20,22 @@
"test": "vitest run"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"deepmerge": "4.3.1",
"eslint-config-prettier": "8.8.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-autofix": "1.1.0",
"eslint-plugin-deprecation": "1.4.1",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-regexp": "1.15.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-regexp": "2.1.2",
"eslint-plugin-security": "1.7.1",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-sonarjs": "0.19.0",
"eslint-plugin-tailwindcss": "3.12.1",
"eslint-plugin-unicorn": "47.0.0"
"eslint-plugin-sonarjs": "0.23.0",
"eslint-plugin-tailwindcss": "3.13.0",
"eslint-plugin-unicorn": "49.0.0"
},
"peerDependencies": {
"eslint": "8.x",
@ -42,20 +43,19 @@
},
"devDependencies": {
"@bravo68web/tsconfig": "*",
"@rollup/plugin-commonjs": "25.0.3",
"@rollup/plugin-node-resolve": "15.1.0",
"@rollup/plugin-typescript": "11.1.2",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-typescript": "11.1.5",
"@types/deepmerge": "2.2.0",
"@types/eslint": "8.44.1",
"@types/node": "20.4.5",
"@types/rollup-plugin-auto-external": "2.0.2",
"eslint": "8.45.0",
"eslint-plugin-prettier": "5.0.0",
"rollup": "3.26.3",
"@types/eslint": "8.44.8",
"@types/node": "20.10.3",
"@types/rollup-plugin-auto-external": "2.0.5",
"eslint": "8.55.0",
"rollup": "4.6.1",
"rollup-plugin-auto-external": "2.0.0",
"tsec": "0.2.7",
"typescript": "5.1.6",
"vitest": "0.33.0"
"tsec": "0.2.8",
"typescript": "5.3.2",
"vitest": "1.0.1"
},
"keywords": [
"bravo68web",

View File

@ -58,12 +58,12 @@ const config: Linter.Config = {
"sonarjs/cognitive-complexity": "warn",
// Unicorn
"unicorn/no-null": 0,
"unicorn/filename-case": "off",
"unicorn/prefer-module": 0,
"unicorn/no-array-reduce": "off",
"unicorn/no-useless-undefined": 0,
"unicorn/prevent-abbreviations": 0,
"unicorn/no-await-expression-member": 0,
"unicorn/filename-case": "off",
// Typescript
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-misused-promises": 0,
@ -100,6 +100,7 @@ const config: Linter.Config = {
],
},
],
"unicorn/filename-case": "off",
},
},
],

View File

@ -6,6 +6,7 @@ const strictCodeStyleConfig: Linter.Config = {
plugins: ["prettier"], // Add the prettier package to the plugins array.
rules: {
"prettier/prettier": 2, // Add a rule to enforce the prettier plugin.
"unicorn/filename-case": "off",
},
};

View File

@ -1,6 +1,6 @@
{
"name": "@bravo68web/prettier-config",
"version": "1.2.2",
"version": "1.2.3",
"description": "The official Prettier configuration for bravo68web projects",
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",
"homepage": "https://github.com/BRAVO68WEB/node-config#readme",
@ -23,9 +23,9 @@
"dependencies": {
"prettier-plugin-package-perfection": "1.1.0",
"prettier-plugin-prisma": "5.0.0",
"prettier-plugin-sort-json": "1.0.0",
"prettier-plugin-tailwindcss": "0.4.1",
"vitest": "0.33.0"
"prettier-plugin-sort-json": "3.1.0",
"prettier-plugin-tailwindcss": "0.5.9",
"vitest": "1.0.1"
},
"peerDependencies": {
"prettier": "2.x || 3.x"

View File

@ -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
```json

View File

@ -1,20 +1,20 @@
{
"compilerOptions": {
"allowImportingTsExtensions": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"composite": true,
"downlevelIteration": true,
"forceConsistentCasingInFileNames": true,
"jsx": "preserve",
"lib": ["ESNext"],
"module": "esnext",
"target": "esnext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"allowImportingTsExtensions": true,
"moduleResolution": "bundler",
"noEmit": true,
"composite": true,
"strict": true,
"downlevelIteration": true,
"skipLibCheck": true,
"jsx": "preserve",
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"strict": true,
"target": "esnext",
"types": ["bun-types"]
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@bravo68web/tsconfig",
"version": "1.2.2",
"version": "1.2.3",
"description": "Typescript config for bravo68web, ensure the consistency of code quality.",
"license": "MIT",
"author": "Bravo68web <hi@b68.dev> (https://github.com/bravo68web/)",

25
apps/tsconfig/ready.json Normal file
View File

@ -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
}
}

File diff suppressed because it is too large Load Diff