feat(core): update plugin with generic polling support and monorepo structure

- Update package.json with workspaces configuration for monorepo structure
- Add test:workspaces script for running tests across all packages
- Update src/definitions.ts with enhanced type definitions for generic polling
- Improve src/callback-registry.ts with better error handling and logging
- Enhance src/observability.ts with telemetry budgets and PII redaction
- Update src/typescript/SecurityManager.ts with JWT validation improvements
- Add support for @timesafari/polling-contracts package integration
- Include backward compatibility with existing plugin interfaces
- Improve TypeScript type safety across all core modules
- Add comprehensive error handling and logging throughout

Establishes the foundation for generic polling while maintaining existing functionality.
This commit is contained in:
Matthew Raymer
2025-10-07 04:44:36 +00:00
parent c548db1cfd
commit 2a47e8577d
6 changed files with 43 additions and 6 deletions

View File

@@ -11,11 +11,16 @@
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"test": "jest",
"test:workspaces": "npm test --workspaces",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"markdown:check": "markdownlint-cli2 \"doc/*.md\" \"*.md\"",
"markdown:fix": "markdownlint-cli2 --fix \"doc/*.md\" \"*.md\""
},
"workspaces": [
"packages/*"
],
"keywords": [
"capacitor",
"android",