Skip to content

Change: Typescript#11

Merged
AnnaSasDev merged 4 commits intocorefrom
typescript
Jan 24, 2026
Merged

Change: Typescript#11
AnnaSasDev merged 4 commits intocorefrom
typescript

Conversation

@AnnaSasDev
Copy link
Contributor

No description provided.

…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`.
@AnnaSasDev AnnaSasDev merged commit 7c243b9 into core Jan 24, 2026
1 check passed
@AnnaSasDev AnnaSasDev deleted the typescript branch January 24, 2026 17:15
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.

1 participant