Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration
This commit is contained in:
commit
7afd716e91
|
@ -16,7 +16,7 @@ on:
|
||||||
env:
|
env:
|
||||||
BRANCH: ${{ github.event.pull_request.head.ref }}
|
BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||||
BASE_BRANCH: ${{ github.event.pull_request.base.ref}}
|
BASE_BRANCH: ${{ github.event.pull_request.base.ref}}
|
||||||
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
@ -34,12 +34,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 14.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
- name: Install Pro
|
|
||||||
run: yarn install:pro $BRANCH $BASE_BRANCH
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
|
@ -48,16 +49,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 14.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
- name: Install Pro
|
|
||||||
run: yarn install:pro $BRANCH $BASE_BRANCH
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
- run: yarn test
|
- run: yarn test --ignore=@budibase/pro
|
||||||
- uses: codecov/codecov-action@v3
|
- uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
||||||
|
@ -68,26 +70,28 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 14.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
- name: Install Pro
|
|
||||||
run: yarn install:pro $BRANCH $BASE_BRANCH
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn test:pro
|
- run: yarn test --scope=@budibase/pro
|
||||||
|
|
||||||
integration-test:
|
integration-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 14.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
- name: Install Pro
|
|
||||||
run: yarn install:pro $BRANCH $BASE_BRANCH
|
|
||||||
- run: yarn && yarn bootstrap && yarn build
|
- run: yarn && yarn bootstrap && yarn build
|
||||||
- run: |
|
- run: |
|
||||||
cd qa-core
|
cd qa-core
|
||||||
|
@ -96,3 +100,24 @@ jobs:
|
||||||
env:
|
env:
|
||||||
BB_ADMIN_USER_EMAIL: admin
|
BB_ADMIN_USER_EMAIL: admin
|
||||||
BB_ADMIN_USER_PASSWORD: admin
|
BB_ADMIN_USER_PASSWORD: admin
|
||||||
|
|
||||||
|
check-pro-submodule:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Check submodule
|
||||||
|
run: |
|
||||||
|
cd packages/pro
|
||||||
|
git fetch
|
||||||
|
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/develop; then
|
||||||
|
echo "Current commit has not been merged to develop"
|
||||||
|
echo "Refer to the pro repo to merge your changes: https://github.com/Budibase/budibase-pro/blob/develop/docs/getting_started.md"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "All good, the submodule had been merged!"
|
||||||
|
fi
|
||||||
|
|
|
@ -6,15 +6,15 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
paths:
|
paths:
|
||||||
- '.aws/**'
|
- ".aws/**"
|
||||||
- '.github/**'
|
- ".github/**"
|
||||||
- 'charts/**'
|
- "charts/**"
|
||||||
- 'packages/**'
|
- "packages/**"
|
||||||
- 'scripts/**'
|
- "scripts/**"
|
||||||
- 'package.json'
|
- "package.json"
|
||||||
- 'yarn.lock'
|
- "yarn.lock"
|
||||||
- 'package.json'
|
- "package.json"
|
||||||
- 'yarn.lock'
|
- "yarn.lock"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -36,18 +36,18 @@ jobs:
|
||||||
echo "Ref is not develop, you must run this job from develop."
|
echo "Ref is not develop, you must run this job from develop."
|
||||||
exit 1
|
exit 1
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
|
|
||||||
- name: Install Pro
|
|
||||||
run: yarn install:pro develop
|
|
||||||
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
- run: yarn build:sdk
|
- run: yarn build:sdk
|
||||||
# - run: yarn test
|
# - run: yarn test
|
||||||
|
|
||||||
- name: Publish budibase packages to NPM
|
- name: Publish budibase packages to NPM
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -6,15 +6,15 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- '.aws/**'
|
- ".aws/**"
|
||||||
- '.github/**'
|
- ".github/**"
|
||||||
- 'charts/**'
|
- "charts/**"
|
||||||
- 'packages/**'
|
- "packages/**"
|
||||||
- 'scripts/**'
|
- "scripts/**"
|
||||||
- 'package.json'
|
- "package.json"
|
||||||
- 'yarn.lock'
|
- "yarn.lock"
|
||||||
- 'package.json'
|
- "package.json"
|
||||||
- 'yarn.lock'
|
- "yarn.lock"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
versioning:
|
versioning:
|
||||||
|
@ -32,7 +32,7 @@ env:
|
||||||
POSTHOG_TOKEN: phc_bIjZL7oh2GEUd2vqvTBH8WvrX0fWTFQMs6H5KQxiUxU
|
POSTHOG_TOKEN: phc_bIjZL7oh2GEUd2vqvTBH8WvrX0fWTFQMs6H5KQxiUxU
|
||||||
INTERCOM_TOKEN: ${{ secrets.INTERCOM_TOKEN }}
|
INTERCOM_TOKEN: ${{ secrets.INTERCOM_TOKEN }}
|
||||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-images:
|
release-images:
|
||||||
|
@ -44,13 +44,13 @@ jobs:
|
||||||
echo "Ref is not master, you must run this job from master."
|
echo "Ref is not master, you must run this job from master."
|
||||||
exit 1
|
exit 1
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
|
|
||||||
- name: Install Pro
|
|
||||||
run: yarn install:pro master
|
|
||||||
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn bootstrap
|
- run: yarn bootstrap
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
|
@ -68,7 +68,7 @@ jobs:
|
||||||
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
||||||
yarn release
|
yarn release
|
||||||
|
|
||||||
- name: 'Get Previous tag'
|
- name: "Get Previous tag"
|
||||||
id: previoustag
|
id: previoustag
|
||||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "packages/pro"]
|
||||||
|
path = packages/pro
|
||||||
|
url = git@github.com:Budibase/budibase-pro.git
|
|
@ -0,0 +1,4 @@
|
||||||
|
# .husky/post-checkout
|
||||||
|
# ...
|
||||||
|
|
||||||
|
git config submodule.recurse true
|
|
@ -14,6 +14,9 @@ metadata:
|
||||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
|
||||||
alb.ingress.kubernetes.io/certificate-arn: {{ .Values.ingress.certificateArn }}
|
alb.ingress.kubernetes.io/certificate-arn: {{ .Values.ingress.certificateArn }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.ingress.sslPolicy }}
|
||||||
|
alb.ingress.kubernetes.io/actions.ssl-policy: {{ .Values.ingress.sslPolicy }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.ingress.securityGroups }}
|
{{- if .Values.ingress.securityGroups }}
|
||||||
alb.ingress.kubernetes.io/security-groups: {{ .Values.ingress.securityGroups }}
|
alb.ingress.kubernetes.io/security-groups: {{ .Values.ingress.securityGroups }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,13 +1,17 @@
|
||||||
## Dev Environment on Debian 11
|
## Dev Environment on Debian 11
|
||||||
|
|
||||||
### Install NVM & Node 14
|
### Install NVM & Node 14
|
||||||
|
|
||||||
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
||||||
|
|
||||||
Install NVM
|
Install NVM
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Install Node 14
|
Install Node 14
|
||||||
|
|
||||||
```
|
```
|
||||||
nvm install 14
|
nvm install 14
|
||||||
```
|
```
|
||||||
|
@ -17,13 +21,16 @@ nvm install 14
|
||||||
```
|
```
|
||||||
npm install -g yarn jest lerna
|
npm install -g yarn jest lerna
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install Docker and Docker Compose
|
### Install Docker and Docker Compose
|
||||||
|
|
||||||
```
|
```
|
||||||
apt install docker.io
|
apt install docker.io
|
||||||
pip3 install docker-compose
|
pip3 install docker-compose
|
||||||
```
|
```
|
||||||
|
|
||||||
### Clone the repo
|
### Clone the repo
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/Budibase/budibase.git
|
git clone https://github.com/Budibase/budibase.git
|
||||||
```
|
```
|
||||||
|
@ -44,10 +51,13 @@ This setup process was tested on Debian 11 (bullseye) with version numbers show
|
||||||
cd budibase
|
cd budibase
|
||||||
yarn setup
|
yarn setup
|
||||||
```
|
```
|
||||||
|
|
||||||
The yarn setup command runs several build steps i.e.
|
The yarn setup command runs several build steps i.e.
|
||||||
|
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
||||||
```
|
```
|
||||||
|
|
||||||
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
||||||
|
|
||||||
The dev version will be available on port 10000 i.e.
|
The dev version will be available on port 10000 i.e.
|
||||||
|
@ -55,6 +65,7 @@ The dev version will be available on port 10000 i.e.
|
||||||
http://127.0.0.1:10000/builder/admin
|
http://127.0.0.1:10000/builder/admin
|
||||||
|
|
||||||
### File descriptor issues with Vite and Chrome in Linux
|
### File descriptor issues with Vite and Chrome in Linux
|
||||||
|
|
||||||
If your dev environment stalls forever, with some network requests stuck in flight, it's likely that Chrome is trying to open more file descriptors than your system allows.
|
If your dev environment stalls forever, with some network requests stuck in flight, it's likely that Chrome is trying to open more file descriptors than your system allows.
|
||||||
To fix this, apply the following tweaks.
|
To fix this, apply the following tweaks.
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,10 @@ Install instructions [here](https://brew.sh/)
|
||||||
`eval $(/opt/homebrew/bin/brew shellenv)` line to your `.zshrc`. This will make your zsh to find the apps you install
|
`eval $(/opt/homebrew/bin/brew shellenv)` line to your `.zshrc`. This will make your zsh to find the apps you install
|
||||||
through brew.
|
through brew.
|
||||||
|
|
||||||
|
|
||||||
### Install Node
|
### Install Node
|
||||||
|
|
||||||
Budibase requires a recent version of node 14:
|
Budibase requires a recent version of node 14:
|
||||||
|
|
||||||
```
|
```
|
||||||
brew install node npm
|
brew install node npm
|
||||||
node -v
|
node -v
|
||||||
|
@ -22,12 +22,15 @@ node -v
|
||||||
```
|
```
|
||||||
npm install -g yarn jest lerna
|
npm install -g yarn jest lerna
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install Docker and Docker Compose
|
### Install Docker and Docker Compose
|
||||||
|
|
||||||
```
|
```
|
||||||
brew install docker docker-compose
|
brew install docker docker-compose
|
||||||
```
|
```
|
||||||
|
|
||||||
### Clone the repo
|
### Clone the repo
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/Budibase/budibase.git
|
git clone https://github.com/Budibase/budibase.git
|
||||||
```
|
```
|
||||||
|
@ -48,10 +51,13 @@ This setup process was tested on Mac OSX 12 (Monterey) with version numbers show
|
||||||
cd budibase
|
cd budibase
|
||||||
yarn setup
|
yarn setup
|
||||||
```
|
```
|
||||||
|
|
||||||
The yarn setup command runs several build steps i.e.
|
The yarn setup command runs several build steps i.e.
|
||||||
|
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
||||||
```
|
```
|
||||||
|
|
||||||
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
||||||
|
|
||||||
The dev version will be available on port 10000 i.e.
|
The dev version will be available on port 10000 i.e.
|
||||||
|
@ -62,4 +68,5 @@ http://127.0.0.1:10000/builder/admin
|
||||||
[hosting/docker-compose-dev.yaml](../hosting/docker-compose.dev.yaml)
|
[hosting/docker-compose-dev.yaml](../hosting/docker-compose.dev.yaml)
|
||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
|
|
||||||
If there are errors with the `yarn setup` command, you can try installing nvm and node 14. This is the same as the instructions for Debian 11.
|
If there are errors with the `yarn setup` command, you can try installing nvm and node 14. This is the same as the instructions for Debian 11.
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
## Dev Environment on Windows 10/11 (WSL2)
|
## Dev Environment on Windows 10/11 (WSL2)
|
||||||
|
|
||||||
|
|
||||||
### Install WSL with Ubuntu LTS
|
### Install WSL with Ubuntu LTS
|
||||||
|
|
||||||
Enable WSL 2 on Windows 10/11 for docker support.
|
Enable WSL 2 on Windows 10/11 for docker support.
|
||||||
|
|
||||||
```
|
```
|
||||||
wsl --set-default-version 2
|
wsl --set-default-version 2
|
||||||
```
|
```
|
||||||
|
|
||||||
Install Ubuntu LTS.
|
Install Ubuntu LTS.
|
||||||
|
|
||||||
```
|
```
|
||||||
wsl --install Ubuntu
|
wsl --install Ubuntu
|
||||||
```
|
```
|
||||||
|
@ -16,6 +18,7 @@ Or follow the instruction here:
|
||||||
https://learn.microsoft.com/en-us/windows/wsl/install
|
https://learn.microsoft.com/en-us/windows/wsl/install
|
||||||
|
|
||||||
### Install Docker in windows
|
### Install Docker in windows
|
||||||
|
|
||||||
Download the installer from docker and install it.
|
Download the installer from docker and install it.
|
||||||
|
|
||||||
Check this url for more detailed instructions:
|
Check this url for more detailed instructions:
|
||||||
|
@ -24,18 +27,21 @@ https://docs.docker.com/desktop/install/windows-install/
|
||||||
You should follow the next steps from within the Ubuntu terminal.
|
You should follow the next steps from within the Ubuntu terminal.
|
||||||
|
|
||||||
### Install NVM & Node 14
|
### Install NVM & Node 14
|
||||||
|
|
||||||
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
NVM documentation: https://github.com/nvm-sh/nvm#installing-and-updating
|
||||||
|
|
||||||
Install NVM
|
Install NVM
|
||||||
|
|
||||||
```
|
```
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Install Node 14
|
Install Node 14
|
||||||
|
|
||||||
```
|
```
|
||||||
nvm install 14
|
nvm install 14
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Install npm requirements
|
### Install npm requirements
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -43,6 +49,7 @@ npm install -g yarn jest lerna
|
||||||
```
|
```
|
||||||
|
|
||||||
### Clone the repo
|
### Clone the repo
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/Budibase/budibase.git
|
git clone https://github.com/Budibase/budibase.git
|
||||||
```
|
```
|
||||||
|
@ -63,10 +70,13 @@ This setup process was tested on Windows 11 with version numbers show below. You
|
||||||
cd budibase
|
cd budibase
|
||||||
yarn setup
|
yarn setup
|
||||||
```
|
```
|
||||||
|
|
||||||
The yarn setup command runs several build steps i.e.
|
The yarn setup command runs several build steps i.e.
|
||||||
|
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
||||||
```
|
```
|
||||||
|
|
||||||
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
||||||
|
|
||||||
The dev version will be available on port 10000 i.e.
|
The dev version will be available on port 10000 i.e.
|
||||||
|
@ -74,6 +84,7 @@ The dev version will be available on port 10000 i.e.
|
||||||
http://127.0.0.1:10000/builder/admin
|
http://127.0.0.1:10000/builder/admin
|
||||||
|
|
||||||
### Working with the code
|
### Working with the code
|
||||||
|
|
||||||
Here are the instructions to work on the application from within Visual Studio Code (in Windows) through the WSL. All the commands and files are within the Ubuntu system and it should run as if you were working on a Linux machine.
|
Here are the instructions to work on the application from within Visual Studio Code (in Windows) through the WSL. All the commands and files are within the Ubuntu system and it should run as if you were working on a Linux machine.
|
||||||
|
|
||||||
https://code.visualstudio.com/docs/remote/wsl
|
https://code.visualstudio.com/docs/remote/wsl
|
||||||
|
|
18
lerna.json
18
lerna.json
|
@ -1,8 +1,22 @@
|
||||||
{
|
{
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
|
"packages": [
|
||||||
|
"packages/backend-core",
|
||||||
|
"packages/bbui",
|
||||||
|
"packages/builder",
|
||||||
|
"packages/cli",
|
||||||
|
"packages/client",
|
||||||
|
"packages/frontend-core",
|
||||||
|
"packages/sdk",
|
||||||
|
"packages/server",
|
||||||
|
"packages/shared-core",
|
||||||
|
"packages/string-templates",
|
||||||
|
"packages/types",
|
||||||
|
"packages/worker",
|
||||||
|
"packages/pro/packages/pro"
|
||||||
|
],
|
||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"packages": ["packages/*"],
|
|
||||||
"command": {
|
"command": {
|
||||||
"publish": {
|
"publish": {
|
||||||
"ignoreChanges": [
|
"ignoreChanges": [
|
||||||
|
|
30
package.json
30
package.json
|
@ -8,7 +8,7 @@
|
||||||
"eslint": "^7.28.0",
|
"eslint": "^7.28.0",
|
||||||
"eslint-plugin-cypress": "^2.11.3",
|
"eslint-plugin-cypress": "^2.11.3",
|
||||||
"eslint-plugin-svelte3": "^3.2.0",
|
"eslint-plugin-svelte3": "^3.2.0",
|
||||||
"husky": "^7.0.1",
|
"husky": "^8.0.3",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"kill-port": "^1.6.1",
|
"kill-port": "^1.6.1",
|
||||||
"lerna": "^6.6.1",
|
"lerna": "^6.6.1",
|
||||||
|
@ -21,18 +21,16 @@
|
||||||
"typescript": "4.7.3"
|
"typescript": "4.7.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"setup": "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
|
"setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
|
||||||
"bootstrap": "lerna link && ./scripts/link-dependencies.sh",
|
"bootstrap": "./scripts/bootstrap.sh && lerna link && ./scripts/link-dependencies.sh",
|
||||||
"build": "lerna run --stream build",
|
"build": "lerna run --stream build",
|
||||||
"build:dev": "lerna run --stream prebuild && tsc --build --watch --preserveWatchOutput",
|
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
|
||||||
"backend:bootstrap": "./scripts/scopeBackend.sh && yarn run bootstrap",
|
"backend:bootstrap": "./scripts/scopeBackend.sh && yarn run bootstrap",
|
||||||
"backend:build": "./scripts/scopeBackend.sh 'lerna run --stream build'",
|
"backend:build": "./scripts/scopeBackend.sh 'lerna run --stream build'",
|
||||||
"build:sdk": "lerna run --stream build:sdk",
|
"build:sdk": "lerna run --stream build:sdk",
|
||||||
"deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
|
"deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
|
||||||
"release": "lerna publish ${RELEASE_VERSION_TYPE:-patch} --yes --force-publish && yarn release:pro",
|
"release": "lerna publish ${RELEASE_VERSION_TYPE:-patch} --yes --force-publish && yarn release:pro",
|
||||||
"release:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop --exact && yarn release:pro:develop",
|
"release:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop --exact && yarn release:pro:develop",
|
||||||
"release:pro": "bash scripts/pro/release.sh",
|
|
||||||
"release:pro:develop": "bash scripts/pro/release.sh develop",
|
|
||||||
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
|
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
|
||||||
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
|
||||||
"nuke:packages": "yarn run restore",
|
"nuke:packages": "yarn run restore",
|
||||||
|
@ -46,7 +44,6 @@
|
||||||
"dev:server": "yarn run kill-server && lerna run --stream --parallel dev:builder --concurrency 1 --scope @budibase/backend-core --scope @budibase/worker --scope @budibase/server",
|
"dev:server": "yarn run kill-server && lerna run --stream --parallel dev:builder --concurrency 1 --scope @budibase/backend-core --scope @budibase/worker --scope @budibase/server",
|
||||||
"dev:built": "cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream --parallel dev:built",
|
"dev:built": "cd packages/server && yarn dev:stack:up && cd ../../ && lerna run --stream --parallel dev:built",
|
||||||
"test": "lerna run --stream test --stream",
|
"test": "lerna run --stream test --stream",
|
||||||
"test:pro": "bash scripts/pro/test.sh",
|
|
||||||
"lint:eslint": "eslint packages && eslint qa-core",
|
"lint:eslint": "eslint packages && eslint qa-core",
|
||||||
"lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --check \"qa-core/**/*.{js,ts,svelte}\"",
|
"lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --check \"qa-core/**/*.{js,ts,svelte}\"",
|
||||||
"lint": "yarn run lint:eslint && yarn run lint:prettier",
|
"lint": "yarn run lint:eslint && yarn run lint:prettier",
|
||||||
|
@ -82,12 +79,25 @@
|
||||||
"mode:account": "yarn mode:cloud && yarn env:account:enable",
|
"mode:account": "yarn mode:cloud && yarn env:account:enable",
|
||||||
"security:audit": "node scripts/audit.js",
|
"security:audit": "node scripts/audit.js",
|
||||||
"postinstall": "husky install",
|
"postinstall": "husky install",
|
||||||
"install:pro": "bash scripts/pro/install.sh",
|
"dep:clean": "yarn clean -y && yarn bootstrap",
|
||||||
"dep:clean": "yarn clean && yarn bootstrap"
|
"submodules:load": "git submodule init && git submodule update && yarn && yarn bootstrap",
|
||||||
|
"submodules:unload": "git submodule deinit --all && yarn && yarn bootstrap"
|
||||||
},
|
},
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/backend-core",
|
||||||
|
"packages/bbui",
|
||||||
|
"packages/builder",
|
||||||
|
"packages/cli",
|
||||||
|
"packages/client",
|
||||||
|
"packages/frontend-core",
|
||||||
|
"packages/sdk",
|
||||||
|
"packages/server",
|
||||||
|
"packages/shared-core",
|
||||||
|
"packages/string-templates",
|
||||||
|
"packages/types",
|
||||||
|
"packages/worker",
|
||||||
|
"packages/pro/packages/pro"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/backend-core",
|
"name": "@budibase/backend-core",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase backend core libraries used in server and worker",
|
"description": "Budibase backend core libraries used in server and worker",
|
||||||
"main": "dist/src/index.js",
|
"main": "dist/src/index.js",
|
||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/src/index.d.ts",
|
||||||
|
@ -15,8 +15,6 @@
|
||||||
"prebuild": "rimraf dist/",
|
"prebuild": "rimraf dist/",
|
||||||
"prepack": "cp package.json dist",
|
"prepack": "cp package.json dist",
|
||||||
"build": "tsc -p tsconfig.build.json",
|
"build": "tsc -p tsconfig.build.json",
|
||||||
"build:pro": "../../scripts/pro/build.sh",
|
|
||||||
"postbuild": "yarn run build:pro",
|
|
||||||
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
||||||
"test": "bash scripts/test.sh",
|
"test": "bash scripts/test.sh",
|
||||||
"test:watch": "jest --watchAll"
|
"test:watch": "jest --watchAll"
|
||||||
|
@ -24,7 +22,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/nano": "10.1.2",
|
"@budibase/nano": "10.1.2",
|
||||||
"@budibase/pouchdb-replication-stream": "1.2.10",
|
"@budibase/pouchdb-replication-stream": "1.2.10",
|
||||||
"@budibase/types": "2.5.6-alpha.5",
|
"@budibase/types": "2.5.6-alpha.6",
|
||||||
"@shopify/jest-koa-mocks": "5.0.1",
|
"@shopify/jest-koa-mocks": "5.0.1",
|
||||||
"@techpass/passport-openidconnect": "0.3.2",
|
"@techpass/passport-openidconnect": "0.3.2",
|
||||||
"aws-cloudfront-sign": "2.2.0",
|
"aws-cloudfront-sign": "2.2.0",
|
||||||
|
|
|
@ -7,11 +7,6 @@
|
||||||
"@budibase/types": ["../types/src"]
|
"@budibase/types": ["../types/src"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"references": [
|
|
||||||
{ "path": "../types" }
|
"exclude": ["node_modules", "dist"]
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist",
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/bbui",
|
"name": "@budibase/bbui",
|
||||||
"description": "A UI solution used in the different Budibase projects.",
|
"description": "A UI solution used in the different Budibase projects.",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"svelte": "src/index.js",
|
"svelte": "src/index.js",
|
||||||
"module": "dist/bbui.es.js",
|
"module": "dist/bbui.es.js",
|
||||||
|
@ -38,8 +38,8 @@
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@adobe/spectrum-css-workflow-icons": "1.2.1",
|
"@adobe/spectrum-css-workflow-icons": "1.2.1",
|
||||||
"@budibase/shared-core": "2.5.6-alpha.5",
|
"@budibase/shared-core": "2.5.6-alpha.6",
|
||||||
"@budibase/string-templates": "2.5.6-alpha.5",
|
"@budibase/string-templates": "2.5.6-alpha.6",
|
||||||
"@spectrum-css/accordion": "3.0.24",
|
"@spectrum-css/accordion": "3.0.24",
|
||||||
"@spectrum-css/actionbutton": "1.0.1",
|
"@spectrum-css/actionbutton": "1.0.1",
|
||||||
"@spectrum-css/actiongroup": "1.0.1",
|
"@spectrum-css/actiongroup": "1.0.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/builder",
|
"name": "@budibase/builder",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -58,11 +58,11 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/bbui": "2.5.6-alpha.5",
|
"@budibase/bbui": "2.5.6-alpha.6",
|
||||||
"@budibase/client": "2.5.6-alpha.5",
|
"@budibase/client": "2.5.6-alpha.6",
|
||||||
"@budibase/frontend-core": "2.5.6-alpha.5",
|
"@budibase/frontend-core": "2.5.6-alpha.6",
|
||||||
"@budibase/shared-core": "2.5.6-alpha.5",
|
"@budibase/shared-core": "2.5.6-alpha.6",
|
||||||
"@budibase/string-templates": "2.5.6-alpha.5",
|
"@budibase/string-templates": "2.5.6-alpha.6",
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
||||||
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
"@fortawesome/free-brands-svg-icons": "^6.2.1",
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
||||||
|
|
|
@ -90,6 +90,7 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.action-count {
|
.action-count {
|
||||||
|
padding-top: 6px;
|
||||||
padding-bottom: var(--spacing-s);
|
padding-bottom: var(--spacing-s);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,9 @@
|
||||||
class:highlighted={highlighted && nullishValue}
|
class:highlighted={highlighted && nullishValue}
|
||||||
>
|
>
|
||||||
{#if label && !labelHidden}
|
{#if label && !labelHidden}
|
||||||
|
<div class="label">
|
||||||
<Label size="M">{label}</Label>
|
<Label size="M">{label}</Label>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div id={`${key}-prop-control`} class="control">
|
<div id={`${key}-prop-control`} class="control">
|
||||||
<svelte:component
|
<svelte:component
|
||||||
|
@ -109,7 +111,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 90px 1fr;
|
grid-template-columns: 90px 1fr;
|
||||||
align-items: center;
|
align-items: start;
|
||||||
transition: background 130ms ease-out, border-color 130ms ease-out;
|
transition: background 130ms ease-out, border-color 130ms ease-out;
|
||||||
border-left: 4px solid transparent;
|
border-left: 4px solid transparent;
|
||||||
margin: 0 calc(-1 * var(--spacing-xl));
|
margin: 0 calc(-1 * var(--spacing-xl));
|
||||||
|
@ -123,6 +125,10 @@
|
||||||
background: var(--spectrum-global-color-gray-300);
|
background: var(--spectrum-global-color-gray-300);
|
||||||
border-color: var(--spectrum-global-color-static-red-600);
|
border-color: var(--spectrum-global-color-static-red-600);
|
||||||
}
|
}
|
||||||
|
.label {
|
||||||
|
margin-top: 16px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
.control {
|
.control {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
label: "Navigation",
|
label: "Navigation",
|
||||||
control: Toggle,
|
control: Toggle,
|
||||||
props: {
|
props: {
|
||||||
text: "Show navigation",
|
text: "Show nav",
|
||||||
disabled: !!$selectedScreen.layoutId,
|
disabled: !!$selectedScreen.layoutId,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,9 +13,5 @@
|
||||||
},
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"require": ["tsconfig-paths/register"]
|
"require": ["tsconfig-paths/register"]
|
||||||
},
|
}
|
||||||
"references": [
|
|
||||||
{ "path": "../types" },
|
|
||||||
{ "path": "../backend-core" },
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/cli",
|
"name": "@budibase/cli",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase CLI, for developers, self hosting and migrations.",
|
"description": "Budibase CLI, for developers, self hosting and migrations.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -29,9 +29,9 @@
|
||||||
"outputPath": "build"
|
"outputPath": "build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/backend-core": "2.5.6-alpha.5",
|
"@budibase/backend-core": "2.5.6-alpha.6",
|
||||||
"@budibase/string-templates": "2.5.6-alpha.5",
|
"@budibase/string-templates": "2.5.6-alpha.6",
|
||||||
"@budibase/types": "2.5.6-alpha.5",
|
"@budibase/types": "2.5.6-alpha.6",
|
||||||
"axios": "0.21.2",
|
"axios": "0.21.2",
|
||||||
"chalk": "4.1.0",
|
"chalk": "4.1.0",
|
||||||
"cli-progress": "3.11.2",
|
"cli-progress": "3.11.2",
|
||||||
|
|
|
@ -8,23 +8,14 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"@budibase/types": ["../types/src"],
|
"@budibase/types": ["../types/src"],
|
||||||
"@budibase/backend-core": ["../backend-core/src"],
|
"@budibase/backend-core": ["../backend-core/src"],
|
||||||
"@budibase/backend-core/*": ["../backend-core/*"],
|
"@budibase/backend-core/*": ["../backend-core/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"require": ["tsconfig-paths/register"],
|
"require": ["tsconfig-paths/register"],
|
||||||
"swc": true
|
"swc": true
|
||||||
},
|
},
|
||||||
"references": [
|
|
||||||
{ "path": "../types" },
|
"include": ["src/**/*", "package.json"],
|
||||||
{ "path": "../backend-core" },
|
"exclude": ["node_modules", "dist"]
|
||||||
],
|
|
||||||
"include": [
|
|
||||||
"src/**/*",
|
|
||||||
"package.json"
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -3661,6 +3661,12 @@
|
||||||
"defaultValue": false,
|
"defaultValue": false,
|
||||||
"info": "Row selection is only compatible with internal or SQL tables"
|
"info": "Row selection is only compatible with internal or SQL tables"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Empty text",
|
||||||
|
"key": "noRowsMessage",
|
||||||
|
"defaultValue": "No rows found"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"section": true,
|
"section": true,
|
||||||
"name": "On Row Click",
|
"name": "On Row Click",
|
||||||
|
@ -4375,6 +4381,12 @@
|
||||||
"key": "filter",
|
"key": "filter",
|
||||||
"nested": true
|
"nested": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Empty text",
|
||||||
|
"key": "noRowsMessage",
|
||||||
|
"defaultValue": "No rows found"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "searchfield",
|
"type": "searchfield",
|
||||||
"label": "Search fields",
|
"label": "Search fields",
|
||||||
|
@ -4462,10 +4474,8 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "On click",
|
|
||||||
"type": "event",
|
"type": "event",
|
||||||
"label": "On click",
|
"label": "On click",
|
||||||
"labelHidden": true,
|
|
||||||
"key": "onClickTitleButton",
|
"key": "onClickTitleButton",
|
||||||
"nested": true,
|
"nested": true,
|
||||||
"dependsOn": {
|
"dependsOn": {
|
||||||
|
@ -4534,6 +4544,12 @@
|
||||||
"label": "Paginate",
|
"label": "Paginate",
|
||||||
"key": "paginate"
|
"key": "paginate"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Empty text",
|
||||||
|
"key": "noRowsMessage",
|
||||||
|
"defaultValue": "No rows found"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"section": true,
|
"section": true,
|
||||||
"name": "Cards",
|
"name": "Cards",
|
||||||
|
@ -4947,6 +4963,17 @@
|
||||||
],
|
],
|
||||||
"defaultValue": "spectrum--medium"
|
"defaultValue": "spectrum--medium"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Empty text",
|
||||||
|
"key": "noRowsMessage",
|
||||||
|
"defaultValue": "We couldn't find a row to display",
|
||||||
|
"dependsOn": {
|
||||||
|
"setting": "actionType",
|
||||||
|
"value": "Create",
|
||||||
|
"invert": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"section": true,
|
"section": true,
|
||||||
"name": "Fields",
|
"name": "Fields",
|
||||||
|
@ -5066,6 +5093,12 @@
|
||||||
"key": "height",
|
"key": "height",
|
||||||
"defaultValue": "426px"
|
"defaultValue": "426px"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Empty text",
|
||||||
|
"key": "noRowsMessage",
|
||||||
|
"defaultValue": "No data"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"section": true,
|
"section": true,
|
||||||
"name": "Cards",
|
"name": "Cards",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/client",
|
"name": "@budibase/client",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"module": "dist/budibase-client.js",
|
"module": "dist/budibase-client.js",
|
||||||
"main": "dist/budibase-client.js",
|
"main": "dist/budibase-client.js",
|
||||||
|
@ -19,11 +19,11 @@
|
||||||
"dev:builder": "rollup -cw"
|
"dev:builder": "rollup -cw"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/bbui": "2.5.6-alpha.5",
|
"@budibase/bbui": "2.5.6-alpha.6",
|
||||||
"@budibase/frontend-core": "2.5.6-alpha.5",
|
"@budibase/frontend-core": "2.5.6-alpha.6",
|
||||||
"@budibase/shared-core": "2.5.6-alpha.5",
|
"@budibase/shared-core": "2.5.6-alpha.6",
|
||||||
"@budibase/string-templates": "2.5.6-alpha.5",
|
"@budibase/string-templates": "2.5.6-alpha.6",
|
||||||
"@budibase/types": "2.5.6-alpha.5",
|
"@budibase/types": "2.5.6-alpha.6",
|
||||||
"@spectrum-css/button": "^3.0.3",
|
"@spectrum-css/button": "^3.0.3",
|
||||||
"@spectrum-css/card": "^3.0.3",
|
"@spectrum-css/card": "^3.0.3",
|
||||||
"@spectrum-css/divider": "^1.0.3",
|
"@spectrum-css/divider": "^1.0.3",
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
themeStore,
|
themeStore,
|
||||||
appStore,
|
appStore,
|
||||||
devToolsStore,
|
devToolsStore,
|
||||||
|
environmentStore,
|
||||||
} from "stores"
|
} from "stores"
|
||||||
import NotificationDisplay from "components/overlay/NotificationDisplay.svelte"
|
import NotificationDisplay from "components/overlay/NotificationDisplay.svelte"
|
||||||
import ConfirmationDisplay from "components/overlay/ConfirmationDisplay.svelte"
|
import ConfirmationDisplay from "components/overlay/ConfirmationDisplay.svelte"
|
||||||
|
@ -34,6 +35,8 @@
|
||||||
import KeyboardManager from "components/preview/KeyboardManager.svelte"
|
import KeyboardManager from "components/preview/KeyboardManager.svelte"
|
||||||
import DevToolsHeader from "components/devtools/DevToolsHeader.svelte"
|
import DevToolsHeader from "components/devtools/DevToolsHeader.svelte"
|
||||||
import DevTools from "components/devtools/DevTools.svelte"
|
import DevTools from "components/devtools/DevTools.svelte"
|
||||||
|
import FreeFooter from "components/FreeFooter.svelte"
|
||||||
|
import licensing from "../licensing"
|
||||||
|
|
||||||
// Provide contexts
|
// Provide contexts
|
||||||
setContext("sdk", SDK)
|
setContext("sdk", SDK)
|
||||||
|
@ -186,6 +189,10 @@
|
||||||
<DevTools />
|
<DevTools />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{#if !$builderStore.inBuilder && licensing.logoEnabled() && $environmentStore.cloud}
|
||||||
|
<FreeFooter />
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Preview and dev tools utilities -->
|
<!-- Preview and dev tools utilities -->
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
<script>
|
||||||
|
import { Link } from "@budibase/bbui"
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="free-footer">
|
||||||
|
<Link
|
||||||
|
href="https://www.budibase.com/?utm_source=budibase-apps-public-screens&utm_medium=badge&utm_campaign=made-in-budibase"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
Made with <span>Budibase</span>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.free-footer {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
padding: 16px 20px;
|
||||||
|
border-top: 1px solid var(--spectrum-global-color-gray-300);
|
||||||
|
background: var(--spectrum-alias-background-color-primary);
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
.free-footer :global(.spectrum-Link) {
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--spectrum-global-color-gray-900);
|
||||||
|
transition: color 130ms ease-out;
|
||||||
|
}
|
||||||
|
.free-footer :global(.spectrum-Link):hover {
|
||||||
|
color: var(--spectrum-global-color-blue-400);
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -1,42 +0,0 @@
|
||||||
<script>
|
|
||||||
import { Link } from "@budibase/bbui"
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
href="https://www.budibase.com/?utm_source=budibase-apps-public-screens&utm_medium=badge&utm_campaign=made-in-budibase"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
<div>
|
|
||||||
<img src="https://i.imgur.com/Xhdt1YP.png" alt="Budibase" />
|
|
||||||
<p>Made with Budibase</p>
|
|
||||||
</div>
|
|
||||||
</Link>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: fixed;
|
|
||||||
right: 20px;
|
|
||||||
bottom: 20px;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 5px;
|
|
||||||
background: var(--spectrum-alias-background-color-primary);
|
|
||||||
z-index: 999999 !important;
|
|
||||||
visibility: visible !important;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
border: 1px solid;
|
|
||||||
border-color: var(--spectrum-global-color-gray-300) !important;
|
|
||||||
height: 45px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
text-decoration: none;
|
|
||||||
color: var(--spectrum-global-color-gray-900);
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
height: 20px;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -5,8 +5,6 @@
|
||||||
import { FieldTypes } from "constants"
|
import { FieldTypes } from "constants"
|
||||||
import active from "svelte-spa-router/active"
|
import active from "svelte-spa-router/active"
|
||||||
import { RoleUtils } from "@budibase/frontend-core"
|
import { RoleUtils } from "@budibase/frontend-core"
|
||||||
import FreeLogo from "../FreeLogo.svelte"
|
|
||||||
import licensing from "../../licensing"
|
|
||||||
|
|
||||||
const sdk = getContext("sdk")
|
const sdk = getContext("sdk")
|
||||||
const {
|
const {
|
||||||
|
@ -15,7 +13,6 @@
|
||||||
linkable,
|
linkable,
|
||||||
builderStore,
|
builderStore,
|
||||||
currentRole,
|
currentRole,
|
||||||
environmentStore,
|
|
||||||
sidePanelStore,
|
sidePanelStore,
|
||||||
} = sdk
|
} = sdk
|
||||||
const component = getContext("component")
|
const component = getContext("component")
|
||||||
|
@ -237,11 +234,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if !$builderStore.inBuilder && licensing.logoEnabled() && $environmentStore.cloud}
|
|
||||||
<FreeLogo />
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<div class="main-wrapper">
|
<div class="main-wrapper">
|
||||||
<div class="main size--{pageWidthClass}">
|
<div class="main size--{pageWidthClass}">
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
<script>
|
<script>
|
||||||
import { getContext } from "svelte"
|
import { getContext } from "svelte"
|
||||||
|
|
||||||
const { linkable, styleable, builderStore } = getContext("sdk")
|
const { linkable, styleable, builderStore, sidePanelStore } =
|
||||||
|
getContext("sdk")
|
||||||
const component = getContext("component")
|
const component = getContext("component")
|
||||||
|
|
||||||
export let url
|
export let url
|
||||||
|
@ -103,6 +104,7 @@
|
||||||
class:italic
|
class:italic
|
||||||
class:underline
|
class:underline
|
||||||
class="align--{align || 'left'} size--{size || 'M'}"
|
class="align--{align || 'left'} size--{size || 'M'}"
|
||||||
|
on:click={sidePanelStore.actions.close}
|
||||||
>
|
>
|
||||||
{componentText}
|
{componentText}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
export let cardButtonText
|
export let cardButtonText
|
||||||
export let cardButtonOnClick
|
export let cardButtonOnClick
|
||||||
export let linkColumn
|
export let linkColumn
|
||||||
|
export let noRowsMessage
|
||||||
|
|
||||||
const { fetchDatasourceSchema } = getContext("sdk")
|
const { fetchDatasourceSchema } = getContext("sdk")
|
||||||
|
|
||||||
|
@ -180,7 +181,7 @@
|
||||||
hAlign: "stretch",
|
hAlign: "stretch",
|
||||||
vAlign: "top",
|
vAlign: "top",
|
||||||
gap: "M",
|
gap: "M",
|
||||||
noRowsMessage: "No rows found",
|
noRowsMessage: noRowsMessage || "No rows found",
|
||||||
}}
|
}}
|
||||||
styles={{
|
styles={{
|
||||||
custom: `display: grid;\ngrid-template-columns: repeat(auto-fill, minmax(min(${cardWidth}px, 100%), 1fr));`,
|
custom: `display: grid;\ngrid-template-columns: repeat(auto-fill, minmax(min(${cardWidth}px, 100%), 1fr));`,
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
export let detailFields
|
export let detailFields
|
||||||
export let detailTitle
|
export let detailTitle
|
||||||
|
|
||||||
|
export let noRowsMessage
|
||||||
|
|
||||||
const stateKey = generate()
|
const stateKey = generate()
|
||||||
|
|
||||||
let listDataProviderId
|
let listDataProviderId
|
||||||
|
@ -105,7 +107,7 @@
|
||||||
dataProvider: `{{ literal ${safe(listDataProviderId)} }}`,
|
dataProvider: `{{ literal ${safe(listDataProviderId)} }}`,
|
||||||
direction: "column",
|
direction: "column",
|
||||||
gap: "S",
|
gap: "S",
|
||||||
noRowsMessage: "No data",
|
noRowsMessage: noRowsMessage || "No data",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<BlockComponent
|
<BlockComponent
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
export let titleButtonText
|
export let titleButtonText
|
||||||
export let titleButtonClickBehaviour
|
export let titleButtonClickBehaviour
|
||||||
export let onClickTitleButton
|
export let onClickTitleButton
|
||||||
|
export let noRowsMessage
|
||||||
|
|
||||||
const { fetchDatasourceSchema, API } = getContext("sdk")
|
const { fetchDatasourceSchema, API } = getContext("sdk")
|
||||||
const stateKey = `ID_${generate()}`
|
const stateKey = `ID_${generate()}`
|
||||||
|
@ -221,6 +222,7 @@
|
||||||
allowSelectRows,
|
allowSelectRows,
|
||||||
size,
|
size,
|
||||||
onClick: rowClickActions,
|
onClick: rowClickActions,
|
||||||
|
noRowsMessage: noRowsMessage || "No rows found",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</BlockComponent>
|
</BlockComponent>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
export let showDeleteButton
|
export let showDeleteButton
|
||||||
export let rowId
|
export let rowId
|
||||||
export let actionUrl
|
export let actionUrl
|
||||||
|
export let noRowsMessage
|
||||||
|
|
||||||
const { fetchDatasourceSchema } = getContext("sdk")
|
const { fetchDatasourceSchema } = getContext("sdk")
|
||||||
|
|
||||||
|
@ -89,7 +90,7 @@
|
||||||
bind:id={repeaterId}
|
bind:id={repeaterId}
|
||||||
props={{
|
props={{
|
||||||
dataProvider,
|
dataProvider,
|
||||||
noRowsMessage: "We couldn't find a row to display",
|
noRowsMessage: noRowsMessage || "We couldn't find a row to display",
|
||||||
direction: "column",
|
direction: "column",
|
||||||
hAlign: "center",
|
hAlign: "center",
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -221,9 +221,17 @@
|
||||||
return fieldInfo
|
return fieldInfo
|
||||||
},
|
},
|
||||||
validate: () => {
|
validate: () => {
|
||||||
return fields
|
const stepFields = fields.filter(
|
||||||
.filter(field => get(field).step === get(currentStep))
|
field => get(field).step === get(currentStep)
|
||||||
.every(field => get(field).fieldApi.validate())
|
)
|
||||||
|
// We want to validate every field (even if validation fails early) to
|
||||||
|
// ensure that all fields are populated with errors if invalid
|
||||||
|
let valid = true
|
||||||
|
stepFields.forEach(field => {
|
||||||
|
const fieldValid = get(field).fieldApi.validate()
|
||||||
|
valid = valid && fieldValid
|
||||||
|
})
|
||||||
|
return valid
|
||||||
},
|
},
|
||||||
reset: () => {
|
reset: () => {
|
||||||
// Reset the form by resetting each individual field
|
// Reset the form by resetting each individual field
|
||||||
|
@ -275,7 +283,7 @@
|
||||||
|
|
||||||
// Skip if the value is the same
|
// Skip if the value is the same
|
||||||
if (!skipCheck && fieldState.value === value) {
|
if (!skipCheck && fieldState.value === value) {
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update field state
|
// Update field state
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
export let allowSelectRows
|
export let allowSelectRows
|
||||||
export let compact
|
export let compact
|
||||||
export let onClick
|
export let onClick
|
||||||
|
export let noRowsMessage
|
||||||
|
|
||||||
const component = getContext("component")
|
const component = getContext("component")
|
||||||
const { styleable, getAction, ActionTypes, rowSelectionStore } =
|
const { styleable, getAction, ActionTypes, rowSelectionStore } =
|
||||||
|
@ -144,6 +145,7 @@
|
||||||
autoSortColumns={!columns?.length}
|
autoSortColumns={!columns?.length}
|
||||||
on:sort={onSort}
|
on:sort={onSort}
|
||||||
on:click={handleClick}
|
on:click={handleClick}
|
||||||
|
placeholderText={noRowsMessage || "No rows found"}
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</Table>
|
</Table>
|
||||||
|
|
|
@ -21,11 +21,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
resizeObserver.observe(document.getElementById("clip-root"))
|
resizeObserver.observe(document.getElementById("app-body"))
|
||||||
})
|
})
|
||||||
|
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
resizeObserver.unobserve(document.getElementById("clip-root"))
|
resizeObserver.unobserve(document.getElementById("app-body"))
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/frontend-core",
|
"name": "@budibase/frontend-core",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase frontend core libraries used in builder and client",
|
"description": "Budibase frontend core libraries used in builder and client",
|
||||||
"author": "Budibase",
|
"author": "Budibase",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"svelte": "src/index.js",
|
"svelte": "src/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/bbui": "2.5.6-alpha.5",
|
"@budibase/bbui": "2.5.6-alpha.6",
|
||||||
"@budibase/shared-core": "2.5.6-alpha.5",
|
"@budibase/shared-core": "2.5.6-alpha.6",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"socket.io-client": "^4.6.1",
|
"socket.io-client": "^4.6.1",
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 315e57dc9185dede169af073a01cc23e673b7091
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/sdk",
|
"name": "@budibase/sdk",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase Public API SDK",
|
"description": "Budibase Public API SDK",
|
||||||
"author": "Budibase",
|
"author": "Budibase",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
|
|
|
@ -20,9 +20,9 @@ const baseConfig: Config.InitialProjectOptions = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// add pro sources if they exist
|
// add pro sources if they exist
|
||||||
if (fs.existsSync("../../../budibase-pro")) {
|
if (fs.existsSync("../pro/packages")) {
|
||||||
baseConfig.moduleNameMapper["@budibase/pro"] =
|
baseConfig.moduleNameMapper!["@budibase/pro"] =
|
||||||
"<rootDir>/../../../budibase-pro/packages/pro/src"
|
"<rootDir>/../pro/packages/pro/src"
|
||||||
}
|
}
|
||||||
|
|
||||||
const config: Config.InitialOptions = {
|
const config: Config.InitialOptions = {
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
"watch": ["src", "../backend-core", "../../../budibase-pro/packages/pro"],
|
"watch": ["src", "../backend-core", "../pro/packages/pro"],
|
||||||
"ext": "js,ts,json",
|
"ext": "js,ts,json",
|
||||||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../backend-core/dist/**/*"],
|
"ignore": [
|
||||||
|
"src/**/*.spec.ts",
|
||||||
|
"src/**/*.spec.js",
|
||||||
|
"../backend-core/dist/**/*"
|
||||||
|
],
|
||||||
"exec": "ts-node src/index.ts"
|
"exec": "ts-node src/index.ts"
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/server",
|
"name": "@budibase/server",
|
||||||
"email": "hi@budibase.com",
|
"email": "hi@budibase.com",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase Web Server",
|
"description": "Budibase Web Server",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -45,12 +45,12 @@
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apidevtools/swagger-parser": "10.0.3",
|
"@apidevtools/swagger-parser": "10.0.3",
|
||||||
"@budibase/backend-core": "2.5.6-alpha.5",
|
"@budibase/backend-core": "2.5.6-alpha.6",
|
||||||
"@budibase/client": "2.5.6-alpha.5",
|
"@budibase/client": "2.5.6-alpha.6",
|
||||||
"@budibase/pro": "2.5.6-alpha.5",
|
"@budibase/pro": "2.5.6-alpha.6",
|
||||||
"@budibase/shared-core": "2.5.6-alpha.5",
|
"@budibase/shared-core": "2.5.6-alpha.6",
|
||||||
"@budibase/string-templates": "2.5.6-alpha.5",
|
"@budibase/string-templates": "2.5.6-alpha.6",
|
||||||
"@budibase/types": "2.5.6-alpha.5",
|
"@budibase/types": "2.5.6-alpha.6",
|
||||||
"@bull-board/api": "3.7.0",
|
"@bull-board/api": "3.7.0",
|
||||||
"@bull-board/koa": "3.9.4",
|
"@bull-board/koa": "3.9.4",
|
||||||
"@elastic/elasticsearch": "7.10.0",
|
"@elastic/elasticsearch": "7.10.0",
|
||||||
|
|
|
@ -10,19 +10,13 @@
|
||||||
"@budibase/backend-core": ["../backend-core/src"],
|
"@budibase/backend-core": ["../backend-core/src"],
|
||||||
"@budibase/backend-core/*": ["../backend-core/*"],
|
"@budibase/backend-core/*": ["../backend-core/*"],
|
||||||
"@budibase/shared-core": ["../shared-core/src"],
|
"@budibase/shared-core": ["../shared-core/src"],
|
||||||
"@budibase/pro": ["../../../budibase-pro/packages/pro/src"]
|
"@budibase/pro": ["../pro/packages/pro/src"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"require": ["tsconfig-paths/register"],
|
"require": ["tsconfig-paths/register"],
|
||||||
"swc": true
|
"swc": true
|
||||||
},
|
},
|
||||||
"references": [
|
|
||||||
{ "path": "../types" },
|
|
||||||
{ "path": "../backend-core" },
|
|
||||||
{ "path": "../shared-core" },
|
|
||||||
{ "path": "../../../budibase-pro/packages/pro" }
|
|
||||||
],
|
|
||||||
"include": ["src/**/*", "specs", "package.json"],
|
"include": ["src/**/*", "specs", "package.json"],
|
||||||
"exclude": ["node_modules", "dist"]
|
"exclude": ["node_modules", "dist"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/shared-core",
|
"name": "@budibase/shared-core",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Shared data utils",
|
"description": "Shared data utils",
|
||||||
"main": "dist/cjs/src/index.js",
|
"main": "dist/cjs/src/index.js",
|
||||||
"types": "dist/mjs/src/index.d.ts",
|
"types": "dist/mjs/src/index.d.ts",
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"dev:builder": "yarn prebuild && concurrently \"tsc -p tsconfig.build.json --watch\" \"tsc -p tsconfig-cjs.build.json --watch\""
|
"dev:builder": "yarn prebuild && concurrently \"tsc -p tsconfig.build.json --watch\" \"tsc -p tsconfig-cjs.build.json --watch\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/types": "2.5.6-alpha.5"
|
"@budibase/types": "2.5.6-alpha.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^7.6.0",
|
"concurrently": "^7.6.0",
|
||||||
|
|
|
@ -6,6 +6,5 @@
|
||||||
"paths": {
|
"paths": {
|
||||||
"@budibase/types": ["../types/src"]
|
"@budibase/types": ["../types/src"]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"references": [{ "path": "../types" }]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/string-templates",
|
"name": "@budibase/string-templates",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Handlebars wrapper for Budibase templating.",
|
"description": "Handlebars wrapper for Budibase templating.",
|
||||||
"main": "src/index.cjs",
|
"main": "src/index.cjs",
|
||||||
"module": "dist/bundle.mjs",
|
"module": "dist/bundle.mjs",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/types",
|
"name": "@budibase/types",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase types",
|
"description": "Budibase types",
|
||||||
"main": "dist/cjs/index.js",
|
"main": "dist/cjs/index.js",
|
||||||
"types": "dist/mjs/index.d.ts",
|
"types": "dist/mjs/index.d.ts",
|
||||||
|
|
|
@ -20,11 +20,11 @@ const config: Config.InitialOptions = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// add pro sources if they exist
|
// add pro sources if they exist
|
||||||
if (fs.existsSync("../../../budibase-pro")) {
|
if (fs.existsSync("../pro/packages")) {
|
||||||
config.moduleNameMapper["@budibase/pro/(.*)"] =
|
config.moduleNameMapper!["@budibase/pro/(.*)"] =
|
||||||
"<rootDir>/../../../budibase-pro/packages/pro/$1"
|
"<rootDir>/../pro/packages/pro/$1"
|
||||||
config.moduleNameMapper["@budibase/pro"] =
|
config.moduleNameMapper!["@budibase/pro"] =
|
||||||
"<rootDir>/../../../budibase-pro/packages/pro/src"
|
"<rootDir>/../pro/packages/pro/src"
|
||||||
}
|
}
|
||||||
|
|
||||||
export default config
|
export default config
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
"watch": ["src", "../backend-core", "../../../budibase-pro/packages/pro"],
|
"watch": ["src", "../backend-core", "../pro/packages/pro"],
|
||||||
"ext": "js,ts,json",
|
"ext": "js,ts,json",
|
||||||
"ignore": ["src/**/*.spec.ts", "src/**/*.spec.js", "../backend-core/dist/**/*"],
|
"ignore": [
|
||||||
|
"src/**/*.spec.ts",
|
||||||
|
"src/**/*.spec.js",
|
||||||
|
"../backend-core/dist/**/*"
|
||||||
|
],
|
||||||
"exec": "ts-node src/index.ts"
|
"exec": "ts-node src/index.ts"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@budibase/worker",
|
"name": "@budibase/worker",
|
||||||
"email": "hi@budibase.com",
|
"email": "hi@budibase.com",
|
||||||
"version": "2.5.6-alpha.5",
|
"version": "2.5.6-alpha.6",
|
||||||
"description": "Budibase background service",
|
"description": "Budibase background service",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -37,10 +37,10 @@
|
||||||
"author": "Budibase",
|
"author": "Budibase",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/backend-core": "2.5.6-alpha.5",
|
"@budibase/backend-core": "2.5.6-alpha.6",
|
||||||
"@budibase/pro": "2.5.6-alpha.5",
|
"@budibase/pro": "2.5.6-alpha.6",
|
||||||
"@budibase/string-templates": "2.5.6-alpha.5",
|
"@budibase/string-templates": "2.5.6-alpha.6",
|
||||||
"@budibase/types": "2.5.6-alpha.5",
|
"@budibase/types": "2.5.6-alpha.6",
|
||||||
"@koa/router": "8.0.8",
|
"@koa/router": "8.0.8",
|
||||||
"@sentry/node": "6.17.7",
|
"@sentry/node": "6.17.7",
|
||||||
"@techpass/passport-openidconnect": "0.3.2",
|
"@techpass/passport-openidconnect": "0.3.2",
|
||||||
|
|
|
@ -9,23 +9,13 @@
|
||||||
"@budibase/types": ["../types/src"],
|
"@budibase/types": ["../types/src"],
|
||||||
"@budibase/backend-core": ["../backend-core/src"],
|
"@budibase/backend-core": ["../backend-core/src"],
|
||||||
"@budibase/backend-core/*": ["../backend-core/*"],
|
"@budibase/backend-core/*": ["../backend-core/*"],
|
||||||
"@budibase/pro": ["../../../budibase-pro/packages/pro/src"]
|
"@budibase/pro": ["../pro/packages/pro/src"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"require": ["tsconfig-paths/register"],
|
"require": ["tsconfig-paths/register"],
|
||||||
"swc": true
|
"swc": true
|
||||||
},
|
},
|
||||||
"references": [
|
"include": ["src/**/*", "package.json"],
|
||||||
{ "path": "../types" },
|
"exclude": ["dist"]
|
||||||
{ "path": "../backend-core" },
|
|
||||||
{ "path": "../../../budibase-pro/packages/pro" }
|
|
||||||
],
|
|
||||||
"include": [
|
|
||||||
"src/**/*",
|
|
||||||
"package.json"
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"dist"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -16,22 +16,12 @@
|
||||||
"@budibase/types": ["../packages/types/src"],
|
"@budibase/types": ["../packages/types/src"],
|
||||||
"@budibase/backend-core": ["../packages/backend-core/src"],
|
"@budibase/backend-core": ["../packages/backend-core/src"],
|
||||||
"@budibase/backend-core/*": ["../packages/backend-core/*"],
|
"@budibase/backend-core/*": ["../packages/backend-core/*"],
|
||||||
"@budibase/server/*": ["../packages/server/src/*"],
|
"@budibase/server/*": ["../packages/server/src/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"require": ["tsconfig-paths/register"]
|
"require": ["tsconfig-paths/register"]
|
||||||
},
|
},
|
||||||
"references": [
|
"include": ["src/**/*", "package.json"],
|
||||||
{ "path": "../packages/types" },
|
"exclude": ["node_modules", "dist"]
|
||||||
{ "path": "../packages/backend-core" },
|
|
||||||
],
|
|
||||||
"include": [
|
|
||||||
"src/**/*",
|
|
||||||
"package.json"
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"node_modules",
|
|
||||||
"dist"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
if [ -d "packages/pro/packages" ]; then
|
||||||
|
cd packages/pro
|
||||||
|
|
||||||
|
yarn
|
||||||
|
lerna bootstrap
|
||||||
|
yarn setup
|
||||||
|
fi
|
|
@ -34,33 +34,17 @@ yarn unlink
|
||||||
yarn link
|
yarn link
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
if [ -d "../budibase-pro" ]; then
|
if [ -d packages/pro/packages ]; then
|
||||||
cd ../budibase-pro
|
pro_loaded_locally=true
|
||||||
echo "Bootstrapping budibase-pro"
|
else
|
||||||
yarn bootstrap
|
pro_loaded_locally=false
|
||||||
|
fi
|
||||||
|
|
||||||
cd packages/pro
|
if [ $pro_loaded_locally = true ]; then
|
||||||
echo "Linking pro"
|
echo "Linking pro"
|
||||||
|
cd packages/pro/packages/pro
|
||||||
yarn unlink
|
yarn unlink
|
||||||
yarn link
|
yarn link
|
||||||
|
|
||||||
echo "Linking backend-core to pro"
|
|
||||||
yarn link '@budibase/backend-core'
|
|
||||||
|
|
||||||
echo "Linking types to pro"
|
|
||||||
yarn link '@budibase/types'
|
|
||||||
|
|
||||||
echo "Linking string-templates to pro"
|
|
||||||
yarn link '@budibase/string-templates'
|
|
||||||
|
|
||||||
cd ../../../budibase
|
|
||||||
|
|
||||||
echo "Linking pro to worker"
|
|
||||||
cd packages/worker && yarn link '@budibase/pro'
|
|
||||||
cd -
|
|
||||||
|
|
||||||
echo "Linking pro to server"
|
|
||||||
cd packages/server && yarn link '@budibase/pro'
|
|
||||||
cd -
|
cd -
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -79,7 +63,7 @@ if [ -d "../account-portal" ]; then
|
||||||
echo "Linking types to account-portal"
|
echo "Linking types to account-portal"
|
||||||
yarn link "@budibase/types"
|
yarn link "@budibase/types"
|
||||||
|
|
||||||
if [ -d "../../../budibase-pro" ]; then
|
if [ $pro_loaded_locally = true ]; then
|
||||||
echo "Linking pro to account-portal"
|
echo "Linking pro to account-portal"
|
||||||
yarn link "@budibase/pro"
|
yarn link "@budibase/pro"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This script is designed for building the pro repo after the backend-core build has completed.
|
|
||||||
# This ensures that any changes in core that are required by pro are done in the correct order.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Go to parent of budibase
|
|
||||||
cd ../../../
|
|
||||||
|
|
||||||
if [[ -d "budibase-pro" ]]; then
|
|
||||||
cd budibase-pro
|
|
||||||
echo "Building pro"
|
|
||||||
yarn build
|
|
||||||
fi
|
|
|
@ -1,39 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [[ -z "${CI}" ]]; then
|
|
||||||
echo 'Cannot run install.sh unless in CI'
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
BRANCH=$1
|
|
||||||
BASE_BRANCH=$2
|
|
||||||
|
|
||||||
cd ../
|
|
||||||
echo "Cloning pro repo..."
|
|
||||||
git clone https://$PERSONAL_ACCESS_TOKEN@github.com/Budibase/budibase-pro.git
|
|
||||||
|
|
||||||
# Community forks won't be able to clone the pro repo as they can't access secrets
|
|
||||||
# Skip the rest of the installation and rely on npm version instead
|
|
||||||
# This should be ok as forks will not rely on pro changes
|
|
||||||
if [[ -d "budibase-pro" ]]; then
|
|
||||||
cd budibase-pro
|
|
||||||
|
|
||||||
if [[ -z "${BRANCH}" ]]; then
|
|
||||||
echo Using GITHUB_REF_NAME: $GITHUB_REF_NAME
|
|
||||||
export BRANCH=$GITHUB_REF_NAME
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Try to checkout the matching pro branch
|
|
||||||
git checkout $BRANCH
|
|
||||||
|
|
||||||
if [[ $? == "1" ]] && [[ $BASE_BRANCH ]]; then
|
|
||||||
# There is no matching branch, try to match the base branch
|
|
||||||
git checkout $BASE_BRANCH
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If neither branch exists continue with default branch 'develop'
|
|
||||||
git pull
|
|
||||||
|
|
||||||
echo "Initializing pro repo..."
|
|
||||||
yarn
|
|
||||||
fi
|
|
|
@ -1,94 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Fail when any command fails
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [[ -z "${CI}" ]]; then
|
|
||||||
echo 'Cannot run release.sh unless in CI'
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# SETUP #
|
|
||||||
#############################################
|
|
||||||
|
|
||||||
# Release pro with same version as budibase
|
|
||||||
VERSION=$(jq -r .version lerna.json)
|
|
||||||
echo "Version: $VERSION"
|
|
||||||
COMMAND=$1
|
|
||||||
echo "Command: $COMMAND"
|
|
||||||
|
|
||||||
# Determine tag to use
|
|
||||||
TAG=""
|
|
||||||
if [[ $COMMAND == "develop" ]]; then
|
|
||||||
TAG="develop"
|
|
||||||
else
|
|
||||||
TAG="latest"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Releasing version $VERSION"
|
|
||||||
echo "Releasing tag $TAG"
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# PRE-PUBLISH #
|
|
||||||
#############################################
|
|
||||||
|
|
||||||
# Go to pro repo root
|
|
||||||
cd ../budibase-pro
|
|
||||||
|
|
||||||
# Install NPM credentials
|
|
||||||
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
|
|
||||||
|
|
||||||
# Sync budibase dependency versions in packages/pro/package.json
|
|
||||||
# Ensures pro does not use out of date dependency
|
|
||||||
cd packages/pro
|
|
||||||
jq '.dependencies."@budibase/backend-core"="'$VERSION'"' package.json > package.json.tmp && mv package.json.tmp package.json
|
|
||||||
jq '.dependencies."@budibase/types"="'$VERSION'"' package.json > package.json.tmp && mv package.json.tmp package.json
|
|
||||||
|
|
||||||
# Go back to pro repo root
|
|
||||||
cd -
|
|
||||||
|
|
||||||
# Update lockfile with new dependency versions
|
|
||||||
yarn clean -y && yarn bootstrap
|
|
||||||
|
|
||||||
# Commit and push
|
|
||||||
git add packages/pro/yarn.lock
|
|
||||||
git commit -m "Update dependency versions to $VERSION" -n
|
|
||||||
git push
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# PUBLISH #
|
|
||||||
#############################################
|
|
||||||
|
|
||||||
lerna publish $VERSION --yes --force-publish --dist-tag $TAG
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# POST-PUBLISH - BUDIBASE #
|
|
||||||
#############################################
|
|
||||||
|
|
||||||
# Go to budibase repo root
|
|
||||||
cd ../budibase
|
|
||||||
|
|
||||||
# Update pro version in packages/server/package.json
|
|
||||||
cd packages/server
|
|
||||||
jq '.dependencies."@budibase/pro"="'$VERSION'"' package.json > package.json.tmp && mv package.json.tmp package.json
|
|
||||||
|
|
||||||
# Go back to budibase repo root
|
|
||||||
cd -
|
|
||||||
|
|
||||||
# Update pro version in packages/worker/package.json
|
|
||||||
cd packages/worker
|
|
||||||
jq '.dependencies."@budibase/pro"="'$VERSION'"' package.json > package.json.tmp && mv package.json.tmp package.json
|
|
||||||
|
|
||||||
# Go back to budibase repo root
|
|
||||||
cd -
|
|
||||||
|
|
||||||
# Update lockfile with new pro version
|
|
||||||
yarn clean -y && yarn bootstrap
|
|
||||||
|
|
||||||
# Commit and push changes
|
|
||||||
git add packages/server/package.json
|
|
||||||
git add packages/worker/package.json
|
|
||||||
git add yarn.lock
|
|
||||||
git commit -m "Update pro version to $VERSION" -n
|
|
||||||
git push
|
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Fail when any command fails
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cd ../
|
|
||||||
if [[ -d "budibase-pro" ]]; then
|
|
||||||
cd budibase-pro
|
|
||||||
yarn test
|
|
||||||
cd ../budibase
|
|
||||||
fi
|
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"references": [
|
|
||||||
{ "path": "./packages/types" },
|
|
||||||
{ "path": "./packages/backend-core" },
|
|
||||||
{ "path": "./packages/server" },
|
|
||||||
{ "path": "./packages/worker" }
|
|
||||||
],
|
|
||||||
"files" :[]
|
|
||||||
}
|
|
92
yarn.lock
92
yarn.lock
|
@ -1386,6 +1386,45 @@
|
||||||
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
|
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
|
||||||
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
|
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
|
||||||
|
|
||||||
|
"@budibase/backend-core@2.5.6-alpha.3":
|
||||||
|
version "2.5.6-alpha.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@budibase/backend-core/-/backend-core-2.5.6-alpha.3.tgz#686d1533a3218507e4c82a58bf73caf875e0d895"
|
||||||
|
integrity sha512-TYaGj1G1h3K/QNwSanEFbwxlA04T3dc0DDHDgauyvqX8kHXYhY11BDn8xqrCQrpqXC7XlC4nL78NrhZiDJ+eFA==
|
||||||
|
dependencies:
|
||||||
|
"@budibase/nano" "10.1.2"
|
||||||
|
"@budibase/pouchdb-replication-stream" "1.2.10"
|
||||||
|
"@budibase/types" "2.5.6-alpha.3"
|
||||||
|
"@shopify/jest-koa-mocks" "5.0.1"
|
||||||
|
"@techpass/passport-openidconnect" "0.3.2"
|
||||||
|
aws-cloudfront-sign "2.2.0"
|
||||||
|
aws-sdk "2.1030.0"
|
||||||
|
bcrypt "5.0.1"
|
||||||
|
bcryptjs "2.4.3"
|
||||||
|
bull "4.10.1"
|
||||||
|
correlation-id "4.0.0"
|
||||||
|
dotenv "16.0.1"
|
||||||
|
emitter-listener "1.1.2"
|
||||||
|
ioredis "4.28.0"
|
||||||
|
joi "17.6.0"
|
||||||
|
jsonwebtoken "9.0.0"
|
||||||
|
koa-passport "4.1.4"
|
||||||
|
koa-pino-logger "4.0.0"
|
||||||
|
lodash "4.17.21"
|
||||||
|
lodash.isarguments "3.1.0"
|
||||||
|
node-fetch "2.6.7"
|
||||||
|
passport-google-oauth "2.0.0"
|
||||||
|
passport-jwt "4.0.0"
|
||||||
|
passport-local "1.0.0"
|
||||||
|
passport-oauth2-refresh "^2.1.0"
|
||||||
|
posthog-node "1.3.0"
|
||||||
|
pouchdb "7.3.0"
|
||||||
|
pouchdb-find "7.2.2"
|
||||||
|
redlock "4.2.0"
|
||||||
|
sanitize-s3-objectkey "0.0.1"
|
||||||
|
semver "7.3.7"
|
||||||
|
tar-fs "2.1.1"
|
||||||
|
uuid "8.3.2"
|
||||||
|
|
||||||
"@budibase/bbui@^0.9.139":
|
"@budibase/bbui@^0.9.139":
|
||||||
version "0.9.190"
|
version "0.9.190"
|
||||||
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-0.9.190.tgz#e1ec400ac90f556bfbc80fc23a04506f1585ea81"
|
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-0.9.190.tgz#e1ec400ac90f556bfbc80fc23a04506f1585ea81"
|
||||||
|
@ -1547,6 +1586,13 @@
|
||||||
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.4.44-alpha.1.tgz#1679657aa180d9c59afa1dffa611bff0638bd933"
|
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.4.44-alpha.1.tgz#1679657aa180d9c59afa1dffa611bff0638bd933"
|
||||||
integrity sha512-Sq+8HfM75EBMoOvKYFwELdlxmVN6wNZMofDjT/2G+9aF+Zfe5Tzw69C+unmdBgcGGjGCHEYWSz4mF0v8FPAGbg==
|
integrity sha512-Sq+8HfM75EBMoOvKYFwELdlxmVN6wNZMofDjT/2G+9aF+Zfe5Tzw69C+unmdBgcGGjGCHEYWSz4mF0v8FPAGbg==
|
||||||
|
|
||||||
|
"@budibase/types@2.5.6-alpha.3":
|
||||||
|
version "2.5.6-alpha.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@budibase/types/-/types-2.5.6-alpha.3.tgz#fd7656599d388d2d5a21806b9058a2656793ec87"
|
||||||
|
integrity sha512-SD9WTXb2A+3jqEEk8HoEDwphm5tiwfQWiBFOzTZlooWiS5M6UGxKCgXzPv0Ad9Pfxi2oGxfGh7qJcNgHQDoE3Q==
|
||||||
|
dependencies:
|
||||||
|
scim-patch "^0.7.0"
|
||||||
|
|
||||||
"@bull-board/api@3.7.0":
|
"@bull-board/api@3.7.0":
|
||||||
version "3.7.0"
|
version "3.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-3.7.0.tgz#231f687187c0cb34e0b97f463917b6aaeb4ef6af"
|
resolved "https://registry.yarnpkg.com/@bull-board/api/-/api-3.7.0.tgz#231f687187c0cb34e0b97f463917b6aaeb4ef6af"
|
||||||
|
@ -3007,7 +3053,7 @@
|
||||||
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"
|
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"
|
||||||
integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
|
integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
|
||||||
|
|
||||||
"@jridgewell/sourcemap-codec@^1.4.10":
|
"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13":
|
||||||
version "1.4.15"
|
version "1.4.15"
|
||||||
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
|
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
|
||||||
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
|
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
|
||||||
|
@ -3717,7 +3763,7 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
slash "^3.0.0"
|
slash "^3.0.0"
|
||||||
|
|
||||||
"@rollup/plugin-commonjs@^16.0.0":
|
"@rollup/plugin-commonjs@16.0.0", "@rollup/plugin-commonjs@^16.0.0":
|
||||||
version "16.0.0"
|
version "16.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-16.0.0.tgz#169004d56cd0f0a1d0f35915d31a036b0efe281f"
|
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-16.0.0.tgz#169004d56cd0f0a1d0f35915d31a036b0efe281f"
|
||||||
integrity sha512-LuNyypCP3msCGVQJ7ki8PqYdpjfEkE/xtFa5DqlF+7IBD0JsfMZ87C58heSwIMint58sAUZbt3ITqOmdQv/dXw==
|
integrity sha512-LuNyypCP3msCGVQJ7ki8PqYdpjfEkE/xtFa5DqlF+7IBD0JsfMZ87C58heSwIMint58sAUZbt3ITqOmdQv/dXw==
|
||||||
|
@ -3800,6 +3846,22 @@
|
||||||
"@rollup/pluginutils" "^3.1.0"
|
"@rollup/pluginutils" "^3.1.0"
|
||||||
magic-string "^0.25.7"
|
magic-string "^0.25.7"
|
||||||
|
|
||||||
|
"@rollup/plugin-replace@^5.0.2":
|
||||||
|
version "5.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-5.0.2.tgz#45f53501b16311feded2485e98419acb8448c61d"
|
||||||
|
integrity sha512-M9YXNekv/C/iHHK+cvORzfRYfPbq0RDD8r0G+bMiTXjNGKulPnCT9O3Ss46WfhI6ZOCgApOP7xAdmCQJ+U2LAA==
|
||||||
|
dependencies:
|
||||||
|
"@rollup/pluginutils" "^5.0.1"
|
||||||
|
magic-string "^0.27.0"
|
||||||
|
|
||||||
|
"@rollup/plugin-typescript@8.3.0":
|
||||||
|
version "8.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-8.3.0.tgz#bc1077fa5897b980fc27e376c4e377882c63e68b"
|
||||||
|
integrity sha512-I5FpSvLbtAdwJ+naznv+B4sjXZUcIvLLceYpITAn7wAP8W0wqc5noLdGIp9HGVntNhRWXctwPYrSSFQxtl0FPA==
|
||||||
|
dependencies:
|
||||||
|
"@rollup/pluginutils" "^3.1.0"
|
||||||
|
resolve "^1.17.0"
|
||||||
|
|
||||||
"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0":
|
"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0":
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
|
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
|
||||||
|
@ -11698,7 +11760,7 @@ fs.realpath@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
||||||
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
|
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
|
||||||
|
|
||||||
fsevents@^2.1.2, fsevents@^2.3.2, fsevents@~2.3.2:
|
fsevents@^2.1.2, fsevents@^2.3.2, fsevents@~2.3.1, fsevents@~2.3.2:
|
||||||
version "2.3.2"
|
version "2.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
||||||
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
||||||
|
@ -12880,10 +12942,10 @@ humanize-ms@^1.2.0, humanize-ms@^1.2.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
ms "^2.0.0"
|
ms "^2.0.0"
|
||||||
|
|
||||||
husky@^7.0.1:
|
husky@^8.0.3:
|
||||||
version "7.0.4"
|
version "8.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535"
|
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
|
||||||
integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==
|
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
|
||||||
|
|
||||||
iconv-lite@0.4.24, iconv-lite@^0.4.15, iconv-lite@^0.4.24, iconv-lite@^0.4.5:
|
iconv-lite@0.4.24, iconv-lite@^0.4.15, iconv-lite@^0.4.24, iconv-lite@^0.4.5:
|
||||||
version "0.4.24"
|
version "0.4.24"
|
||||||
|
@ -16688,6 +16750,13 @@ magic-string@^0.26.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
sourcemap-codec "^1.4.8"
|
sourcemap-codec "^1.4.8"
|
||||||
|
|
||||||
|
magic-string@^0.27.0:
|
||||||
|
version "0.27.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3"
|
||||||
|
integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==
|
||||||
|
dependencies:
|
||||||
|
"@jridgewell/sourcemap-codec" "^1.4.13"
|
||||||
|
|
||||||
make-dir@3.1.0, make-dir@^3.0.0, make-dir@^3.1.0:
|
make-dir@3.1.0, make-dir@^3.0.0, make-dir@^3.1.0:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
|
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f"
|
||||||
|
@ -21417,6 +21486,13 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.5.0, rollup-pluginutils@^2.6.0,
|
||||||
dependencies:
|
dependencies:
|
||||||
estree-walker "^0.6.1"
|
estree-walker "^0.6.1"
|
||||||
|
|
||||||
|
rollup@2.45.2:
|
||||||
|
version "2.45.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.45.2.tgz#8fb85917c9f35605720e92328f3ccbfba6f78b48"
|
||||||
|
integrity sha512-kRRU7wXzFHUzBIv0GfoFFIN3m9oteY4uAsKllIpQDId5cfnkWF2J130l+27dzDju0E6MScKiV0ZM5Bw8m4blYQ==
|
||||||
|
optionalDependencies:
|
||||||
|
fsevents "~2.3.1"
|
||||||
|
|
||||||
rollup@^2.36.2, rollup@^2.44.0, rollup@^2.45.2, rollup@^2.79.1:
|
rollup@^2.36.2, rollup@^2.44.0, rollup@^2.45.2, rollup@^2.79.1:
|
||||||
version "2.79.1"
|
version "2.79.1"
|
||||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7"
|
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7"
|
||||||
|
@ -23379,7 +23455,7 @@ timed-out@^4.0.1:
|
||||||
resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f"
|
resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f"
|
||||||
integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==
|
integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==
|
||||||
|
|
||||||
timekeeper@2.2.0:
|
timekeeper@2.2.0, timekeeper@^2.2.0:
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/timekeeper/-/timekeeper-2.2.0.tgz#9645731fce9e3280a18614a57a9d1b72af3ca368"
|
resolved "https://registry.yarnpkg.com/timekeeper/-/timekeeper-2.2.0.tgz#9645731fce9e3280a18614a57a9d1b72af3ca368"
|
||||||
integrity sha512-W3AmPTJWZkRwu+iSNxPIsLZ2ByADsOLbbLxe46UJyWj3mlYLlwucKiq+/dPm0l9wTzqoF3/2PH0AGFCebjq23A==
|
integrity sha512-W3AmPTJWZkRwu+iSNxPIsLZ2ByADsOLbbLxe46UJyWj3mlYLlwucKiq+/dPm0l9wTzqoF3/2PH0AGFCebjq23A==
|
||||||
|
|
Loading…
Reference in New Issue