Skip to content
Open
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
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default tsEslint.config(
"packages/babel-plugin-alloy/**/*",
"packages/babel-preset-alloy/**/*",
"packages/docs/**/*",
"packages/debug-ui/mock-server.js",
"samples/**/*", // for some reason eslint is unhappy with some files in here
"**/scripts/**/*",
"**/cmd/**/*",
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"pnpm": {
"patchedDependencies": {
"@microsoft/tsdoc@0.15.1": "patches/@microsoft__tsdoc@0.15.1.patch"
},
"overrides": {
"@vue/reactivity": "3.5.16"
}
}
}
10 changes: 8 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
"./components": {
"development": "./src/components/index.ts",
"import": "./dist/src/components/index.js"
},
"./symbols": {
"development": "./src/symbols/index.ts",
"import": "./dist/src/symbols/index.js"
}
},
"browser": {
Expand All @@ -45,16 +49,18 @@
"license": "MIT",
"dependencies": {
"@vue/reactivity": "catalog:",
"picocolors": "catalog:",
"cli-table3": "catalog:",
"pathe": "catalog:",
"prettier": "catalog:"
"picocolors": "catalog:",
"prettier": "catalog:",
"ws": "^8.18.2"
},
"devDependencies": {
"@alloy-js/cli": "workspace:~",
"@alloy-js/rollup-plugin": "workspace:~",
"@microsoft/api-extractor": "catalog:",
"@rollup/plugin-typescript": "catalog:",
"@types/ws": "^8.18.1",
"concurrently": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/Declaration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { useContext } from "../context.js";
import { BinderContext } from "../context/binder.js";
import { DeclarationContext } from "../context/declaration.js";
import { onCleanup } from "../reactivity.js";
import { Refkey } from "../refkey.js";
import type { Children } from "../runtime/component.js";
import { OutputSymbol } from "../symbols/output-symbol.js";
import { Refkey } from "../symbols/refkey.js";

/**
* Create a declaration by providing an already created symbol. The symbol is
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/MemberDeclaration.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useContext } from "../context.js";
import { BinderContext } from "../context/binder.js";
import { MemberDeclarationContext } from "../context/member-declaration.js";
import type { Refkey } from "../refkey.js";
import type { Children } from "../runtime/component.js";
import { OutputSymbolFlags } from "../symbols/flags.js";
import { OutputSymbol } from "../symbols/output-symbol.js";
import type { Refkey } from "../symbols/refkey.js";

/**
* Create a member declaration by providing a symbol name and optional symbol
Expand Down
10 changes: 5 additions & 5 deletions packages/core/src/components/Output.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import {
createOutputBinder,
getSymbolCreator,
SymbolCreator,
} from "../binder.js";
import { BinderContext } from "../context/binder.js";
import { NamePolicyContext } from "../context/name-policy.js";
import { NamePolicy } from "../name-policy.js";
import { getContext } from "../reactivity.js";
import { PrintTreeOptions } from "../render.js";
import type { Children } from "../runtime/component.js";
import { extensionEffects } from "../slot.js";
import {
createOutputBinder,
getSymbolCreator,
SymbolCreator,
} from "../symbols/binder.js";
import { SourceDirectory } from "./SourceDirectory.js";

// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/ReferenceOrContent.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { computed } from "@vue/reactivity";
import { useContext } from "../context.js";
import { BinderContext } from "../context/binder.js";
import type { Refkey } from "../refkey.js";
import type { Children } from "../runtime/component.js";
import type { Refkey } from "../symbols/refkey.js";

export interface ReferenceOrContentProps {
readonly refkey: Refkey;
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/SourceFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { useContext } from "../context.js";
import { SourceDirectoryContext } from "../context/source-directory.js";
import { SourceFileContext } from "../context/source-file.js";
import { getContext } from "../reactivity.js";
import { Refkey } from "../refkey.js";
import { PrintTreeOptions } from "../render.js";
import type { Children, ComponentDefinition } from "../runtime/component.js";
import { Refkey } from "../symbols/refkey.js";
import { Show } from "./Show.jsx";

export interface SourceFileProps extends PrintTreeOptions {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/context/binder.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Binder } from "../binder.js";
import {
type ComponentContext,
createNamedContext,
useContext,
} from "../context.js";
import type { Binder } from "../symbols/binder.js";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import type { Output } from "../components/Output.js";

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/context/source-file.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ComponentContext, createNamedContext } from "../context.js";
import type { Refkey } from "../refkey.js";
import { ComponentDefinition } from "../runtime/component.js";
import type { Refkey } from "../symbols/refkey.js";

export interface SourceFileContext {
path: string;
Expand Down
Loading
Loading