Skip to content

Commit 0623d31

Browse files
committed
removed run command
1 parent 38da034 commit 0623d31

File tree

5 files changed

+5
-62
lines changed

5 files changed

+5
-62
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ Go to the `v1` branch to see the changelog of Lume 1.
2323
- Cache results of `search.files()`.
2424
- `LUME_DRAFTS` environment variable is true by default with `--serve | -s`.
2525

26+
### Removed
27+
- `run` command code. It didn't work for a while and it's better to run Deno tasks.
28+
2629
### Fixed
2730
- Ensure console output for validate_html and seo plugins is shown after the build process.
2831
- Ensure `metas` plugin is registered after `og_images`.
2932
- `favicon` plugin: scale the SVG icons before render to PNG.
30-
- `run` command.
3133
- Added missing tests for SEO plugin.
3234
- Renamed `Config` interface of `seo` and `validate_html` plugins to `Options`.
3335
- Added export-ignore paths to `.gitattributes`.

cli.ts

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -30,44 +30,6 @@ const create = new Command()
3030
await create(config, name, args);
3131
});
3232

33-
const run = new Command()
34-
.description("Run one or more scripts from the config file.")
35-
.example(
36-
"lume run deploy",
37-
"Runs the `deploy` script.",
38-
)
39-
.example(
40-
"lume run deploy --config=_config.ts",
41-
"Runs the `deploy` script from the _config.ts file.",
42-
)
43-
.example(
44-
"lume run build deploy",
45-
"Runs the `build` and `deploy` scripts.",
46-
)
47-
.option(
48-
"--config <config:string>",
49-
"The config file path.",
50-
)
51-
.option(
52-
"--src <src:string>",
53-
"The source directory for your site.",
54-
{ default: "./" },
55-
)
56-
.option(
57-
"--dest <dest:string>",
58-
"The build destination.",
59-
{ default: "_site" },
60-
)
61-
.option(
62-
"--location <location>",
63-
"The URL location of the site.",
64-
{ default: "http://localhost" },
65-
)
66-
.action(async ({ config }, ...scripts) => {
67-
const { run } = await import("./cli/run.ts");
68-
await run(config, scripts);
69-
});
70-
7133
const lume = new Command()
7234
.name("🔥lume")
7335
.version(() => getCurrentVersion())
@@ -137,7 +99,6 @@ const lume = new Command()
13799
})
138100
.command("new <archetype> [arguments...]", create)
139101
.command("upgrade", upgrade)
140-
.command("run <script...>", run)
141102
.command("completions", new CompletionsCommand());
142103

143104
try {

cli/run.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

deps/icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export const catalogs: Catalog[] = [
175175
// https://react.fluentui.dev/?path=/docs/icons-catalog--docs
176176
id: "fluent",
177177
src:
178-
"https://cdn.jsdelivr.net/npm/@fluentui/[email protected].314/icons/{name}_{variant}.svg",
178+
"https://cdn.jsdelivr.net/npm/@fluentui/[email protected].315/icons/{name}_{variant}.svg",
179179
variants: [
180180
{ id: "outlined", path: "regular" },
181181
"filled",

deps/sass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "npm:[email protected].0";
1+
export * from "npm:[email protected].1";

0 commit comments

Comments
 (0)