From 9d3d29f43ae1865804335dbc58a1eaab43acd806 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 23 May 2023 18:21:47 +0100 Subject: [PATCH] Setting version and adding types dependency to backend-core. --- package.json | 2 +- packages/backend-core/nx.json | 7 +++++++ yarn.lock | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/backend-core/nx.json diff --git a/package.json b/package.json index 9f349c570e..85a4b46c1e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "devDependencies": { "@esbuild-plugins/node-resolve": "^0.2.2", - "@nx/esbuild": "^16.2.1", + "@nx/esbuild": "16.2.1", "@nx/js": "16.2.1", "@rollup/plugin-json": "^4.0.2", "@typescript-eslint/parser": "5.45.0", diff --git a/packages/backend-core/nx.json b/packages/backend-core/nx.json new file mode 100644 index 0000000000..ee60a02c23 --- /dev/null +++ b/packages/backend-core/nx.json @@ -0,0 +1,7 @@ +{ + "targets": { + "build": { + "dependsOn": ["@budibase/types:build"] + } + } +} diff --git a/yarn.lock b/yarn.lock index f380b71bcf..708e50b11a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3942,7 +3942,7 @@ tmp "~0.2.1" tslib "^2.3.0" -"@nx/esbuild@16.2.1", "@nx/esbuild@^16.2.1": +"@nx/esbuild@16.2.1": version "16.2.1" resolved "https://registry.yarnpkg.com/@nx/esbuild/-/esbuild-16.2.1.tgz#157a408a617b5095ba1372ec27b03d6c9aa3b78c" integrity sha512-jG4zsGc1EN+SfEBUky44+4cpj7M0Sf0v3pGWsw4hCOuBeLl6qW+eAcFypDXecDosS7ct/M2nEtlZP45IVDMZgQ==