Hoppa till innehåll

@soleil-se/run

En samling av hjälpskript för att skapa appar, konfiguration och migrera.

Terminal window
npx @soleil-se/run

Skapa app

Alias till npm init @soleil-se/app.

Terminal window
npx @soleil-se/run create-app

Skapa byggkonfiguration

Alias till npm init @soleil-se/build-config.

Terminal window
npx @soleil-se/run create-build-config

Migrera NPM

Migrerar paket och kodreferenser till @soleil-se-scopet.

Terminal window
npx @soleil-se/run migrate-npm

Migrera Svelte 5

Uppdaterar paket, importer till paket och initiering av konfiguration till Svelte 5. För att migrera komponenter till Svelte 5, använd det officiella migrationsverktyget genom att köra npx sv migrate svelte-5 eller migrera per komponent med Ctrl + Shift + P och “Svelte: Migrate Component to Svelte 5 Syntax” i VS Code.

Terminal window
npx @soleil-se/run migrate-svelte-5

Sätt upp en skapa ESLint och Prettier konfiguration

Alias till npx @soleil-se/eslint-config@latest --setup.

Terminal window
npx @soleil-se/run eslint

Sätt upp en skapa Stylelint konfiguration

Alias till npx @soleil-se/stylelint-config@latest --setup.

Terminal window
npx @soleil-se/run stylelint