зеркало из https://github.com/microsoft/just.git
Making generators and subgenerators work for monorepo (#205)
* Making generators work for monorepo * Change files
This commit is contained in:
Родитель
8633c9ea8b
Коммит
9759f793bf
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"type": "patch",
|
||||
"comment": "Making generators work for monorepo",
|
||||
"packageName": "just-stack-monorepo",
|
||||
"email": "kchau@microsoft.com",
|
||||
"commit": "e39d2f430e180189c1532d12312d58bd90c9f2e6",
|
||||
"date": "2019-08-14T04:28:47.566Z"
|
||||
}
|
|
@ -18,6 +18,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"just-stack-react": "^1.0.0",
|
||||
"{{repoName}}-scripts": "^0.26.0"
|
||||
"{{repoName}}-scripts": "*"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ module.exports = plop => {
|
|||
{
|
||||
type: 'add',
|
||||
templateFile: 'plop-templates/component/component.tsx.hbs',
|
||||
path: 'src/components/{{pascalCase componentName}}.tsx'
|
||||
path: 'src/components/\{{pascalCase componentName}}.tsx'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"strict": true,
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"typeRoots": ["node_modules/@types", "node_modules/just-stack-react/node_modules/@types"]
|
||||
"typeRoots": ["node_modules/@types", "../../node_modules/@types"]
|
||||
},
|
||||
|
||||
"include": ["src", "typings/*.d.ts"]
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"{{name}}-scripts": "just-scripts.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"just-scripts": "^0.26.0"
|
||||
"just-scripts": ">=0.26.0 <1.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче