feat(marketing-pages): scaffold empty package with feature tag + path aliases
This commit is contained in:
31
packages/marketing-pages/package.json
Normal file
31
packages/marketing-pages/package.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "@repo/marketing-pages",
|
||||
"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-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/marketing-pages/src/index.ts
Normal file
1
packages/marketing-pages/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
13
packages/marketing-pages/tsconfig.json
Normal file
13
packages/marketing-pages/tsconfig.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"extends": "@repo/typescript-config/base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"lib": ["ES2022", "DOM"],
|
||||
"jsx": "preserve",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*", "tests/**/*"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
4
packages/marketing-pages/turbo.json
Normal file
4
packages/marketing-pages/turbo.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": ["//"],
|
||||
"tags": ["feature"]
|
||||
}
|
||||
11
packages/marketing-pages/vitest.config.ts
Normal file
11
packages/marketing-pages/vitest.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import path from "node:path";
|
||||
import { baseVitestConfig } from "@repo/typescript-config/vitest.base";
|
||||
|
||||
export default {
|
||||
...baseVitestConfig,
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
};
|
||||
34
pnpm-lock.yaml
generated
34
pnpm-lock.yaml
generated
@@ -523,6 +523,40 @@ importers:
|
||||
specifier: ^8.25.0
|
||||
version: 8.58.0(eslint@9.39.4(jiti@2.6.1))(typescript@5.9.3)
|
||||
|
||||
packages/marketing-pages:
|
||||
dependencies:
|
||||
'@repo/core-shared':
|
||||
specifier: workspace:*
|
||||
version: link:../core-shared
|
||||
'@trpc/server':
|
||||
specifier: ^11.0.0
|
||||
version: 11.16.0(typescript@5.9.3)
|
||||
inversify:
|
||||
specifier: ^6.2.0
|
||||
version: 6.2.2(reflect-metadata@0.2.2)
|
||||
payload:
|
||||
specifier: ^3.14.0
|
||||
version: 3.81.0(graphql@16.13.2)(typescript@5.9.3)
|
||||
reflect-metadata:
|
||||
specifier: ^0.2.2
|
||||
version: 0.2.2
|
||||
zod:
|
||||
specifier: ^3.24.0
|
||||
version: 3.25.76
|
||||
devDependencies:
|
||||
'@repo/eslint-config':
|
||||
specifier: workspace:*
|
||||
version: link:../eslint-config
|
||||
'@repo/typescript-config':
|
||||
specifier: workspace:*
|
||||
version: link:../typescript-config
|
||||
'@types/node':
|
||||
specifier: ^22.0.0
|
||||
version: 22.19.17
|
||||
vitest:
|
||||
specifier: ^3.1.0
|
||||
version: 3.2.4(@types/debug@4.1.13)(@types/node@22.19.17)(happy-dom@20.8.9)(jiti@2.6.1)(lightningcss@1.32.0)(sass@1.99.0)(tsx@4.21.0)
|
||||
|
||||
packages/media:
|
||||
dependencies:
|
||||
payload:
|
||||
|
||||
@@ -19,7 +19,10 @@
|
||||
"@repo/auth/cms": ["packages/auth/src/integrations/cms/index.ts"],
|
||||
"@repo/auth/api": ["packages/auth/src/integrations/api/router.ts"],
|
||||
"@repo/media": ["packages/media/src/index.ts"],
|
||||
"@repo/media/cms": ["packages/media/src/integrations/cms/index.ts"]
|
||||
"@repo/media/cms": ["packages/media/src/integrations/cms/index.ts"],
|
||||
"@repo/marketing-pages": ["packages/marketing-pages/src/index.ts"],
|
||||
"@repo/marketing-pages/cms": ["packages/marketing-pages/src/integrations/cms/index.ts"],
|
||||
"@repo/marketing-pages/api": ["packages/marketing-pages/src/integrations/api/router.ts"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user