Skip to content

Commit 4219d1f

Browse files
FLS-1473: Yarn configuration changes
1 parent aa9d140 commit 4219d1f

File tree

5 files changed

+5763
-3698
lines changed

5 files changed

+5763
-3698
lines changed

.devcontainer/setup.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,10 @@ echo "-- Pulling git submodules into local --"
1010
git pull --recurse-submodules
1111

1212
echo "-- Installing digital-form-builder-adapter locally --"
13-
node update-package.js
1413
yarn install
1514

16-
echo "-- Building digital-form-builder-adapter locally --"
17-
yarn setup
18-
19-
echo "-- Building digital-form-builder locally --"
20-
# shellcheck disable=SC2164
21-
cd digital-form-builder
22-
yarn
23-
2415
echo "-- Building digital-form-builder model locally --"
25-
yarn model build
16+
yarn digital-form-builder/model build yarn model build
2617

2718
echo "-- Building digital-form-builder queue-model locally --"
28-
yarn queue-model build
19+
yarn digital-form-builder/queue-model build

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
nodeLinker: node-modules
2-
2+
cacheFolder: .yarn/cache
33
plugins:
44
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
55
spec: "@yarnpkg/plugin-workspace-tools"

designer/server/createServer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const serverOptions = () => {
5757
};
5858

5959
export async function createServer() {
60+
console.log("*** SERVER CREATING WITH PLUGINS ***")
6061
//@ts-ignore
6162
const server = hapi.server(serverOptions());
6263
await server.register(errorHandlerPlugin);

designer/server/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {createServer} from "./createServer";
44
createServer()
55
.then((server) => server.start())
66
.then(() => process.send && process.send("online"))
7+
.then(() => console.log("*** SERVER STARTED ***"))
78
.catch((err) => {
89
console.error(err);
910
process.exit(1);

0 commit comments

Comments
 (0)