Skip to content

Commit

Permalink
Package publishing improvements. (#19)
Browse files Browse the repository at this point in the history
Package publishing improvements
  • Loading branch information
akademy authored Jan 8, 2025
1 parent b05ff08 commit 2f45e99
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 35 deletions.
23 changes: 23 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
node_modules/
storybook-static/
.storybook/
temp/
coverage/

src/storybook/

.idea/
.vscode/

.gitignore

rollup.config.mjs
jest.config.js
babel.config.js
tsconfig.json

src/**/*.stories.*
src/**/*.test.*

secret.txt
diamondlightsource-sci-react-ui*.tgz
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
publish-branch=main
access=public
27 changes: 27 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Changelog

## [0.0.1] - 2024-12-19

### Added
- Components added:
- Breadcrumbs - Highlight position of page in hierarchy
- ColourSchemeButton - Switch between light and dark schemes.
- Footer - A footer, with logo, menu and copyright
- FooterLinks - A group of links for Footer
- FooterLink - A link for FooterLinks
- ImageColorSchemeSwitch - Allow images to be determined by colour scheme
- Navbar - A header with a menu, and login
- NavbarLinks - a group of menu items for Navbar
- NavbarLink - a menuitem
- ThemeProvider - A provider of a theme
- User - User control, for login, logoff.
- VisitInput - A Input for Diamonds visits/sessions
- Themes added:
- Diamond
- Generic

### Fixed
-

### Changed
-
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@diamondlightsource/sci-react-ui",
"version": "0.0.1",
"description": "A collection of react components based on MUI.",
"type": "module",
"author": "DLS",
"description": "A theme and component library to make websites at scientific institutions simple to create.",
"author": "Diamond Light Source",
"license": "ISC",
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Scientific React UI
===================

Scientific React UI components, based on MUI.
_Early development release._

A theme and component library to make websites at scientific installations simple to create.

Using
-----
Expand Down
33 changes: 0 additions & 33 deletions src/styles/colours.ts

This file was deleted.

0 comments on commit 2f45e99

Please sign in to comment.