feat: implement third-party order sync

This commit is contained in:
2026-06-07 02:05:48 +08:00
commit aa593449bb
398 changed files with 51460 additions and 0 deletions
+20
View File
@@ -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"
}
}
+10
View File
@@ -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',
];
+16
View File
@@ -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"]
}