3.0.0 • Published 3 years ago
@equinor/data-marketplace-models v3.0.0
Data Marketplace models
Installation
[npm|pnpm|yarn] add @equinor/data-marketplace-modelsUsage
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
- Create a new git tag corresponding with the version in
package.json - Create a release in GitHub
- Write release notes (this might™ get automated eventually)
- Trigger the
Publish to NPMGitHub Workflow in the Actions tab