3.7.11 • Published 2 years ago
wix-ui-framework v3.7.11
__ ___ _ _____
\ \ / / | | | ___|
\ \ /\ / /| | | | |
\ V V / | |_| | _|
\_/\_/ \___/|_|
wix-ui-framework
command line tool for common wix-ui libraries tasks
Install
npm install wix-ui-framework
Use
wuf --help
wuf generate --help
wuf update --help
wuf make --help
see docs/usage.md for more details.
wuf
Usage: wuf [options] [command]
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
generate [options] Scaffold file structure from templates
update [options] Update components list file
make [options] combine data from `wuf update`, template and
optional plugins to generate any kind of code.
help [command] display help for command
wuf generate
Usage: wuf generate [options]
Scaffold file structure from templates
Options:
--component-name <string> Component name
--description <string> Component description
--templates <string> Path to templates. Default is
"/generator/templates/"
--output <string> Path to output. If not set, output is determined
by --templates folder structure
--codemods <string> Path to codemods. By default no codemods are run.
-f, --force Force component generation in a non clean git
repo.
-h, --help display help for command
See more at docs/generate.md
wuf export-testkits
Usage: wuf export-testkits [options]
Generate testkit export file
Options:
--output <string> Mandatory option to set where to write testkit
exports file
--definitions <string> Path to testkit definitions. Default is
".wuf/testkit-definitions.js"
--components <string> Path to components.json file. Default is
".wuf/components.json"
--template <string> Path ejs template file. Default is
".wuf/testkits/template.ejs"
-h, --help display help for command
See more at docs/export-testkits.md
wuf update
Usage: wuf update [options]
Update components list file
Options:
--shape <string> Path to json file describing folder structure of
required files. Default is
`.wuf/required-component-files.json`
--components <string> Path to folder where components reside. Default is
`src/components`
--output <string> Path to output file. Default is
`.wuf/components.json`
--verbose-output <string> Path to verbose output file. This file includes
same JSON data as --output file but with
additional information. File is not created if
option not given. Default is undefined.
--exclude <string> Regular expression of known paths to exclude. For
example --exclude (Button|Table). Default is
undefined
--max-mismatch <number> Optional number of maximum mismatches between
shape defined in required-component-files.json and
component. Default is 0
-h, --help display help for command
See more at docs/update.md
wuf make
Usage: wuf make [options]
combine data from `wuf update`, template and optional plugins to generate any kind of code.
Options:
--input <string> Path to `components.json` file created with `wuf
update`. Default is `.wuf/components.json`
--output <string> Path of root folder where generated files should be
created. Default is `./src`
--template <string> Path to EJS template to be used for generating code.
Can be path directly to a single ejs file, or path to a
folder containing templates.
--plugin <string...> Name of a built-in plugin or path to one. This flag can
be used multiple times to enable multiple plugins.
Plugins are executed in the same order they are
provided. By default, no plugins are used.
-h, --help display help for command
See more at docs/make.md
wuf help
Usage: wuf [options] [command]
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
generate [options] Scaffold file structure from templates
export-testkits [options] Generate testkit export file
update [options] Update components list file
make [options] combine data from `wuf update`, template and
optional plugins to generate any kind of code.
help [command] display help for command
See more at docs/help.md
3.7.11
2 years ago
3.7.10
2 years ago
3.7.9
2 years ago
3.7.8
3 years ago
3.7.5
3 years ago
3.7.4
3 years ago
3.7.3
4 years ago
3.7.2
4 years ago
3.7.1
4 years ago
3.7.0
4 years ago
3.6.0
4 years ago
3.5.2
5 years ago
3.5.1
5 years ago
3.5.0
5 years ago
3.4.0
5 years ago
3.3.1
5 years ago
3.3.0
5 years ago
1.0.2
6 years ago
3.2.0
6 years ago
3.1.1
6 years ago
3.1.0
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.5.0
6 years ago
2.4.1
6 years ago
2.4.0
6 years ago
2.3.0
6 years ago
2.2.0
6 years ago
2.1.0
6 years ago
2.0.0
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago