From 42458d559cb3c54109fc9ccf25bf9d3de606d1eb Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Wed, 15 Nov 2023 08:45:01 +1100 Subject: [PATCH 1/6] Fix properties on Recipe type (#489) --- src/lib/stores/recipes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/stores/recipes.ts b/src/lib/stores/recipes.ts index 18b1f00a6..62423c50e 100644 --- a/src/lib/stores/recipes.ts +++ b/src/lib/stores/recipes.ts @@ -2,7 +2,9 @@ import type { Writable } from 'svelte/store'; import { writable } from 'svelte/store'; type Recipe = { - meta: unknown; + title: string; + layout: string; + icon?: string; filename: string; path: string; children: Recipe[]; From d6ce815c8a03175296782250c5221043f868bf86 Mon Sep 17 00:00:00 2001 From: jill64 <143883742+jill64@users.noreply.github.com> Date: Sun, 19 Nov 2023 21:13:50 +0900 Subject: [PATCH 2/6] Update components.json: add svelte-inline-modal (#496) * Update components.json * chore: format --------- Co-authored-by: wraith-ci[bot] --- src/routes/components/components.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/routes/components/components.json b/src/routes/components/components.json index f02bb33b0..4a47ed37f 100644 --- a/src/routes/components/components.json +++ b/src/routes/components/components.json @@ -2469,5 +2469,13 @@ "npm": "sveltekit-superforms", "category": "Forms & User Input", "tags": ["components and libraries", "forms", "typescript", "ssr"] + }, + { + "title": "svelte-inline-modal", + "repository": "https://github.com/jill64/svelte-inline-modal", + "description": "Simple Modal on the Fly", + "npm": "svelte-inline-modal", + "category": "User Interaction", + "tags": ["interactions", "layout and structure"] } ] From eea6508809834e41e73d2a548f9333536286835f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Nov 2023 13:36:01 +0100 Subject: [PATCH 3/6] (AUTO) Update stars (#497) Co-authored-by: MacFJA --- src/lib/stars.json | 258 ++++++++++++++++++++++----------------------- 1 file changed, 129 insertions(+), 129 deletions(-) diff --git a/src/lib/stars.json b/src/lib/stars.json index 08e48975b..5ad08e71b 100755 --- a/src/lib/stars.json +++ b/src/lib/stars.json @@ -3,8 +3,8 @@ "6edesign/svelte-calendar": 525, "aantusahaa/svelte-remixicon": 35, "abaga129/sveltekit-adapter-iis": 2, - "abosch19/svelte-fast-marquee": 27, - "agnosticui/agnosticui": 674, + "abosch19/svelte-fast-marquee": 28, + "agnosticui/agnosticui": 675, "agusid/boilerplate-svelte": 60, "agustinl/svelte-tags-input": 277, "alessiogr/sveltekit-windicss-flowbite-template": 3, @@ -14,15 +14,15 @@ "alexxnb/svelte-chota": 290, "alexxnb/svelte-eventbus": 38, "alexxnb/svelte-preprocess-markdown": 134, - "alexxnb/tinro": 668, + "alexxnb/tinro": 669, "alphapeter/fa-svelte": 72, "andrelmlins/svelte-fullscreen": 61, "andrelmlins/svelte-grid-responsive": 51, "andrelmlins/svelte-infinite-scroll": 258, "anotherempty/svelte-brick-gallery": 36, "antony/svelte-box": 61, - "antony/sveltekit-adapter-browser-extension": 154, - "any-tdf/stdf": 471, + "antony/sveltekit-adapter-browser-extension": 155, + "any-tdf/stdf": 480, "appwrite/sdk-for-svelte": 74, "architect/sveltekit-adapter": 9, "arlac77/svelte-websocket-store": 276, @@ -32,18 +32,18 @@ "bartektelec/svelte-svg-transform": 21, "baseballyama/svelte-preprocess-delegate-events": 38, "beartocode/mismerge": 19, - "beerui/beerui": 66, + "beerui/beerui": 67, "benjazehr/svelte-example-museums": 29, "bernhardwebstudio/svelte-virtual-table": 18, - "bestguy/sveltestrap": 1282, - "beyonk-group/gdpr-cookie-consent-banner": 221, - "beyonk-group/svelte-carousel": 211, + "bestguy/sveltestrap": 1285, + "beyonk-group/gdpr-cookie-consent-banner": 223, + "beyonk-group/svelte-carousel": 212, "beyonk-group/svelte-facebook-customer-chat": 6, "beyonk-group/svelte-facebook-pixel": 14, - "beyonk-group/svelte-google-analytics": 74, + "beyonk-group/svelte-google-analytics": 75, "beyonk-group/svelte-googlemaps": 70, - "beyonk-group/svelte-mapbox": 318, - "beyonk-group/svelte-notifications": 309, + "beyonk-group/svelte-mapbox": 319, + "beyonk-group/svelte-notifications": 310, "beyonk-group/svelte-scrollspy": 37, "beyonk-group/svelte-simple-icons": 13, "beyonk-group/svelte-trustpilot": 4, @@ -53,35 +53,35 @@ "bohnacker/svelte-number-spinner": 24, "born05/sveltekit-proxy": 2, "brandonxiang/svelte-webpack-mpa": 22, - "brunomolteni/svelte-sortable-list": 120, + "brunomolteni/svelte-sortable-list": 121, "bsssshhhhhhh/svelte-data-grid": 199, "budgetdraw/sveltekit-cloudflare-adapter": 7, "buhrmi/query-store": 44, "c0bra/svelma": 530, - "captaincodeman/svelte-headlessui": 427, + "captaincodeman/svelte-headlessui": 429, "carbon-design-system/carbon-components-svelte": 2496, "carlosv2/adapter-node-ws": 16, "casual-ui/casual-ui": 50, "cerebral/overmind": 1558, - "chainlist/svelte-forms": 401, + "chainlist/svelte-forms": 402, "chanced/filedrop-svelte": 105, "chanced/focus-svelte": 27, "charlyjazz/svelte-credit-card": 49, "chuanqisun/svelte-electron-template": 12, "cibernox/svelte-intl-precompile": 265, - "ciscoheat/sveltekit-superforms": 1411, + "ciscoheat/sveltekit-superforms": 1423, "coc-extensions/coc-svelte": 174, - "codediodeio/sveltefire": 1466, + "codediodeio/sveltefire": 1471, "colinbate/svelte-ts-tailwind-template": 69, "collardeau/svelte-headroom": 76, - "consoletvs/sswr": 200, + "consoletvs/sswr": 202, "corneliusio/svelte-sublime": 57, - "cweili/svelte-fa": 353, + "cweili/svelte-fa": 354, "dafn/svelte-typescript-parcel": 51, "dafn/svelte-typescript-rollup": 78, "dasdaniel/svelte-table": 460, "davipon/svelte-hover-draw-svg": 24, - "daybrush/moveable": 8589, + "daybrush/moveable": 8829, "daybrush/ruler": 274, "demoorjasper/parcel-plugin-svelte": 235, "devghost/svelte": 7, @@ -89,14 +89,14 @@ "dmitrykurmanov/waxwing-rating": 6, "dmvvilela/svelte-scrollactive": 4, "dopry/svelte-auth0": 72, - "dyalicode/svelte-formly": 241, + "dyalicode/svelte-formly": 242, "dylanblokhuis/svelte-feather-icons": 128, "easylogic/svelte-summernote": 11, "efeskucuk/svelte-color-picker": 100, "ekhaled/svelte-dev-helper": 6, "elsonigo/svelte-ie11": 3, - "emh333/esbuild-svelte": 218, - "emiltholin/svelte-routing": 1901, + "emh333/esbuild-svelte": 219, + "emiltholin/svelte-routing": 1910, "emrekara37/svelte-rate-it": 39, "endenwer/svelte-restate": 21, "equipmentshare/date-range-input": 15, @@ -108,60 +108,60 @@ "flekschas/svelte-simple-modal": 413, "fmaclen/svelte-currency-input": 21, "fusioncharts/svelte-fusioncharts": 126, - "fxbois/web-mode": 1599, - "gcbenlloch/svelte-cleavejs": 6, + "fxbois/web-mode": 1601, + "gcbenlloch/svelte-cleavejs": 7, "geakstr/svelte-3-rollup-typescript-vscode": 38, "geoffcox/sterling-svelte": 2, - "geoffrich/svelte-adapter-azure-swa": 104, + "geoffrich/svelte-adapter-azure-swa": 105, "gitbreaker222/svelte-virtual-list": 19, "gitbreaker222/sveltestore": 1, - "gornostay25/svelte-adapter-bun": 415, + "gornostay25/svelte-adapter-bun": 418, "gyurielf/svelte-tel-input": 62, "halfdanj/svelte-adapter-appengine": 56, - "halfdanj/svelte-google-auth": 41, - "halfnelson/svelte-native": 1602, + "halfdanj/svelte-google-auth": 42, + "halfnelson/svelte-native": 1605, "hedgehog125/sveltekit-adapter-versioned-worker": 5, "hellbutcher/parcel-transformer-svelte3-plus": 4, "himynameisdave/svelte-copyright": 14, "himynameisdave/svelte-flex": 72, "himynameisdave/svelte-frappe-charts": 298, - "hperrin/svelte-material-ui": 3185, - "huntabyte/shadcn-svelte": 1999, + "hperrin/svelte-material-ui": 3190, + "huntabyte/shadcn-svelte": 2043, "idleberg/sveltekit-adapter-html-like": 16, - "idris-maps/svelte-parts": 48, - "ikun-svelte/ikun-ui": 1052, - "illright/attractions": 953, - "importantimport/urara": 495, - "introvertuous/svelte-icons": 276, - "italypaleale/svelte-spa-router": 1412, - "itswadesh/svelte-commerce": 1279, + "idris-maps/svelte-parts": 47, + "ikun-svelte/ikun-ui": 1062, + "illright/attractions": 955, + "importantimport/urara": 498, + "introvertuous/svelte-icons": 277, + "italypaleale/svelte-spa-router": 1414, + "itswadesh/svelte-commerce": 1288, "ivanhofer/sthemer": 27, - "ivanhofer/typesafe-i18n": 1916, - "ivanhofer/typesafe-i18n-demo-sveltekit": 108, + "ivanhofer/typesafe-i18n": 1923, + "ivanhofer/typesafe-i18n-demo-sveltekit": 109, "jacobmischka/svelte-flatpickr": 151, "jacwright/svelte-navaid": 17, "jamen/svelte-router": 7, - "janosh/svelte-bricks": 71, - "janosh/svelte-multiselect": 223, + "janosh/svelte-bricks": 72, + "janosh/svelte-multiselect": 224, "janosh/svelte-toc": 88, - "jasongitmail/super-sitemap": 38, + "jasongitmail/super-sitemap": 40, "jerriclynsjohn/svelte-storybook-tailwind": 306, "jiangfengming/svelte-preprocess-css-hash": 8, "jiangfengming/svelte-preprocess-html-asset": 3, "jikkai/svelte-router": 62, - "jill64/sveltekit-adapter-aws": 3, + "jill64/sveltekit-adapter-aws": 4, "jimutt/svelte-pick-a-place": 53, "joaquimnetocel/svelte-datatables-net": 20, "john--kane/svelteml": 72, "johnwalley/compare-image-slider": 16, "jorgegorka/svelte-firebase": 228, "jorgegorka/svelte-router": 495, - "jthegedus/svelte-adapter-firebase": 273, + "jthegedus/svelte-adapter-firebase": 276, "justinekizhak/svelte-tailwind-template": 2, - "jycouet/kitql": 318, + "jycouet/kitql": 319, "k-sato1995/sveltekit-blog-template": 26, - "kaisermann/svelte-css-vars": 234, - "kaisermann/svelte-i18n": 1087, + "kaisermann/svelte-css-vars": 233, + "kaisermann/svelte-i18n": 1095, "kaisermann/svelte-loadable": 319, "kaladivo/svelte-kit-koa-boilerplate": 3, "kazzkiq/svero": 203, @@ -170,59 +170,59 @@ "kenoxa/svelte-fragment-component": 4, "kenoxa/svelte-htm": 21, "kenoxa/svelte-jsx": 33, - "kevmodrome/svelte-favicon-badge": 100, + "kevmodrome/svelte-favicon-badge": 101, "kevmodrome/svelte-preprocessor-fetch": 50, "kindoflew/svelte-parallax": 133, - "kokizzu/svelte-mpa": 71, + "kokizzu/svelte-mpa": 72, "kolodziejczak-sz/svelte-redux-connect": 17, "korywka/svelte-slider": 12, "ktsn/svelte-jest": 37, - "kwchang0831/svelte-qwer": 377, - "l-portet/svelte-switch-case": 130, - "laosb/sveltenova": 20, + "kwchang0831/svelte-qwer": 380, + "l-portet/svelte-switch-case": 133, + "laosb/sveltenova": 19, "leafoftree/vim-svelte-plugin": 124, "liyuanqiu/echarts-for-svelte": 25, "lottiefiles/svelte-lottie-player": 116, "lpshanley/svelte-phonegap": 9, "ls-age/svelte-preprocess-less": 13, "ls-age/svelte-preprocess-sass": 92, - "lukeed/pwa": 3118, + "lukeed/pwa": 3120, "lunatk/svelte-web-component-builder": 4, "macfja/svelte-adapter-multi": 16, "macfja/svelte-adapter-neutralino": 14, "macfja/svelte-expirable": 3, "macfja/svelte-invalidable": 5, "macfja/svelte-oauth2": 36, - "macfja/svelte-persistent-store": 221, + "macfja/svelte-persistent-store": 220, "macfja/svelte-scroll-video": 1, "macfja/svelte-undoable": 44, - "maciekgrzybek/svelte-inview": 623, + "maciekgrzybek/svelte-inview": 625, "mailcheck-co/mailcheck.site": 10, "malynium/svelte-adapter-github": 41, "marcograhl/tailwindcss-svelte-starter": 115, "markoboy/svelte-webpack-babel-scss": 7, - "mattjennings/svelte-modals": 134, - "matyunya/smelte": 1506, + "mattjennings/svelte-modals": 137, + "matyunya/smelte": 1505, "matyunya/svelte-image": 717, "matyunya/svelte-waypoint": 82, "mdauner/sveltejs-forms": 197, - "mefechoel/svelte-navigator": 484, - "melt-ui/melt-ui": 1899, + "mefechoel/svelte-navigator": 483, + "melt-ui/melt-ui": 1938, "meteor-svelte/meteor-svelte": 113, "metonym/svelte-pincode": 19, - "mhkeller/layercake": 993, - "microsoft/fast": 8679, + "mhkeller/layercake": 999, + "microsoft/fast": 8695, "milahu/svelte-layout-resizable": 28, "milahu/svelte-preval": 9, - "mskocik/svelecte": 365, - "mskocik/svelty-picker": 152, + "mskocik/svelecte": 366, + "mskocik/svelty-picker": 154, "muhajirdev/svelte-tailwind-template": 89, "mvasigh/sveltekit-mdsvex-blog": 143, - "n00nday/stwui": 346, + "n00nday/stwui": 347, "n0th1ng-else/svelte-typescript-sass": 11, - "naver/egjs-infinitegrid": 1745, - "navneetsharmaui/sveltekit-blog": 170, - "navneetsharmaui/sveltekit-starter": 564, + "naver/egjs-infinitegrid": 1751, + "navneetsharmaui/sveltekit-blog": 171, + "navneetsharmaui/sveltekit-starter": 565, "nazimhali/svelte-template": 4, "nbgoodall/leblog": 1, "neighbourhoodie/svelte-pouchdb-couchdb": 60, @@ -231,17 +231,17 @@ "nomangul/svelte-page-progress": 17, "noney1412/svelte-exstore": 0, "novacbn/kahi-ui": 189, - "nstuyvesant/sveltekit-auth-example": 252, + "nstuyvesant/sveltekit-auth-example": 259, "ntsd/svelte-tex": 6, "ntsd/sveltekit-html-minifier": 3, - "nubolab-ffwd/svelte-fluent": 69, - "nye/svelte-electron-better-sqlite3-starter": 19, - "okrad/svelte-progressbar": 124, + "nubolab-ffwd/svelte-fluent": 70, + "nye/svelte-electron-better-sqlite3-starter": 20, + "okrad/svelte-progressbar": 125, "oli8/spaper": 190, - "openfrenchfries/supasveltekit": 16, + "openfrenchfries/supasveltekit": 17, "ordinaryjellyfish/svelte-routing-template": 15, - "oskar-gmerek/surreal-sveltekit": 1, - "pablo-abc/felte": 913, + "oskar-gmerek/surreal-sveltekit": 2, + "pablo-abc/felte": 917, "pankod/svelte-boilerplate": 288, "panya/svelte-intl": 49, "paolotiu/svelte-boring-avatars": 47, @@ -253,7 +253,7 @@ "paulmaly/svelte-image-compare": 20, "paulmaly/svelte-imask": 65, "paulmaly/svelte-page-router": 21, - "paulmaly/svelte-ticker": 17, + "paulmaly/svelte-ticker": 18, "pavish/select-madu": 50, "pbastowski/svelte-poi-starter": 10, "pearofducks/svelte-match-media": 39, @@ -262,34 +262,34 @@ "pixievoltno1/svelte-writable-derived": 83, "plrenaudin/svelte-storez": 26, "pluvial/svelte-adapter-deno": 294, - "pngwn/mdsvex": 2023, + "pngwn/mdsvex": 2029, "pngwn/svelte-adapter": 287, "pngwn/svelte-test": 25, - "posandu/svelte-ripple-action": 36, + "posandu/svelte-ripple-action": 38, "pragmatic-engineering/svelte-form-builder-community": 45, "prgm-dev/sveltekit-progress-bar": 8, - "probablykasper/date-picker-svelte": 242, + "probablykasper/date-picker-svelte": 245, "probablykasper/svelte-droplet": 21, "proverbial-ninja/vscode-svelte-component-extractor": 28, - "pstanoev/simple-svelte-autocomplete": 423, + "pstanoev/simple-svelte-autocomplete": 426, "ptkdev/sveltekit-cordova-adapter": 38, - "ptkdev/sveltekit-electron-adapter": 56, + "ptkdev/sveltekit-electron-adapter": 57, "pyoner/svelte-typescript": 210, "qutran/svelte-inspector": 83, "qutran/swheel": 43, - "radix-svelte/radix-svelte": 471, + "radix-svelte/radix-svelte": 470, "reecelucas/svelte-accessible-dialog": 26, "rezi/svelte-gestures": 93, - "rgossiaux/svelte-headlessui": 1671, + "rgossiaux/svelte-headlessui": 1677, "ricalamino/svelte-firebase-auth": 52, - "rich-harris/pancake": 1231, + "rich-harris/pancake": 1232, "rich-harris/svelte-template-electron": 89, "rixo/rollup-plugin-svelte-hot": 48, "rixo/svelte-template-hot": 60, - "rob-balfre/svelte-select": 1142, - "robbrazier/svelte-awesome": 472, + "rob-balfre/svelte-select": 1145, + "robbrazier/svelte-awesome": 473, "rossyman/svelte-add-jest": 31, - "roxiness/routify": 1778, + "roxiness/routify": 1780, "rspieker/jest-transform-svelte": 35, "ryan-way-boilerplate/stew": 1, "ryburn52/svelte-typescript-sass-template": 16, @@ -300,19 +300,19 @@ "sawyerclick/svelte-lazy-loader": 17, "sbhattarj/full-client-server-sveltekit": 4, "sciactive/multicarousel": 36, - "scottbedard/svelte-heatmap": 135, + "scottbedard/svelte-heatmap": 136, "shaozi/svelte-steps": 96, "sharifclick/svelte-swipe": 367, "sharu725/yuyutsu": 31, "shavyg2/slick-for-svelte": 24, "shinnn/gulp-svelte": 25, "shyam-chen/svelte-starter": 110, - "sibiraj-s/svelte-tiptap": 140, + "sibiraj-s/svelte-tiptap": 141, "silvestrevivo/svelte-marquee": 8, - "simeydotme/svelte-range-slider-pips": 374, + "simeydotme/svelte-range-slider-pips": 377, "skayo/svelte-infinite-loading": 210, - "skayo/svelte-tiny-virtual-list": 330, - "skeletonlabs/skeleton": 3831, + "skayo/svelte-tiny-virtual-list": 331, + "skeletonlabs/skeleton": 3865, "soapdog/svelte-template-browserify": 6, "spaceavocado/svelte-form": 48, "spaceavocado/svelte-router": 57, @@ -326,8 +326,8 @@ "stephanepericat/svelte-boilerplate": 17, "stevealee/svelte-code-cypress-project": 5, "stordahl/sveltekit-snippets": 37, - "storybookjs/storybook": 80861, - "supabase-community/svelte-supabase": 72, + "storybookjs/storybook": 80939, + "supabase-community/svelte-supabase": 73, "svelte-add/3d": 5, "svelte-add/bulma": 39, "svelte-add/coffeescript": 13, @@ -335,75 +335,75 @@ "svelte-add/graphql-server": 31, "svelte-add/mdsvex": 89, "svelte-add/postcss": 46, - "svelte-add/scss": 60, - "svelte-add/tailwindcss": 683, + "svelte-add/scss": 61, + "svelte-add/tailwindcss": 690, "svelte-add/tauri": 20, "svelte-toolbox/svelte-toolbox": 75, - "sveltejs/component-template": 544, - "sveltejs/eslint-plugin-svelte": 205, + "sveltejs/component-template": 545, + "sveltejs/eslint-plugin-svelte": 211, "sveltejs/gestures": 86, "sveltejs/gl": 608, - "sveltejs/kit": 16510, - "sveltejs/language-tools": 1103, - "sveltejs/prettier-plugin-svelte": 638, - "sveltejs/rollup-plugin-svelte": 479, - "sveltejs/svelte-devtools": 1097, + "sveltejs/kit": 16542, + "sveltejs/language-tools": 1107, + "sveltejs/prettier-plugin-svelte": 643, + "sveltejs/rollup-plugin-svelte": 480, + "sveltejs/svelte-devtools": 1128, "sveltejs/svelte-loader": 586, - "sveltejs/svelte-preprocess": 1651, + "sveltejs/svelte-preprocess": 1654, "sveltejs/svelte-repl": 276, "sveltejs/svelte-scroller": 315, "sveltejs/svelte-subdivide": 129, - "sveltejs/svelte-virtual-list": 628, - "sveltejs/template": 1715, + "sveltejs/svelte-virtual-list": 629, + "sveltejs/template": 1717, "sveltejs/template-custom-element": 20, "sveltejs/template-webpack": 299, - "sveltejs/vite-plugin-svelte": 746, + "sveltejs/vite-plugin-svelte": 748, "svelteness/svelte-jester": 125, "sveltetools/svelte-asyncable": 166, "sveltetools/svelte-pathfinder": 121, "sveltetools/svelte-viewpoint": 36, - "swyxio/swyxkit": 638, + "swyxio/swyxkit": 637, "syonip/svelte-cordova": 40, "tanepiper/svelte-formula": 125, - "tanstack/query": 37016, - "techniq/layerchart": 150, - "techniq/svelte-ux": 228, + "tanstack/query": 37133, + "techniq/layerchart": 156, + "techniq/svelte-ux": 238, "tehshrike/svelte-state-renderer": 35, "tehshrike/sveltify": 35, "tejasag/sveltetron-9000": 39, - "testing-library/svelte-testing-library": 574, + "testing-library/svelte-testing-library": 575, "the-homeless-god/sent-template": 68, - "the-homeless-god/svelte-item-list": 5, - "thecodejack/svelte-file-dropzone": 190, + "the-homeless-god/svelte-item-list": 6, + "thecodejack/svelte-file-dropzone": 191, "thelgevold/rules_svelte": 19, - "themesberg/flowbite-svelte": 1559, + "themesberg/flowbite-svelte": 1579, "theovidal/svelteify": 48, "tienpv222/svelte-hash-router": 43, - "timhall/svelte-apollo": 928, + "timhall/svelte-apollo": 930, "timhall/svelte-observable": 63, "timoyo93/svelte-template": 0, "titans-inc/sveltemantic": 45, "tivac/modular-css": 276, "tjinauyeung/svelte-forms-lib": 588, - "tolgee/tolgee-js": 199, + "tolgee/tolgee-js": 201, "tomatrow/sveltekit-adapter-wordpress-shortcode": 31, "tomblachut/svelte-intellij": 464, - "tommertom/svelte-ionic-app": 633, + "tommertom/svelte-ionic-app": 639, "tonyrewin/svelte3-ts-boilerplate": 6, "torstendittmann/svelte-adapter-static-digitalocean": 11, - "tsparticles/svelte": 22, + "tsparticles/svelte": 24, "twicpics/components": 48, - "urql-graphql/urql": 8236, - "vadimkorr/svelte-carousel": 243, - "vaheqelyan/svelte-grid": 894, + "urql-graphql/urql": 8245, + "vadimkorr/svelte-carousel": 245, + "vaheqelyan/svelte-grid": 895, "vaheqelyan/svelte-popover": 56, - "valentinh/svelte-easy-crop": 165, + "valentinh/svelte-easy-crop": 168, "vhscom/svelte-headlessui-starter": 47, - "vikignt/svelte-mui": 310, - "vime-js/vime": 2665, + "vikignt/svelte-mui": 311, + "vime-js/vime": 2666, "vinayakkulkarni/s-offline": 64, - "vinodnimbalkar/svelte-pdf": 181, - "vkurko/calendar": 604, + "vinodnimbalkar/svelte-pdf": 182, + "vkurko/calendar": 617, "vkurko/svelte-store2": 4, "vuesomedev/todomvc-svelte": 39, "wearegenki/minna-ui": 87, @@ -412,9 +412,9 @@ "xelaok/svelte-mobx": 42, "xnimorz/svelte-input-mask": 101, "yazonnile/svelidation": 51, - "yesvelte/yesvelte": 167, + "yesvelte/yesvelte": 168, "yoglib/svelte-component-template": 345, - "yoglib/svelte-fullcalendar": 194, + "yoglib/svelte-fullcalendar": 195, "zooplus/zoo-web-components": 45 }, "gitlab": { From f3c9859c18ee0b98be72f515deaa0ef45dbafcfe Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 19 Nov 2023 23:37:43 +1100 Subject: [PATCH 4/6] 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 --- package.json | 1 + pnpm-lock.yaml | 8 ++++++++ src/lib/schemas.js | 11 +++-------- src/routes/components/components.json | 25 ++++++------------------- src/routes/templates/templates.json | 7 +++++++ 5 files changed, 25 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 2e285d1eb..517892a9f 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "itemsjs": "^2.1.20", "lint-staged": "^13.2.3", "mdsvex": "^0.11.0", + "package-name-regex": "^3.0.0", "prettier": "^2.8.8", "prettier-plugin-svelte": "^2.10.1", "rehype-slug": "^5.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de793bdc2..b4a225db7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,6 +53,9 @@ devDependencies: mdsvex: specifier: ^0.11.0 version: 0.11.0(svelte@4.0.5) + package-name-regex: + specifier: ^3.0.0 + version: 3.0.0 prettier: specifier: ^2.8.8 version: 2.8.8 @@ -2065,6 +2068,11 @@ packages: aggregate-error: 3.1.0 dev: true + /package-name-regex@3.0.0: + resolution: {integrity: sha512-n4LexlsIvKpV8zfGWDxJIZDqDiZ9kN5JiXgx3K7oy8JbqRdrQvPG8BdJesqvGQMt/bPBG4U0gTf2w+pcNk6VWw==} + engines: {node: '>=14'} + dev: true + /parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} diff --git a/src/lib/schemas.js b/src/lib/schemas.js index 01c0d04b7..b990714ba 100644 --- a/src/lib/schemas.js +++ b/src/lib/schemas.js @@ -1,12 +1,10 @@ import { z } from 'zod'; +import packageNameRegex from 'package-name-regex'; export const componentsSchema = z.array( z.object({ title: z.string(), - npm: z - .string() - .regex(/(@[\w-]+\/)?[\w-]+/) - .optional(), + npm: z.string().regex(packageNameRegex), url: z.string().url().optional(), repository: z.string().url(), description: z.string(), @@ -46,10 +44,7 @@ export const templatesSchema = z.array( export const toolsSchema = z.array( z.object({ title: z.string(), - npm: z - .string() - .regex(/(@[\w-]+\/)?[\w-]+/) - .optional(), + npm: z.string().regex(packageNameRegex).optional(), url: z.string().url().optional(), repository: z.string().url(), description: z.string(), diff --git a/src/routes/components/components.json b/src/routes/components/components.json index 4a47ed37f..241d18045 100644 --- a/src/routes/components/components.json +++ b/src/routes/components/components.json @@ -12,7 +12,7 @@ "url": "https://svelte.dev/repl/d9616fce34c444d4bcac551cb5bdc0ee?version=3.55.1", "repository": "https://github.com/dmvvilela/svelte-scrollactive", "description": "This is a port of vue-scrollactive to Svelte, a lightweight and simple to use component that highlights menu items as you scroll the page, also scrolling to target section when clicked.", - "npm": "https://www.npmjs.com/package/svelte-scrollactive", + "npm": "svelte-scrollactive", "category": "User Interaction", "tags": [ "components and libraries", @@ -213,7 +213,8 @@ }, { "title": "SCR Svelte Client Router", - "repository": "https://arthurgermano.github.io/svelte-client-router/#/svelte-client-router", + "url": "https://arthurgermano.github.io/svelte-client-router/#/svelte-client-router", + "repository": "https://github.com/arthurgermano/svelte-client-router", "npm": "svelte-client-router", "description": "Svelte Client Router is everything you need and think when routing SPA's. This is The Svelte Router for SPA!", "tags": ["routers"], @@ -1002,13 +1003,6 @@ "title": "layercake", "repository": "https://github.com/mhkeller/layercake" }, - { - "category": "CSS and Layout", - "description": "resizable layout component for svelte", - "tags": ["components and libraries", "layout and structure"], - "title": "svelte-layout-resizable", - "repository": "https://github.com/milahu/svelte-layout-resizable" - }, { "category": "CSS and Layout", "description": "Arrange infinite card elements according to various layout types like masonry", @@ -1161,13 +1155,6 @@ "title": "storez", "repository": "https://github.com/plrenaudin/svelte-storez" }, - { - "category": "Stores", - "description": "Template for client side svelte store", - "tags": ["components and libraries", "stores and state"], - "title": "SvelteStore", - "repository": "https://github.com/gitbreaker222/SvelteStore" - }, { "category": "Integration", "description": "Use Svelte components with Vue and React", @@ -2168,7 +2155,7 @@ "title": "svelte-currency-input", "repository": "https://github.com/fmaclen/svelte-currency-input", "description": "A form input that converts numbers to localized currency formats as you type", - "npm": "svelte-currency-input", + "npm": "@canutin/svelte-currency-input", "category": "Forms & User Input", "tags": ["forms", "inputs and widgets", "internationalization", "typescript"] }, @@ -2265,7 +2252,7 @@ "title": "svelte-form-builder", "repository": "https://github.com/pragmatic-engineering/svelte-form-builder-community", "description": "A No-Code Form Builder Library", - "npm": "svelte-form-builder-community", + "npm": "@pragmatic-engineering/svelte-form-builder-community", "category": "Forms & User Input", "tags": ["forms", "components and libraries"] }, @@ -2415,7 +2402,7 @@ "title": "SvelteKit-Adapter-Versioned-Worker", "repository": "https://github.com/hedgehog125/SvelteKit-Adapter-Versioned-Worker", "description": "A SvelteKit adapter for generating service workers to make PWAs work offline", - "npm": "svelteKit-adapter-versioned-worker", + "npm": "sveltekit-adapter-versioned-worker", "category": "SvelteKit Adapters" }, { diff --git a/src/routes/templates/templates.json b/src/routes/templates/templates.json index d701de7ed..c6e0355a1 100644 --- a/src/routes/templates/templates.json +++ b/src/routes/templates/templates.json @@ -678,5 +678,12 @@ "description": "A Starter Kit with SurrealDB and SvelteKit, featuring Authentication and CRUD Operations + Realtime", "category": "SvelteKit", "tags": ["templates", "database", "integrations", "typescript", "ssr"] + }, + { + "title": "SvelteStore", + "repository": "https://github.com/gitbreaker222/SvelteStore", + "description": "Template for client side svelte store", + "category": "Svelte", + "tags": ["templates", "stores and state"] } ] From b758d7184665b6639da50c8b7393a23c958d7bf2 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 19 Nov 2023 23:44:54 +1100 Subject: [PATCH 5/6] Remove unused ArrowButton.svelte (#492) --- .../ComponentIndex/ArrowButton.svelte | 83 ------------------- 1 file changed, 83 deletions(-) delete mode 100644 src/lib/components/ComponentIndex/ArrowButton.svelte diff --git a/src/lib/components/ComponentIndex/ArrowButton.svelte b/src/lib/components/ComponentIndex/ArrowButton.svelte deleted file mode 100644 index 612083f63..000000000 --- a/src/lib/components/ComponentIndex/ArrowButton.svelte +++ /dev/null @@ -1,83 +0,0 @@ - - - - Package Manager -
- - - -
-
-
- - - From b8d5d62cfe5d1c6e6d9ba7448610fedf24fcc2f3 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Mon, 20 Nov 2023 00:57:15 +1100 Subject: [PATCH 6/6] Remove explicit sveltekit typing (#490) --- src/routes/events/+page.svelte | 3 +-- src/routes/events/+page.ts | 3 +-- src/routes/recipes/+layout.ts | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/routes/events/+page.svelte b/src/routes/events/+page.svelte index da21c194d..12e70c665 100644 --- a/src/routes/events/+page.svelte +++ b/src/routes/events/+page.svelte @@ -2,8 +2,7 @@ import Societies from '$lib/components/Societies/index.svelte'; import EventListElement from '$lib/components/EventListElement/index.svelte'; import Seo from '$lib/components/Seo.svelte'; - import type { PageData } from './$types'; - export let data: PageData; + export let data; diff --git a/src/routes/events/+page.ts b/src/routes/events/+page.ts index 5d1b95a52..e9126e5a6 100644 --- a/src/routes/events/+page.ts +++ b/src/routes/events/+page.ts @@ -1,8 +1,7 @@ import { error } from '@sveltejs/kit'; -import type { PageLoad } from './$types'; import { getPages } from '../pageList'; -export async function load(): Promise { +export async function load() { const events = await getPages(import.meta.glob('./**/*.svx')); if (events) { diff --git a/src/routes/recipes/+layout.ts b/src/routes/recipes/+layout.ts index 2e3b9b9e2..495d14de0 100644 --- a/src/routes/recipes/+layout.ts +++ b/src/routes/recipes/+layout.ts @@ -1,9 +1,8 @@ import { error } from '@sveltejs/kit'; import '$styles/highlight.css'; -import type { PageLoad } from './$types'; import { getPages } from '../pageList'; -export async function load(): Promise { +export async function load() { const pages = (await getPages(import.meta.glob('./**/*.svx'))).map((element) => ({ ...element, path: '/recipes' + element.path.substring(1)