1.1.3 • Published 4 months ago

create-yaspp v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

create-yaspp

Package for creating a Yaspp web site

To use this package, you do not need to install it. Simply cd to the folder in which you want to create your yaspp project (preferably an empty one) and run the command npx create-yaspp. You can also specify a different project folder. Note that the script will not proceed if the project contains a file/folder named like an asset that create-yaspp needs to copy.

$ npx create-yaspp [...arguments]

Command line options

Runtime Options

  • --dryrun: Dry run. Print all the steps.
  • --auto: If the configuration process involves interaction with the user, then create-yaspp will use the values provided in the command line without prompting the user for input.
  • --target <path/to/target/folder>: absolute or relative path of the folder in which the project will be created. Defaults to current working directory. The target directory should not contain any file or folder named like an asset that the script needs to create.
  • --no-install: Don't make the sample site publish-ready by running the initialization scripts in it. You can perform this step yourself by running yarn init-clean or yarn init-site in the created project folder.

Project Configuration Options

  • --branch <branch name>: If provided, clone this branch of the yaspp library rather than master.

Install procedure

The rest of this document uses the yarn command. You can replace it with your favorite package runner, e.g. npm run .... However, the tool itself requires yarn to run properly.

After the command line options are validated, create-yaspp performs the following actions: 1. Create a sample site under the project folder, including sample data and valid configuration files. 2. if no-install was not specified, run yarn init-clean in the project folder. This will clone the Yaspp repository into the yaspp folder and setup the yaspp platform by running the required scripts there.

Post install

See the Yaspp project for details about building and publishing a yaspp site. If the installation completed successfully, you should be able to test your site by running yarn dev in the project root or in the yaspp folder.

1.1.3

4 months ago

1.0.19

5 months ago

1.0.20

5 months ago

1.0.18

5 months ago

1.0.17

5 months ago

1.0.15

5 months ago

1.0.12

5 months ago

1.0.11

5 months ago

1.0.10

5 months ago

1.0.9

5 months ago

1.0.8

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago