Consume packages from builder
This commit is contained in:
parent
da87b28155
commit
c21da4fbd3
|
@ -133,9 +133,7 @@
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
{
|
{
|
||||||
"projects": [
|
"projects": [
|
||||||
"@budibase/shared-core",
|
"@budibase/string-templates"
|
||||||
"@budibase/string-templates",
|
|
||||||
"@budibase/types"
|
|
||||||
],
|
],
|
||||||
"target": "build"
|
"target": "build"
|
||||||
}
|
}
|
||||||
|
@ -145,9 +143,7 @@
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
{
|
{
|
||||||
"projects": [
|
"projects": [
|
||||||
"@budibase/shared-core",
|
"@budibase/string-templates"
|
||||||
"@budibase/string-templates",
|
|
||||||
"@budibase/types"
|
|
||||||
],
|
],
|
||||||
"target": "build"
|
"target": "build"
|
||||||
}
|
}
|
||||||
|
@ -157,9 +153,7 @@
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
{
|
{
|
||||||
"projects": [
|
"projects": [
|
||||||
"@budibase/shared-core",
|
"@budibase/string-templates"
|
||||||
"@budibase/string-templates",
|
|
||||||
"@budibase/types"
|
|
||||||
],
|
],
|
||||||
"target": "build"
|
"target": "build"
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,6 +127,14 @@ export default defineConfig(({ mode }) => {
|
||||||
find: "helpers",
|
find: "helpers",
|
||||||
replacement: path.resolve("./src/helpers"),
|
replacement: path.resolve("./src/helpers"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
find: "@budibase/types",
|
||||||
|
replacement: path.resolve("../types/src"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "@budibase/shared-core",
|
||||||
|
replacement: path.resolve("../shared-core/src"),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,15 +60,10 @@ function runBuild(entry, outfile) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { compilerOptions } = tsconfigPathPluginContent
|
const { compilerOptions } = tsconfigPathPluginContent
|
||||||
const format =
|
|
||||||
compilerOptions.target === "es6" && compilerOptions.module !== "commonjs"
|
|
||||||
? "esm"
|
|
||||||
: undefined
|
|
||||||
|
|
||||||
build({
|
build({
|
||||||
...sharedConfig,
|
...sharedConfig,
|
||||||
platform: "node",
|
platform: "node",
|
||||||
format,
|
|
||||||
outfile,
|
outfile,
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
glob(`${process.cwd()}/src/**/*.hbs`, {}, (err, files) => {
|
glob(`${process.cwd()}/src/**/*.hbs`, {}, (err, files) => {
|
||||||
|
|
Loading…
Reference in New Issue