Merge branches 'add-lints-for-only' and 'master' of github.com:budibase/budibase into add-lints-for-only

This commit is contained in:
Sam Rose 2024-03-18 13:41:19 +00:00
commit 89ebd1d017
No known key found for this signature in database
5 changed files with 9 additions and 2 deletions

View File

@ -175,6 +175,10 @@
] ]
}, },
"build": { "build": {
"inputs": [
"{projectRoot}/builder",
"{projectRoot}/client"
],
"outputs": [ "outputs": [
"{projectRoot}/builder", "{projectRoot}/builder",
"{projectRoot}/client", "{projectRoot}/client",

View File

@ -33,6 +33,7 @@
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-typescript": "8.3.0", "@rollup/plugin-typescript": "8.3.0",
"doctrine": "^3.0.0", "doctrine": "^3.0.0",
"jest": "29.7.0", "jest": "29.7.0",

View File

@ -6,6 +6,7 @@ import builtins from "rollup-plugin-node-builtins"
import globals from "rollup-plugin-node-globals" import globals from "rollup-plugin-node-globals"
import typescript from "@rollup/plugin-typescript" import typescript from "@rollup/plugin-typescript"
import injectProcessEnv from "rollup-plugin-inject-process-env" import injectProcessEnv from "rollup-plugin-inject-process-env"
import inject from "@rollup/plugin-inject"
const production = !process.env.ROLLUP_WATCH const production = !process.env.ROLLUP_WATCH
@ -24,6 +25,7 @@ const config = (format, outputFile) => ({
}), }),
commonjs(), commonjs(),
globals(), globals(),
inject({ Buffer: ["buffer", "Buffer"] }),
builtins(), builtins(),
json(), json(),
injectProcessEnv({ injectProcessEnv({

View File

@ -52,7 +52,7 @@ export enum InternalTemplateBinding {
RESET_URL = "resetUrl", RESET_URL = "resetUrl",
RESET_CODE = "resetCode", RESET_CODE = "resetCode",
INVITE_URL = "inviteUrl", INVITE_URL = "inviteUrl",
INVITE_CODE = "inviteUrl", INVITE_CODE = "inviteCode",
CONTENTS = "contents", CONTENTS = "contents",
} }

View File

@ -3922,7 +3922,7 @@
"@rollup/pluginutils" "^5.0.1" "@rollup/pluginutils" "^5.0.1"
mini-svg-data-uri "^1.4.4" mini-svg-data-uri "^1.4.4"
"@rollup/plugin-inject@^5.0.4": "@rollup/plugin-inject@^5.0.4", "@rollup/plugin-inject@^5.0.5":
version "5.0.5" version "5.0.5"
resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz#616f3a73fe075765f91c5bec90176608bed277a3" resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz#616f3a73fe075765f91c5bec90176608bed277a3"
integrity sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg== integrity sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==