@vobs/tailwind 1.2.1 → 1.2.2

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/index.cjs CHANGED
@@ -1,18 +1,49 @@
1
- 'use strict';
2
-
3
- var tailwindcss = require('@tailwindcss/vite');
4
-
5
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
-
7
- var tailwindcss__default = /*#__PURE__*/_interopDefault(tailwindcss);
8
-
1
+ var __VOBS_CJS_FILE_URL = require("url").pathToFileURL(__filename).href;
2
+ "use strict";
3
+ var __create = Object.create;
9
4
  var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
+ var __export = (target, all) => {
11
+ for (var name in all)
12
+ __defProp(target, name, { get: all[name], enumerable: true });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from))
17
+ if (!__hasOwnProp.call(to, key) && key !== except)
18
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
+ mod
29
+ ));
30
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
+
32
+ // packages/tailwind/src/index.ts
33
+ var src_exports = {};
34
+ __export(src_exports, {
35
+ vobsTailwind: () => vobsTailwind
36
+ });
37
+ module.exports = __toCommonJS(src_exports);
38
+
39
+ // packages/tailwind/src/vite.ts
40
+ var import_vite = __toESM(require("@tailwindcss/vite"), 1);
11
41
  function vobsTailwind(options = {}) {
12
- return tailwindcss__default.default(options);
42
+ return (0, import_vite.default)(options);
13
43
  }
14
44
  __name(vobsTailwind, "vobsTailwind");
15
-
16
- exports.vobsTailwind = vobsTailwind;
17
- //# sourceMappingURL=index.cjs.map
45
+ // Annotate the CommonJS export names for ESM import in node:
46
+ 0 && (module.exports = {
47
+ vobsTailwind
48
+ });
18
49
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vite.ts"],"names":["tailwindcss"],"mappings":";;;;;;;;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAOA,6BAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"index.cjs","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/vite.ts"],"sourcesContent":["export { vobsTailwind } from './vite.ts'\nexport type { VobsTailwindOptions } from './vite.ts'\n","import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,kBAAgD;AAMzC,SAAS,aAAa,UAA+B,CAAC,GAAa;AACxE,aAAO,YAAAA,SAAY,OAAO;AAC5B;AAFgB;","names":["tailwindcss"]}
package/dist/index.js CHANGED
@@ -1,12 +1,13 @@
1
- import tailwindcss from '@tailwindcss/vite';
2
-
3
1
  var __defProp = Object.defineProperty;
4
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // packages/tailwind/src/vite.ts
5
+ import tailwindcss from "@tailwindcss/vite";
5
6
  function vobsTailwind(options = {}) {
6
7
  return tailwindcss(options);
7
8
  }
8
9
  __name(vobsTailwind, "vobsTailwind");
9
-
10
- export { vobsTailwind };
11
- //# sourceMappingURL=index.js.map
10
+ export {
11
+ vobsTailwind
12
+ };
12
13
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vite.ts"],"names":[],"mappings":";;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAO,YAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"index.js","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
1
+ {"version":3,"sources":["../src/vite.ts"],"sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"],"mappings":";;;;AAAA,OAAO,iBAAyC;AAMzC,SAAS,aAAa,UAA+B,CAAC,GAAa;AACxE,SAAO,YAAY,OAAO;AAC5B;AAFgB;","names":[]}
package/dist/vite.cjs CHANGED
@@ -1,18 +1,47 @@
1
- 'use strict';
2
-
3
- var tailwindcss = require('@tailwindcss/vite');
4
-
5
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
-
7
- var tailwindcss__default = /*#__PURE__*/_interopDefault(tailwindcss);
8
-
1
+ var __VOBS_CJS_FILE_URL = require("url").pathToFileURL(__filename).href;
2
+ "use strict";
3
+ var __create = Object.create;
9
4
  var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
9
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
+ var __export = (target, all) => {
11
+ for (var name in all)
12
+ __defProp(target, name, { get: all[name], enumerable: true });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from))
17
+ if (!__hasOwnProp.call(to, key) && key !== except)
18
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
+ mod
29
+ ));
30
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
+
32
+ // packages/tailwind/src/vite.ts
33
+ var vite_exports = {};
34
+ __export(vite_exports, {
35
+ vobsTailwind: () => vobsTailwind
36
+ });
37
+ module.exports = __toCommonJS(vite_exports);
38
+ var import_vite = __toESM(require("@tailwindcss/vite"), 1);
11
39
  function vobsTailwind(options = {}) {
12
- return tailwindcss__default.default(options);
40
+ return (0, import_vite.default)(options);
13
41
  }
14
42
  __name(vobsTailwind, "vobsTailwind");
15
-
16
- exports.vobsTailwind = vobsTailwind;
17
- //# sourceMappingURL=vite.cjs.map
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ vobsTailwind
46
+ });
18
47
  //# sourceMappingURL=vite.cjs.map
package/dist/vite.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vite.ts"],"names":["tailwindcss"],"mappings":";;;;;;;;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAOA,6BAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"vite.cjs","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
1
+ {"version":3,"sources":["../src/vite.ts"],"sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgD;AAMzC,SAAS,aAAa,UAA+B,CAAC,GAAa;AACxE,aAAO,YAAAA,SAAY,OAAO;AAC5B;AAFgB;","names":["tailwindcss"]}
package/dist/vite.js CHANGED
@@ -1,12 +1,13 @@
1
- import tailwindcss from '@tailwindcss/vite';
2
-
3
1
  var __defProp = Object.defineProperty;
4
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // packages/tailwind/src/vite.ts
5
+ import tailwindcss from "@tailwindcss/vite";
5
6
  function vobsTailwind(options = {}) {
6
7
  return tailwindcss(options);
7
8
  }
8
9
  __name(vobsTailwind, "vobsTailwind");
9
-
10
- export { vobsTailwind };
11
- //# sourceMappingURL=vite.js.map
10
+ export {
11
+ vobsTailwind
12
+ };
12
13
  //# sourceMappingURL=vite.js.map
package/dist/vite.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/vite.ts"],"names":[],"mappings":";;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAO,YAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"vite.js","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
1
+ {"version":3,"sources":["../src/vite.ts"],"sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"],"mappings":";;;;AAAA,OAAO,iBAAyC;AAMzC,SAAS,aAAa,UAA+B,CAAC,GAAa;AACxE,SAAO,YAAY,OAAO;AAC5B;AAFgB;","names":[]}
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/vobsjs/vobs.git"
13
13
  },
14
- "version": "1.2.1",
14
+ "version": "1.2.2",
15
15
  "publishConfig": {
16
16
  "access": "public"
17
17
  },