Commit Graph

3 Commits

Author SHA1 Message Date
Lachlan Collins
f0442d55e8 feat: Submitted data restructure (#533)
* Merge tools into components and resources

* Rename components to packages

* Format

* Redirect with code 302

* Fix text on submitting page

* Validate misc.json, format

* Permanent redirects

* Implement feedback for resources

* Fix lint

* Improve updateNpm.js types

* Fix repo links
2023-12-21 08:58:42 +11:00
Lachlan Collins
c597e70e11 chore: Edit automated PR config (#519)
* Edit PR title/body, add $lib/data folder

* Remove unused scripts/updateStars.js

* Load json with import assertion
2023-12-18 10:59:20 +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