odoro 0.2.0 → 0.3.0
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-G2WW7N4C.js → chunk-34RGOZFA.js} +8 -0
- package/dist/cli.js +2 -2
- package/dist/{commands-FVAHVVVN.js → commands-PT3NS65O.js} +1 -1
- package/dist/{package-RDYY6ULW.js → package-U7R7SC4H.js} +1 -1
- package/dist/registry/index.d.ts +3 -1
- package/dist/registry/index.js +1 -1
- package/package.json +1 -1
|
@@ -1641,6 +1641,14 @@ var CATEGORIES = [
|
|
|
1641
1641
|
"image",
|
|
1642
1642
|
"ui",
|
|
1643
1643
|
"section",
|
|
1644
|
+
/**
|
|
1645
|
+
* Le rideau d'ouverture.
|
|
1646
|
+
*
|
|
1647
|
+
* Pas une section : une section occupe une place dans le flux de la page,
|
|
1648
|
+
* un chargeur couvre l'ecran entier et disparait. Les ranger ensemble
|
|
1649
|
+
* obligerait chaque section a declarer laquelle des deux elle est.
|
|
1650
|
+
*/
|
|
1651
|
+
"loader",
|
|
1644
1652
|
"hooks"
|
|
1645
1653
|
];
|
|
1646
1654
|
var PERF_TIERS = ["light", "medium", "heavy"];
|
package/dist/cli.js
CHANGED
|
@@ -130,7 +130,7 @@ function rootFrom(flags, positional) {
|
|
|
130
130
|
async function run(argv) {
|
|
131
131
|
const { command, positional, flags } = parseArgs(argv);
|
|
132
132
|
if (flags["version"] === true) {
|
|
133
|
-
const manifest = await import('./package-
|
|
133
|
+
const manifest = await import('./package-U7R7SC4H.js');
|
|
134
134
|
console.log(manifest.default.version);
|
|
135
135
|
return 0;
|
|
136
136
|
}
|
|
@@ -178,7 +178,7 @@ async function run(argv) {
|
|
|
178
178
|
case "list":
|
|
179
179
|
case "diff":
|
|
180
180
|
case "doctor": {
|
|
181
|
-
const registry = await import('./commands-
|
|
181
|
+
const registry = await import('./commands-PT3NS65O.js');
|
|
182
182
|
const options = {
|
|
183
183
|
root: typeof flags["root"] === "string" ? flags["root"] : process.cwd(),
|
|
184
184
|
registry: typeof flags["registry"] === "string" ? flags["registry"] : void 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { guessAlias, defaultAliases } from './chunk-T6RLHSCW.js';
|
|
3
|
-
import { object, string, _minLength, array, _default, record, literal, safeParse, resolveGraph, describeProblem, parseMeta } from './chunk-
|
|
3
|
+
import { object, string, _minLength, array, _default, record, literal, safeParse, resolveGraph, describeProblem, parseMeta } from './chunk-34RGOZFA.js';
|
|
4
4
|
import { colors, info, warn, success, error } from './chunk-JMEHF3KN.js';
|
|
5
5
|
import { readFile, writeFile, mkdir, rm, rename } from 'fs/promises';
|
|
6
6
|
import { join, isAbsolute, resolve, dirname, posix } from 'path';
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import * as z from 'zod/mini';
|
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
35
|
/** Categories de composants du registre. */
|
|
36
|
-
declare const CATEGORIES: readonly ["text", "background", "effect", "hero", "image", "ui", "section", "hooks"];
|
|
36
|
+
declare const CATEGORIES: readonly ["text", "background", "effect", "hero", "image", "ui", "section", "loader", "hooks"];
|
|
37
37
|
/** Niveaux de cout d'un composant. */
|
|
38
38
|
declare const PERF_TIERS: readonly ["light", "medium", "heavy"];
|
|
39
39
|
/** Backends graphiques declarables. */
|
|
@@ -44,6 +44,7 @@ declare const FALLBACKS: readonly ["poster", "gradient", "static", "none"];
|
|
|
44
44
|
declare const baseSchema: z.ZodMiniObject<{
|
|
45
45
|
name: z.ZodMiniString<string>;
|
|
46
46
|
category: z.ZodMiniEnum<{
|
|
47
|
+
loader: "loader";
|
|
47
48
|
text: "text";
|
|
48
49
|
background: "background";
|
|
49
50
|
effect: "effect";
|
|
@@ -114,6 +115,7 @@ type RegistryMetaInput = z.input<typeof baseSchema>;
|
|
|
114
115
|
declare const metaSchema: z.ZodMiniObject<{
|
|
115
116
|
name: z.ZodMiniString<string>;
|
|
116
117
|
category: z.ZodMiniEnum<{
|
|
118
|
+
loader: "loader";
|
|
117
119
|
text: "text";
|
|
118
120
|
background: "background";
|
|
119
121
|
effect: "effect";
|
package/dist/registry/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export { CATEGORIES, FALLBACKS, GL_BACKENDS, PERF_TIERS, describeProblem, entryId, metaSchema, parseMeta, resolveGraph, toCatalogue, validateCatalogue } from '../chunk-
|
|
2
|
+
export { CATEGORIES, FALLBACKS, GL_BACKENDS, PERF_TIERS, describeProblem, entryId, metaSchema, parseMeta, resolveGraph, toCatalogue, validateCatalogue } from '../chunk-34RGOZFA.js';
|