We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568309e commit 3959cc8Copy full SHA for 3959cc8
src/create.ts
@@ -69,6 +69,7 @@ export default async function create(argv: yargs.Arguments<any>) {
69
type: 'input',
70
name: 'description',
71
message: 'What is the description for the package?',
72
+ validate: input => Boolean(input),
73
},
74
{
75
templates/library/$package.json
@@ -20,7 +20,8 @@
20
"prepare": "bob build",
21
"release": "release-it",
22
"example": "yarn --cwd example",
23
- "bootstrap": "yarn example && yarn && cd example/ios && pod install"
+ "pods": "cd example/ios && node -e \"process.exit(require('os').platform() === 'darwin')\" || pod install",
24
+ "bootstrap": "yarn example && yarn && yarn pods"
25
26
"keywords": [
27
"react-native",
0 commit comments