Skip to content

Commit

Permalink
Merge pull request #254 from Muhammed-Rahif/svelte-5-migration
Browse files Browse the repository at this point in the history
Migrate to svelte 5
  • Loading branch information
Muhammed-Rahif authored Dec 1, 2024
2 parents ed6f9a7 + 5cc5847 commit 643cbe8
Show file tree
Hide file tree
Showing 125 changed files with 1,733 additions and 1,551 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Check linting and errors
run: |
npm run lint
npm run check
- name: Deploy with gh-pages
run: |
git config --local user.name "github-actions[bot]"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:
- name: Run Prettier
run: |
npm run format
- name: Check linting and errors
run: |
npm run lint
npm run check
- name: Commit changes
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Check linting and errors
run: |
npm run lint
npm run check
- name: Update version declarations
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
9 changes: 6 additions & 3 deletions components.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://shadcn-svelte.com/schema.json",
"$schema": "https://next.shadcn-svelte.com/schema.json",
"style": "new-york",
"tailwind": {
"config": "tailwind.config.ts",
Expand All @@ -8,7 +8,10 @@
},
"aliases": {
"components": "@/components",
"utils": "@/utils"
"utils": "@/utils",
"ui": "@/components/ui",
"hooks": "@/hooks"
},
"typescript": true
"typescript": true,
"registry": "https://next.shadcn-svelte.com/registry"
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"check": "svelte-check --tsconfig ./tsconfig.json",
"predeploy": "npm run build",
"deploy": "gh-pages -d www -m 'chore(gh-pages): updates' -f --nojekyll",
"lint": "prettier --check . && eslint . && npx tsc --noEmit",
"lint": "prettier --check . && eslint . && npx tsc --noEmit --project tsconfig.check.json",
"format": "prettier --write .",
"tauri": "tauri"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tauri-apps/cli": "^2.0.3",
"@tsconfig/svelte": "^5.0.4",
"@types/eslint": "^9.6.1",
Expand All @@ -30,21 +30,25 @@
"@types/wicg-file-system-access": "^2023.10.5",
"@vite-pwa/assets-generator": "^0.2.6",
"autoprefixer": "^10.4.20",
"bits-ui": "^0.21.16",
"bits-ui": "1.0.0-next.64",
"clsx": "^2.1.1",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.44.1",
"eslint-plugin-svelte": "^2.45.1",
"gh-pages": "^6.2.0",
"globals": "^15.11.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"prettier-plugin-tailwindcss": "^0.6.8",
"replace-in-file": "^8.2.0",
"semantic-release": "^24.1.2",
"svelte": "^4.2.19",
"svelte": "^5.0.0",
"svelte-check": "^4.0.5",
"svelte-radix": "^1.1.1",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7",
"tslib": "^2.7.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
Expand All @@ -61,10 +65,9 @@
"@tauri-apps/api": "^2.0.2",
"@tauri-apps/plugin-dialog": "^2.0.0",
"@tauri-apps/plugin-fs": "^2.0.0",
"@tauri-apps/plugin-process": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.0.1",
"caret-pos": "^2.0.0",
"clsx": "^2.1.1",
"cmdk-sv": "^0.0.18",
"localforage": "^1.10.0",
"lodash.debounce": "^4.0.8",
"lodash.merge": "^4.6.2",
Expand All @@ -74,10 +77,7 @@
"quill": "^2.0.2",
"screenfull": "^6.0.2",
"short-uuid": "^5.2.0",
"svelte-input-auto-width": "^2.1.0",
"svelte-sonner": "^0.3.28",
"tailwind-merge": "^2.5.4",
"tailwind-scrollbar": "^3.1.0",
"tailwind-variants": "^0.2.1"
"tailwind-scrollbar": "^3.1.0"
}
}
Loading

0 comments on commit 643cbe8

Please sign in to comment.