Commit Graph

32 Commits

Author SHA1 Message Date
Lachlan Collins
199d2f5666 Improve mobile responsiveness, more tailwind classes (#570)
* More tailwind classes

* Add prettier-plugin-tailwindcss

* More class replacement

* Update Card.svelte

* Remove tags from card

* Update header link

* Run format
2024-01-02 08:59:47 +11:00
Lachlan Collins
4ffc0b7f92 feat: Add tailwind for utility classes (#562)
* feat: Add tailwind for styling

* Use ESM for postcss

* Remove overlapping classes

* More layout fixes

* Pin footer to bottom

* Replace .old-container

* Fix prettier
2023-12-31 00:09:01 +11:00
Lachlan Collins
7c382c8a8f Fix typescript errors and update packages (#561)
* Add @ts-expect errro

* Fix store type

* Add strictNullChecks

* Remove confusing $layout alias

* Update packages

* Use save-exact

* Update vitest
2023-12-30 21:52:04 +11:00
Lachlan Collins
11d5ed5f1c feat: Merge categories/tags and improve filtering (#541)
* Experiment with SSR and query params

* Require all tags to be present

* Fix when no query param present

* Add tag links

* Working add/remove tags

* Fix templates route

* Remove old category/tags selectors

* Button style

* More styling

* Remove unused code

* Remove @sindresorhus/slugify

* Format and disable prerender

* Improve css grid

* Use searchParams.getAll

* Replace itemsjs with filter/sort functions

* Always show selected tags

* Add data-sveltekit-noscroll

* Move sortableFields to prop level

* Simplify code

* Fix sortArray for dates

* Add an icon to clear filters

* Convert tags to kebab-case

* Add category to tags

* Delete category field

* Remove duplicated tags

* Merge more tags
2023-12-30 19:34:04 +11:00
Lachlan Collins
a04383d464 chore: Use prettier v4 (#557) 2023-12-27 08:07:30 +11:00
Kevin Åberg Kultalahti
22dceeea88 use adapter-auto 2023-12-24 00:16:57 +01:00
Lachlan Collins
622667952a fix: Use @sveltejs/adapter-vercel (#546)
* fix: Use @sveltejs/adapter-vercel

* Update gitignore
2023-12-24 08:05:47 +11:00
Lachlan Collins
ea37aa2395 feat: Separate github and gitlab scripts (#526)
* feat: Add updateGitlab.js

* feat: Add updateGithub.js

* Remove stars action

* Remove @actions/core

* Add injectors

* Fix matching repo URLs

* Format

* Simplify injectData

* Add shared chunk.js file
2023-12-18 17:44:20 +11:00
Lachlan Collins
2054e0b26f feat: Use netlify adapter with edge functions (#517)
* Test netlify edge functions

* Update gitignore
2023-12-18 15:07:12 +11:00
Lachlan Collins
156f65436c feat: Add script to check if packages pass publint (#523)
* Add zod schemas for CI validation

* Require npm field for components.json

* Remove svelte-layout-resizable

* Stricter Zod validation

* Stricter repository field validation

* Implement requested changes

* Add back accidentally removed field

* Move SvelteStore to templates.json

* Update category and tags

* Add script to get npm data

* Add script to get publint data

* Re-run updateNpm.js

* Re-run updatePublint.js

* Implement initial feedback

* Use npm.json data

* Update npm.js

* Switch async/await to then/catch

Co-authored-by: MacFJA <MacFJA@users.noreply.github.com>

* Fix prettier

* Run script

* Re-run updateNpm

* Also read tools.json

* Add @types/node

* Restructure npm.json output

* Fix updatePublint.js

* Display last update on components page

* Add to weekly workflow

* Clarify updating npm data

* Update src/lib/utils/injectNpmData.ts

Co-authored-by: MacFJA <MacFJA@users.noreply.github.com>

* Smaller date font, add version

* Improve error text

* Fix property title

* Move json to lib/data directory

* Fix npm.json path

* Also check tools.json

* Add to automated PR

* Add injectPublintData function

* Update publint

---------

Co-authored-by: MacFJA <MacFJA@users.noreply.github.com>
2023-12-18 13:26:25 +11:00
Lachlan Collins
7daa4d9953 chore: Update dependencies and remove unused dependencies (#524)
* chore: Clean-up dependencies

* Bump eslint
2023-12-18 12:26:53 +11:00
Lachlan Collins
e66d169303 chore: Remove husky and lint-staged (#522)
* Rely on github action to lint rather than git hook

* Run format

* Add .cjs formatting

* Simplify prettier command

* Format

* Update prettier script

* Add to automated PR

* Revert "Add to automated PR"

This reverts commit 663319ab1eae8971446dafdb3426bf0a55f3bb23.
2023-12-18 12:19:50 +11:00
Lachlan Collins
578d1ed63c chore: Clean-up repo config (#520)
* Delete .gitpod.yml

* Fix relative import

* Format cjs and svx files

* Typecheck .eslintrc.cjs
2023-12-18 11:13:53 +11:00
Lachlan Collins
77451078d7 feat: Add script to get npm package data (#499)
* Add zod schemas for CI validation

* Require npm field for components.json

* Remove svelte-layout-resizable

* Stricter Zod validation

* Stricter repository field validation

* Implement requested changes

* Add back accidentally removed field

* Move SvelteStore to templates.json

* Update category and tags

* Add script to get npm data

* Re-run updateNpm.js

* Implement initial feedback

* Update npm.js

* Switch async/await to then/catch

Co-authored-by: MacFJA <MacFJA@users.noreply.github.com>

* Fix prettier

* Run script

* Re-run updateNpm

* Also read tools.json

* Add @types/node

* Restructure npm.json output

* Display last update on components page

* Add to weekly workflow

* Clarify updating npm data

* Update src/lib/utils/injectNpmData.ts

Co-authored-by: MacFJA <MacFJA@users.noreply.github.com>

* Smaller date font, add version

* Improve error text

* Fix property title

---------

Co-authored-by: MacFJA <MacFJA@users.noreply.github.com>
2023-12-18 10:37:40 +11:00
Lachlan Collins
3ee0d8f570 feat: Use @sindresorhus/slugify to generate category IDs (#514) 2023-12-18 08:38:43 +11:00
Lachlan Collins
6289dbe82d fix: Add missing @types/node (#516) 2023-12-17 19:03:11 +11:00
Lachlan Collins
94273b78e7 feat: SvelteKit v2 and Vite v5 (#510)
* feat: SvelteKit v2 and Vite v5

* Remove duplicated tsconfig include
2023-12-16 10:14:53 +11:00
Lachlan Collins
ee053d9361 chore: Update minor dependencies (#509)
* chore: Update minor dependencies

* Update zod

* Bump several missed packages
2023-12-16 09:47:23 +11:00
Lachlan Collins
642fc97dc0 Update to typescript eslint v6 (#500)
* Update to typescript eslint v6

* Extend auto-generated tsconfig

* Add prettier.config.js to typescript include
2023-12-03 23:16:19 +01:00
Lachlan Collins
383e983bfd Update package-name-regex (#505) 2023-12-03 23:14:00 +01:00
Lachlan Collins
e4ebafa218 Update to prettier v3 (#503) 2023-11-26 20:22:43 +01:00
Lachlan Collins
f3c9859c18 Stricter npm field validation (#484)
* Add zod schemas for CI validation

* Require npm field for components.json

* Remove svelte-layout-resizable

* Stricter Zod validation

* Stricter repository field validation

* Implement requested changes

* Add back accidentally removed field

* Move SvelteStore to templates.json

* Update category and tags
2023-11-19 13:37:43 +01:00
Lachlan Collins
71d1b2e4d6 feat: Add zod schemas for CI validation (#479)
* Add zod schemas for CI validation

* Stricter Zod validation
2023-11-12 12:57:01 +01:00
MacFJA
2b308d44b1 Github Action to update stars (#217) 2023-08-09 21:39:12 -07:00
Lachlan Collins
4e6e90eea5 Implement review feedback 2023-07-09 05:16:02 +02:00
Lachlan Collins
cf4c7ff64d Tweak type checking, vitest 2023-07-05 03:02:17 +10:00
Lachlan Collins
9944ae9113 Update dependencies and workspace setup 2023-07-05 02:47:08 +10:00
Keviin Åberg Kultalahti
544d76e29d adds static adapter, removes some links to non-existing files 2021-06-24 17:24:42 +02:00
HAUDRAUFHAUN
b3a4f561b1 ⬆️ update dependencies 2021-05-19 22:03:54 +02:00
HAUDRAUFHAUN
3c5a751fe1 🔧 add mdsvex, update config and packages
I added mdsvex, and updated some package versions. I also updated the config file and renamed it from svelte.config.cjs to svelte.config.js
2021-05-18 10:33:24 +02:00
Keviin Åberg Kultalahti
9cea5cb398 adds working cheatsheet page 2021-05-03 14:42:27 +00:00
Keviin Åberg Kultalahti
4ef584e8b4 initial commit 2021-05-03 11:56:52 +00:00