@marko/translator-default 5.31.2 → 5.31.4
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.
|
@@ -15,7 +15,7 @@ function getComponentFiles({ hub: { file } }) {
|
|
|
15
15
|
const dirname = _path.default.dirname(filename);
|
|
16
16
|
const dirFiles = fs.readdirSync(dirname).sort();
|
|
17
17
|
const base = getBase(filename);
|
|
18
|
-
const isEntry = "index" === base;
|
|
18
|
+
const isEntry = "index" === base || "template" === base;
|
|
19
19
|
const fileMatch = `(${(0, _escapeStringRegexp.default)(base)}\\.${isEntry ? "|" : ""})`;
|
|
20
20
|
const styleMatch = new RegExp(`^${fileMatch}style\\.\\w+$`);
|
|
21
21
|
const componentMatch = new RegExp(`^${fileMatch}component\\.\\w+$`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/translator-default",
|
|
3
|
-
"version": "5.31.
|
|
3
|
+
"version": "5.31.4",
|
|
4
4
|
"description": "Translates Marko templates to the default Marko runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"self-closing-tags": "^1.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@marko/compiler": "^5.33.
|
|
39
|
-
"marko": "^5.31.
|
|
38
|
+
"@marko/compiler": "^5.33.4",
|
|
39
|
+
"marko": "^5.31.14"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@marko/compiler": "^5.16.1",
|