Skip to content

Commit a40f2ce

Browse files
cleanup for release process (#933)
1 parent 041ff68 commit a40f2ce

File tree

13 files changed

+43
-84
lines changed

13 files changed

+43
-84
lines changed

docker/Dockerfile.jenkins

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG ES_HOST=http://localhost:9200
88
#######################################################
99
# Builder
1010
#######################################################
11-
FROM node:18-alpine as builder
11+
FROM node:22-alpine as builder
1212

1313
ARG APP_FOLDER
1414
ARG APP_GID
@@ -43,4 +43,4 @@ USER $APP_USER
4343

4444
EXPOSE 5050
4545

46-
CMD make _ping_elasticsearch_server -e && npm run server:prod
46+
CMD make _ping_elasticsearch_server -e && npm run server

docker/Dockerfile.jenkins.dockerignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.*
2-
Dockerfile
32
docker-compose.yml
43
docker
5-
docks
4+
docs
65
integration-tests
76
modules/**/*
87
!modules/server

docker/Dockerfile.local

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG ES_HOST=http://localhost:9200
88
#######################################################
99
# Builder
1010
#######################################################
11-
FROM node:18-alpine as builder
11+
FROM node:22-alpine as builder
1212

1313
ARG APP_FOLDER
1414
ARG APP_GID
@@ -46,4 +46,4 @@ USER $APP_USER
4646

4747
EXPOSE 5050
4848

49-
CMD make _ping_elasticsearch_server -e && npm run server:prod
49+
CMD make _ping_elasticsearch_server -e && npm run server
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Dockerfile
21
docker-compose.yml
32
.git
43
**/node_modules
54
**/dist
65
docker
6+
docs
77
!docker/ui/**
88
!docker/test/**
99
.npmrc

docs/setup.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ We'll use the Overture Conductor service, a flexible Docker Compose setup, to sp
111111
3. Install the required npm packages:
112112
113113
```bash
114-
npm ci
114+
npm install
115115
```
116116
117117
:::warning
@@ -120,13 +120,7 @@ We'll use the Overture Conductor service, a flexible Docker Compose setup, to sp
120120
121121
:::
122122
123-
4. Bootstrap the Arranger repository:
124-
125-
```bash
126-
npm run bootstrap
127-
```
128-
129-
5. Run the Arranger server:
123+
4. Run the Arranger server:
130124
131125
```bash
132126
npm run server

modules/components/.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
.storybook/
12
__mocks__/
3+
public/
24
src/
35
stories/
4-
.storybook/
56

67
.env*
78
.gitignore
89
*config.js*
10+
*config.ts*
11+
12+
tsconfig.*

modules/components/nope.eslintrcnope.jsnope

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

modules/components/package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,15 @@
77
"access": "public"
88
},
99
"scripts": {
10-
"build": "babel src --copy-files --extensions .tsx,.ts,.js,.jsx --out-dir dist",
11-
"build:production": "npm run build && npm run declarations -- --project tsconfig.release.json",
12-
"build-storybook": "build-storybook -s ./public",
13-
"cleanDist": "rm -rf dist",
14-
"dashboard": "STORYBOOK_DASHBOARD=true start-storybook -p 6060 -c .storybook -s ./public",
15-
"declarations": "tsc --emitDeclarationOnly",
16-
"ifPublish:declarations": "if test \"$PUBLISH_DECLARATIONS\" = \"true\" ; then (npm run -s declarations || true) ; fi",
17-
"lint": "eslint ./src --ext=.jsx,.js,.tsx,.ts",
10+
"build:babel": "babel src --copy-files --extensions .tsx,.ts,.js,.jsx --out-dir dist",
11+
"build:declarations": "tsc --emitDeclarationOnly --project tsconfig.release.json",
12+
"build": "concurrently -n babel,tsc -c yellow,blue -P 'npm:build:babel -- {@}' 'npm:build:declarations -- {@}' --",
13+
"nuke:dist": "rm -rf dist",
1814
"patchTS": "ts-patch install -s",
19-
"portal": "STORYBOOK_PORTAL=true start-storybook -p 7070 -c .storybook -s ./public",
20-
"storybook": "start-storybook -p 8080 -c .storybook -s ./public",
15+
"prepare": "npm run patchTS",
2116
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --config=jest.config.ts",
22-
"watch": "npm run cleanDist && (concurrently -n babel,tsc -c yellow,blue \"npm run build -- --watch\" \"npm run declarations -- --watch\")",
23-
"watchnew": "npm run cleanDist && (concurrently -n babel,tsc -c yellow,blue \"npm run build -- --watch\")"
17+
"test:watch": "npm test -- --watch",
18+
"watch": "npm run nuke:dist && npm run build -- --watch"
2419
},
2520
"repository": {
2621
"type": "git",

modules/server/.npmignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
configs/
1+
configTemplates/
22
src/
33

4-
.eslintrc*
4+
.env*
5+
*config.js*
6+
*config.ts*
57

6-
./index.js
7-
./index.ts
8-
tsconfig*
8+
index.ts
9+
tsconfig*

modules/server/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313
"access": "public"
1414
},
1515
"scripts": {
16-
"build": "tsc --build",
17-
"build:production": "tsc --project tsconfig.release.json",
18-
"cleanDist": "rm -rf dist",
16+
"build": "tsc --project tsconfig.release.json",
17+
"dev": "NODE_ENV=development tsx watch --include './src/**/*' ./index.ts",
18+
"nuke:dist": "rm -rf dist",
1919
"patchTS": "ts-patch install -s",
20-
"start": "NODE_ENV=development tsx watch --include './src/**/*' ./index.ts",
21-
"start:prod": "tsx ./index.ts",
20+
"prepare": "npm run patchTS",
21+
"start": "tsx ./index.ts",
2222
"test": "tsx --test",
23-
"watch": "npm run cleanDist && npm run build -- --watch"
23+
"test:watch": "npm test -- --watch",
24+
"watch": "npm run nuke:dist && npm run build -- --watch"
2425
},
2526
"repository": {
2627
"type": "git",

0 commit comments

Comments
 (0)