Skip to content

Repository with the templates of the packages created in BeyondJS

License

Notifications You must be signed in to change notification settings

veD-tnayrB/scaffolding

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@beyond-js/scaffolding

@beyond-js/scaffolding is a command-line tool that helps you generate the basic structure for packages and modules within the BeyondJS framework. It provides an interactive way to create packages and modules, allowing you to quickly set up your applications, websites, functions, or modules.

Installation

You can install @beyond-js/scaffold globally using npm:

npm install -g @beyond-js/scaffold

Usage

Creating a Package

To create a new package, run the following command and follow the interactive prompts:

beyond add package

This command will guide you through creating a new package, specifying its name and desired configuration.

Creating Modules

To create a new module within an existing package, run the following command and follow the interactive prompts:

beyond add module

This command will prompt you to select the package and module type, such as start, ts, page, widget, layout, or code. You can also define your own custom module types.

Module Types

The following are the default module types provided by @beyond-js/scaffold:

  • start: Represents the entry point or starting module for the package.
  • ts: TypeScript module.
  • page: Represents a page module.
  • widget: Represents a web component or widget module.
  • layout: Represents a layout module.
  • code: Represents a generic code module.

You can create modules of these types or define your own custom module types based on your specific needs.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Packages

No packages published

Languages

  • SCSS 76.8%
  • TypeScript 21.0%
  • Vue 1.2%
  • Svelte 1.0%