@salty-css/core 0.0.1-alpha.278 → 0.0.1-alpha.279

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 CHANGED
@@ -3,11 +3,11 @@ import { existsSync as Q, watch as re } 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 ce, format as te } from "path";
5
5
  import { render as le } from "ejs";
6
- import { l as t, a as h, g as K, i as de, b as fe } from "../index-WkN_0Aq0.js";
6
+ import { l as t, a as h, g as K, i as de, b as fe } from "../index-CI0AEQ1k.js";
7
7
  import { p as pe } from "../pascal-case-BQpR5PdN.js";
8
8
  import { exec as ue } from "child_process";
9
9
  import ge from "ora";
10
- import { c as ye } from "../should-restart-BCGjmlNw.js";
10
+ import { c as ye } from "../should-restart-CfoDl2WZ.js";
11
11
  const ne = (g) => new Promise((P, x) => {
12
12
  ue(g, ($) => {
13
13
  if ($) return x($);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({test:"works"});exports.getConfigCache=e;
@@ -0,0 +1,3 @@
1
+ export declare const getConfigCache: () => {
2
+ test: string;
3
+ };
@@ -0,0 +1,6 @@
1
+ const t = () => ({
2
+ test: "works"
3
+ });
4
+ export {
5
+ t as getConfigCache
6
+ };
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-Xjjg0H2Z.js";
7
+ import "../parse-styles-C1E6ETeH.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-WkN_0Aq0.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-CI0AEQ1k.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-Xjjg0H2Z.js";
1
+ import { p as m } from "../parse-styles-C1E6ETeH.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 = {}) => {
@@ -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 m = (a, t, s) => x(a, typeof t != "symbol" ? t + "" : t, s);
4
- import { p as S } from "../parse-styles-Xjjg0H2Z.js";
4
+ import { p as S } from "../parse-styles-C1E6ETeH.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, writeFileSync as F, mkdirSync as G, readFileSync as _, statSync as Vt, readdirSync as vt } from "fs";
6
6
  import { readFile as Ct } from "fs/promises";
7
- import { p as $t, a as Et } from "./parse-styles-Xjjg0H2Z.js";
7
+ import { p as $t, a as Et } from "./parse-styles-C1E6ETeH.js";
8
8
  import { parseTemplates as Ot, getTemplateTypes as Mt } from "./parsers/index.js";
9
9
  import { createLogger as Rt, format as rt, transports as Jt } from "winston";
10
10
  import { mergeObjects as H, mergeFactories as zt } from "./css/merge.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salty-css/core",
3
- "version": "0.0.1-alpha.278",
3
+ "version": "0.0.1-alpha.279",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "typings": "./dist/index.d.ts",
@@ -102,6 +102,10 @@
102
102
  "./server": {
103
103
  "import": "./server/index.js",
104
104
  "require": "./server/index.cjs"
105
+ },
106
+ "./cache/get-config-cache": {
107
+ "import": "./cache/get-config-cache.js",
108
+ "require": "./cache/get-config-cache.cjs"
105
109
  }
106
110
  },
107
111
  "bin": {
@@ -61,6 +61,7 @@ const M = (o) => (s) => {
61
61
  try {
62
62
  const [a, c] = t.templatePaths[n].split(";;"), i = await import(
63
63
  /* webpackIgnore: true */
64
+ /* @vite-ignore */
64
65
  c
65
66
  ), p = c.includes("salty.config"), f = p ? i[a].templates : i[a], $ = p ? f[n] : f.params[n];
66
67
  if (f && typeof $ == "function") {
package/parsers/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { p as f } from "../parse-styles-Xjjg0H2Z.js";
2
- import { c as T, b as O, d as $, a as g } from "../parse-styles-Xjjg0H2Z.js";
1
+ import { p as f } from "../parse-styles-C1E6ETeH.js";
2
+ import { c as T, b as O, d as $, a as g } from "../parse-styles-C1E6ETeH.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,4 +1,4 @@
1
- import { c as o } from "../should-restart-BCGjmlNw.js";
1
+ import { c as o } from "../should-restart-CfoDl2WZ.js";
2
2
  export {
3
3
  o as checkShouldRestart
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { readFile as r } from "fs/promises";
2
- import { i as e } from "./index-WkN_0Aq0.js";
2
+ import { i as e } from "./index-CI0AEQ1k.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;