tailwindcss-patch 9.0.0-alpha.1 → 9.0.0-alpha.3
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/README.md +20 -0
- package/dist/{chunk-Z6OMJZTU.js → chunk-77GHKSKG.js} +59 -732
- package/dist/{chunk-SWLOK2S6.mjs → chunk-D6ICWMM4.mjs} +63 -736
- package/dist/chunk-PMN7HS4Y.js +25 -0
- package/dist/chunk-YYBY7EM5.mjs +21 -0
- package/dist/cli.js +7 -5
- package/dist/cli.mjs +5 -3
- package/dist/commands/cli-runtime.d.mts +13 -0
- package/dist/commands/cli-runtime.d.ts +13 -0
- package/dist/commands/cli-runtime.js +1331 -0
- package/dist/commands/cli-runtime.mjs +1331 -0
- package/dist/index.d.mts +17 -677
- package/dist/index.d.ts +17 -677
- package/dist/index.js +5 -7
- package/dist/index.mjs +6 -8
- package/dist/validate-nbmOI2w8.d.mts +677 -0
- package/dist/validate-nbmOI2w8.d.ts +677 -0
- package/package.json +11 -3
- package/src/api/tailwindcss-patcher.ts +424 -0
- package/src/babel/index.ts +12 -0
- package/src/cache/context.ts +212 -0
- package/src/cache/store.ts +1440 -0
- package/src/cache/types.ts +71 -0
- package/src/cli.bundle.ts +20 -0
- package/src/cli.ts +20 -0
- package/src/commands/basic-handlers.ts +145 -0
- package/src/commands/cli.ts +56 -0
- package/src/commands/command-context.ts +77 -0
- package/src/commands/command-definitions.ts +102 -0
- package/src/commands/command-metadata.ts +68 -0
- package/src/commands/command-registrar.ts +39 -0
- package/src/commands/command-runtime.ts +33 -0
- package/src/commands/default-handler-map.ts +25 -0
- package/src/commands/migrate-config.ts +104 -0
- package/src/commands/migrate-handler.ts +67 -0
- package/src/commands/migration-aggregation.ts +100 -0
- package/src/commands/migration-args.ts +85 -0
- package/src/commands/migration-file-executor.ts +189 -0
- package/src/commands/migration-output.ts +115 -0
- package/src/commands/migration-report-loader.ts +26 -0
- package/src/commands/migration-report.ts +21 -0
- package/src/commands/migration-source.ts +318 -0
- package/src/commands/migration-target-files.ts +161 -0
- package/src/commands/migration-target-resolver.ts +34 -0
- package/src/commands/migration-types.ts +65 -0
- package/src/commands/restore-handler.ts +24 -0
- package/src/commands/status-handler.ts +17 -0
- package/src/commands/status-output.ts +60 -0
- package/src/commands/token-output.ts +30 -0
- package/src/commands/types.ts +137 -0
- package/src/commands/validate-handler.ts +42 -0
- package/src/commands/validate.ts +83 -0
- package/src/config/index.ts +25 -0
- package/src/config/workspace.ts +87 -0
- package/src/constants.ts +4 -0
- package/src/extraction/candidate-extractor.ts +354 -0
- package/src/index.bundle.ts +105 -0
- package/src/index.ts +57 -0
- package/src/install/class-collector.ts +1 -0
- package/src/install/context-registry.ts +1 -0
- package/src/install/index.ts +5 -0
- package/src/install/patch-runner.ts +1 -0
- package/src/install/process-tailwindcss.ts +1 -0
- package/src/install/status.ts +1 -0
- package/src/logger.ts +5 -0
- package/src/options/legacy.ts +93 -0
- package/src/options/normalize.ts +262 -0
- package/src/options/types.ts +217 -0
- package/src/patching/operations/export-context/index.ts +110 -0
- package/src/patching/operations/export-context/postcss-v2.ts +235 -0
- package/src/patching/operations/export-context/postcss-v3.ts +249 -0
- package/src/patching/operations/extend-length-units.ts +197 -0
- package/src/patching/patch-runner.ts +46 -0
- package/src/patching/status.ts +262 -0
- package/src/runtime/class-collector.ts +105 -0
- package/src/runtime/collector.ts +148 -0
- package/src/runtime/context-registry.ts +65 -0
- package/src/runtime/process-tailwindcss.ts +115 -0
- package/src/types.ts +159 -0
- package/src/utils.ts +52 -0
package/dist/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
var _chunkPMN7HS4Yjs = require('./chunk-PMN7HS4Y.js');
|
|
6
|
+
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
|
|
@@ -23,13 +25,9 @@
|
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
|
|
26
|
-
var _chunkZ6OMJZTUjs = require('./chunk-Z6OMJZTU.js');
|
|
27
|
-
require('./chunk-5CWNAWKP.js');
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return config;
|
|
32
|
-
}
|
|
29
|
+
var _chunk77GHKSKGjs = require('./chunk-77GHKSKG.js');
|
|
30
|
+
require('./chunk-5CWNAWKP.js');
|
|
33
31
|
|
|
34
32
|
|
|
35
33
|
|
|
@@ -56,4 +54,4 @@ function defineConfig(config) {
|
|
|
56
54
|
|
|
57
55
|
|
|
58
56
|
|
|
59
|
-
exports.CacheStore =
|
|
57
|
+
exports.CacheStore = _chunk77GHKSKGjs.CacheStore; exports.MIGRATION_REPORT_KIND = _chunk77GHKSKGjs.MIGRATION_REPORT_KIND; exports.MIGRATION_REPORT_SCHEMA_VERSION = _chunk77GHKSKGjs.MIGRATION_REPORT_SCHEMA_VERSION; exports.TailwindcssPatcher = _chunk77GHKSKGjs.TailwindcssPatcher; exports.VALIDATE_EXIT_CODES = _chunk77GHKSKGjs.VALIDATE_EXIT_CODES; exports.VALIDATE_FAILURE_REASONS = _chunk77GHKSKGjs.VALIDATE_FAILURE_REASONS; exports.ValidateCommandError = _chunk77GHKSKGjs.ValidateCommandError; exports.collectClassesFromContexts = _chunk77GHKSKGjs.collectClassesFromContexts; exports.collectClassesFromTailwindV4 = _chunk77GHKSKGjs.collectClassesFromTailwindV4; exports.createTailwindcssPatchCli = _chunkPMN7HS4Yjs.createTailwindcssPatchCli; exports.defineConfig = _chunkPMN7HS4Yjs.defineConfig; exports.extractProjectCandidatesWithPositions = _chunk77GHKSKGjs.extractProjectCandidatesWithPositions; exports.extractRawCandidates = _chunk77GHKSKGjs.extractRawCandidates; exports.extractRawCandidatesWithPositions = _chunk77GHKSKGjs.extractRawCandidatesWithPositions; exports.extractValidCandidates = _chunk77GHKSKGjs.extractValidCandidates; exports.getPatchStatusReport = _chunk77GHKSKGjs.getPatchStatusReport; exports.groupTokensByFile = _chunk77GHKSKGjs.groupTokensByFile; exports.loadRuntimeContexts = _chunk77GHKSKGjs.loadRuntimeContexts; exports.logger = _chunk77GHKSKGjs.logger_default; exports.migrateConfigFiles = _chunk77GHKSKGjs.migrateConfigFiles; exports.mountTailwindcssPatchCommands = _chunkPMN7HS4Yjs.mountTailwindcssPatchCommands; exports.normalizeOptions = _chunk77GHKSKGjs.normalizeOptions; exports.restoreConfigFiles = _chunk77GHKSKGjs.restoreConfigFiles; exports.runTailwindBuild = _chunk77GHKSKGjs.runTailwindBuild; exports.tailwindcssPatchCommands = _chunk77GHKSKGjs.tailwindcssPatchCommands;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createTailwindcssPatchCli,
|
|
3
|
+
defineConfig,
|
|
4
|
+
mountTailwindcssPatchCommands
|
|
5
|
+
} from "./chunk-YYBY7EM5.mjs";
|
|
1
6
|
import {
|
|
2
7
|
CacheStore,
|
|
3
8
|
MIGRATION_REPORT_KIND,
|
|
@@ -8,7 +13,6 @@ import {
|
|
|
8
13
|
ValidateCommandError,
|
|
9
14
|
collectClassesFromContexts,
|
|
10
15
|
collectClassesFromTailwindV4,
|
|
11
|
-
createTailwindcssPatchCli,
|
|
12
16
|
extractProjectCandidatesWithPositions,
|
|
13
17
|
extractRawCandidates,
|
|
14
18
|
extractRawCandidatesWithPositions,
|
|
@@ -18,18 +22,12 @@ import {
|
|
|
18
22
|
loadRuntimeContexts,
|
|
19
23
|
logger_default,
|
|
20
24
|
migrateConfigFiles,
|
|
21
|
-
mountTailwindcssPatchCommands,
|
|
22
25
|
normalizeOptions,
|
|
23
26
|
restoreConfigFiles,
|
|
24
27
|
runTailwindBuild,
|
|
25
28
|
tailwindcssPatchCommands
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-D6ICWMM4.mjs";
|
|
27
30
|
import "./chunk-A67ABH3M.mjs";
|
|
28
|
-
|
|
29
|
-
// src/index.ts
|
|
30
|
-
function defineConfig(config) {
|
|
31
|
-
return config;
|
|
32
|
-
}
|
|
33
31
|
export {
|
|
34
32
|
CacheStore,
|
|
35
33
|
MIGRATION_REPORT_KIND,
|