Skip to content

Converting Breeze Next into Typescript, PNPM and Latest. #53938

Discussion options

You must be logged in to vote

Breeze Next has no discussion board, so listing steps here so anyone converting can follow the steps easier.

Also to switch to PNPM and update everything to latest as auto-dependency updates aren't enabled. Though the pnpm switch is optional, just insert your package manger, or leave with npm and don't delete the package-lock.json.

Updating everything and switching to pnpm

* Delete package-lock.json

* pnpm install

* pnpm upgrade

* pnpm update

Installing Typescript

* Rename 1 `jsx` file to `.tsx`, eg `layout.jsx` -> `layout.tsx`

* `pnpm dev`

* Add baseurl and paths from `jsconfig.json` to `tsconfig.json`
        "baseUrl": "src/",
        "paths": {
            "@/*": ["./*"]
     …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mandatoryGithubUser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant