3.0.0 • Published 1 year ago

@equinor/data-marketplace-models v3.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Data Marketplace models

Installation

[npm|pnpm|yarn] add @equinor/data-marketplace-models

Usage

import type { Asset } from "@eqiunor/data-marketplace-models"

function dmAssetFromSource(data: any): Asset { /* ... */ }
import type { User } from "@equinor/data-marketplace-models"
import type { NextPage } from "next"

type Props = {
  user: User
}

const UserProfileView: NextPage<Props> = () => (
  <main>
    {/* component code */}
  </main>
)

Contributing

First off, thank you for helping out!

No big bells and whistles here. Just clone the repo, create a branch and submit a pull request 🙌

Make sure to update the package version number with npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git] (see NPM docs for more information).

This package is versioned in accordance with Semantic Versioning.

Publishing

  1. Create a new git tag corresponding with the version in package.json
  2. Create a release in GitHub
  3. Write release notes (this might™ get automated eventually)
  4. Trigger the Publish to NPM GitHub Workflow in the Actions tab
3.0.0

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago