Skip to content

Commit abd3e9a

Browse files
authored
remove lib and eslint-config and fetch from npm instead (#1214)
* chore: remove lib and eslint-config and fetch from npm instead * chore: remove lib ci * chore: update package.json * chore: update package.json * fix: fix tsconfig
1 parent 57b1170 commit abd3e9a

File tree

346 files changed

+2519
-18908
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+2519
-18908
lines changed

.github/workflows/cicd-tasks.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- '*'
77
paths:
8-
- 'lib/**'
98
- 'tasks/**'
109
- 'api-services/**'
1110
- 'pnpm*.yaml'
@@ -17,7 +16,6 @@ on:
1716
- 'v*'
1817
pull_request:
1918
paths:
20-
- 'lib/**'
2119
- 'tasks/**'
2220
- 'api-services/**'
2321
- 'pnpm*.yaml'

.github/workflows/publish.yaml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/workflows/storybook-lib.yaml

Lines changed: 0 additions & 76 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

Dockerfile.tasks

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ WORKDIR /web
1111
COPY package.json .
1212
COPY pnpm-lock.yaml .
1313
COPY pnpm-workspace.yaml .
14-
COPY lib/package.json ./lib/
1514
COPY tasks/package.json ./tasks/
1615
COPY api-services/package.json ./api-services/
1716

1817
# install dependencies
1918
RUN CI=1 pnpm install
2019

2120
# build tasks app
22-
COPY lib ./lib/
2321
COPY tasks ./tasks/
2422
COPY api-services ./api-services/
2523
RUN pnpm --filter $WS run build

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ The official helpwave web frontends.
1010
This repository is split up into multiple subprojects using [pnpm](https://pnpm.io) workspaces.
1111
- helpwave tasks (see [tasks](/tasks))
1212
- landing page of helpwave (see [landing-page](/landing-page))
13-
- library of helpwave (see [lib](/lib))
1413

1514
## Getting Started
1615

@@ -32,19 +31,6 @@ pnpm run dev
3231

3332
After that you should be able to open the project in the browser [`http://localhost:3000`](http://localhost:3000).
3433

35-
## Storybook
36-
37-
The components of our [library](lib) can be looked at in the storybook, where the different
38-
parameters of the component can be set individually.
39-
40-
This allows you to see which components already exist and how to use them.
41-
The current version can be seen here https://components.helpwave.de.
42-
43-
```shell
44-
cd lib
45-
pnpm run storybook
46-
```
47-
4834
## Testing
4935
This project is tested with [BrowserStack](https://www.browserstack.com).
5036

@@ -55,8 +41,6 @@ Our projects use linting with `eslint` to create a uniform code style. The linte
5541
pnpm run --filter "@helpwave/*" lint
5642
```
5743

58-
It's configuration and further explanation can be found in the [eslint-config](eslint-config/README.md).
59-
6044
## Scripts
6145
The list of all our scripts can be found [here](documentation/scripts.md).
6246

api-services/mutations/properties/property_mutations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'
2-
import { noop } from '@helpwave/common/util/noop'
2+
import { noop } from '@helpwave/hightide/util/noop'
33
import {
44
CreatePropertyRequest,
55
GetPropertiesRequest,

api-services/mutations/properties/property_value_mutations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { noop } from '@helpwave/common/util/noop'
1+
import { noop } from '@helpwave/hightide/util/noop'
22
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'
33
import {
44
AttachPropertyValueRequest,
@@ -9,7 +9,7 @@ import {
99
import {
1010
Date as ProtoDate
1111
} from '@helpwave/proto-ts/services/property_svc/v1/types_pb'
12-
import { ArrayUtil } from '@helpwave/common/util/array'
12+
import { ArrayUtil } from '@helpwave/hightide/util/array'
1313
import { APIServices } from '../../services'
1414
import { getAuthenticatedGrpcMetadata } from '../../authentication/grpc_metadata'
1515
import { QueryKeys } from '../query_keys'

api-services/mutations/tasks/patient_mutations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
UnassignBedRequest,
1313
UpdatePatientRequest
1414
} from '@helpwave/proto-ts/services/tasks_svc/v1/patient_svc_pb'
15-
import { noop } from '@helpwave/common/util/noop'
15+
import { noop } from '@helpwave/hightide/util/noop'
1616
import { APIServices } from '../../services'
1717
import { getAuthenticatedGrpcMetadata } from '../../authentication/grpc_metadata'
1818
import type {

api-services/mutations/tasks/room_mutations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
GetRoomRequest,
77
UpdateRoomRequest
88
} from '@helpwave/proto-ts/services/tasks_svc/v1/room_svc_pb'
9-
import { noop } from '@helpwave/common/util/noop'
9+
import { noop } from '@helpwave/hightide/util/noop'
1010
import type { RoomDTO, RoomMinimalDTO, RoomOverviewDTO } from '../../types/tasks/room'
1111
import { APIServices } from '../../services'
1212
import { getAuthenticatedGrpcMetadata } from '../../authentication/grpc_metadata'

0 commit comments

Comments
 (0)