Skip to content

Commit 114ec0c

Browse files
committed
# Conflicts: # src/App.tsx
2 parents bd47806 + 4801429 commit 114ec0c

20 files changed

+240
-171
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"solid-utils": "^0.8.1"
5757
},
5858
"devDependencies": {
59-
"@aminya/minijson": "^0.6.2",
59+
"@aminya/minijson": "^1.1.0",
6060
"@mdx-js/rollup": "^3.0.1",
6161
"@tailwindcss/typography": "^0.5.10",
6262
"@types/markdown-it": "^13.0.7",

pnpm-lock.yaml

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export const App = () => {
1010
preventSmoothScrollOnTabbing();
1111

1212
return (
13-
<main class="min-h-screen">
14-
<Router
15-
root={(props) => (
16-
<MetaProvider>
13+
<MetaProvider>
14+
<main class="min-h-screen">
15+
<Router
16+
root={(props) => (
1717
<AppContextProvider>
1818
<Header />
1919
{/* two div wrappers to make page animation work and performant */}
@@ -25,11 +25,11 @@ export const App = () => {
2525
</div>
2626
</div>
2727
</AppContextProvider>
28-
</MetaProvider>
29-
)}
30-
>
31-
{routes}
32-
</Router>
33-
</main>
28+
)}
29+
>
30+
{routes}
31+
</Router>
32+
</main>
33+
</MetaProvider>
3434
);
3535
};

src/AppContext.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ export type Locale =
4545
for validating of other dictionaries have same keys as en dictionary
4646
some might be missing, but the shape should be the same
4747
*/
48-
type DeepPartial<T> = T extends Record<string, unknown>
49-
? { [K in keyof T]?: DeepPartial<T[K]> }
50-
: T;
48+
type DeepPartial<T> =
49+
T extends Record<string, unknown> ? { [K in keyof T]?: DeepPartial<T[K]> } : T;
5150

5251
const raw_dict_map: Record<Locale, () => Promise<{ dict: DeepPartial<RawDictionary> }>> = {
5352
// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-explicit-any
@@ -96,8 +95,8 @@ const toLocale = (string: string): Locale | undefined =>
9695
string in raw_dict_map
9796
? (string as Locale)
9897
: string in LANG_ALIASES
99-
? (LANG_ALIASES[string] as Locale)
100-
: undefined;
98+
? (LANG_ALIASES[string] as Locale)
99+
: undefined;
101100

102101
interface Settings {
103102
locale: Locale;

src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { render } from "solid-js/web";
1+
import { render } from 'solid-js/web';
22
import './assets/main.css';
33

44
// import { registerSW } from 'virtual:pwa-register';
55
import { App } from './App';
66

7-
render(() => <App />, document.getElementById("app"));
7+
render(() => <App />, document.getElementById('app')!);
88

99
// Register service worker
1010
// registerSW({ onOfflineReady() {} });

src/pages/Blog.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type MDXComponent = Component<{
88
Twitch?: Component<TwitchProps>;
99
YouTube?: Component<YouTubeProps>;
1010
Spotify?: Component<SpotifyProps>;
11-
Notice?: Component<any>
11+
Notice?: Component<any>;
1212
};
1313
}>;
1414

src/pages/Blog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Title } from '@solidjs/meta';
55
import { useRouteReadyState } from '../utils/routeReadyState';
66
import type { BlogData } from './Blog.data';
77

8-
const Blog: Component<{data:BlogData}> = (props) => {
9-
8+
const Blog: Component<{ data: BlogData }> = (props) => {
109
const data = props.data;
1110

1211
useRouteReadyState();

src/pages/Contributors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const Contributor: Component<ContributorProps> = (props) => {
6363
);
6464
};
6565

66-
const Contributors: Component<{data:ContributorsDataProps}> = (props) => {
66+
const Contributors: Component<{ data: ContributorsDataProps }> = (props) => {
6767
const { t } = useAppState();
6868
const data = props.data;
6969

src/pages/Docs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const Content: Component<{
120120
</Switch>
121121
);
122122

123-
const Docs: Component<{ hash?: string, data: DocData }> = (props) => {
123+
const Docs: Component<{ hash?: string; data: DocData }> = (props) => {
124124
const data = props.data;
125125
const [current, setCurrent] = createSignal<string | null>(null);
126126
const [toggleSections, setToggleSections] = createSignal(false);
@@ -169,7 +169,7 @@ const Docs: Component<{ hash?: string, data: DocData }> = (props) => {
169169
aside={<Sidebar items={sections()} current={current} hash={props.hash} />}
170170
content={<Content data={data} />}
171171
/>
172-
</>
172+
</>
173173
);
174174
};
175175

src/pages/Examples.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type { Tab } from 'solid-repl';
1010
import { entries } from '@solid-primitives/utils';
1111
import { Title } from '@solidjs/meta';
1212

13-
const Examples: Component<{data: ExamplesDataRoute}> = (props) => {
13+
const Examples: Component<{ data: ExamplesDataRoute }> = (props) => {
1414
const data = props.data;
1515
const context = useAppState();
1616
const { t } = context;

src/pages/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const strength_icons: { [key: string]: string } = {
3535
productive,
3636
};
3737

38-
const Home: Component<{data: { benchmarks: GraphData[] }}> = (props) => {
38+
const Home: Component<{ data: { benchmarks: GraphData[] } }> = (props) => {
3939
const isRouting = useIsRouting();
4040
const data = props.data;
4141
const ctx = useAppState();

src/pages/Packages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const ResourceLink: Component<Resource> = (props) => {
140140
);
141141
};
142142

143-
const Packages: Component<{data: PackagesDataProps}> = (props) => {
143+
const Packages: Component<{ data: PackagesDataProps }> = (props) => {
144144
const { t } = useAppState();
145145
const data = props.data;
146146
const fs = new Fuse(data.list, {

src/pages/Resources.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const AResource: Component<Resource> = (props) => {
9191
);
9292
};
9393

94-
const Resources: Component<{data: ResourcesDataProps}> = (props) => {
94+
const Resources: Component<{ data: ResourcesDataProps }> = (props) => {
9595
const { t } = useAppState();
9696
const data = props.data;
9797
const fs = new Fuse(data.list, {

src/pages/Resources/Articles.data.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,8 @@ const articles: Array<Resource> = [
13781378
{
13791379
link: 'https://www.brenelz.com/posts/optimistic-ui-with-solid-start/',
13801380
title: 'Optimistic UI With SolidStart',
1381-
description: 'Optimistic ui essentially means showing the happy path state quickly without needing a network request to finish.',
1381+
description:
1382+
'Optimistic ui essentially means showing the happy path state quickly without needing a network request to finish.',
13821383
author: 'Brenley Dueck',
13831384
author_url: 'https://brenelz.com',
13841385
keywords: ['solid', 'solidstart', 'optimistic'],
@@ -1413,12 +1414,23 @@ const articles: Array<Resource> = [
14131414
title: 'Solid Myths Debunked',
14141415
description: 'Today we will talk about some of the myths about Solid that people believe.',
14151416
author: 'Brenley Dueck',
1416-
author_url: 'https://brenelz.com',
1417+
author_url: 'https://brenelz.com/',
14171418
keywords: ['solid', 'solidstart', 'myths', 'signals'],
14181419
type: ResourceType.Article,
14191420
categories: [ResourceCategory.Educational],
14201421
published_at: 1714194000000,
14211422
},
1423+
{
1424+
link: 'https://thenewstack.io/how-js-meta-framework-solidstart-became-router-agnostic/',
1425+
title: 'How JS Meta-Framework SolidStart Became Router Agnostic',
1426+
description: 'SolidStart is a new meta-framework from the SolidJS team that doesn\'t dictate which router developers use. Ryan Carniato explains why.',
1427+
author: 'Loraine Lawson',
1428+
author_url: 'https://thenewstack.io/',
1429+
keywords: ['solid', 'solidstart', 'router', 'vinxi', 'tanstack'],
1430+
type: ResourceType.Article,
1431+
categories: [ResourceCategory.Educational],
1432+
published_at: 1721102023000,
1433+
},
14221434
];
14231435

14241436
export default articles;

src/pages/Resources/Ecosystem.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export enum ResourceCategory {
1313
Primitives = 'primitive',
1414
Routers = 'router',
1515
Data = 'data',
16+
DataVisualization = 'data_visualization',
1617
UI = 'ui',
1718
Plugins = 'plugin',
1819
Starters = 'starters',

src/pages/Resources/Utilities.data.ts

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,7 +1727,7 @@ const utilities: Array<Resource> = [
17271727
keywords: ['charts', 'apex', 'ui'],
17281728
official: false,
17291729
type: PackageType.Package,
1730-
categories: [ResourceCategory.AddOn, ResourceCategory.UI],
1730+
categories: [ResourceCategory.AddOn, ResourceCategory.DataVisualization, ResourceCategory.UI],
17311731
},
17321732
{
17331733
link: 'https://www.locatorjs.com/install/solidjs',
@@ -1801,7 +1801,7 @@ const utilities: Array<Resource> = [
18011801
{
18021802
link: 'https://github.com/pureliani/solid-query',
18031803
title: '@gapu/solid-query',
1804-
description: 'Primitives for managing Rest Api integrations in Solid.js',
1804+
description: 'Primitives for managing queries and cache in solid.js',
18051805
author: 'Gabriel Pureliani',
18061806
author_url: 'https://github.com/pureliani',
18071807
keywords: ['api', 'query', 'solid-query'],
@@ -1841,7 +1841,7 @@ const utilities: Array<Resource> = [
18411841
keywords: ['grid', 'ag grid', 'ag-grid'],
18421842
official: false,
18431843
type: PackageType.Package,
1844-
categories: [ResourceCategory.UI],
1844+
categories: [ResourceCategory.DataVisualization, ResourceCategory.UI],
18451845
},
18461846
{
18471847
link: 'https://github.com/Supertigerr/solid-named-router',
@@ -1948,6 +1948,18 @@ const utilities: Array<Resource> = [
19481948
keywords: ['form', 'field', 'validation', 'input', 'ui'],
19491949
published_at: 1666197287705,
19501950
},
1951+
{
1952+
title: '@gapu/formix',
1953+
link: 'https://github.com/pureliani/formix',
1954+
author: 'Gabriel Pureliani',
1955+
author_url: 'https://github.com/pureliani',
1956+
description:
1957+
'@gapu/formix is a powerful form management library for SolidJS. It provides a simple and flexible API for handling complex form state, validation, and submission.',
1958+
type: PackageType.Library,
1959+
categories: [ResourceCategory.UI, ResourceCategory.Primitives, ResourceCategory.Data],
1960+
official: false,
1961+
keywords: ['form', 'field', 'validation', 'input', 'ui'],
1962+
},
19511963
{
19521964
title: 'vite-plugin-solid-markdown',
19531965
link: 'https://github.com/xbmlz/vite-plugin-solid-markdown',
@@ -2321,7 +2333,18 @@ const utilities: Array<Resource> = [
23212333
keywords: ['charts', 'chartjs', 'ui'],
23222334
official: false,
23232335
type: PackageType.Package,
2324-
categories: [ResourceCategory.AddOn, ResourceCategory.UI],
2336+
categories: [ResourceCategory.AddOn, ResourceCategory.DataVisualization, ResourceCategory.UI],
2337+
},
2338+
{
2339+
link: 'https://github.com/thedanchez/uplot-solid',
2340+
title: 'uplot-solid',
2341+
description: 'Solid component wrapper around μPlot -- a small, fast and performant 2D canvas based chart for time series, lines, areas, ohlc & bars',
2342+
author: 'Daniel Sanchez',
2343+
author_url: 'https://github.com/thedanchez',
2344+
keywords: ['chart', 'plot', 'solid', 'ui', 'uplot'],
2345+
official: false,
2346+
type: PackageType.Package,
2347+
categories: [ResourceCategory.AddOn, ResourceCategory.DataVisualization, ResourceCategory.UI],
23252348
},
23262349
{
23272350
title: '@rnwonder/solid-date-picker',
@@ -2451,7 +2474,7 @@ const utilities: Array<Resource> = [
24512474
keywords: ['charts', 'echarts', 'data visualization', 'ui'],
24522475
official: false,
24532476
type: PackageType.Package,
2454-
categories: [ResourceCategory.AddOn, ResourceCategory.UI],
2477+
categories: [ResourceCategory.AddOn, ResourceCategory.DataVisualization, ResourceCategory.UI],
24552478
},
24562479
{
24572480
title: 'solid-keep-alive',
@@ -2560,14 +2583,37 @@ const utilities: Array<Resource> = [
25602583
{
25612584
link: 'https://github.com/pdfslick/pdfslick',
25622585
title: '@pdfslick/solid',
2563-
description: 'View and Interact with PDF documents in React, SolidJS, Svelte and JavaScript apps',
2586+
description:
2587+
'View and Interact with PDF documents in React, SolidJS, Svelte and JavaScript apps',
25642588
author: 'PDFSlick',
25652589
author_url: 'https://github.com/pdfslick/',
25662590
keywords: ['pdf', 'viewer'],
25672591
official: false,
25682592
type: PackageType.Package,
25692593
categories: [ResourceCategory.Starters, ResourceCategory.BuildUtilities],
25702594
},
2595+
{
2596+
link: 'https://github.com/thednp/solid-color-picker',
2597+
title: '@thednp/solid-color-picker',
2598+
description: 'Modern Color Picker for SolidJS',
2599+
author: 'thednp',
2600+
author_url: 'https://github.com/thednp',
2601+
keywords: ['color', 'color-picker'],
2602+
official: false,
2603+
type: PackageType.Package,
2604+
categories: [ResourceCategory.Plugins, ResourceCategory.UI],
2605+
},
2606+
{
2607+
link: 'https://github.com/thednp/tinymce-solid',
2608+
title: 'tinymce-solid',
2609+
description: 'TinyMCE Component for SolidJS',
2610+
author: 'thednp',
2611+
author_url: 'https://github.com/thednp',
2612+
keywords: ['tinymce', 'editor', 'wysiwyg'],
2613+
official: false,
2614+
type: PackageType.Package,
2615+
categories: [ResourceCategory.UI],
2616+
},
25712617
];
25722618

25732619
export default utilities;

0 commit comments

Comments
 (0)