Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

feat(playground): load real XDS type definitions into Monaco (#2064)

Cindy Zhang8965b574cc42
diff --git a/apps/docsite/.gitignore b/apps/docsite/.gitignore
index 0b1fda90cc..8e00477c79 100644
--- a/apps/docsite/.gitignore
+++ b/apps/docsite/.gitignore
@@ -3,3 +3,6 @@ next-env.d.ts
# Auto-generated by scripts/generate-data.mjs
src/generated/
+
+# Auto-generated by scripts/generate-playground-types.mjs
+public/playground-types.json
diff --git a/apps/docsite/package.json b/apps/docsite/package.json
index c1de427bca..8e9adb22d9 100644
--- a/apps/docsite/package.json
+++ b/apps/docsite/package.json
@@ -3,10 +3,10 @@
"version": "0.0.1",
"private": true,
"scripts": {
- "generate": "node scripts/generate-data.mjs",
- "predev": "node scripts/generate-data.mjs",
+ "generate": "node scripts/generate-data.mjs && node scripts/generate-playground-types.mjs",
+ "predev": "node scripts/generate-data.mjs && node scripts/generate-playground-types.mjs",
"dev": "next dev",
- "prebuild": "node scripts/generate-data.mjs",
+ "prebuild": "node scripts/generate-data.mjs && node scripts/generate-playground-types.mjs",
"build": "next build",
"start": "next start",
"typecheck": "tsc --noEmit",
diff --git a/apps/docsite/scripts/generate-playground-types.mjs b/apps/docsite/scripts/generate-playground-types.mjs
new file mode 100644
index 0000000000..c927a0ec6d
--- /dev/null
+++ b/apps/docsite/scripts/generate-playground-types.mjs
@@ -0,0 +1,135 @@
+#!/usr/bin/env node
+
+/**
+ * Generates a JSON bundle of all @xds/core .d.ts files for the playground's
+ * Monaco editor. Output: public/playground-types.json
+ *
+ * Structure: { "@xds/core": { "Button/index.d.ts": "...", ... } }
+ *
+ * Run: node scripts/generate-playground-types.mjs
+ * Also runs as part of the prebuild/predev scripts.
+ */
+
+import {readdirSync, readFileSync, statSync, writeFileSync, existsSync, mkdirSync} from 'fs';
+import {join, dirname, relative} from 'path';
+import {fileURLToPath} from 'url';
+
+const __dirname = dirname(fileURLToPath(import.meta.url));
+const root = join(__dirname, '..');
+const distDir = join(root, '..', '..', 'packages', 'core', 'dist');
+const outDir = join(root, 'public');
+
+if (!existsSync(outDir)) mkdirSync(outDir, {recursive: true});
+
+function collectDts(dir, base = dir) {
+ const result = {};
+ for (const entry of readdirSync(dir)) {
+ const full = join(dir, entry);
+ const stat = statSync(full);
+ if (stat.isDirectory()) {
+ Object.assign(result, collectDts(full, base));
+ } else if (entry.endsWith('.d.ts') && !entry.endsWith('.d.ts.map')) {
+ const relPath = relative(base, full);
+ result[relPath] = readFileSync(full, 'utf-8');
+ }
+ }
+ return result;
+}
+
+console.log(`Scanning ${distDir} for .d.ts files...`);
+
+if (!existsSync(distDir)) {
+ console.log('dist/ not found — skipping playground types generation (run yarn build first)');
+ // Write an empty placeholder so the app doesn't 404
+ writeFileSync(join(outDir, 'playground-types.json'), '{}');
+ process.exit(0);
+}
+
+const xdsTypes = collectDts(distDir);
+const fileCount = Object.keys(xdsTypes).length;
+
+// Also generate a minimal React types stub
+const reactTypes = `
+declare module 'react' {
+ export type ReactNode = any;
+ export type ReactElement = any;
+ export type ComponentType<P = {}> = (props: P) => ReactElement | null;
+ export type FC<P = {}> = ComponentType<P>;
+ export type PropsWithChildren<P = {}> = P & { children?: ReactNode };
+ export type CSSProperties = Record<string, string | number>;
+ export type MouseEvent<T = Element> = { target: T; currentTarget: T; preventDefault(): void; stopPropagation(): void };
+ export type ChangeEvent<T = Element> = { target: T & { value: string }; currentTarget: T };
+ export type FormEvent<T = Element> = { target: T; currentTarget: T; preventDefault(): void };
+ export type KeyboardEvent<T = Element> = { key: string; code: string; target: T };
+ export type Ref<T> = { current: T | null } | ((instance: T | null) => void) | null;
+ export type RefObject<T> = { current: T | null };
+ export type Dispatch<A> = (value: A) => void;
+ export type SetStateAction<S> = S | ((prevState: S) => S);
+ export function useState<S>(initialState: S | (() => S)): [S, Dispatch<SetStateAction<S>>];
+ export function useEffect(effect: () => void | (() => void), deps?: readonly unknown[]): void;
+ export function useCallback<T extends Function>(callback: T, deps: readonly unknown[]): T;
+ export function useMemo<T>(factory: () => T, deps: readonly unknown[]): T;
+ export function useRef<T>(initialValue: T): RefObject<T>;
+ export function useReducer<S, A>(reducer: (state: S, action: A) => S, initialState: S): [S, Dispatch<A>];
+ export function useContext<T>(context: any): T;
+ export function useId(): string;
+ export function useTransition(): [boolean, (callback: () => void) => void];
+ export function useDeferredValue<T>(value: T): T;
+ export function forwardRef<T, P = {}>(render: (props: P, ref: Ref<T>) => ReactElement | null): ComponentType<P & { ref?: Ref<T> }>;
+ export function memo<P>(component: ComponentType<P>): ComponentType<P>;
+ export function createContext<T>(defaultValue: T): { Provider: ComponentType<{ value: T; children?: ReactNode }>; Consumer: ComponentType<{ children: (value: T) => ReactNode }> };
+ export function createElement(type: any, props?: any, ...children: any[]): ReactElement;
+ export function cloneElement(element: ReactElement, props?: any, ...children: any[]): ReactElement;
+ export function isValidElement(object: any): boolean;
+ export const Fragment: any;
+ export const Suspense: ComponentType<{ fallback?: ReactNode; children?: ReactNode }>;
+ export const StrictMode: ComponentType<{ children?: ReactNode }>;
+ export default { createElement, Fragment, useState, useEffect, useCallback, useMemo, useRef, useReducer, useContext, useId, useTransition, useDeferredValue, forwardRef, memo, createContext, cloneElement, isValidElement, Suspense, StrictMode };
+}
+`;
+
+const stylexTypes = `
+declare module '@stylexjs/stylex' {
+ type StyleValue = string | number | null | undefined | false;
+ type NestedStyle = { [key: string]: StyleValue | NestedStyle };
+ type StyleMap<T extends Record<string, NestedStyle>> = { [K in keyof T]: unknown };
+ interface StyleX {
+ create<T extends Record<string, NestedStyle>>(styles: T): StyleMap<T>;
+ props(...styles: Array<unknown | false | null | undefined>): { className?: string; style?: Record<string, string> };
+ defineVars<T extends Record<string, string>>(vars: T): T;
+ keyframes(kf: Record<string, NestedStyle>): string;
+ firstThatWorks<T>(...values: T[]): T;
+ types: {
+ angle: <T extends string>(v: T) => T;
+ color: <T extends string>(v: T) => T;
+ image: <T extends string>(v: T) => T;
+ integer: <T extends string>(v: T) => T;
+ length: <T extends string>(v: T) => T;
+ lengthPercentage: <T extends string>(v: T) => T;
+ number: <T extends string>(v: T) => T;
+ percentage: <T extends string>(v: T) => T;
+ resolution: <T extends string>(v: T) => T;
+ time: <T extends string>(v: T) => T;
+ url: <T extends string>(v: T) => T;
+ };
+ }
+ const stylex: StyleX;
+ export default stylex;
+ export const create: StyleX['create'];
+ export const props: StyleX['props'];
+ export const defineVars: StyleX['defineVars'];
+ export const keyframes: StyleX['keyframes'];
+ export const firstThatWorks: StyleX['firstThatWorks'];
+ export const types: StyleX['types'];
+}
+`;
+
+const output = {
+ '@xds/core': xdsTypes,
+ react: {'index.d.ts': reactTypes},
+ '@stylexjs/stylex': {'index.d.ts': stylexTypes},
+};
+
+const json = JSON.stringify(output);
+writeFileSync(join(outDir, 'playground-types.json'), json);
+console.log(`Generated playground-types.json: ${fileCount} XDS type files, ${(json.length / 1024).toFixed(0)}KB`);
diff --git a/apps/docsite/src/app/playground/PlaygroundClient.tsx b/apps/docsite/src/app/playground/PlaygroundClient.tsx
index f6bbb1fd6c..bf96584208 100644
--- a/apps/docsite/src/app/playground/PlaygroundClient.tsx
+++ b/apps/docsite/src/app/playground/PlaygroundClient.tsx
@@ -13,6 +13,8 @@ import {XDSHStack} from "@xds/core/Layout";
import {XDSText} from "@xds/core/Text";
import {XDSStatusDot} from "@xds/core/StatusDot";
import {XDSDivider} from "@xds/core/Divider";
+import githubLight from "./themes/github-light.json";
+import githubDark from "./themes/github-dark.json";
import type * as MonacoTypes from "monaco-editor";
@@ -31,6 +33,9 @@ type MonacoInstance = typeof MonacoTypes & {
ModuleResolutionKind: Record<string, number>;
};
};
+ editor: typeof MonacoTypes.editor & {
+ defineTheme: (name: string, data: Record<string, unknown>) => void;
+ };
};
const MonacoEditor = dynamic(() => import("@monaco-editor/react"), {
@@ -103,8 +108,8 @@ const THEME_OPTIONS = [
];
/**
- * Configure Monaco's TypeScript service so it understands JSX,
- * React hooks, and @xds/core imports without red squiggles.
+ * Configure Monaco's TypeScript service with real XDS type definitions.
+ * Loads .d.ts files from a pre-built JSON bundle (generated at build time).
*/
function configureMonaco(monaco: MonacoInstance) {
const ts = monaco.languages.typescript.typescriptDefaults;
@@ -125,80 +130,85 @@ function configureMonaco(monaco: MonacoInstance) {
noSyntaxValidation: false,
});
- // React type stubs
- ts.addExtraLib(
- `declare module 'react' {
- export function useState<T>(init: T | (() => T)): [T, (v: T | ((prev: T) => T)) => void];
- export function useEffect(fn: () => void | (() => void), deps?: unknown[]): void;
- export function useCallback<T extends Function>(fn: T, deps: unknown[]): T;
- export function useMemo<T>(fn: () => T, deps: unknown[]): T;
- export function useRef<T>(init: T): { current: T };
- export function useReducer<S, A>(reducer: (state: S, action: A) => S, init: S): [S, (action: A) => void];
- export function useContext<T>(ctx: any): T;
- export const Fragment: any;
- export function createElement(type: any, props?: any, ...children: any[]): any;
- export type ReactNode = any;
- export type ReactElement = any;
- }`,
- "file:///node_modules/@types/react/index.d.ts",
- );
-
- // Make React hooks available as globals (playground code doesn't import react)
+ // Global declarations for React hooks (available without import in playground)
ts.addExtraLib(
`declare function useState<T>(init: T | (() => T)): [T, (v: T | ((prev: T) => T)) => void];
- declare function useEffect(fn: () => void | (() => void), deps?: unknown[]): void;
- declare function useCallback<T extends Function>(fn: T, deps: unknown[]): T;
- declare function useMemo<T>(fn: () => T, deps: unknown[]): T;
- declare function useRef<T>(init: T): { current: T };`,
+ declare function useEffect(fn: () => void | (() => void), deps?: readonly unknown[]): void;
+ declare function useCallback<T extends Function>(fn: T, deps: readonly unknown[]): T;
+ declare function useMemo<T>(fn: () => T, deps: readonly unknown[]): T;
+ declare function useRef<T>(init: T): { current: T };
+ declare function useReducer<S, A>(reducer: (state: S, action: A) => S, init: S): [S, (action: A) => void];
+ declare function useContext<T>(ctx: unknown): T;`,
"file:///globals.d.ts",
);
- // @xds/core stub — enough to suppress "cannot find module"
+ // Heroicons wildcard stub
ts.addExtraLib(
- `declare module '@xds/core' {
- export const XDSButton: any;
- export const XDSCard: any;
- export const XDSText: any;
- export const XDSHeading: any;
- export const XDSVStack: any;
- export const XDSHStack: any;
- export const XDSBadge: any;
- export const XDSIcon: any;
- export const XDSLink: any;
- export const XDSSwitch: any;
- export const XDSSelector: any;
- export const XDSTextInput: any;
- export const XDSList: any;
- export const XDSListItem: any;
- export const XDSDivider: any;
- export const XDSSection: any;
- export const XDSCenter: any;
- export const XDSEmptyState: any;
- export const XDSBanner: any;
- export const XDSAvatar: any;
- export const XDSTooltip: any;
- export const XDSTabList: any;
- export const XDSTab: any;
- export const XDSCollapsible: any;
- export const XDSCodeBlock: any;
- export const XDSMarkdown: any;
- export const XDSSlider: any;
- export const XDSRadioList: any;
- export const XDSCheckboxInput: any;
- [key: string]: any;
- }
- declare module '@xds/core/*' { const m: any; export = m; }
- declare module '@stylexjs/stylex' {
- const stylex: {
- create: <T extends Record<string, any>>(styles: T) => T;
- props: (...args: any[]) => { className?: string; style?: any };
- };
- export default stylex;
- export = stylex;
- }
- declare module '@heroicons/react/*' { const m: any; export = m; }`,
- "file:///node_modules/@xds/core/index.d.ts",
+ `declare module '@heroicons/react/16/solid' { const icons: Record<string, React.ComponentType<{width?: number; height?: number; className?: string}>>; export = icons; }
+ declare module '@heroicons/react/20/solid' { const icons: Record<string, React.ComponentType<{width?: number; height?: number; className?: string}>>; export = icons; }
+ declare module '@heroicons/react/24/outline' { const icons: Record<string, React.ComponentType<{width?: number; height?: number; className?: string}>>; export = icons; }
+ declare module '@heroicons/react/24/solid' { const icons: Record<string, React.ComponentType<{width?: number; height?: number; className?: string}>>; export = icons; }`,
+ "file:///node_modules/@heroicons/react/index.d.ts",
);
+
+ // Load real type definitions from the pre-built JSON bundle
+ fetch("/playground-types.json")
+ .then((r) => r.json())
+ .then((packages: Record<string, Record<string, string>>) => {
+ // React types
+ const reactFiles = packages["react"] ?? {};
+ for (const [fileName, content] of Object.entries(reactFiles)) {
+ ts.addExtraLib(content, `file:///node_modules/@types/react/${fileName}`);
+ }
+
+ // StyleX types
+ const stylexFiles = packages["@stylexjs/stylex"] ?? {};
+ for (const [fileName, content] of Object.entries(stylexFiles)) {
+ ts.addExtraLib(
+ content,
+ `file:///node_modules/@stylexjs/stylex/${fileName}`,
+ );
+ }
+
+ // XDS core types — register each .d.ts under its dist path AND subpath
+ const xdsFiles = packages["@xds/core"] ?? {};
+ const submoduleReexports: string[] = [];
+
+ for (const [relPath, content] of Object.entries(xdsFiles)) {
+ ts.addExtraLib(
+ content,
+ `file:///node_modules/@xds/core/dist/${relPath}`,
+ );
+
+ // Also register as @xds/core/<SubModule>/index.d.ts
+ if (relPath.endsWith("/index.d.ts")) {
+ const moduleName = relPath.replace("/index.d.ts", "");
+ ts.addExtraLib(
+ content,
+ `file:///node_modules/@xds/core/${moduleName}/index.d.ts`,
+ );
+ submoduleReexports.push(moduleName);
+ }
+ }
+
+ // Build @xds/core barrel from submodule re-exports
+ const barrelContent = submoduleReexports
+ .map((m) => `export * from '@xds/core/${m}';`)
+ .join("\n");
+ ts.addExtraLib(
+ `declare module '@xds/core' {\n${barrelContent}\n}`,
+ "file:///node_modules/@xds/core/index.d.ts",
+ );
+
+ // Types loaded — enable semantic validation
+ ts.setDiagnosticsOptions({
+ noSemanticValidation: false,
+ noSyntaxValidation: false,
+ });
+ })
+ .catch(() => {
+ // Types unavailable — keep semantic validation disabled
+ });
}
const s = stylex.create({
@@ -272,6 +282,17 @@ export function PlaygroundClient() {
const pendingRef = useRef<string | null>(null);
const debounceRef = useRef<ReturnType<typeof setTimeout> | null>(null);
+ const [editorTheme, setEditorTheme] = useState("github-dark");
+
+ // Sync editor theme with system preference
+ useEffect(() => {
+ const mq = window.matchMedia("(prefers-color-scheme: dark)");
+ const update = () => setEditorTheme(mq.matches ? "github-dark" : "github-light");
+ update();
+ mq.addEventListener("change", update);
+ return () => mq.removeEventListener("change", update);
+ }, []);
+
const send = useCallback((c: string) => {
const win = iframeRef.current?.contentWindow;
if (!win) return;
@@ -331,6 +352,15 @@ export function PlaygroundClient() {
});
}, []);
+ const handleMonacoBeforeMount = useCallback(
+ (monaco: MonacoInstance) => {
+ // Register themes before editor renders so initial theme applies
+ monaco.editor.defineTheme("github-light", githubLight);
+ monaco.editor.defineTheme("github-dark", githubDark);
+ },
+ [],
+ );
+
const handleMonacoMount = useCallback(
(_editor: unknown, monaco: MonacoInstance) => {
configureMonaco(monaco);
@@ -350,6 +380,7 @@ export function PlaygroundClient() {
tabSize: 2,
wordWrap: "on" as const,
padding: {top: 12},
+ accessibilitySupport: "off" as const,
}),
[isMobile],
);
@@ -396,8 +427,9 @@ export function PlaygroundClient() {
defaultLanguage="typescript"
defaultValue={code}
path="playground.tsx"
- theme="vs-dark"
+ theme={editorTheme}
onChange={(v) => setCode(v ?? "")}
+ beforeMount={handleMonacoBeforeMount}
onMount={handleMonacoMount}
options={editorOptions}
/>
diff --git a/apps/docsite/src/app/playground/themes/github-dark.json b/apps/docsite/src/app/playground/themes/github-dark.json
new file mode 100644
index 0000000000..b6225a85a5
--- /dev/null
+++ b/apps/docsite/src/app/playground/themes/github-dark.json
@@ -0,0 +1,348 @@
+{
+ "base": "vs-dark",
+ "inherit": true,
+ "rules": [
+ {
+ "background": "24292e",
+ "token": ""
+ },
+ {
+ "foreground": "959da5",
+ "token": "comment"
+ },
+ {
+ "foreground": "959da5",
+ "token": "punctuation.definition.comment"
+ },
+ {
+ "foreground": "959da5",
+ "token": "string.comment"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "constant"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "entity.name.constant"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "variable.other.constant"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "variable.language"
+ },
+ {
+ "foreground": "b392f0",
+ "token": "entity"
+ },
+ {
+ "foreground": "b392f0",
+ "token": "entity.name"
+ },
+ {
+ "foreground": "f6f8fa",
+ "token": "variable.parameter.function"
+ },
+ {
+ "foreground": "7bcc72",
+ "token": "entity.name.tag"
+ },
+ {
+ "foreground": "ea4a5a",
+ "token": "keyword"
+ },
+ {
+ "foreground": "ea4a5a",
+ "token": "storage"
+ },
+ {
+ "foreground": "ea4a5a",
+ "token": "storage.type"
+ },
+ {
+ "foreground": "f6f8fa",
+ "token": "storage.modifier.package"
+ },
+ {
+ "foreground": "f6f8fa",
+ "token": "storage.modifier.import"
+ },
+ {
+ "foreground": "f6f8fa",
+ "token": "storage.type.java"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "punctuation.definition.string"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string punctuation.section.embedded source"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "support"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "meta.property-name"
+ },
+ {
+ "foreground": "fb8532",
+ "token": "variable"
+ },
+ {
+ "foreground": "f6f8fa",
+ "token": "variable.other"
+ },
+ {
+ "foreground": "d73a49",
+ "fontStyle": "bold italic underline",
+ "token": "invalid.broken"
+ },
+ {
+ "foreground": "d73a49",
+ "fontStyle": "bold italic underline",
+ "token": "invalid.deprecated"
+ },
+ {
+ "foreground": "fafbfc",
+ "background": "d73a49",
+ "fontStyle": "italic underline",
+ "token": "invalid.illegal"
+ },
+ {
+ "foreground": "fafbfc",
+ "background": "d73a49",
+ "fontStyle": "italic underline",
+ "token": "carriage-return"
+ },
+ {
+ "foreground": "d73a49",
+ "fontStyle": "bold italic underline",
+ "token": "invalid.unimplemented"
+ },
+ {
+ "foreground": "d73a49",
+ "token": "message.error"
+ },
+ {
+ "foreground": "f6f8fa",
+ "token": "string source"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "string variable"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "source.regexp"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string.regexp"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string.regexp.character-class"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string.regexp constant.character.escape"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string.regexp source.ruby.embedded"
+ },
+ {
+ "foreground": "79b8ff",
+ "token": "string.regexp string.regexp.arbitrary-repitition"
+ },
+ {
+ "foreground": "7bcc72",
+ "fontStyle": "bold",
+ "token": "string.regexp constant.character.escape"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "support.constant"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "support.variable"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "meta.module-reference"
+ },
+ {
+ "foreground": "fb8532",
+ "token": "markup.list"
+ },
+ {
+ "foreground": "0366d6",
+ "fontStyle": "bold",
+ "token": "markup.heading"
+ },
+ {
+ "foreground": "0366d6",
+ "fontStyle": "bold",
+ "token": "markup.heading entity.name"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "markup.quote"
+ },
+ {
+ "foreground": "f6f8fa",
+ "fontStyle": "italic",
+ "token": "markup.italic"
+ },
+ {
+ "foreground": "f6f8fa",
+ "fontStyle": "bold",
+ "token": "markup.bold"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "markup.raw"
+ },
+ {
+ "foreground": "b31d28",
+ "background": "ffeef0",
+ "token": "markup.deleted"
+ },
+ {
+ "foreground": "b31d28",
+ "background": "ffeef0",
+ "token": "meta.diff.header.from-file"
+ },
+ {
+ "foreground": "b31d28",
+ "background": "ffeef0",
+ "token": "punctuation.definition.deleted"
+ },
+ {
+ "foreground": "176f2c",
+ "background": "f0fff4",
+ "token": "markup.inserted"
+ },
+ {
+ "foreground": "176f2c",
+ "background": "f0fff4",
+ "token": "meta.diff.header.to-file"
+ },
+ {
+ "foreground": "176f2c",
+ "background": "f0fff4",
+ "token": "punctuation.definition.inserted"
+ },
+ {
+ "foreground": "b08800",
+ "background": "fffdef",
+ "token": "markup.changed"
+ },
+ {
+ "foreground": "b08800",
+ "background": "fffdef",
+ "token": "punctuation.definition.changed"
+ },
+ {
+ "foreground": "2f363d",
+ "background": "959da5",
+ "token": "markup.ignored"
+ },
+ {
+ "foreground": "2f363d",
+ "background": "959da5",
+ "token": "markup.untracked"
+ },
+ {
+ "foreground": "b392f0",
+ "fontStyle": "bold",
+ "token": "meta.diff.range"
+ },
+ {
+ "foreground": "c8e1ff",
+ "token": "meta.diff.header"
+ },
+ {
+ "foreground": "0366d6",
+ "fontStyle": "bold",
+ "token": "meta.separator"
+ },
+ {
+ "foreground": "0366d6",
+ "token": "meta.output"
+ },
+ {
+ "foreground": "ffeef0",
+ "token": "brackethighlighter.tag"
+ },
+ {
+ "foreground": "ffeef0",
+ "token": "brackethighlighter.curly"
+ },
+ {
+ "foreground": "ffeef0",
+ "token": "brackethighlighter.round"
+ },
+ {
+ "foreground": "ffeef0",
+ "token": "brackethighlighter.square"
+ },
+ {
+ "foreground": "ffeef0",
+ "token": "brackethighlighter.angle"
+ },
+ {
+ "foreground": "ffeef0",
+ "token": "brackethighlighter.quote"
+ },
+ {
+ "foreground": "d73a49",
+ "token": "brackethighlighter.unmatched"
+ },
+ {
+ "foreground": "d73a49",
+ "token": "sublimelinter.mark.error"
+ },
+ {
+ "foreground": "fb8532",
+ "token": "sublimelinter.mark.warning"
+ },
+ {
+ "foreground": "6a737d",
+ "token": "sublimelinter.gutter-mark"
+ },
+ {
+ "foreground": "79b8ff",
+ "fontStyle": "underline",
+ "token": "constant.other.reference.link"
+ },
+ {
+ "foreground": "79b8ff",
+ "fontStyle": "underline",
+ "token": "string.other.link"
+ }
+ ],
+ "colors": {
+ "editor.foreground": "#f6f8fa",
+ "editor.background": "#24292e",
+ "editor.selectionBackground": "#4c2889",
+ "editor.inactiveSelectionBackground": "#444d56",
+ "editor.lineHighlightBackground": "#444d56",
+ "editorCursor.foreground": "#ffffff",
+ "editorWhitespace.foreground": "#6a737d",
+ "editorIndentGuide.background": "#6a737d",
+ "editorIndentGuide.activeBackground": "#f6f8fa",
+ "editor.selectionHighlightBorder": "#444d56"
+ }
+}
\ No newline at end of file
diff --git a/apps/docsite/src/app/playground/themes/github-light.json b/apps/docsite/src/app/playground/themes/github-light.json
new file mode 100644
index 0000000000..832996ec5d
--- /dev/null
+++ b/apps/docsite/src/app/playground/themes/github-light.json
@@ -0,0 +1,348 @@
+{
+ "base": "vs",
+ "inherit": true,
+ "rules": [
+ {
+ "background": "ffffff",
+ "token": ""
+ },
+ {
+ "foreground": "6a737d",
+ "token": "comment"
+ },
+ {
+ "foreground": "6a737d",
+ "token": "punctuation.definition.comment"
+ },
+ {
+ "foreground": "6a737d",
+ "token": "string.comment"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "constant"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "entity.name.constant"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "variable.other.constant"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "variable.language"
+ },
+ {
+ "foreground": "6f42c1",
+ "token": "entity"
+ },
+ {
+ "foreground": "6f42c1",
+ "token": "entity.name"
+ },
+ {
+ "foreground": "24292e",
+ "token": "variable.parameter.function"
+ },
+ {
+ "foreground": "22863a",
+ "token": "entity.name.tag"
+ },
+ {
+ "foreground": "d73a49",
+ "token": "keyword"
+ },
+ {
+ "foreground": "d73a49",
+ "token": "storage"
+ },
+ {
+ "foreground": "d73a49",
+ "token": "storage.type"
+ },
+ {
+ "foreground": "24292e",
+ "token": "storage.modifier.package"
+ },
+ {
+ "foreground": "24292e",
+ "token": "storage.modifier.import"
+ },
+ {
+ "foreground": "24292e",
+ "token": "storage.type.java"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string"
+ },
+ {
+ "foreground": "032f62",
+ "token": "punctuation.definition.string"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string punctuation.section.embedded source"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "support"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "meta.property-name"
+ },
+ {
+ "foreground": "e36209",
+ "token": "variable"
+ },
+ {
+ "foreground": "24292e",
+ "token": "variable.other"
+ },
+ {
+ "foreground": "b31d28",
+ "fontStyle": "bold italic underline",
+ "token": "invalid.broken"
+ },
+ {
+ "foreground": "b31d28",
+ "fontStyle": "bold italic underline",
+ "token": "invalid.deprecated"
+ },
+ {
+ "foreground": "fafbfc",
+ "background": "b31d28",
+ "fontStyle": "italic underline",
+ "token": "invalid.illegal"
+ },
+ {
+ "foreground": "fafbfc",
+ "background": "d73a49",
+ "fontStyle": "italic underline",
+ "token": "carriage-return"
+ },
+ {
+ "foreground": "b31d28",
+ "fontStyle": "bold italic underline",
+ "token": "invalid.unimplemented"
+ },
+ {
+ "foreground": "b31d28",
+ "token": "message.error"
+ },
+ {
+ "foreground": "24292e",
+ "token": "string source"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "string variable"
+ },
+ {
+ "foreground": "032f62",
+ "token": "source.regexp"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string.regexp"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string.regexp.character-class"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string.regexp constant.character.escape"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string.regexp source.ruby.embedded"
+ },
+ {
+ "foreground": "032f62",
+ "token": "string.regexp string.regexp.arbitrary-repitition"
+ },
+ {
+ "foreground": "22863a",
+ "fontStyle": "bold",
+ "token": "string.regexp constant.character.escape"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "support.constant"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "support.variable"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "meta.module-reference"
+ },
+ {
+ "foreground": "735c0f",
+ "token": "markup.list"
+ },
+ {
+ "foreground": "005cc5",
+ "fontStyle": "bold",
+ "token": "markup.heading"
+ },
+ {
+ "foreground": "005cc5",
+ "fontStyle": "bold",
+ "token": "markup.heading entity.name"
+ },
+ {
+ "foreground": "22863a",
+ "token": "markup.quote"
+ },
+ {
+ "foreground": "24292e",
+ "fontStyle": "italic",
+ "token": "markup.italic"
+ },
+ {
+ "foreground": "24292e",
+ "fontStyle": "bold",
+ "token": "markup.bold"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "markup.raw"
+ },
+ {
+ "foreground": "b31d28",
+ "background": "ffeef0",
+ "token": "markup.deleted"
+ },
+ {
+ "foreground": "b31d28",
+ "background": "ffeef0",
+ "token": "meta.diff.header.from-file"
+ },
+ {
+ "foreground": "b31d28",
+ "background": "ffeef0",
+ "token": "punctuation.definition.deleted"
+ },
+ {
+ "foreground": "22863a",
+ "background": "f0fff4",
+ "token": "markup.inserted"
+ },
+ {
+ "foreground": "22863a",
+ "background": "f0fff4",
+ "token": "meta.diff.header.to-file"
+ },
+ {
+ "foreground": "22863a",
+ "background": "f0fff4",
+ "token": "punctuation.definition.inserted"
+ },
+ {
+ "foreground": "e36209",
+ "background": "ffebda",
+ "token": "markup.changed"
+ },
+ {
+ "foreground": "e36209",
+ "background": "ffebda",
+ "token": "punctuation.definition.changed"
+ },
+ {
+ "foreground": "f6f8fa",
+ "background": "005cc5",
+ "token": "markup.ignored"
+ },
+ {
+ "foreground": "f6f8fa",
+ "background": "005cc5",
+ "token": "markup.untracked"
+ },
+ {
+ "foreground": "6f42c1",
+ "fontStyle": "bold",
+ "token": "meta.diff.range"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "meta.diff.header"
+ },
+ {
+ "foreground": "005cc5",
+ "fontStyle": "bold",
+ "token": "meta.separator"
+ },
+ {
+ "foreground": "005cc5",
+ "token": "meta.output"
+ },
+ {
+ "foreground": "586069",
+ "token": "brackethighlighter.tag"
+ },
+ {
+ "foreground": "586069",
+ "token": "brackethighlighter.curly"
+ },
+ {
+ "foreground": "586069",
+ "token": "brackethighlighter.round"
+ },
+ {
+ "foreground": "586069",
+ "token": "brackethighlighter.square"
+ },
+ {
+ "foreground": "586069",
+ "token": "brackethighlighter.angle"
+ },
+ {
+ "foreground": "586069",
+ "token": "brackethighlighter.quote"
+ },
+ {
+ "foreground": "b31d28",
+ "token": "brackethighlighter.unmatched"
+ },
+ {
+ "foreground": "b31d28",
+ "token": "sublimelinter.mark.error"
+ },
+ {
+ "foreground": "e36209",
+ "token": "sublimelinter.mark.warning"
+ },
+ {
+ "foreground": "959da5",
+ "token": "sublimelinter.gutter-mark"
+ },
+ {
+ "foreground": "032f62",
+ "fontStyle": "underline",
+ "token": "constant.other.reference.link"
+ },
+ {
+ "foreground": "032f62",
+ "fontStyle": "underline",
+ "token": "string.other.link"
+ }
+ ],
+ "colors": {
+ "editor.foreground": "#24292e",
+ "editor.background": "#ffffff",
+ "editor.selectionBackground": "#c8c8fa",
+ "editor.inactiveSelectionBackground": "#fafbfc",
+ "editor.lineHighlightBackground": "#fafbfc",
+ "editorCursor.foreground": "#24292e",
+ "editorWhitespace.foreground": "#959da5",
+ "editorIndentGuide.background": "#959da5",
+ "editorIndentGuide.activeBackground": "#24292e",
+ "editor.selectionHighlightBorder": "#fafbfc"
+ }
+}
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index d5f143f469..127d5f848e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3330,6 +3330,11 @@ balanced-match@^1.0.0:
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
+balanced-match@^4.0.2:
+ version "4.0.4"
+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-4.0.4.tgz#bfb10662feed8196a2c62e7c68e17720c274179a"
+ integrity sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==
+
baseline-browser-mapping@^2.10.12:
version "2.10.19"
resolved "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.19.tgz"
@@ -3354,13 +3359,19 @@ bidi-js@^1.0.3:
dependencies:
require-from-string "^2.0.2"
-brace-expansion@^1.1.13, brace-expansion@^1.1.7, brace-expansion@^2.0.2, brace-expansion@^5.0.5:
- version "1.1.14"
- resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.14.tgz#d9de602370d91347cd9ddad1224d4fd701eb348b"
- integrity sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==
+brace-expansion@^2.0.2:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.0.tgz#4f41a41190216ee36067ec381526fe9539c4f0ae"
+ integrity sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==
dependencies:
balanced-match "^1.0.0"
- concat-map "0.0.1"
+
+brace-expansion@^5.0.5:
+ version "5.0.5"
+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-5.0.5.tgz#dcc3a37116b79f3e1b46db994ced5d570e930fdb"
+ integrity sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==
+ dependencies:
+ balanced-match "^4.0.2"
braces@^3.0.3:
version "3.0.3"
@@ -3535,11 +3546,6 @@ commondir@^1.0.1:
resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz"
integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==
- version "0.0.1"
- resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
- integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
-
confbox@^0.1.8:
version "0.1.8"
resolved "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz"
@@ -4203,6 +4209,11 @@ fast-levenshtein@^2.0.6:
resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz"
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
+fast-plist@^0.1.3:
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/fast-plist/-/fast-plist-0.1.3.tgz#328cd9335e93a2479ac90814a1302437574ea925"
+ integrity sha512-d9cEfo/WcOezgPLAC/8t8wGb6YOD6JTCPMw2QcG2nAdFmyY+9rTUizCTaGjIZAloWENTEUMAPpkUAIJJJ0i96A==
+
fast-string-truncated-width@^3.0.2:
version "3.0.3"
resolved "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz"
@@ -5102,21 +5113,14 @@ min-indent@^1.0.0:
resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz"
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
-minimatch@^10.2.2:
+minimatch@^10.2.2, minimatch@^10.2.4:
version "10.2.5"
resolved "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz"
integrity sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==
dependencies:
brace-expansion "^5.0.5"
-minimatch@^10.2.4, minimatch@^3.1.4:
- version "3.1.5"
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e"
- integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==
- dependencies:
- brace-expansion "^1.1.7"
-
-minimatch@^9.0.4, minimatch@^9.0.7:
+minimatch@^9.0.4:
version "9.0.9"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz#9b0cb9fcb78087f6fd7eababe2511c4d3d60574e"
integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==
@@ -5156,6 +5160,13 @@ monaco-editor@^0.55.1:
dompurify "3.2.7"
marked "14.0.0"
+monaco-themes@^0.4.8:
+ version "0.4.8"
+ resolved "https://registry.yarnpkg.com/monaco-themes/-/monaco-themes-0.4.8.tgz#b5df1cfa23c0886c9221e43516ff71bf7eafeda2"
+ integrity sha512-QEDCwl5XUMPPpsg8TVNfi1VKIDtMsMTJAhUfxHSZ6hzkEfZgfTK2hicwyzkDKhAhrpMkHkwMtG13ynvdztJesw==
+ dependencies:
+ fast-plist "^0.1.3"
+
mri@^1.2.0:
version "1.2.0"
resolved "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz"
@@ -5175,7 +5186,7 @@ mz@^2.7.0:
object-assign "^4.0.1"
thenify-all "^1.0.0"
-nanoid@^3.3.11:
+nanoid@^3.3.11, nanoid@^3.3.6:
version "3.3.12"
resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz"
integrity sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==
@@ -5380,21 +5391,21 @@ pathval@^2.0.0:
resolved "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz"
integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==
[email protected], picocolors@^1.0.1, picocolors@^1.1.0, picocolors@^1.1.1:
[email protected], picocolors@^1.0.0, picocolors@^1.0.1, picocolors@^1.1.0, picocolors@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
-picomatch@^2.3.1, picomatch@^4.0.2, picomatch@^4.0.3, picomatch@^4.0.4:
- version "4.0.4"
- resolved "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz"
- integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==
-
-picomatch@^2.3.2:
+picomatch@^2.3.1:
version "2.3.2"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601"
integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==
+picomatch@^4.0.2, picomatch@^4.0.3, picomatch@^4.0.4:
+ version "4.0.4"
+ resolved "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz"
+ integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==
+
pify@^4.0.1:
version "4.0.1"
resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz"
@@ -5447,7 +5458,16 @@ postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0:
resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz"
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
[email protected], postcss@^8.4.43, postcss@^8.4.49, postcss@^8.5.10, postcss@^8.5.13, postcss@^8.5.3, postcss@^8.5.6:
+ version "8.4.31"
+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d"
+ integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==
+ dependencies:
+ nanoid "^3.3.6"
+ picocolors "^1.0.0"
+ source-map-js "^1.0.2"
+
+postcss@^8.4.43, postcss@^8.4.49, postcss@^8.5.13, postcss@^8.5.3, postcss@^8.5.6:
version "8.5.13"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.13.tgz#6cfaf647f2e7ef69850208eccd849e0d3f65d420"
integrity sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==
@@ -5461,7 +5481,12 @@ prelude-ls@^1.2.1:
resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz"
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
-prettier@^2.7.1, prettier@^3.8.3:
+prettier@^2.7.1:
+ version "2.8.8"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
+ integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
+
+prettier@^3.8.3:
version "3.8.3"
resolved "https://registry.npmjs.org/prettier/-/prettier-3.8.3.tgz"
integrity sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==
@@ -5877,7 +5902,7 @@ slash@^3.0.0:
resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz"
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
-source-map-js@^1.0.1, source-map-js@^1.2.0, source-map-js@^1.2.1:
+source-map-js@^1.0.1, source-map-js@^1.0.2, source-map-js@^1.2.0, source-map-js@^1.2.1:
version "1.2.1"
resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz"
integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==