@ingcrea/aumic-tailwind-killer 3.1.6 → 4.1.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 +116 -102
- package/aumic-lexicon.duckdb +0 -0
- package/dist/index.js +891 -685
- package/dist/worker.js +1 -1
- package/package.json +11 -9
package/dist/worker.js
CHANGED
|
@@ -16,7 +16,7 @@ async function processFile(data) {
|
|
|
16
16
|
else if (data.mode === 'mutate') {
|
|
17
17
|
const { newCode } = astEngine.processFrameworkFile(data.content, data.filePath, (twClass) => {
|
|
18
18
|
if (data.map && data.map[twClass]) {
|
|
19
|
-
return data.map[twClass].aumicClass;
|
|
19
|
+
return data.map[twClass].replacementString || data.map[twClass].aumicClass;
|
|
20
20
|
}
|
|
21
21
|
return twClass;
|
|
22
22
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ingcrea/aumic-tailwind-killer",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Transpilador de Tailwind a CSS3 puro bajo
|
|
3
|
+
"version": "4.1.3",
|
|
4
|
+
"description": "Transpilador de Tailwind a CSS3 puro bajo estándar AUM-IC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"aumic-tailwind-killer": "bin/aumic-killer.js"
|
|
@@ -17,22 +17,24 @@
|
|
|
17
17
|
"@babel/parser": "^8.0.6",
|
|
18
18
|
"@babel/traverse": "^8.0.6",
|
|
19
19
|
"@tailwindcss/postcss": "^4.0.0",
|
|
20
|
+
"cheerio": "^1.2.0",
|
|
21
|
+
"commander": "^11.0.0",
|
|
20
22
|
"dotenv": "^16.6.1",
|
|
23
|
+
"duckdb": "^1.4.4",
|
|
21
24
|
"fs-extra": "^11.2.0",
|
|
25
|
+
"glob": "^10.3.10",
|
|
22
26
|
"inquirer": "^9.3.8",
|
|
23
|
-
"tailwindcss": "^3.4.1",
|
|
24
|
-
"picocolors": "^1.0.0",
|
|
25
27
|
"ora": "^5.4.1",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
28
|
+
"picocolors": "^1.0.0",
|
|
29
|
+
"piscina": "^4.4.0",
|
|
30
|
+
"tailwindcss": "^3.4.1"
|
|
29
31
|
},
|
|
30
32
|
"devDependencies": {
|
|
31
33
|
"@types/fs-extra": "^11.0.4",
|
|
32
34
|
"@types/node": "^20.11.20",
|
|
33
35
|
"typescript": "^5.3.3"
|
|
34
36
|
},
|
|
35
|
-
"author": "
|
|
37
|
+
"author": "IngenierÃa Creativa <soporte@ingcrea.com> (https://ingcrea.com)",
|
|
36
38
|
"repository": {
|
|
37
39
|
"type": "git",
|
|
38
40
|
"url": "git+https://github.com/ingcrea/aumic-tailwind-killer.git"
|
|
@@ -45,4 +47,4 @@
|
|
|
45
47
|
"ast",
|
|
46
48
|
"cli"
|
|
47
49
|
]
|
|
48
|
-
}
|
|
50
|
+
}
|