Compare commits

...

4 commits

Author SHA1 Message Date
87ed81c98a
build: update deps
Some checks failed
Sync to Mirror / sync-codeberg (push) Has been cancelled
Sync to Mirror / sync-gitlab (push) Has been cancelled
2024-08-05 22:35:42 +02:00
0f22aa8dcc
feat: add lilybird transformers to version cmd 2024-07-22 21:39:56 +02:00
e5162861d5
build: bump @lilybird/handlers 2024-07-21 22:41:08 +02:00
82543d25d4
build: bump lilybird 2024-07-21 18:18:00 +02:00
5 changed files with 12 additions and 7 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.6", "bun-types": "^1.1.21",
"prettier": "3.3.3" "prettier": "3.3.3"
}, },
"dependencies": { "dependencies": {
"@lilybird/handlers": "^0.6.0-beta.11", "@lilybird/handlers": "^0.6.0-beta.15",
"@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.23.2", "algoliasearch": "^4.24.0",
"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,6 +6,7 @@ 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({
@ -20,8 +21,9 @@ $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 JSX v${LILYBIRD_JSX_VERSION}](<https://npmjs.org/@lilybird/jsx>)`,
`[Lilybird Handlers v${LILYBIRD_HANDLERS_VERSION}](<https://npmjs.org/@lilybird/handlers>)`, `[Lilybird Handlers v${LILYBIRD_HANDLERS_VERSION}](<https://npmjs.org/@lilybird/handlers>)`,
`[Lilybird JSX v${LILYBIRD_JSX_VERSION}](<https://npmjs.org/@lilybird/jsx>)`,
`[Lilybird Transformers v${LILYBIRD_TRANSFORMERS_VERSION}](<https://npmjs.org/@lilybird/transformers>)`,
].join("\n"), ].join("\n"),
ephemeral: true, ephemeral: true,
}); });

View file

@ -8,12 +8,16 @@ 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_HANDLERS_VERSION = sliceIfStartsWith( export const LILYBIRD_TRANSFORMERS_VERSION = sliceIfStartsWith(
dependencies["@lilybird/handlers"], dependencies["@lilybird/transformers"],
"^", "^",
); );

View file

@ -11,7 +11,6 @@ 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`);