Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
3 changes: 0 additions & 3 deletions .prettierrc.js

This file was deleted.

11 changes: 11 additions & 0 deletions .syncpackrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"source": ["package.json", "*/*/package.json"],
"versionGroups": [
{
"label": "Use workspace protocol when developing local packages",
"dependencies": ["$LOCAL"],
"dependencyTypes": ["dev", "prod"],
"pinVersion": "workspace:*"
}
]
}
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

14 changes: 7 additions & 7 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"recommendations": [
"bradlc.vscode-tailwindcss",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"astro-build.astro-vscode",
"unifiedjs.vscode-mdx"
]
"recommendations": [
"bradlc.vscode-tailwindcss",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"astro-build.astro-vscode",
"unifiedjs.vscode-mdx"
]
}
20 changes: 10 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceFolder}/apps/reactlit-docs",
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceFolder}/apps/reactlit-docs",
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
39 changes: 27 additions & 12 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib",
"scss.lint.unknownAtRules": "ignore",
"css.lint.unknownAtRules": "ignore",
"editor.tabSize": 2,
"[javascript][typescript][javscriptreact][typescriptreact][css][scss][json][jsonc][markdown][yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"files.eol": "\n"
"typescript.tsdk": "node_modules/typescript/lib",
"scss.lint.unknownAtRules": "ignore",
"css.lint.unknownAtRules": "ignore",
"editor.tabSize": 2,
"editor.defaultFormatter": "biomejs.biome",
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"eslint.enable": false,
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"source.fixAll.eslint": "never",
"source.fixAll.ts": "never",
"source.fixAll.biome": "explicit"
},
"editor.formatOnSave": true,
"files.eol": "\n"
}
88 changes: 44 additions & 44 deletions apps/reactlit-docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import react from '@astrojs/react';
import react from "@astrojs/react";
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

// https://astro.build/config
export default defineConfig({
vite: {
ssr: {
noExternal: ['@radix-ui/themes'],
},
},
base: 'reactlit',
site: 'https://mshafir.github.io',
integrations: [
starlight({
title: 'Reactlit',
logo: {
src: '/src/assets/ReactlitwText.png',
alt: 'Reactlit',
replacesTitle: true,
},
customCss: ['/src/styles/app.css'],
social: {
github: 'https://github.com/mshafir/reactlit',
},
sidebar: [
{
label: 'Guides',
items: [
{ label: 'Getting Started', slug: 'guides/getting-started' },
{ label: 'Installation', slug: 'guides/installation' },
{ label: 'Basics', slug: 'guides/basics' },
{ label: 'Data Fetching', slug: 'guides/data-fetching' },
{ label: 'Wrappers', slug: 'guides/wrappers' },
{ label: 'Layout', slug: 'guides/layout' },
{ label: 'Managed State', slug: 'guides/managed-state' },
{ label: 'Defining Views', slug: 'guides/defining-views' },
],
},
// {
// label: 'Reference',
// autogenerate: { directory: 'reference' },
// },
],
}),
react(),
],
vite: {
ssr: {
noExternal: ["@radix-ui/themes"],
},
},
base: "reactlit",
site: "https://mshafir.github.io",
integrations: [
starlight({
title: "Reactlit",
logo: {
src: "/src/assets/ReactlitwText.png",
alt: "Reactlit",
replacesTitle: true,
},
customCss: ["/src/styles/app.css"],
social: {
github: "https://github.com/mshafir/reactlit",
},
sidebar: [
{
label: "Guides",
items: [
{ label: "Getting Started", slug: "guides/getting-started" },
{ label: "Installation", slug: "guides/installation" },
{ label: "Basics", slug: "guides/basics" },
{ label: "Data Fetching", slug: "guides/data-fetching" },
{ label: "Wrappers", slug: "guides/wrappers" },
{ label: "Layout", slug: "guides/layout" },
{ label: "Managed State", slug: "guides/managed-state" },
{ label: "Defining Views", slug: "guides/defining-views" },
],
},
// {
// label: 'Reference',
// autogenerate: { directory: 'reference' },
// },
],
}),
react(),
],
});
18 changes: 9 additions & 9 deletions apps/reactlit-docs/ec.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { pluginCollapsibleSections } from '@expressive-code/plugin-collapsible-sections';
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers';
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections";
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";

/** @type {import('@astrojs/starlight/expressive-code').StarlightExpressiveCodeOptions} */
export default {
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],
defaultProps: {
showLineNumbers: false,
},
styleOverrides: {
codeFontSize: '12px',
},
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],
defaultProps: {
showLineNumbers: false,
},
styleOverrides: {
codeFontSize: "12px",
},
};
58 changes: 29 additions & 29 deletions apps/reactlit-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"name": "reactlit-docs",
"type": "module",
"version": "0.0.16",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/react": "^4.0.0",
"@astrojs/starlight": "^0.29.2",
"@expressive-code/plugin-collapsible-sections": "^0.38.3",
"@expressive-code/plugin-line-numbers": "^0.38.3",
"@radix-ui/themes": "^3.1.6",
"@reactlit/core": "workspace:*",
"@reactlit/radix": "workspace:*",
"@tanstack/react-query": "^5.62.3",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"astro": "^4.16.10",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sharp": "^0.32.5",
"starlight-package-managers": "^0.8.0"
}
}
"name": "reactlit-docs",
"type": "module",
"version": "0.0.16",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/react": "^4.0.0",
"@astrojs/starlight": "^0.29.2",
"@expressive-code/plugin-collapsible-sections": "^0.38.3",
"@expressive-code/plugin-line-numbers": "^0.38.3",
"@radix-ui/themes": "^3.1.6",
"@reactlit/core": "workspace:*",
"@reactlit/radix": "workspace:*",
"@tanstack/react-query": "^5.62.3",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"astro": "^4.16.10",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sharp": "^0.34.1",
"starlight-package-managers": "^0.8.0"
}
}
4 changes: 2 additions & 2 deletions apps/reactlit-docs/src/content/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineCollection } from 'astro:content';
import { docsSchema } from '@astrojs/starlight/schema';
import { defineCollection } from "astro:content";
import { docsSchema } from "@astrojs/starlight/schema";

export const collections = {
docs: defineCollection({ schema: docsSchema() }),
Expand Down
2 changes: 1 addition & 1 deletion apps/reactlit-docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ template: splash
hero:
tagline: A faster way to build React apps
image:
file: ../../assets/reactlit.svg
file: ../../assets/reactlit_logo.svg
actions:
- text: Getting Started
link: /reactlit/guides/getting-started/
Expand Down
Loading