Commit Graph

21 Commits

Author SHA1 Message Date
Lachlan Collins
a8dda6e8d2 ci: Only run cron workflow on source repo (#588) 2024-02-17 17:45:08 +11:00
Lachlan Collins
a04383d464 chore: Use prettier v4 (#557) 2023-12-27 08:07:30 +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
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
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
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
Lachlan Collins
35411e9a32 chore: Improve PR linting instructions (#513)
* chore: Update readme

* Add pull_request_template.md

* Add reminder to lint before submitting
2023-12-17 12:53:56 +01:00
Lachlan Collins
7c518a9c2e fix: Add sveltekit sync to CI (#511) 2023-12-16 10:09:37 +11:00
Lachlan Collins
5eb46f4c76 chore: set CI to use Node v20 (#504) 2023-12-14 09:19:15 -08:00
MacFJA
9587f5ed53 Allow stars script to be run manually (#453) 2023-09-10 13:09:58 +02:00
MacFJA
b429f2e178 Fix stars update script (update action v4 -> v5 + use default author) (#452) 2023-09-10 12:44:21 +02:00
MacFJA
a279cf36d8 Fix stars update script to use PNPM + increase frequency (#451) 2023-09-09 22:04:09 +02:00
MacFJA
60bb47f0c4 Add repository node to json (#438) 2023-08-16 13:40:02 -07:00
MacFJA
b197b8d648 Update script to paginate request + init stars (#436) 2023-08-13 09:23:45 -07:00
MacFJA
2b308d44b1 Github Action to update stars (#217) 2023-08-09 21:39:12 -07:00
MacFJA
47f6eda554 Switch project to not having a staging branch (#424) 2023-07-09 06:42:12 -07:00
Lachlan Collins
9944ae9113 Update dependencies and workspace setup 2023-07-05 02:47:08 +10:00
MacFJA
2ec7b00328 Fix node version of the CI 2022-08-30 00:12:02 +02:00
MacFJA
da628a8495 Add CI config to run Lint 2021-09-11 12:35:36 +02:00