Skip to content

Commit

Permalink
Replaced dls-controls with DiamondLightSource
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jul 15, 2024
1 parent 8f67fa8 commit d1488b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ An npm library for Control Systems web applications

## Installation
Install via npm:
`npm install @dls-controls/cs-web-lib`
`npm install @DiamondLightSource/cs-web-lib`

## Development
To develop on the library code first clone this repo, install the npm package dependencies and then make changes:
Expand Down Expand Up @@ -34,7 +34,7 @@ A GitHub workflow has been setup to automatically publish a new package version
This will trigger a job on GitHub to publish a new version of the cs-web-lib to NPM. Check that this job passes.

### Publishing to NPM locally
To publish a new version of the @dls-controls/cs-web-lib package you must first have an npm account and be a member of the dls-controls organisation. Then:
To publish a new version of the @DiamondLightSource/cs-web-lib package you must first have an npm account and be a member of the DiamondLightSource organisation. Then:
1. Update the package version in package.json (follow the major.minor.patch versioning terminology).
2. Run the rollup command to package the library: `npm run rollup`.
3. Login to your npm account: `npm adduser`
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@dls-controls/cs-web-lib",
"name": "@DiamondLightSource/cs-web-lib",
"version": "0.2.3",
"description": "Constrol system web library",
"main": "dist/cjs/index.js",
Expand All @@ -15,7 +15,7 @@
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/dls-controls/cs-web-lib.git"
"url": "https://github.com/DiamondLightSource/cs-web-lib.git"
},
"dependencies": {
"apollo-link-retry": "^2.2.16",
Expand Down
2 changes: 1 addition & 1 deletion src/connection/coniql.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Module that handles a GraphQL connection to the Coniql server.
See https://github.com/dls-controls/coniql
See https://github.com/DiamondLightSource/coniql
*/
import log from "loglevel";
import base64js from "base64-js";
Expand Down

0 comments on commit d1488b8

Please sign in to comment.