Skip to content

Conversation

@fusionstrings
Copy link
Owner

No description provided.

- Bump version of preact-custom-element to 4.5.0
- Add @web/test-runner-puppeteer as a dev dependency
- Add TypeScript as a dev dependency
- Update package-lock.json with new versions of dependencies
- Enhance index.d.ts to include serializable option in Options type
- Refactor index.js to support serializable shadow roots and improve private data handling
- Introduce index.ts for TypeScript support with type definitions
- Update tsconfig.json to include necessary compiler options and settings
- Added `oxlint` as a dependency for linting.
- Updated package.json scripts to include TypeScript build and linting commands.
- Introduced a new TypeScript configuration file (tsconfig.build.json) for building the project.
- Refactored index.js and index.ts to improve type safety and error handling.
- Removed deprecated attributeChangedCallback and disconnectedCallback methods.
- Enhanced the createShadowRoot function to handle errors more gracefully.
- Updated to use unknown type for props and attributes for better type safety.
- Added source maps for TypeScript output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants