@nfdi4plants/swate-components
v1.0.6
Published
Customizable React components for ontology annotation, based on Swate and the ARC.
Readme
Components
Local Dev
Tests
npm test
Playground
npm start
Run Storybook
npm run storybook
Build Storybook
npm run build:storybook
Build Npm Package
npm run build
Build .NET Package
npm run build:net
Release
.NET
- Update version in
./src/Components.fsproj npm run build:net(creates tailwind style css and packs nuget package)- Upload nuget package from
./src/bin/Releases
NPM
- Release normally and copy
<new_version>from console output. npm version <new_version> --no-git-tag-versionnpm run build(transpiles with fable, creates tsc types, and bundles with rollup)- (Due to #701) replace
@layer basewith@layer swt-baseindist/swate-components.css npm publish --access public --tag next(Use--tag nextfor prerelease)
Publish detailed
- go to main branch
- ensure latest commit is locally pulled
- Open powershell / cmd in swate root
- ./build.cmd release pre
- Wait for version editting. Write beta.XX where XX is the current beta version
- Wait for tests
- Confirm force push to nightly
- Wait a few minutes and check if gh-actions for release finished successfully: https://github.com/nfdi4plants/Swate/actions
- When the release is finished go to the main page of swate (https://github.com/nfdi4plants/Swate), and click on Releases on the left side (https://github.com/nfdi4plants/Swate/releases)
- Select the tag of the new release and click "Generate release notes", then click on "Publish release"
