@newhorizons/core
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@newhorizons/core

Release builds Quality checks Latest Release License

Description

@newhorizons/core contains a selection of core utilities that I keep reusing across my web projects. The package aims to support single-page applications or other forms of browser-side code.

Contributing

Blueprints

Almost all of New Horizon's game data is stored in the form of Blueprints. A Blueprint is a set of attributes that matches a specific schema. Blueprints are written in TypeScript. Blueprints are stored in Blueprint Collections, which have a unique name identifying that collection (e.g. character/skill). Blueprints also have a unique name that extends the name of their collection (e.g. character/skill/electronics).

Adding new Blueprints to an existing Blueprint Collection

It's quite easy to add a new Blueprint to an existing collection. Simply find and open the collection you want to edit in lib/blueprints and add a new element to the array. Afterwards, you should run pnpm check to check for any errors, including TypeScript errors. If all checks pass without errors, you can commit your change to the repository.

Readme

Keywords

Package Sidebar

Install

npm i @newhorizons/core

Weekly Downloads

0

Version

0.1.0

License

GNU General Public License

Unpacked Size

47.6 kB

Total Files

5

Last publish

Collaborators

  • spuxx