feat(blog): scaffold empty package with feature tag + path aliases
This commit is contained in:
32
packages/blog/package.json
Normal file
32
packages/blog/package.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "@repo/blog",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./cms": "./src/integrations/cms/index.ts",
|
||||
"./api": "./src/integrations/api/router.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --noEmit",
|
||||
"lint": "eslint .",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@repo/core-cms": "workspace:*",
|
||||
"@repo/core-shared": "workspace:*",
|
||||
"@trpc/server": "^11.0.0",
|
||||
"inversify": "^6.2.0",
|
||||
"payload": "^3.14.0",
|
||||
"reflect-metadata": "^0.2.2",
|
||||
"zod": "^3.24.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@repo/eslint-config": "workspace:*",
|
||||
"@repo/typescript-config": "workspace:*",
|
||||
"@types/node": "^22.0.0",
|
||||
"vitest": "^3.1.0"
|
||||
}
|
||||
}
|
||||
1
packages/blog/src/index.ts
Normal file
1
packages/blog/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
14
packages/blog/tsconfig.json
Normal file
14
packages/blog/tsconfig.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"extends": "@repo/typescript-config/base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"lib": ["ES2022", "DOM"],
|
||||
"jsx": "preserve",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*", "tests/**/*"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
4
packages/blog/turbo.json
Normal file
4
packages/blog/turbo.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": ["//"],
|
||||
"tags": ["feature"]
|
||||
}
|
||||
3
packages/blog/vitest.config.ts
Normal file
3
packages/blog/vitest.config.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { baseVitestConfig } from "@repo/typescript-config/vitest.base";
|
||||
|
||||
export default baseVitestConfig;
|
||||
Reference in New Issue
Block a user