tailwindcss-patch 1.1.0-rc.1 → 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.
@@ -1,9 +1,5 @@
1
- import type { CacheOptions, PatchOptions, InternalCacheOptions, InternalPatchOptions } from './type';
2
- export interface TailwindcssPatcherOptions {
3
- cache?: CacheOptions;
4
- patch?: PatchOptions;
5
- }
6
- export declare function getCacheOptions(options?: CacheOptions): InternalCacheOptions;
1
+ import type { CacheOptions, InternalCacheOptions, InternalPatchOptions, TailwindcssPatcherOptions } from './type';
2
+ export declare function getCacheOptions(options?: CacheOptions | boolean): InternalCacheOptions;
7
3
  export declare class TailwindcssPatcher {
8
4
  rawOptions: TailwindcssPatcherOptions;
9
5
  cacheOptions: InternalCacheOptions;
@@ -18,3 +18,7 @@ export interface InternalPatchOptions {
18
18
  basedir?: string;
19
19
  custom?: (dir: string, ctx: Record<string, any>) => void;
20
20
  }
21
+ export interface TailwindcssPatcherOptions {
22
+ cache?: CacheOptions | boolean;
23
+ patch?: PatchOptions;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss-patch",
3
- "version": "1.1.0-rc.1",
3
+ "version": "1.1.0",
4
4
  "description": "patch tailwindcss for exposing context",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",