Merged
Conversation
…bpack bundling - Split `interop.js` into modular TypeScript files under `ts/interop`. - Define `types.ts` and `globals.d.ts` for type safety and global declarations. - Introduced new modules for clipboard handling, file downloading, loading screen observer, scroll functions, and File System Access API. - Configure Webpack to bundle TypeScript modules into `interop.bundle.min.js`. - Update `index.html` to reference the new bundle.
- Enhanced `publishGithubPages.yml` and `pullRequestTests.yml` to include Node.js setup and npm build step. - Added `actions/setup-node@v6` for setting up Node.js (version 20.x). - Introduced steps for installing npm dependencies and building interop bundles.
- Updated `publishGithubPages.yml` and `pullRequestTests.yml` to include a step for running TypeScript unit tests. - Added `vitest.config.ts` for configuring Vitest with `jsdom` environment and test file inclusion. - Updated `package-lock.json` to include Vitest and related dependencies.
- Deleted TypeScript modules and corresponding tests for clipboard, file downloading, file system API, and loading observer interop (`clipboard.ts`, `download.ts`, `fsApi.ts`). - Removed global TypeScript declarations in `globals.d.ts`. - Updated `interop.ts` to reflect the removal of these interop functions. - Removed related dependencies from `package.json` and updated `package-lock.json`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.