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.
- Node ^16.14.0 || ^18.10.0
- Npm
- Install dependencies by running
npm install. - Now you can run the Demo application with
npm start.
- This library is published on GitHub npm registry, to access it, add this line to your
.npmrcfile 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.
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 the library by using the
npm run build:libcommand. - The output will be placed into
/distfolder.
- 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.
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.