Skip to content

CESNET/shongo-calendar

Repository files navigation

ShongoCalendar

Shongo Calendar is a library built on top of Angular Calendar by Matt Lewis. The library is an extension for purposes of the Shongo reservation system.

Requirements

  • Node ^16.14.0 || ^18.10.0
  • Npm

Set-up

  • Install dependencies by running npm install.
  • Now you can run the Demo application with npm start.

Installation

  • This library is published on GitHub npm registry, to access it, add this line to your .npmrc file at the root of the project: @cesnet:registry=https://npm.pkg.github.com
  • You can add this library as a dependency to your project, by running npm install @cesnet/shongo-calendar.
  • You might be required to log in to the GitHub npm, see next section or Working with the npm registry.

GitHub NPM registry log-in

You have to generate a personal access token with access to read packages in Settings -> Developer settings -> Tokens.

Then you can log in like this:

$ npm login --scope=@cesnet --auth-type=legacy --registry=https://npm.pkg.github.com

> Username: USERNAME
> Password: TOKEN

Build

  • Build the library by using the npm run build:lib command.
  • The output will be placed into /dist folder.

Release

  • The library is released via GitHub releases.
  • Create a new release with a new tag and the description of the release.
  • The major version of the library should always be >= to the compatible version of Angular.
  • Creating the release will automatically run GitHub Action that builds and published the package.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors