* fix: update the monorepo to typescript 5
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* run ci to see problems [run ci]
* update vue-tsc and typings that conflict with update
* regen snapshot
* fix typescript errors ui test as stack trace behavior has changed
* fix server unit tests
* update cy.origin() spec based on stack traces and code frames
* update spec to include source map url
* run ci
* fix check-ts
* chore: fix system tests [run ci]
* add preprocessor tests to batteries included to exercise new logic
* run ci
* refactor unit tests to be a bit more dry
* pin typescript to ~5.4 and adjust config to ignroe deprecations but keep importsNotUsedAsValues
* add changelog entry
* add fixme issue to stack trace mismatches inside evaled context
* use import type webpack as webpack as a lib isn't actually invboked in the runner webpack config
* fix system test as adding 4 lines of comments impacts the stack trace line 4 lines (duh)
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* correct indentation
* update formatting
* add comments
* update tsconfig.json
* Update packages/data-context/src/sources/migration/codegen.ts
Co-authored-by: Blue F <blue@cypress.io>
* Update packages/data-context/src/sources/migration/codegen.ts
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Blue F <blue@cypress.io>
* chore: work on infra for scaffold tests
* revert
* wip
* ignore scaffolded files in linting
* add snapshot for plain TS project
* add more tests
* linting
* add temp-dir dep to data-context
* exclude scaffolded assets from linting
* bump server tsconfig lib to es2019
* bump graphql tsconfig lib
* add missing dependency
* use task to avoid test code leaking into data-context prod
* remove unused code
* remove deps
* make currentProject cross platform with path.posix and path.sep
* posix.join
* use path.posix everywhere
* update types
* correct paths and add ct framework to expected dir
* fix scaffolded files from indexHtmlFile merge
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* refactor: Add GitDataSource, FileDataSource, toast for errors
* Fix
* fix
* Fix: use frontend-shared for common optimizeDeps
* schema/type fixes
* add debug for circle job
* add debug for circle job
* Attempting to debug CI flake
* Fix types
* Attempt to fix
* Revert "Attempt to fix"
This reverts commit 12a8db455a.
* Just use more parallelization?
* See if this fixes it
* remove debug
* Force browser relaunch?
* use internal ENV var
- Add `@packages/data-context`
- Add `yarn gulp makePackage` for scaffolding a new server package
- Removes `nexus-decorators` in favor of regular Nexus, creating better separation between data & schema
- Possible to launch project in different browser types
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Cesar <cesaravitia@outlook.com>
Changes:
- Pulls down & stitches in the "Cypress Cloud" schema from remote. Currently defaulted to "staging" so we can make quick fixes / iteration there
- Add dedicated type checking CircleCI job `check-ts`
- Adds [graphcache](https://formidable.com/open-source/urql/docs/graphcache/) to normalize the cache & provide better auto-reactivity when data changes
- Removes `LocalProject` / `DashboardProject` in favor of `Project` / `CloudProject`
- General cleanup of Vue components' GraphQL fragments
- Parallelizes launchpad tests & recording to new Cypress project: https://dashboard.cypress.io/projects/sehy69/runs
- Did this b/c tests were frequently timing out, need to figure out the source of this
- Basic mocks for remote schema
* chore: remove skipLibCheck, re-add vue-tsc, fix types
* fix types & esm export
* mark the ts file as the target for the browser
* fix: serve launchpad dist files in CI
* fix: ensure @headlessui/vue is bundled