4.1.0 • Published 5 months ago

@thatconference/schema v4.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
5 months ago

that-api-schema

Shared schema bits between entity services (e.g enums)

@thatconference/schema

Each exportable schema piece returns a GraphQL DocumentNode which can be merged into the rest of the services schema with mergeTypeDefs(). For Example:

import path from 'path';
import { loadFilesSync } from '@graphql-tools/load-files';
import { mergeTypeDefs } from '@graphql-tools/merge';
import { productTypeEnum } from '@thatconference/schema';

const typesArray = loadFilesSync(path.join(__dirname, './**/*.graphql'));

export default mergeTypeDefs([typesArray, productTypeEnum], { all: true });

Publishing new versions

  1. ENSURE package.json version is updated to new semver value!
  2. Create a release in GitHub using v + semver value as tag (e.g. v1.1.0)
    • Add release notes and changes made to this version
  3. From local command line at same tag point run $ npm run npm:publish
4.1.0

5 months ago

4.0.0

1 year ago

3.1.0

1 year ago

3.0.0

2 years ago

1.5.0

2 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago