feat: implement third-party order sync
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "@study-work/share",
|
||||
"version": "1.0.0",
|
||||
"description": "Shared utilities and types for Study Work packages.",
|
||||
"private": true,
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"lint": "pnpm lint:eslint && pnpm lint:stylelint",
|
||||
"lint:eslint": "eslint \"src/**/*.{ts,js}\" --cache",
|
||||
"lint:stylelint": "stylelint \"src/**/*.{css,less,scss}\" --cache --allow-empty-input",
|
||||
"test": "echo \"No tests configured for @study-work/share\""
|
||||
},
|
||||
"license": "ISC",
|
||||
"packageManager": "pnpm@10.33.0",
|
||||
"devDependencies": {
|
||||
"typescript": "6.0.3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
export type PackageName =
|
||||
| '@study-work/frontend'
|
||||
| '@study-work/backend'
|
||||
| '@study-work/share';
|
||||
|
||||
export const workspacePackages: PackageName[] = [
|
||||
'@study-work/frontend',
|
||||
'@study-work/backend',
|
||||
'@study-work/share',
|
||||
];
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"target": "ES2022"
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["dist", "node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user