1.0.0-beta.2 • Published 10 months ago

@ryze-digital/create-website v1.0.0-beta.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
10 months ago

RYZE Digital Project Starter Kit

Run linter(s) workflow status

Usage

Open the folder in which you want to set up a new project. In Ecoma projects (for example) this is /public/project/frontend. The folder needs to be empty. Run the following script and replace @namespace/project-name with the name of your project.

npm init @ryze-digital/website@latest @namespace/project-name

Options

Change output directory

By default, the output directory is /build. If build files need to be located under a different path, you can add a third parameter to the call from above:

npm init @ryze-digital/website@latest @namespace/project-name ../../public/dist

The path has to be relative to the folder in which you run the command.

Toubleshooting

If you use a path outside the folder in which you run the command, it can happen that the pre-production script throws the following error:

Warning: Cannot delete files outside the current working directory. Use --force to continue.

To fix this, you can set deleteOriginals to false for the cacheBust task inside Gruntfile.js. Please note that in this case the unhashed build files will remain in the output directory.

Loglevel

Loglevel can be changed to see more detail output during installation. By default, loglevel is silent. Allowed values are error, warn, info, verbose and silly.

npm init @ryze-digital/website@latest @namespace/project-name --loglevel error
1.0.0-beta.2

10 months ago

1.0.0-beta.1

11 months ago

1.0.0-beta.0

11 months ago