Compare commits

..

No commits in common. "87ed81c98abfac26673bc41393611ee57944e041" and "9315765650f4fd92dcb6a8be894797d541ff736f" have entirely different histories.

5 changed files with 7 additions and 12 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -10,17 +10,17 @@
"format:apply": "prettier . --write" "format:apply": "prettier . --write"
}, },
"devDependencies": { "devDependencies": {
"bun-types": "^1.1.21", "bun-types": "^1.1.6",
"prettier": "3.3.3" "prettier": "3.3.3"
}, },
"dependencies": { "dependencies": {
"@lilybird/handlers": "^0.6.0-beta.15", "@lilybird/handlers": "^0.6.0-beta.11",
"@lilybird/jsx": "0.3.0", "@lilybird/jsx": "0.3.0",
"@lilybird/transformers": "^0.4.1", "@lilybird/transformers": "^0.4.1",
"@paperdave/logger": "^3.0.1", "@paperdave/logger": "^3.0.1",
"@purplet/serialize": "^2.0.0", "@purplet/serialize": "^2.0.0",
"@wolfram-alpha/wolfram-alpha-api": "^23.1004.144821-RELEASE", "@wolfram-alpha/wolfram-alpha-api": "^23.1004.144821-RELEASE",
"algoliasearch": "^4.24.0", "algoliasearch": "^4.23.2",
"bun-tracestrings": "github:oven-sh/bun.report", "bun-tracestrings": "github:oven-sh/bun.report",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"lilybird": "^0.7.3" "lilybird": "^0.7.3"

View file

@ -6,7 +6,6 @@ import {
LILYBIRD_VERSION, LILYBIRD_VERSION,
LILYBIRD_HANDLERS_VERSION, LILYBIRD_HANDLERS_VERSION,
LILYBIRD_JSX_VERSION, LILYBIRD_JSX_VERSION,
LILYBIRD_TRANSFORMERS_VERSION,
} from "../constants.ts"; } from "../constants.ts";
$applicationCommand({ $applicationCommand({
@ -21,9 +20,8 @@ $applicationCommand({
`[Bun v${Bun.version} (${Bun.revision})](<https://github.com/oven-sh/bun/releases/tag/bun-v${Bun.version}>)`, `[Bun v${Bun.version} (${Bun.revision})](<https://github.com/oven-sh/bun/releases/tag/bun-v${Bun.version}>)`,
"", "",
`[Lilybird v${LILYBIRD_VERSION}](<https://npmjs.org/lilybird>)`, `[Lilybird v${LILYBIRD_VERSION}](<https://npmjs.org/lilybird>)`,
`[Lilybird Handlers v${LILYBIRD_HANDLERS_VERSION}](<https://npmjs.org/@lilybird/handlers>)`,
`[Lilybird JSX v${LILYBIRD_JSX_VERSION}](<https://npmjs.org/@lilybird/jsx>)`, `[Lilybird JSX v${LILYBIRD_JSX_VERSION}](<https://npmjs.org/@lilybird/jsx>)`,
`[Lilybird Transformers v${LILYBIRD_TRANSFORMERS_VERSION}](<https://npmjs.org/@lilybird/transformers>)`, `[Lilybird Handlers v${LILYBIRD_HANDLERS_VERSION}](<https://npmjs.org/@lilybird/handlers>)`,
].join("\n"), ].join("\n"),
ephemeral: true, ephemeral: true,
}); });

View file

@ -8,16 +8,12 @@ export const COMMIT_HASH = spawnSync({
}).stdout.toString(); }).stdout.toString();
export const LILYBIRD_VERSION = sliceIfStartsWith(dependencies.lilybird, "^"); export const LILYBIRD_VERSION = sliceIfStartsWith(dependencies.lilybird, "^");
export const LILYBIRD_HANDLERS_VERSION = sliceIfStartsWith(
dependencies["@lilybird/handlers"],
"^",
);
export const LILYBIRD_JSX_VERSION = sliceIfStartsWith( export const LILYBIRD_JSX_VERSION = sliceIfStartsWith(
dependencies["@lilybird/jsx"], dependencies["@lilybird/jsx"],
"^", "^",
); );
export const LILYBIRD_TRANSFORMERS_VERSION = sliceIfStartsWith( export const LILYBIRD_HANDLERS_VERSION = sliceIfStartsWith(
dependencies["@lilybird/transformers"], dependencies["@lilybird/handlers"],
"^", "^",
); );

View file

@ -11,6 +11,7 @@ process.on("uncaughtException", console.error);
handler.cachePath = `${import.meta.dir}/lily-cache/handler`; handler.cachePath = `${import.meta.dir}/lily-cache/handler`;
handler.addDebugListener(console.log);
await handler.scanDir(`${import.meta.dir}/commands`); await handler.scanDir(`${import.meta.dir}/commands`);
await handler.scanDir(`${import.meta.dir}/listeners`); await handler.scanDir(`${import.meta.dir}/listeners`);