From 9211603600867b7c7166007546270fcbe9b5cd5f Mon Sep 17 00:00:00 2001 From: Robert Seward Date: Mon, 16 Mar 2026 11:05:49 -0400 Subject: [PATCH] Additional SOM ADA related changes for publishing. --- Makefile | 4 ++++ README.md | 4 ++-- notes.txt | 19 +++++++++++++++++++ package-lock.json | 8 ++++---- 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 notes.txt diff --git a/Makefile b/Makefile index 892835f..661668f 100644 --- a/Makefile +++ b/Makefile @@ -28,3 +28,7 @@ fix: upgrade: npm update +publish: + npm run build:library + npm publish --access public + diff --git a/README.md b/README.md index 3cae29c..472039f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ React (also known as React.js or ReactJS) is an open-source, front end, JavaScript library for building user interfaces or UI components. -[react_discovery_ui](https://www.npmjs.com/package/@smartcitiesdata/react-discovery-ui) is a UI component for consuming the [Discovery API](https://github.com/Datastillery/smartcitiesdata/tree/master/apps/discovery_api) of the SmartCitiesData platform. It is exported as a React Component, ``, and can be imported into another site such as seen in [SmartColumbusOS/Discovery_UI](https://github.com/SmartColumbusOS/discovery_ui). +[react_discovery_ui](https://www.npmjs.com/package/@urbanos/react-discovery-ui) is a UI component for consuming the [Discovery API](https://github.com/Datastillery/smartcitiesdata/tree/master/apps/discovery_api) of the SmartCitiesData platform. It is exported as a React Component, ``, and can be imported into another site such as seen in [SmartColumbusOS/Discovery_UI](https://github.com/SmartColumbusOS/discovery_ui). ## What to Install @@ -99,7 +99,7 @@ with `npm run build:library` To consume this component in your react app place the component into your app or other sub-components such as in the below example: ``` -import ReactDiscoveryUI from '@smartcitiesdata/react-discovery-ui' +import ReactDiscoveryUI from '@urbanos/react-discovery-ui' export default class App extends Component { diff --git a/notes.txt b/notes.txt new file mode 100644 index 0000000..2350100 --- /dev/null +++ b/notes.txt @@ -0,0 +1,19 @@ +============================================================================== +Thu Mar 5 04:34:32 PM EST 2026 +============================================================================== + +How to push a new react-discovery-ui release. + +# create a new branch like 20260306-ada-collapsiblebox-fix +git push --set-upstream origin 20260305-ada-collaspiblebox-fix + +- determine your intended release 2.1.44 +- go create a PR on github +- Update package.json with the release +- npm install # to update package.lock +- create a release for the react-discovery-ui project +- git tag the files with the release +- push the release tag to upstream +- review the PR + +https://www.npmjs.com/package/@urbanos/react-discovery-ui diff --git a/package-lock.json b/package-lock.json index 7229883..5378dfa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@smartcitiesdata/react-discovery-ui", - "version": "2.1.43", + "name": "@urbanos/react-discovery-ui", + "version": "2.1.44", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@smartcitiesdata/react-discovery-ui", - "version": "2.1.43", + "name": "@urbanos/react-discovery-ui", + "version": "2.1.44", "license": "ISC", "dependencies": { "@auth0/auth0-spa-js": "1.22.5",