@redwilly/anima 0.1.24 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // src/cli/index.ts
3
+ // src/app/cli/index.ts
4
4
  import { Command } from "commander";
5
5
 
6
- // src/cli/SceneLoader.ts
6
+ // src/app/cli/scene-loader.ts
7
7
  import { Scene } from "@redwilly/anima";
8
8
  import { pathToFileURL } from "url";
9
9
  import { resolve } from "path";
@@ -44,7 +44,7 @@ var SceneLoader = class {
44
44
  }
45
45
  };
46
46
 
47
- // src/cli/commands/list-scenes.ts
47
+ // src/app/cli/commands/list-scenes.ts
48
48
  import { resolve as resolve2 } from "path";
49
49
  async function listScenes(file) {
50
50
  const loader = new SceneLoader();
@@ -63,7 +63,7 @@ async function listScenes(file) {
63
63
  }
64
64
  }
65
65
 
66
- // src/cli/commands/render.ts
66
+ // src/app/cli/commands/render.ts
67
67
  import { Renderer, Resolution } from "@redwilly/anima";
68
68
  import { join, dirname } from "path";
69
69
  async function render(file, options) {
@@ -139,8 +139,6 @@ async function render(file, options) {
139
139
  });
140
140
  console.log("Rendering complete.");
141
141
  }
142
-
143
- // src/cli/commands/preview.ts
144
142
  async function preview(file, options) {
145
143
  await render(file, {
146
144
  ...options,
@@ -148,7 +146,7 @@ async function preview(file, options) {
148
146
  });
149
147
  }
150
148
 
151
- // src/cli/commands/export-frame.ts
149
+ // src/app/cli/commands/export-frame.ts
152
150
  import { Renderer as Renderer2 } from "@redwilly/anima";
153
151
  async function exportFrame(file, options) {
154
152
  const loader = new SceneLoader();
@@ -194,7 +192,7 @@ async function exportFrame(file, options) {
194
192
  console.log("Export complete.");
195
193
  }
196
194
 
197
- // src/cli/index.ts
195
+ // src/app/cli/index.ts
198
196
  var program = new Command();
199
197
  program.name("anima").description("CLI for Anima animation engine").version("0.1.0");
200
198
  program.option("-d, --debug", "output extra debugging");