初始化

This commit is contained in:
2026-02-22 18:56:10 +08:00
commit 26677972a6
3112 changed files with 255972 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{
"name": "@easyflow/preferences",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"sideEffects": [
"**/*.css"
],
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
}
},
"dependencies": {
"@easyflow-core/preferences": "workspace:*",
"@easyflow-core/typings": "workspace:*"
}
}

View File

@@ -0,0 +1,17 @@
import type { Preferences } from '@easyflow-core/preferences';
import type { DeepPartial } from '@easyflow-core/typings';
/**
* 如果你想所有的app都使用相同的默认偏好设置你可以在这里定义
* 而不是去修改 @easyflow-core/preferences 中的默认偏好设置
* @param preferences
* @returns
*/
function defineOverridesPreferences(preferences: DeepPartial<Preferences>) {
return preferences;
}
export { defineOverridesPreferences };
export * from '@easyflow-core/preferences';

View File

@@ -0,0 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@easyflow/tsconfig/web.json",
"include": ["src"],
"exclude": ["node_modules"]
}