@salty-css/core 0.0.1-alpha.263 → 0.0.1-alpha.265
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/bin/main.js +2 -2
- package/compiler/index.js +2 -2
- package/css/keyframes.js +1 -1
- package/generators/index.js +1 -1
- package/{index-Cpvtq5h9.js → index-CqTDidoK.js} +1 -1
- package/package.json +1 -1
- package/{parse-styles-CKmL8EwD.js → parse-styles-Cq_H5JGg.js} +4 -1
- package/parsers/index.js +2 -2
- package/server/index.js +1 -1
- package/{should-restart-M_v7QUN8.js → should-restart-BE-pvAhK.js} +1 -1
package/bin/main.js
CHANGED
@@ -3,11 +3,11 @@ import { existsSync as Q, watch as rt } from "fs";
|
|
3
3
|
import { mkdir as q, readFile as S, writeFile as C } from "fs/promises";
|
4
4
|
import { join as a, relative as z, parse as ct, format as et } from "path";
|
5
5
|
import { render as lt } from "ejs";
|
6
|
-
import { l as e, a as h, g as K, i as dt, b as ft } from "../index-
|
6
|
+
import { l as e, a as h, g as K, i as dt, b as ft } from "../index-CqTDidoK.js";
|
7
7
|
import { p as pt } from "../pascal-case-BQpR5PdN.js";
|
8
8
|
import { exec as gt } from "child_process";
|
9
9
|
import ut from "ora";
|
10
|
-
import { c as yt } from "../should-restart-
|
10
|
+
import { c as yt } from "../should-restart-BE-pvAhK.js";
|
11
11
|
const st = (u) => new Promise((v, k) => {
|
12
12
|
gt(u, ($) => {
|
13
13
|
if ($) return k($);
|
package/compiler/index.js
CHANGED
@@ -4,9 +4,9 @@ import "../dash-case-DBThphLm.js";
|
|
4
4
|
import "path";
|
5
5
|
import "fs";
|
6
6
|
import "fs/promises";
|
7
|
-
import "../parse-styles-
|
7
|
+
import "../parse-styles-Cq_H5JGg.js";
|
8
8
|
import "../parsers/index.js";
|
9
|
-
import { e as F, d as y, g as x, b as S, i as c, m as f, s as C, c as E } from "../index-
|
9
|
+
import { e as F, d as y, g as x, b as S, i as c, m as f, s as C, c as E } from "../index-CqTDidoK.js";
|
10
10
|
import "../css/merge.js";
|
11
11
|
import "../define-templates-4A2yHcMF.js";
|
12
12
|
export {
|
package/css/keyframes.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { p as m } from "../parse-styles-
|
1
|
+
import { p as m } from "../parse-styles-Cq_H5JGg.js";
|
2
2
|
import { t as j } from "../dash-case-DBThphLm.js";
|
3
3
|
const v = async ({ animationName: $, params: f, appendInitialStyles: l, ...t }) => {
|
4
4
|
const r = $ || j(t), o = async (n = {}) => {
|
package/generators/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
var C = Object.defineProperty;
|
2
2
|
var x = (a, t, s) => t in a ? C(a, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[t] = s;
|
3
3
|
var u = (a, t, s) => x(a, typeof t != "symbol" ? t + "" : t, s);
|
4
|
-
import { p as v } from "../parse-styles-
|
4
|
+
import { p as v } from "../parse-styles-Cq_H5JGg.js";
|
5
5
|
import { t as f, d as h } from "../dash-case-DBThphLm.js";
|
6
6
|
class y {
|
7
7
|
constructor(t) {
|
@@ -4,7 +4,7 @@ import { t as I, d as A } from "./dash-case-DBThphLm.js";
|
|
4
4
|
import { join as i, parse as tt } from "path";
|
5
5
|
import { existsSync as ft, mkdirSync as G, statSync as _t, readdirSync as Vt, readFileSync as T, writeFileSync as F } from "fs";
|
6
6
|
import { readFile as Ct } from "fs/promises";
|
7
|
-
import { p as $t, a as Et } from "./parse-styles-
|
7
|
+
import { p as $t, a as Et } from "./parse-styles-Cq_H5JGg.js";
|
8
8
|
import { parseTemplates as Ot, getTemplateTypes as Mt } from "./parsers/index.js";
|
9
9
|
import { createLogger as Rt, transports as Jt, format as rt } from "winston";
|
10
10
|
import { mergeObjects as H, mergeFactories as zt } from "./css/merge.js";
|
package/package.json
CHANGED
@@ -59,7 +59,10 @@ const U = (o) => (s) => {
|
|
59
59
|
if (r instanceof Promise) return f([u, await r]);
|
60
60
|
if (t != null && t.templates && t.templatePaths[n])
|
61
61
|
try {
|
62
|
-
const [a, c] = t.templatePaths[n].split(";;"), i = await import(
|
62
|
+
const [a, c] = t.templatePaths[n].split(";;"), i = await import(
|
63
|
+
/* webpackIgnore: true */
|
64
|
+
c
|
65
|
+
), d = c.includes("salty.config"), l = d ? i[a].templates : i[a], $ = d ? l[n] : l.params[n];
|
63
66
|
if (l && typeof $ == "function") {
|
64
67
|
const j = await $(r), [w] = await y(j, "");
|
65
68
|
return w;
|
package/parsers/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { p as f } from "../parse-styles-
|
2
|
-
import { c as T, b as O, d as $, a as g } from "../parse-styles-
|
1
|
+
import { p as f } from "../parse-styles-Cq_H5JGg.js";
|
2
|
+
import { c as T, b as O, d as $, a as g } from "../parse-styles-Cq_H5JGg.js";
|
3
3
|
import { d as p, t as u } from "../dash-case-DBThphLm.js";
|
4
4
|
const l = async (e, s = []) => {
|
5
5
|
if (!e) return "";
|
package/server/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { readFile as r } from "fs/promises";
|
2
|
-
import { i as e } from "./index-
|
2
|
+
import { i as e } from "./index-CqTDidoK.js";
|
3
3
|
const f = async (t) => {
|
4
4
|
if (!t || t.includes("node_modules") || t.includes("saltygen")) return !1;
|
5
5
|
if (t.includes("salty.config")) return !0;
|