extension-create 3.14.0-next.0 → 3.14.1
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/README.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,8 @@ import {extensionCreate} from 'extension-create'
|
|
|
29
29
|
await extensionCreate('my-extension', {})
|
|
30
30
|
|
|
31
31
|
// Create a React extension and install its dependencies
|
|
32
|
+
// (dependency install is opt-in — users normally run their own
|
|
33
|
+
// `npm install` so output is what they expect)
|
|
32
34
|
await extensionCreate('my-react-extension', {
|
|
33
35
|
template: 'react',
|
|
34
36
|
install: true
|
|
@@ -46,7 +48,7 @@ Creates a new extension project with the specified configuration.
|
|
|
46
48
|
- `projectName` (string, required) - The name of your extension project
|
|
47
49
|
- `options` (object) - Configuration options
|
|
48
50
|
- `template` (string, optional) - Template name or URL. Defaults to `'javascript'` (`init` is an alias)
|
|
49
|
-
- `install` (boolean, optional) - Whether to install dependencies. Defaults to `
|
|
51
|
+
- `install` (boolean, optional) - Whether to install dependencies after scaffolding. Defaults to `false` so project creation is fast and users see the familiar `npm install` output on their own.
|
|
50
52
|
- `cliVersion` (string, optional) - CLI version for package.json
|
|
51
53
|
|
|
52
54
|
## Templates
|