|
Download wp-calypso/packages/calypso-package-generator/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 921 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/calypso-package-generator/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/calypso-package-generator/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/calypso-package-generator/README.md
921 Bytes
Generator
Generate a sub-package under the Calypso monorepo. See Working with the Monorepo for more details.
Usage
Use the following command to run the calypso-package-generator.
yarn run generate
Now we have 2 generators as below, and the calypso-package-generator will ask you to choose.
- component: Add a new library of React components designed for use in Automattic products.
- library: Add a new library of js designed for use in Automattic products.
Example
? [PLOP] Please choose a generator. (Use arrow keys)
❯ component - Add a new library of React components designed for use in Automattic products.
library - Add a new library of js designed for use in Automattic products.
? What should the package be called? ()
? Type a short description ()
? Do you want to publish this package? (Y/n)