Skip to content

Update dependencies#2502

Open
matyasf wants to merge 3 commits intomasterfrom
update_deps
Open

Update dependencies#2502
matyasf wants to merge 3 commits intomasterfrom
update_deps

Conversation

@matyasf
Copy link
Copy Markdown
Collaborator

@matyasf matyasf commented Apr 2, 2026

Update TS to version 6; also update lots of smaller dependencies.

To test:

  • check docs app for errors
  • run the regression test

matyasf added 2 commits April 2, 2026 16:25
typesScript-eslint and vitest/eslint-plugin also needed to be updated. All changes are to fix
breaking code in the new TS
@matyasf matyasf self-assigned this Apr 2, 2026
// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react18'
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// This needs to be required, otherwise TSC will mess up the directory structure
// in the output directory
// eslint-disable-next-line @instructure/no-relative-imports
const rootPackage = require('../../../package.json') // root package.json
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in TS 6 one must configure the rootDir, and this file was outside of it. I simply point to the docs app's package.json now and hardcode the name parameter (this whole thing is a remnant when this was meant as an universal app)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2502/

Built to branch gh-pages at 2026-04-02 21:12 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

* SOFTWARE.
*/
import React from 'react'
declare const process: Record<string, any> | undefined
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In TS 6 this must be explicitly declared otherwise it will throw an error for web builds

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