@yummacss/nitro 3.17.0 → 3.19.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/browser.d.cts +1 -1
- package/dist/browser.d.mts +1 -1
- package/dist/{generator-CiI3U1Ki.d.cts → generator-B1JYwnbc.d.cts} +2 -1
- package/dist/{generator-CuiEND7e.d.mts → generator-DYlj8NVO.d.mts} +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/browser.d.cts
CHANGED
package/dist/browser.d.mts
CHANGED
|
@@ -14,8 +14,9 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
type Config = z.infer<typeof ConfigSchema>;
|
|
17
|
+
declare function defineConfig(config: Config): Config;
|
|
17
18
|
//#endregion
|
|
18
19
|
//#region src/generator.d.ts
|
|
19
20
|
declare function generator(usedClasses: Set<string>, config: Config): string;
|
|
20
21
|
//#endregion
|
|
21
|
-
export {
|
|
22
|
+
export { defineConfig as a, configName as i, Config as n, baseStyles as o, ConfigSchema as r, generator as t };
|
|
@@ -14,8 +14,9 @@ declare const ConfigSchema: z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
type Config = z.infer<typeof ConfigSchema>;
|
|
17
|
+
declare function defineConfig(config: Config): Config;
|
|
17
18
|
//#endregion
|
|
18
19
|
//#region src/generator.d.ts
|
|
19
20
|
declare function generator(usedClasses: Set<string>, config: Config): string;
|
|
20
21
|
//#endregion
|
|
21
|
-
export {
|
|
22
|
+
export { defineConfig as a, configName as i, Config as n, baseStyles as o, ConfigSchema as r, generator as t };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./generator-r-DVZbiy.cjs`);let t=require(`zod`),n=require(`node:fs`),r=require(`tinyglobby`);const i=`yumma.config.mjs`,a=t.z.object({source:t.z.array(t.z.string()).default([``]),output:t.z.string().default(``),buildOptions:t.z.object({reset:t.z.boolean().default(!0),minify:t.z.boolean().default(!1)}).default({reset:!0,minify:!1})});async function
|
|
1
|
+
const e=require(`./generator-r-DVZbiy.cjs`);let t=require(`zod`),n=require(`node:fs`),r=require(`tinyglobby`);const i=`yumma.config.mjs`,a=t.z.object({source:t.z.array(t.z.string()).default([``]),output:t.z.string().default(``),buildOptions:t.z.object({reset:t.z.boolean().default(!0),minify:t.z.boolean().default(!1)}).default({reset:!0,minify:!1})});function o(e){return e}async function s(t){let i=await(0,r.glob)(t),a=new Set;for(let t of i)try{e.n((0,n.readFileSync)(t,`utf-8`)).forEach(e=>{a.add(e)})}catch{}return a}exports.ConfigSchema=a,exports.baseStyles=e.r,exports.configName=`yumma.config.mjs`,exports.defineConfig=o,exports.extractor=s,exports.generator=e.t;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as defineConfig, i as configName, n as Config, o as baseStyles, r as ConfigSchema, t as generator } from "./generator-B1JYwnbc.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/extractor.d.ts
|
|
4
4
|
declare function extractor(patterns: string[]): Promise<Set<string>>;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { type Config, ConfigSchema, baseStyles, configName, extractor, generator };
|
|
6
|
+
export { type Config, ConfigSchema, baseStyles, configName, defineConfig, extractor, generator };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as defineConfig, i as configName, n as Config, o as baseStyles, r as ConfigSchema, t as generator } from "./generator-DYlj8NVO.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/extractor.d.ts
|
|
4
4
|
declare function extractor(patterns: string[]): Promise<Set<string>>;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { type Config, ConfigSchema, baseStyles, configName, extractor, generator };
|
|
6
|
+
export { type Config, ConfigSchema, baseStyles, configName, defineConfig, extractor, generator };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"./generator-JJrlxSy1.mjs";import{z as r}from"zod";import{readFileSync as i}from"node:fs";import{glob as a}from"tinyglobby";const o=`yumma.config.mjs`,s=r.object({source:r.array(r.string()).default([``]),output:r.string().default(``),buildOptions:r.object({reset:r.boolean().default(!0),minify:r.boolean().default(!1)}).default({reset:!0,minify:!1})});async function
|
|
1
|
+
import{n as e,r as t,t as n}from"./generator-JJrlxSy1.mjs";import{z as r}from"zod";import{readFileSync as i}from"node:fs";import{glob as a}from"tinyglobby";const o=`yumma.config.mjs`,s=r.object({source:r.array(r.string()).default([``]),output:r.string().default(``),buildOptions:r.object({reset:r.boolean().default(!0),minify:r.boolean().default(!1)}).default({reset:!0,minify:!1})});function c(e){return e}async function l(t){let n=await a(t),r=new Set;for(let t of n)try{e(i(t,`utf-8`)).forEach(e=>{r.add(e)})}catch{}return r}export{s as ConfigSchema,t as baseStyles,o as configName,c as defineConfig,l as extractor,n as generator};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yummacss/nitro",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.0",
|
|
4
4
|
"description": "Fast CSS generation for Yumma CSS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css-framework",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"tinyglobby": "^0.2.15",
|
|
41
41
|
"zod": "^4.3.4",
|
|
42
|
-
"@yummacss/core": "3.
|
|
42
|
+
"@yummacss/core": "3.19.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public",
|