Skip to content

Commit

Permalink
refactor: use nexim tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Dec 4, 2024
1 parent 1befca6 commit 8a91a5d
Show file tree
Hide file tree
Showing 7 changed files with 335 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .yarn/sdks/prettier/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "3.3.3-sdk",
"version": "3.4.2-sdk",
"main": "./index.cjs",
"type": "commonjs",
"bin": "./bin/prettier.cjs"
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"description": "Necessary library for all ECMAScript (JavaScript/TypeScript) projects.",
"repository": "https://github.com/the-nexim/nanolib",
"author": "S. Amir Mohammad Najafi <njfamirm@gmail.com> (www.njfamirm.ir)",
"contributors": [
"Arash Ghardashpoor <arash.qardashpoor@gmail.com> (https://www.agpagp.ir)"
],
"license": "AGPL-3.0-only",
"type": "module",
"private": true,
Expand Down Expand Up @@ -47,6 +50,7 @@
"@lerna-lite/publish": "^3.10.1",
"@lerna-lite/run": "^3.10.1",
"@lerna-lite/version": "^3.10.1",
"@nexim/tsconfig-base": "workspace:^",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"ava": "^6.2.0",
Expand All @@ -56,10 +60,11 @@
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-require-extensions": "^0.1.3",
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.6",
"prettier-plugin-tailwindcss": "^0.6.9",
"typescript": "^5.6.3"
},
"packageManager": "yarn@4.5.1",
"packageManager": "yarn@4.5.3",
"dependenciesMeta": {
"prettier-plugin-tailwindcss@0.6.9": {
"unplugged": true
Expand Down
2 changes: 1 addition & 1 deletion packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"devDependencies": {
"@alwatr/nano-build": "^5.0.0",
"@alwatr/prettier-config": "^5.0.0",
"@alwatr/tsconfig-base": "^5.0.0",
"@alwatr/type-helper": "^5.0.0",
"@nexim/tsconfig-base": "workspace:^",
"ava": "^6.2.0",
"typescript": "^5.6.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/element/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@alwatr/tsconfig-base/tsconfig.json",
"extends": "@nexim/tsconfig-base",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
Expand Down
3 changes: 0 additions & 3 deletions packages/tsconfig-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
"contributors": [
"Arash Ghardashpoor <arash.qardashpoor@gmail.com> (https://www.agpagp.ir)"
],
"exports": {
".": "./tsconfig.json"
},
"main": "tsconfig.json",
"files": [
"**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
Expand Down
10 changes: 10 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "@nexim/tsconfig-base/tsconfig.json",
"compilerOptions": {
"noEmit": true,
"types": ["node"]
},
"files": [],
"exclude": [],
"references": [{"path": "./packages/element"}, {"path": "./packages/tsconfig-base"}]
}
Loading

0 comments on commit 8a91a5d

Please sign in to comment.