diff --git a/packages/tsconfig-common/package.json b/packages/tsconfig-common/package.json index a61e462..f6d64de 100644 --- a/packages/tsconfig-common/package.json +++ b/packages/tsconfig-common/package.json @@ -2,8 +2,8 @@ "name": "@huuyafwww/tsconfig-common", "version": "1.0.0", "private": false, - "description": "tsconfig config for me", - "homepage": "https://github.com/huuyafwww/tsconfig-config", + "description": "common tsconfig for me", + "homepage": "https://github.com/huuyafwww/tsconfig", "bugs": { "url": "https://github.com/huuyafwww/tsconfig/issues" }, diff --git a/packages/tsconfig-next/package.json b/packages/tsconfig-next/package.json new file mode 100644 index 0000000..cb88a74 --- /dev/null +++ b/packages/tsconfig-next/package.json @@ -0,0 +1,33 @@ +{ + "name": "@huuyafwww/tsconfig-next", + "version": "1.0.0", + "private": false, + "description": "tsconfig for Next.js for me", + "homepage": "https://github.com/huuyafwww/tsconfig", + "bugs": { + "url": "https://github.com/huuyafwww/tsconfig/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/huuyafwww/tsconfig.git" + }, + "main": "tsconfig.json", + "files": [ + "tsconfig.json" + ], + "scripts": { + "clean": "rimraf node_modules", + "sort:package": "sort-package-json" + }, + "dependencies": { + "typescript": "^5.6.3" + }, + "devDependencies": { + "@huuyafwww/tsconfig-common": "workspace:*", + "@tsconfig/next": "^2.0.3" + }, + "publishConfig": { + "access": "public", + "provenance": true + } +} diff --git a/packages/tsconfig-next/tsconfig.json b/packages/tsconfig-next/tsconfig.json new file mode 100644 index 0000000..67b0d60 --- /dev/null +++ b/packages/tsconfig-next/tsconfig.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "extends": [ + "@huuyafwww/tsconfig-common", + "@tsconfig/next/tsconfig.json" + ], +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 690d3a0..feebff3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,6 +37,19 @@ importers: specifier: ^2.0.5 version: 2.0.5 + packages/tsconfig-next: + dependencies: + typescript: + specifier: ^5.6.3 + version: 5.7.2 + devDependencies: + '@huuyafwww/tsconfig-common': + specifier: workspace:* + version: link:../tsconfig-common + '@tsconfig/next': + specifier: ^2.0.3 + version: 2.0.3 + packages: '@babel/runtime@7.26.0': @@ -122,6 +135,9 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} + '@tsconfig/next@2.0.3': + resolution: {integrity: sha512-b4aKvmdWnv9aUy+NStUFlefirk3SItW20OJtbi5/ue9oMRaQtUYbN5zsr7OmV3rlx6Gp6h7A82gPoCXhrNGVPQ==} + '@tsconfig/strictest@2.0.5': resolution: {integrity: sha512-ec4tjL2Rr0pkZ5hww65c+EEPYwxOi4Ryv+0MtjeaSQRJyq322Q27eOQiFbuNgw2hpL4hB1/W/HBGk3VKS43osg==} @@ -890,6 +906,8 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 + '@tsconfig/next@2.0.3': {} + '@tsconfig/strictest@2.0.5': {} '@types/node@12.20.55': {}