vite-plugin-storybook-nextjs 1.0.12 → 1.0.13--canary.24.651b0b1.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.
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var test = require('@storybook/test');
4
6
 
5
7
  // src/plugins/next-mocks/alias/cache/index.ts
@@ -21,4 +23,8 @@ var cacheExports = {
21
23
  };
22
24
  var cache_default = cacheExports;
23
25
 
24
- module.exports = cache_default;
26
+ exports.default = cache_default;
27
+ exports.revalidatePath = revalidatePath;
28
+ exports.revalidateTag = revalidateTag;
29
+ exports.unstable_cache = unstable_cache;
30
+ exports.unstable_noStore = unstable_noStore;
@@ -1,6 +1,10 @@
1
1
  import { Mock } from 'vitest';
2
2
 
3
3
  type Procedure = (...args: any[]) => any;
4
+ declare const revalidatePath: Mock<Procedure>;
5
+ declare const revalidateTag: Mock<Procedure>;
6
+ declare const unstable_cache: Mock<Procedure>;
7
+ declare const unstable_noStore: Mock<Procedure>;
4
8
  declare const cacheExports: {
5
9
  unstable_cache: Mock<Procedure>;
6
10
  revalidateTag: Mock<Procedure>;
@@ -8,4 +12,4 @@ declare const cacheExports: {
8
12
  unstable_noStore: Mock<Procedure>;
9
13
  };
10
14
 
11
- export { cacheExports as default };
15
+ export { cacheExports as default, revalidatePath, revalidateTag, unstable_cache, unstable_noStore };
@@ -1,6 +1,10 @@
1
1
  import { Mock } from 'vitest';
2
2
 
3
3
  type Procedure = (...args: any[]) => any;
4
+ declare const revalidatePath: Mock<Procedure>;
5
+ declare const revalidateTag: Mock<Procedure>;
6
+ declare const unstable_cache: Mock<Procedure>;
7
+ declare const unstable_noStore: Mock<Procedure>;
4
8
  declare const cacheExports: {
5
9
  unstable_cache: Mock<Procedure>;
6
10
  revalidateTag: Mock<Procedure>;
@@ -8,4 +12,4 @@ declare const cacheExports: {
8
12
  unstable_noStore: Mock<Procedure>;
9
13
  };
10
14
 
11
- export { cacheExports as default };
15
+ export { cacheExports as default, revalidatePath, revalidateTag, unstable_cache, unstable_noStore };
@@ -19,4 +19,4 @@ var cacheExports = {
19
19
  };
20
20
  var cache_default = cacheExports;
21
21
 
22
- export { cache_default as default };
22
+ export { cache_default as default, revalidatePath, revalidateTag, unstable_cache, unstable_noStore };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-storybook-nextjs",
3
- "version": "1.0.12",
3
+ "version": "1.0.13--canary.24.651b0b1.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "vite-plugin",