@idomatic/core 1.3.0 → 1.4.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.
- package/lib/core.js +4 -1
- package/package.json +6 -2
package/lib/core.js
CHANGED
|
@@ -9,7 +9,10 @@ const parserMap = {
|
|
|
9
9
|
".tsx": "@idomatic/parser-js",
|
|
10
10
|
".html": "@idomatic/parser-html",
|
|
11
11
|
".vue": "@idomatic/parser-html",
|
|
12
|
-
".
|
|
12
|
+
".svelte": "@idomatic/parser-html",
|
|
13
|
+
".astro": "@idomatic/parser-html",
|
|
14
|
+
".hbs": "@idomatic/parser-html",
|
|
15
|
+
".handlebars": "@idomatic/parser-html",
|
|
13
16
|
};
|
|
14
17
|
|
|
15
18
|
export async function processFile(filePath, config, dry = false) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idomatic/core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "CLI that injects stable, human-readable id attributes into React
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "CLI that injects stable, human-readable id attributes into React, Solid, HTML, Vue, Angular, Svelte, Astro and Handlebars elements so Playwright, Cypress and Testing Library tests stop breaking.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
"react",
|
|
41
41
|
"html",
|
|
42
42
|
"vue",
|
|
43
|
+
"svelte",
|
|
44
|
+
"astro",
|
|
45
|
+
"solid",
|
|
46
|
+
"handlebars",
|
|
43
47
|
"ids",
|
|
44
48
|
"precommit",
|
|
45
49
|
"parser"
|