mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
Make packages/react-native-enriched-markdown a private workspace and point the app at it, then remove the patch-package patch it replaces. - package.json: private, version follows the root like every workspace, only the postinstall script that downloads tree-sitter grammars. Upstream's devDependencies would install a second react-native, so they are gone. - The package keeps its name, so autolinking, the Gradle project :react-native-enriched-markdown, the CocoaPods spec and imports are unchanged. - Lockfile: drop the nested registry copy under packages/app/node_modules; npm links node_modules/react-native-enriched-markdown to the workspace. - Formatting, lint and knip skip the vendored code. CI routes changes to it through the app and browser suites. - The codegen test checks the vendored package's generated props. - docs/markdown-renderer.md describes the fork and how to edit it.
102 lines
2.8 KiB
JSON
102 lines
2.8 KiB
JSON
{
|
|
"$schema": "./node_modules/knip/schema.json",
|
|
"workspaces": {
|
|
"plugins": {
|
|
"entry": ["**/index.{server,client}.{ts,tsx}", "**/*.test.ts"],
|
|
"project": ["**/*.{ts,tsx}"]
|
|
},
|
|
".": {
|
|
"entry": ["scripts/**/*.{js,mjs,cjs,ts}"],
|
|
"project": ["scripts/**/*.{js,mjs,cjs,ts}"]
|
|
},
|
|
"packages/server": {
|
|
"entry": [
|
|
"src/server/index.ts",
|
|
"src/server/exports.ts",
|
|
"src/utils/tool-call-parsers.ts",
|
|
"src/shared/**/*.ts",
|
|
"src/client/**/*.ts",
|
|
"src/server/agent/agent-sdk-types.ts",
|
|
"src/server/agent/provider-manifest.ts",
|
|
"scripts/**/*.{ts,mts,mjs,cjs,js}",
|
|
"src/**/*.test.ts",
|
|
"src/**/*.test.tsx",
|
|
"src/**/*.e2e.ts",
|
|
"src/**/*.e2e.tsx"
|
|
],
|
|
"project": ["src/**/*.{ts,tsx}", "scripts/**/*.{ts,mts,mjs,cjs,js}"]
|
|
},
|
|
"packages/app": {
|
|
"entry": [
|
|
"index.ts",
|
|
"app.config.js",
|
|
"babel.config.js",
|
|
"app/**/*.{ts,tsx}",
|
|
"src/**/*.test.{ts,tsx}",
|
|
"src/**/*.e2e.{ts,tsx}",
|
|
"src/**/*.native.{ts,tsx}",
|
|
"e2e/**/*.{ts,tsx}",
|
|
"playwright.config.{ts,js}",
|
|
"vitest.config.{ts,js}",
|
|
"test-stubs/**/*.ts"
|
|
],
|
|
"project": ["**/*.{ts,tsx,js,jsx}"],
|
|
"paths": {
|
|
"@server/*": ["../server/src/*"]
|
|
},
|
|
"ignore": ["android/**", "ios/**", ".expo/**", "dist/**", "scripts/reset-project.js"]
|
|
},
|
|
"packages/cli": {
|
|
"entry": ["src/index.ts", "bin/paseo", "src/**/*.test.{ts,tsx}", "tests/**/*.{ts,tsx}"],
|
|
"project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}"]
|
|
},
|
|
"packages/relay": {
|
|
"entry": ["src/index.ts", "src/e2ee.ts", "src/cloudflare-adapter.ts", "src/**/*.test.ts"],
|
|
"project": ["src/**/*.ts"]
|
|
},
|
|
"packages/website": {
|
|
"entry": ["src/router.tsx", "vite.config.ts", "src/routes/**/*.tsx"],
|
|
"project": ["src/**/*.{ts,tsx}"],
|
|
"ignore": ["src/routeTree.gen.ts"]
|
|
},
|
|
"packages/desktop": {
|
|
"entry": ["src/main.ts", "src/preload.ts", "src/**/*.test.ts"],
|
|
"project": ["src/**/*.ts"]
|
|
},
|
|
"packages/highlight": {
|
|
"entry": ["src/index.ts", "src/**/*.test.ts"],
|
|
"project": ["src/**/*.ts"]
|
|
},
|
|
"packages/expo-two-way-audio": {
|
|
"entry": ["src/index.ts"],
|
|
"project": ["src/**/*.ts"]
|
|
}
|
|
},
|
|
"ignoreWorkspaces": ["packages/react-native-enriched-markdown"],
|
|
"ignoreDependencies": [
|
|
"sherpa-onnx-node",
|
|
"@playwright/test",
|
|
"material-icon-theme",
|
|
"eas-cli",
|
|
"wait-on",
|
|
"concurrently",
|
|
"get-port-cli",
|
|
"patch-package",
|
|
"cross-env",
|
|
"expo-module-scripts",
|
|
"buffer",
|
|
"metro-config"
|
|
],
|
|
"ignoreBinaries": [
|
|
"expo-module",
|
|
"xed",
|
|
"eas",
|
|
"playwright",
|
|
"wrangler",
|
|
"powershell",
|
|
"tsx",
|
|
"vitest",
|
|
"open"
|
|
]
|
|
}
|