From fc4b351248bfd66862c3cc16b46bd6541dcff913 Mon Sep 17 00:00:00 2001 From: Mose Mueller Date: Tue, 11 Apr 2023 10:06:24 +0200 Subject: [PATCH] Updating using icon-services as nodejs scope (instead of @icon-service) --- README.md | 12 ++++++------ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 49fd71b..6d3442e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ poetry add git+ssh://git@gitlab.phys.ethz.ch:tiqi-projects/qchub/icon-services/i ``` ### TypeScript frontend -Make sure you have Node.js and npm or yarn installed on your system. You can install `@icon-service/icon_service_base` like so: +Make sure you have Node.js and npm or yarn installed on your system. You can install `@icon-services/icon_service_base` like so: ```bash npm install git+ssh://git@gitlab.phys.ethz.ch:tiqi-projects/qchub/icon-services/icon_service_base.git @@ -26,11 +26,11 @@ The Python code can be used as a library in other ICON services. Import the rele The frontend code contains the core of the typescript openAPI clients generated by [`openapi-typescript-codegen`](https://github.com/ferdikoomen/openapi-typescript-codegen/tree/master). This needs to be imported in the ICON services like so: ```ts -import { OpenAPI } from '@icon-service/icon_service_base'; -import { request as __request } from '@icon-service/icon_service_base'; -export { ApiError } from "@icon-service/icon_service_base"; -export { CancelablePromise, CancelError } from '@icon-service/icon_service_base'; -export type { OpenAPIConfig } from '@icon-service/icon_service_base'; +import { OpenAPI } from '@icon-services/icon_service_base'; +import { request as __request } from '@icon-services/icon_service_base'; +export { ApiError } from "@icon-services/icon_service_base"; +export { CancelablePromise, CancelError } from '@icon-services/icon_service_base'; +export type { OpenAPIConfig } from '@icon-services/icon_service_base'; ``` ## License diff --git a/package-lock.json b/package-lock.json index fb170c2..cc1e7d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@icon-service/icon_service_base", + "name": "@icon-services/icon_service_base", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@icon-service/icon_service_base", + "name": "@icon-services/icon_service_base", "version": "0.1.0", "license": "MIT", "devDependencies": { diff --git a/package.json b/package.json index 6676e67..32569f5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@icon-service/icon_service_base", + "name": "@icon-services/icon_service_base", "version": "0.1.0", "description": "Repository storing the code that is common to all icon services.", "author": "Mose Müller ",