open-index/open-npm huggingface dataset:
npm package: @sage-bionetworks/rocc-client-angular
Description: ROCC client library for Angular
Author: ROCC Team
Latest version: 0.8.0

# ROCC Client Library for Angular

[![GitHub Release](https://img.shields.io/github/release/Sage-Bionetworks/rocc-angular-client.svg?include_prereleases&color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/Sage-Bionetworks/rocc-angular-client)
[![GitHub CI](https://img.shields.io/github/workflow/status/Sage-Bionetworks/rocc-angular-client/CI.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/Sage-Bionetworks/rocc-angular-client/actions)
[![GitHub License](https://img.shields.io/github/license/sage-bionetworks/rocc-angular-client.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/sage-bionetworks/rocc-angular-client)
[![Latest npm version](https://img.shields.io/npm/v/@sage-bionetworks/rocc-client-angular?logo=npm&style=for-the-badge&color=94398d&labelColor=555555&logoColor=ffffff)](https://www.npmjs.com/package/@sage-bionetworks/rocc-client-angular)

## Introduction

This TypeScript-Angular client library is used by the [ROCC web client] to
interact with the [ROCC API service].

This client library is automatically updated using [openapi-generator] via a
Pull Request opened shortly after a new release of the [ROCC schemas] is
available.

## Specification

- ROCC client library version: 0.8.0
- ROCC schemas version: 0.6.0

## Requirements

- [Node] >=14

## Usage

TBA

## Development

### Build

Run `npm run build` to build the library for production. The build artifacts
will be stored in the `dist/` directory.

### Publish

```console
npm run build
cd dist/rocc-client
npm publish
```

## Versioning

### GitHub release tags

This repository uses [semantic versioning] to track the releases of this
project. This repository uses "non-moving" GitHub tags, that is, a tag will
always point to the same git commit once it has been created.

### npm package tags

The artifact published by the [CI/CD workflow] of this GitHub repository is an
npm package pushed to the npm package registry [npmjs.org]. This table lists the
package tags pushed to this registry.

| Tag name                    | Moving | Description
|-----------------------------|--------|------------
| `<major>.<minor>.<patch>`   | No     | Stable release.

## Contributing

Thinking about contributing to this project? Get started by reading our
[contribution guidelines].

## License

[Apache License 2.0]

<!-- Links -->

[ROCC web client]: https://github.com/Sage-Bionetworks/rocc-app
[ROCC API service]: https://github.com/Sage-Bionetworks/rocc-service
[openapi-generator]: https://github.com/OpenAPITools/openapi-generator
[ROCC schemas]: https://github.com/Sage-Bionetworks/rocc-schemas
[Node]: https://nodejs.org/en/
[npmjs.org]: https://www.npmjs.com/
[semantic versioning]: https://semver.org/
[contribution guidelines]: https://github.com/Sage-Bionetworks/rocc-client-angular/blob/main/.github/CONTRIBUTING.md
[Apache License 2.0]: https://github.com/Sage-Bionetworks/rocc-client-angular/blob/main/LICENSE
npm package: @sage-bionetworks/synapse-client
Description: This package generates TypeScript/JavaScript models and API clients for [Synapse](https://www.synapse.org/), a collaborative, open-source research platform that allows teams to share data, track analyses, and collaborate.
Latest version: 0.0.14

# synapse-client

This package generates TypeScript/JavaScript models and API clients for [Synapse](https://www.synapse.org/), a collaborative, open-source research platform that allows teams to share data, track analyses, and collaborate.

To generate code, we use the [Synapse REST Services](https://rest-docs.synapse.org/rest/index.html) OpenAPI Definition and the [OpenAPI Generator](https://openapi-generator.tech/). This package will also maintain wrappers, utility classes, and configuration used to improve developer experience.

## Generating code

To generate code for the models and services, simply run `pnpm nx run @sage-bionetworks/synapse-client:build`. This will trigger the OpenAPI Generator CLI and also run any scripts that may be needed to improve code generation.

## Upgrading the OpenAPI definition

At this time, the only published versions of the Synapse OpenAPI definition are for the current production stack, and for the staging stack. The staging stack typically elevated to production the following week.
We commit a stable copy of the OpenAPI definition to version control to ensure our generated code is consistent and does not cause unexpected regressions as the OpenAPI definition changes.

To update the OpenAPI definition, run `pnpm get-spec` to get the latest production OpenAPI definition, which will be saved in `./src/spec/openapispecification.json`.
You can also run `pnpm get-spec:staging` to get the OpenAPI definition associated with the current staging release. After retrieving the specification, you will once again need to run `pnpm generate` and `pnpm build`.
Once you have new models built, tests and type-checking on the full project should be run to ensure the new spec does not introduce errors. Our CI process will catch this automatically.

## Upgrading the openapi-generator version and overriding templates

The current version of openapi-generator can be set by running `openapi-generator-cli version-manager set <version-number>`.
When the version is changed, our template overrides should be updated.

To copy all the base template files into the `./out` directory, run the following command:

```shell
npx openapi-generator-cli author template -g typescript-fetch
```

Any template files that do not need to be modified or overridden can be deleted.
Existing template customizations must then be re-implemented in the new templates. The complexity of this task depends on how drastically the templates have changed upstream.
For this reason, we should limit the changes we make to templates, and clearly indicate the change and its impact.

We also maintain tests that verify that any custom changes we make to the templates function as expected, which should pass after each upgrade.
npm package: @sage-bionetworks/synapse-types
Description: ![Build Status](https://github.com/Sage-Bionetworks/synapse-web-monorepo/actions/workflows/npmpublish.yml/badge.svg?branch=main) [![NPM version](https://img.shields.io/npm/v/@sage-bionetworks/synapse-types.svg?style=flat)](https://www.npmjs.org/package/@s
Author: Sage Bionetworks
Latest version: 0.0.6

# synapse-types

![Build Status](https://github.com/Sage-Bionetworks/synapse-web-monorepo/actions/workflows/npmpublish.yml/badge.svg?branch=main)
[![NPM version](https://img.shields.io/npm/v/@sage-bionetworks/synapse-types.svg?style=flat)](https://www.npmjs.org/package/@sage-bionetworks/synapse-types)

> TypeScript definitions and utility functions for Synapse REST API objects

## Install

node.js, browser:

```bash
npm install @sage-bionetworks/synapse-types
```

## License

[Apache-2.0](https://github.com/Sage-Bionetworks/synapse-web-monorepo/blob/main/packages/synapse-types/LICENSE)