@next-core/yo 1.6.3 → 1.6.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.
- package/package.json +2 -2
- package/src/plopfile.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/yo",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "Generator for next v3",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/yo",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"@next-core/theme": "^1.6.1",
|
|
36
36
|
"react": "0.0.0-experimental-ee8509801-20230117"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "b82dcf1b907a7238cb888454a9e86a0687ae019f"
|
|
39
39
|
}
|
package/src/plopfile.js
CHANGED
|
@@ -342,7 +342,7 @@ export default function (
|
|
|
342
342
|
);
|
|
343
343
|
const propName = `${className}Props`;
|
|
344
344
|
const importStatement = `import type { ${className}, ${propName} } from "./${answers.brickName}";`;
|
|
345
|
-
const definitionProp = ` "${tagName}": DetailedHTMLProps<HTMLAttributes<${className}>, ${className}> & ${propName};`;
|
|
345
|
+
const definitionProp = ` "${tagName.replaceAll(".", "--")}": DetailedHTMLProps<HTMLAttributes<${className}>, ${className}> & ${propName};`;
|
|
346
346
|
|
|
347
347
|
/** @type {[RegExp, string][]} */
|
|
348
348
|
const replacementPatterns = [
|