tailwindcss-patch
Advanced tools
Comparing version 1.0.1 to 1.0.2
'use strict'; | ||
var patcher = require('./patcher-7787d13f.js'); | ||
var patcher = require('./patcher-85767405.js'); | ||
require('path'); | ||
@@ -13,3 +13,3 @@ require('fs'); | ||
const patch = patcher.createPatch({}); | ||
const patch = patcher.createPatch(); | ||
patch(); |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var fs = require('fs'); | ||
var patcher = require('./patcher-7787d13f.js'); | ||
var patcher = require('./patcher-85767405.js'); | ||
require('semver'); | ||
@@ -57,2 +57,3 @@ require('@babel/types'); | ||
exports.createPatch = patcher.createPatch; | ||
exports.ensureFileContent = patcher.ensureFileContent; | ||
exports.getInstalledPkgJsonPath = patcher.getInstalledPkgJsonPath; | ||
@@ -63,2 +64,3 @@ exports.inspectPostcssPlugin = patcher.inspectPostcssPlugin; | ||
exports.monkeyPatchForExposingContext = patcher.monkeyPatchForExposingContext; | ||
exports.requireResolve = patcher.requireResolve; | ||
exports.getClassCacheSet = getClassCacheSet; | ||
@@ -65,0 +67,0 @@ exports.getClassCaches = getClassCaches; |
export * from './exposeContext'; | ||
export * from './inspector'; | ||
export * from './patcher'; | ||
export * from './utils'; | ||
export * from './type'; |
import type { PatchOptions, InternalPatchOptions } from './type'; | ||
export declare function getInstalledPkgJsonPath(options: PatchOptions): string | undefined; | ||
export declare function createPatch(options: PatchOptions): () => any; | ||
export declare function monkeyPatchForExposingContext(rootDir: string, opt: InternalPatchOptions): { | ||
export declare function createPatch(options?: PatchOptions): () => any; | ||
export declare function monkeyPatchForExposingContext(twDir: string, opt: InternalPatchOptions): { | ||
processTailwindFeatures?: string | undefined; | ||
plugin?: string | undefined; | ||
}; | ||
} & Record<string, any>; | ||
export declare function internalPatch(pkgJsonPath: string | undefined, options: InternalPatchOptions): any | undefined; |
@@ -5,2 +5,3 @@ export interface PatchOptions { | ||
basedir?: string; | ||
custom?: (dir: string, ctx: Record<string, any>) => void; | ||
} | ||
@@ -11,2 +12,3 @@ export interface InternalPatchOptions { | ||
basedir?: string; | ||
custom?: (dir: string, ctx: Record<string, any>) => void; | ||
} |
{ | ||
"name": "tailwindcss-patch", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "patch tailwindcss for exposing context", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22005
428