@mokup/shared 1.0.2 → 1.1.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/chokidar.cjs CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const chokidar = require('chokidar');
6
4
 
7
5
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
@@ -10,14 +8,4 @@ const chokidar__default = /*#__PURE__*/_interopDefaultCompat(chokidar);
10
8
 
11
9
 
12
10
 
13
- exports.default = chokidar__default;
14
- Object.prototype.hasOwnProperty.call(chokidar, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: chokidar['__proto__']
19
- });
20
-
21
- Object.keys(chokidar).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = chokidar[k];
23
- });
11
+ module.exports = chokidar__default;
package/dist/chokidar.mjs CHANGED
@@ -1,2 +1 @@
1
- export * from 'chokidar';
2
1
  export { default } from 'chokidar';
package/dist/index.d.cts CHANGED
@@ -81,6 +81,12 @@ type PlaygroundOptionsInput = boolean | {
81
81
  * @default "/__mokup"
82
82
  */
83
83
  path?: string;
84
+ /**
85
+ * Emit playground assets during production builds.
86
+ *
87
+ * @default false
88
+ */
89
+ build?: boolean;
84
90
  /**
85
91
  * Enable or disable the playground routes.
86
92
  *
package/dist/index.d.mts CHANGED
@@ -81,6 +81,12 @@ type PlaygroundOptionsInput = boolean | {
81
81
  * @default "/__mokup"
82
82
  */
83
83
  path?: string;
84
+ /**
85
+ * Emit playground assets during production builds.
86
+ *
87
+ * @default false
88
+ */
89
+ build?: boolean;
84
90
  /**
85
91
  * Enable or disable the playground routes.
86
92
  *
package/dist/index.d.ts CHANGED
@@ -81,6 +81,12 @@ type PlaygroundOptionsInput = boolean | {
81
81
  * @default "/__mokup"
82
82
  */
83
83
  path?: string;
84
+ /**
85
+ * Emit playground assets during production builds.
86
+ *
87
+ * @default false
88
+ */
89
+ build?: boolean;
84
90
  /**
85
91
  * Enable or disable the playground routes.
86
92
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mokup/shared",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "1.1.0",
5
5
  "description": "Shared dependency exports for mokup.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://mokup.icebreaker.top",