Update a Raycast extension to the latest version
This skill acts as your tool for updating Raycast extensions to modern versions.
assets folder.assets folder contains the following files:eslint.config.jstsconfig.jsontsconfig.json file in the project and compare it to the tsconfig.json file in the assets folder. Update if necessary. Make sure it is properly formatted..eslintrc file. If so, delete this and replace it with the eslint.config.js file in the assets folder.npm installpackage.json file:j3lte to the contributors array in the package.json file if it is not already present.platforms, this should be an array that contains macOS and Windows, depending on whether the extension can be used on either or both platforms. If it appears to only use the internet, you can add both. BE AWARE: macOS and Windows are case sensitive, use the exact spelling as provided here.@raycast/api to the latest version.@raycast/utils to the latest version if it is a dependency.axios, cross-fetch, node-fetch, undici.@raycast/eslint-config to the latest version.@types/node to 22.13.10 if needed.@types/react to 19.0.10 if needed.eslint, prettier and typescript to the latest version.^) operator (and not latest)npm view {dependency} version command to find the latest version.CHANGELOG.md file with a new entry. Add the following at the top of the file (below the header):## [Updates] - {PR_MERGE_DATE}
- xxx
xxx, the user will write this afterwards himself.tsconfig.json file, update the imports to use the aliases.src/utils/index.ts and should be imported using the @/utils alias.src/types/index.ts and should be imported using the @/types alias.src/hooks/*.ts and should be imported using the @/hooks/* alias.src/components/*.ts and should be imported using the @/components/* alias.node:fs)@raycast/api)markdown-it)@/types)@/utils/)@/hooks/*)@/components/*)