@odori/cli 0.0.2 → 0.0.4
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/{chunk-7XJL2BYO.js → chunk-NYXWEZU2.js} +717 -348
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +63 -8
- package/dist/index.js +3 -3
- package/dist/registry-snapshot-MSH2EA36.js +4867 -0
- package/package.json +3 -3
- package/src/assets.ts +90 -0
- package/src/brand-file.ts +16 -4
- package/src/chunk-cache.ts +6 -0
- package/src/cli.ts +22 -12
- package/src/commands/add.ts +33 -8
- package/src/commands/dev.ts +114 -12
- package/src/commands/doctor.ts +47 -2
- package/src/commands/exportVideo.ts +39 -5
- package/src/commands/{still.ts → frame.ts} +23 -9
- package/src/commands/init.ts +1 -1
- package/src/commands/new.ts +1 -1
- package/src/cues.ts +34 -21
- package/src/discovery.ts +85 -5
- package/src/formats.ts +67 -8
- package/src/index.ts +1 -1
- package/src/jobs.ts +6 -2
- package/src/registry-snapshot.json +1530 -328
- package/src/registry-source.ts +87 -5
- package/src/render.ts +48 -13
- package/src/server.ts +55 -13
- package/studio/src/Studio.tsx +19 -22
- package/studio/src/components/ExportPanel.tsx +124 -90
- package/studio/src/components/Inspector.tsx +221 -0
- package/studio/src/components/Navigator.tsx +145 -0
- package/studio/src/components/Thumbnail.tsx +65 -23
- package/studio/src/components/ui.tsx +9 -2
- package/studio/src/lib/highlight.ts +85 -0
- package/studio/src/studio.css +435 -20
- package/studio/src/views/AssetsView.tsx +14 -1
- package/studio/src/views/BrandsView.tsx +74 -26
- package/studio/src/views/ComponentsView.tsx +206 -55
- package/studio/src/views/HomeView.tsx +44 -19
- package/studio/src/views/VideosView.tsx +53 -48
- package/studio/src/virtual.d.ts +4 -1
- package/dist/registry-snapshot-NIH2JMQ6.js +0 -3559
package/studio/src/virtual.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ declare module "virtual:odori-project" {
|
|
|
10
10
|
export const project: {
|
|
11
11
|
root: string;
|
|
12
12
|
videosDir: string;
|
|
13
|
+
componentsDir: string;
|
|
14
|
+
/** Directories that named themselves, from `category.json`. */
|
|
15
|
+
categories: Array<{path: string; name?: string; order?: number}>;
|
|
13
16
|
docsUrl: string;
|
|
14
17
|
exportDir: string;
|
|
15
18
|
audioDir: string;
|
|
@@ -18,7 +21,7 @@ declare module "virtual:odori-project" {
|
|
|
18
21
|
assets: Array<{reference: string; url: string}>;
|
|
19
22
|
files: {
|
|
20
23
|
videos: Array<{id: string; file: string}>;
|
|
21
|
-
previews: Array<{id: string; file: string}>;
|
|
24
|
+
previews: Array<{id: string; file: string; usedBy: string[]}>;
|
|
22
25
|
brands: Array<{id: string; file: string}>;
|
|
23
26
|
};
|
|
24
27
|
};
|