Merge remote-tracking branch 'origin/develop' into package-updates

# Conflicts:
#	packages/blocks/blocksBasic/package.json
#	packages/blocks/blocksColorSelectors/package.json
#	packages/blocks/blocksECharts/package.json
#	packages/blocks/blocksMarkdown/package.json
#	packages/cli/package.json
#	packages/graphql/package.json
#	packages/servers/serverDev/package.json
#	packages/servers/serverDocker/package.json
#	packages/servers/serverNetlify/package.json
#	yarn.lock
This commit is contained in:
SamTolmay 2021-05-31 09:46:49 +02:00
commit 49e2e05d15
78 changed files with 1155 additions and 407 deletions

View File

@ -8,9 +8,9 @@ packageExtensions:
"@webpack-cli/serve@*":
dependencies:
webpack-dev-server: "*"
nunjucks-date-filter@*:
eslint@*:
dependencies:
nunjucks: "*"
js-yaml: "*"
rc-animate@*:
dependencies:
react: "*"

View File

@ -3,6 +3,57 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
## Changes
### Fixes
- CLI now works for previous Lowdefy versions, closes [#598](https://github.com/lowdefy/lowdefy/issues/598)
- Fix development server hot reload.
- The index.html file is no longer cached by the development server.
- Add separate file hosting section to the docs.
- Fix an issue on selector blocks where the correct value was not found in options if the value was a complex object.
## Commits
### Bug Fixes
- **blocks-antd:** Fix selector index comparison. ([3f06fcd](https://github.com/lowdefy/lowdefy/commit/3f06fcde4b3e01c35e942c4b0ec0a430c5039b96))
- **cli:** Fix CLI for previous lowdefy versions ([89b8533](https://github.com/lowdefy/lowdefy/commit/89b85332033c59b64904d693776d62fc82dd8817)), closes [#598](https://github.com/lowdefy/lowdefy/issues/598)
- **cli:** Fix dev server reload. ([af6e70d](https://github.com/lowdefy/lowdefy/commit/af6e70da762fe1212ea9a0ec6372f02d09c9a185))
- **docs:** Split file hosting to separate concepts section. ([f802a6c](https://github.com/lowdefy/lowdefy/commit/f802a6ce351e3e4d562e29d0d407d814cf49b38f))
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
## Changes
### Fixes
- Custom HTML was not appended when navigating to the home (`/`) route.
## Commits
### Bug Fixes
- **servers:** Append html when serving index from url root ([12cb782](https://github.com/lowdefy/lowdefy/commit/12cb7829460e05479fc7376f49b0defa0819afea))
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
## Changes
### Fixes
- Fix CLI development server.
## Commits
### Bug Fixes
- **blocks-antd:** Remove Descriptions example with failing schema ([7e45bb3](https://github.com/lowdefy/lowdefy/commit/7e45bb30bb5fa993e6a580eabf7e9ae049ffe18f))
- **cli:** Fix cli dev server missing import ([beff373](https://github.com/lowdefy/lowdefy/commit/beff37341b9d055028b44bfb662785ccfff100c4))
- Update yarn lock ([622ae88](https://github.com/lowdefy/lowdefy/commit/622ae8873646a79a00d6053234d76531606eebbd))
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
## Changes

View File

@ -1,5 +1,5 @@
{
"version": "3.16.1",
"version": "3.16.4",
"packages": [
"src/packages/*",
"src/packages/blocks/*",

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/lowdefy",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"private": true,
"description": "Lowdefy monorepo",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/ajv
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/ajv
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/ajv
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/ajv

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/ajv",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -38,7 +38,7 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/nunjucks": "3.16.1",
"@lowdefy/nunjucks": "3.16.4",
"ajv": "6.12.6",
"ajv-errors": "1.0.1"
},

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/block-tools
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/block-tools
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/block-tools
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/block-tools

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/block-tools",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "Lowdefy Block Tools",
"homepage": "https://lowdefy.com",
@ -37,7 +37,7 @@
"test": "jest --coverage"
},
"dependencies": {
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"ajv": "6.12.6",
"ajv-errors": "1.0.1",
"create-emotion": "10.0.27",

View File

@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
### Bug Fixes
* **blocks-antd:** Fix selector index comparison. ([3f06fcd](https://github.com/lowdefy/lowdefy/commit/3f06fcde4b3e01c35e942c4b0ec0a430c5039b96))
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/blocks-antd
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
### Bug Fixes
* **blocks-antd:** Remove Descriptions example with failing schema ([7e45bb3](https://github.com/lowdefy/lowdefy/commit/7e45bb30bb5fa993e6a580eabf7e9ae049ffe18f))
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)

View File

@ -12,7 +12,7 @@ module.exports = {
],
coverageReporters: [['lcov', { projectRoot: '../../..' }], 'text', 'clover'],
errorOnDeprecated: true,
testPathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/src/test'],
testPathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/es/', '<rootDir>/src/test'],
moduleNameMapper: {
'\\.(css|less)$': '<rootDir>/tests/__mocks__/styleMock.js',
'^antd/.*/style$': '<rootDir>/tests/__mocks__/styleMock.js',

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-antd",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "Lowdefy Ant Design Blocks",
"homepage": "https://lowdefy.com",
@ -45,9 +45,9 @@
},
"dependencies": {
"@ant-design/icons": "4.5.0",
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/color": "3.16.1",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"@lowdefy/color": "3.16.4",
"@lowdefy/helpers": "3.16.4",
"antd": "4.4.2",
"classnames": "2.3.1",
"moment": "2.29.1",

View File

@ -14,7 +14,7 @@
limitations under the License.
*/
import { type } from '@lowdefy/helpers';
import { serializer, type } from '@lowdefy/helpers';
// eslint-disable-next-line consistent-return
const getIndex = (value, options, key = 'value') => {
@ -23,7 +23,11 @@ const getIndex = (value, options, key = 'value') => {
if (type.isPrimitive(options[i]) && options[i] === value) {
return i;
}
if (type.isObject(options[i]) && JSON.stringify(options[i][key]) === JSON.stringify(value)) {
if (
type.isObject(options[i]) &&
serializer.serializeToString(options[i][key], { stable: true }) ===
serializer.serializeToString(value, { stable: true })
) {
return i;
}
}

View File

@ -153,3 +153,9 @@ test('object.value mixed multiple', () => {
expect(getValueIndex(['x', [1, 2], 'x'], options, true)).toEqual([6, 1, 6]);
expect(getValueIndex([{ a: 1, b: { c: 'x' } }], options, true)).toEqual([7]);
});
test('object.value stable comparison,', () => {
const options = [{ value: { a: 1, b: 1 } }, { value: { a: 2, b: 2 } }];
expect(getValueIndex({ b: 1, a: 1 }, options)).toEqual(0);
expect(getValueIndex([{ b: 1, a: 1 }], options, true)).toEqual([0]);
});

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/blocks-basic
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/blocks-basic
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-basic
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-basic

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-basic",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "Basic html Lowdefy blocks.",
"homepage": "https://lowdefy.com",
@ -38,7 +38,7 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"dompurify": "2.2.8",
"react": "17.0.2",
"react-dom": "17.0.2"
@ -48,7 +48,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/blocks-color-selectors
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/blocks-color-selectors
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-color-selectors
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-color-selectors

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-color-selectors",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "A Lowdefy color selector blocks based on react-color.",
"homepage": "https://lowdefy.com",
@ -40,8 +40,8 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/blocks-antd": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"@lowdefy/blocks-antd": "3.16.4",
"react": "17.0.2",
"react-color": "2.19.3",
"react-dom": "17.0.2"
@ -51,7 +51,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/blocks-echarts
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/blocks-echarts
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-echarts
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-echarts

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-echarts",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "ECharts Blocks for Lowdefy.",
"homepage": "https://lowdefy.com",
@ -40,7 +40,7 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"echarts": "5.1.1",
"echarts-for-react": "3.0.1",
"react": "17.0.2",
@ -52,7 +52,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"buffer": "6.0.3",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/blocks-markdown
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/blocks-markdown
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-markdown
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/blocks-markdown

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-markdown",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "Lowdefy markdown blocks.",
"homepage": "https://lowdefy.com",
@ -40,7 +40,7 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"dompurify": "2.2.8",
"react": "17.0.2",
"react-dom": "17.0.2",
@ -53,7 +53,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/build
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/build
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/build
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/build",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,10 +36,10 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/ajv": "3.16.1",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/node-utils": "3.16.1",
"@lowdefy/nunjucks": "3.16.1",
"@lowdefy/ajv": "3.16.4",
"@lowdefy/helpers": "3.16.4",
"@lowdefy/node-utils": "3.16.4",
"@lowdefy/nunjucks": "3.16.4",
"ajv": "6.12.6",
"axios": "0.21.1",
"dataloader": "2.0.0",

View File

@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
### Bug Fixes
* **cli:** Fix CLI for previous lowdefy versions ([89b8533](https://github.com/lowdefy/lowdefy/commit/89b85332033c59b64904d693776d62fc82dd8817)), closes [#598](https://github.com/lowdefy/lowdefy/issues/598)
* **cli:** Fix dev server reload. ([af6e70d](https://github.com/lowdefy/lowdefy/commit/af6e70da762fe1212ea9a0ec6372f02d09c9a185))
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
### Bug Fixes
* **servers:** Append html when serving index from url root ([12cb782](https://github.com/lowdefy/lowdefy/commit/12cb7829460e05479fc7376f49b0defa0819afea))
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
### Bug Fixes
* **cli:** Fix cli dev server missing import ([beff373](https://github.com/lowdefy/lowdefy/commit/beff37341b9d055028b44bfb662785ccfff100c4))
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package lowdefy

View File

@ -1,6 +1,6 @@
{
"name": "lowdefy",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "Lowdefy CLI",
"homepage": "https://lowdefy.com",
@ -32,7 +32,7 @@
"main": "dist/index.js",
"scripts": {
"build": "yarn webpack",
"clean": "rm -rf dist",
"clean": "rm -rf dist && rm -rf .lowdefy",
"cli": "yarn node ./dist/index.js",
"cli:build": "yarn build && yarn node ./dist/index.js",
"prepare": "yarn build",
@ -40,8 +40,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/helpers": "3.16.1",
"@lowdefy/node-utils": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"@lowdefy/node-utils": "3.16.4",
"apollo-server-express": "2.24.1",
"axios": "0.21.1",
"chalk": "4.1.1",
@ -69,7 +69,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

View File

@ -17,30 +17,53 @@
import path from 'path';
import express from 'express';
import reload from 'reload';
import { get } from '@lowdefy/helpers';
import { readFile } from '@lowdefy/node-utils';
import findOpenPort from '../../utils/findOpenPort';
async function getExpress({ context, gqlServer, options }) {
const serveIndex = async (req, res) => {
let indexHtml = await readFile(path.resolve(__dirname, 'shell/index.html'));
let appConfig = await readFile(path.resolve(context.outputDirectory, 'app.json'));
appConfig = JSON.parse(appConfig);
indexHtml = indexHtml.replace(
'<!-- __LOWDEFY_APP_HEAD_HTML__ -->',
get(appConfig, 'html.appendHead', { default: '' })
);
indexHtml = indexHtml.replace(
'<!-- __LOWDEFY_APP_BODY_HTML__ -->',
get(appConfig, 'html.appendBody', { default: '' })
);
res.send(indexHtml);
};
const app = express();
app.set('port', parseInt(options.port));
gqlServer.applyMiddleware({ app, path: '/api/graphql' });
const reloadPort = await findOpenPort();
const reloadReturned = await reload(app, { route: '/api/dev/reload.js', port: reloadPort });
// serve index.html with appended html
// else static server serves without appended html
app.get('/', serveIndex);
// serve public files
app.use('/public', express.static(path.resolve(process.cwd(), 'public')));
// serve webpack files
app.use(express.static(path.resolve(__dirname, 'shell')));
// serve version for renderer module federation
app.use('/api/dev/version', (req, res) => {
res.json(context.lowdefyVersion);
});
app.use(async (req, res) => {
let indexHtml = await readFile(path.resolve(__dirname, 'shell/index.html'));
let appConfig = await readFile(path.resolve(context.outputDirectory, 'app.json'));
appConfig = JSON.parse(appConfig);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_HEAD_HTML__ -->', appConfig.html.appendHead);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_BODY_HTML__ -->', appConfig.html.appendBody);
res.send(indexHtml);
});
// Redirect all 404 to index.html with status 200
// This should always be the last route
app.use(serveIndex);
return { expressApp: app, reloadFn: reloadReturned.reload };
}

View File

@ -20,10 +20,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Lowdefy App</title>
<link rel="manifest" href="/public/manifest.webmanifest">
<link rel="icon" type="image/svg+xml" href="/public/icon.svg">
<link rel="icon" type="image/png" href="/public/icon-32.png">
<link rel="apple-touch-icon" href="/public/apple-touch-icon.png">
<script src="/api/dev/reload.js"></script>
<script type="text/javascript">
const jsActions = {}
const jsOperators = {}
@ -45,7 +46,7 @@
registerJsAction: getMethodLoader('registerJsAction', jsActions),
registerJsOperator: getMethodLoader('registerJsOperator', jsOperators)
}
</script>
</script>
<!-- __LOWDEFY_APP_HEAD_HTML__ -->
</head>
<body>
@ -55,4 +56,3 @@
<!-- __LOWDEFY_APP_BODY_HTML__ -->
</body>
</html>

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/color
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/color
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/color
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/color

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/color",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
### Bug Fixes
* **docs:** Split file hosting to separate concepts section. ([f802a6c](https://github.com/lowdefy/lowdefy/commit/f802a6ce351e3e4d562e29d0d407d814cf49b38f))
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/docs
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/docs
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)

View File

@ -54,7 +54,7 @@ _ref:
```yaml
# lowdefy.yaml
name: intercom-example
lowdefy: '3.16.1'
lowdefy: '3.16.4'
app:
html:
appendBody: |
@ -125,7 +125,7 @@ _ref:
```yaml
# file: lowdefy.yaml
name: text-highlight-example
lowdefy: '3.16.1'
lowdefy: '3.16.4'
app:
html:
# Load the custom modules into the index.html head tag.

View File

@ -45,7 +45,7 @@ _ref:
```yaml
name: dashboard-app
lowdefy: 3.16.1
lowdefy: 3.16.4
types:
AmChartsXY:
url: https://blocks-cdn.lowdefy.com/v3.10.1/blocks-amcharts/meta/AmChartsXY.json
@ -95,7 +95,7 @@ _ref:
```yaml
name: dashboard-app
lowdefy: 3.16.1
lowdefy: 3.16.4
types:
MyCustomBlock:
url: http://localhost:3002/meta/MyCustomBlock.json

View File

@ -32,7 +32,7 @@ _ref:
content: |
Lowdefy runs as a single page web app (SPA). It is possible to extend the functionality of a Lowdefy app by loading custom code (HTML, CSS and JavaScript) into the HTML `head` and `body` to of the default `index.html` page.
The content loaded into the `head` and `body` tag can be any valid HTML, most often `script` tags are loaded to register a new [`JsAction`](/JsAction) or [`_js`](/_js) operator. However, third party code can also be imported, for example Google Analytics, Intercom, etc. Be sure to only load trusted code into your app, as this code will be able to execute JavaScript on all pages of your Lowdefy app, which could expose you app or data to security vulnerabilities.
The content loaded into the `head` and `body` tag can be any valid HTML, most often `script` tags are loaded to register a new [`JsAction`](/JsAction) or [`_js`](/_js) operator. However, third party code can also be imported, for example Google Analytics, Intercom, etc. Be sure to only load trusted code into your app, as this code will be able to execute JavaScript on all pages of your Lowdefy app, which could expose you app or data to security vulnerabilities. Your own code can easily be hosted from the [Lowdefy public folder](/hosting-files).
> __Warning__: Lowdefy implements the [Ant design](https://ant.design/) UI component framework for app layout and most blocks, thus the default Ant Design CSS is loaded for all Lowdefy apps. Take caution not to unintentionally overwrite existing style settings and classes which can result in a degraded user experience.
@ -45,13 +45,15 @@ _ref:
> __Warning__: Code imported using `appendHead` or `appendBody` will be loaded, and can execute JavaScript on every page of your Lowdefy app.
#### Examples
###### Loading third party code snippet like Google Analytics:
To add [Google Analytics](/https://developers.google.com/analytics/devguides/collection/analyticsjs) to a Lowdefy app, the `lowdefy.yaml` can be setup with:
```yaml
name: google-analytics-example
lowdefy: 3.16.1
lowdefy: 3.16.4
# ...
app:
html:
@ -70,31 +72,6 @@ _ref:
# ...
```
## Hosting static files
A Lowdefy app provides a convenient method to host __public__ files under the `/public/*` app route. Add content to be hosted publicly by creating a folder named `public` in the root of a Lowdefy project folder, next to the `lowdefy.yaml` file. Place the public content in this folder to host this content with your app.
All content in this folder will be publicly accessible at `{{ APP_URL }}/public/{{ FILE_PATH_NAME }}`. For example, the logo at the top of this page is hosted at [`https://docs.lowdefy.com/public/logo-light-theme.png`](http://localhost:3000/public/logo-light-theme.png). Sub-folders inside the public folder are supported.
By default, the `public` folder of a Lowdefy app will serve some files which most apps need:
- `apple-touch-icon.png`: A 180x180px png image file to be used as the apple PWA icon.
- `icon-32.png`: A 32x32px png image file to be used as fallback favicon for some browsers.
- `icon-512.png`: A 512x512px png image icon.
- `icon.svg`: A svg image file which will be used as favicon if supported by browser.
- `logo-dark-theme.png`: A ~250x72px png image used as the header image for [`PageHeaderMenu`](/PageHeaderMenu) and [`PageSiderMenu`](/PageSiderMenu) blocks on desktop when the block theme is set to `dark`.
- `logo-light-theme.png`: A ~250x72px png image used as the header image for `PageHeaderMenu` and `PageSiderMenu` blocks on desktop when the block theme is set to `light`.
- `logo-square-dark-theme.png`: A ~125x125px png image used as the header image for `PageHeaderMenu` and `PageSiderMenu` blocks on mobile when the block theme is set to `dark`.
- `logo-square-light-theme.png`: A ~125x125px png image used as the header image for `PageHeaderMenu` and `PageSiderMenu` blocks on mobile when the block theme is set to `light`.
- `manifest.webmanifest`: The app [web manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest).
Any of these files can be overwritten by replacing the file with a modified version. For example, to replace the logo inside the header of `PageSiderMenu` on all pages, add a ~250x72px logo inside the project folder at `/public/logo-light-theme.png`.
## Loading and registering a [`JsAction`](/JsAction)
In order for the Lowdefy app engine to execute a custom JavaScript [action](/events-and-actions), the JavaScript code for the action must be loaded onto the page and registered using the `registerJsAction` method available on the browser [`window`](https://developer.mozilla.org/en-US/docs/Web/API/window) object by calling `window.lowdefy.registerJsAction(name: string, action: function)`.
The `JsAction` allows the use of async functions.
###### Load, register and trigger a custom `JsAction` from code in the app `public` folder:
This example fetches a list of Todos from [{JSON}placeholder](https://jsonplaceholder.typicode.com/), and updates [state](/context-and-state).
@ -121,7 +98,7 @@ _ref:
```yaml
# /lowdefy.yaml
name: json-todos
lowdefy: 3.16.1
lowdefy: 3.16.4
app:
html:
appendHead:
@ -153,6 +130,8 @@ _ref:
All `_js` functions must be synchronous.
#### Examples
###### Load, register and use a custom `_js` operator from code in the app `public` folder:
This example uses a `_js` operator to remove all duplicates from a list of names.
@ -177,7 +156,7 @@ _ref:
```yaml
# /lowdefy.yaml
name: operator-example
lowdefy: 3.16.1
lowdefy: 3.16.4
app:
html:
appendHead:

View File

@ -0,0 +1,50 @@
# Copyright 2020-2021 Lowdefy, Inc
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
_ref:
path: templates/general.yaml.njk
vars:
pageId: hosting-files
pageTitle: Hosting Files
section: Concepts
filePath: concepts/hosting-files.yaml
content:
- id: md1
type: Markdown
properties:
content: |
A Lowdefy app provides a convenient method to host __public__ files under the `/public/*` app route. Add content to be hosted publicly by creating a folder named `public` in the root of a Lowdefy project folder, next to the `lowdefy.yaml` file. Place the public content in this folder to host this content with your app.
All content in this folder will be publicly accessible at `{{ APP_URL }}/public/{{ FILE_PATH_NAME }}`. For example, the logo at the top of this page is hosted at [`https://docs.lowdefy.com/public/logo-light-theme.png`](http://localhost:3000/public/logo-light-theme.png). Sub-folders inside the public folder are supported.
By default, the `public` folder of a Lowdefy app will serve some files which most apps need:
- `apple-touch-icon.png`: A 180x180px png image file to be used as the apple PWA icon.
- `icon-32.png`: A 32x32px png image file to be used as fallback favicon for some browsers.
- `icon-512.png`: A 512x512px png image icon.
- `icon.svg`: A svg image file which will be used as favicon if supported by browser.
- `logo-dark-theme.png`: A ~250x72px png image used as the header image for [`PageHeaderMenu`](/PageHeaderMenu) and [`PageSiderMenu`](/PageSiderMenu) blocks on desktop when the block theme is set to `dark`.
- `logo-light-theme.png`: A ~250x72px png image used as the header image for `PageHeaderMenu` and `PageSiderMenu` blocks on desktop when the block theme is set to `light`.
- `logo-square-dark-theme.png`: A ~125x125px png image used as the header image for `PageHeaderMenu` and `PageSiderMenu` blocks on mobile when the block theme is set to `dark`.
- `logo-square-light-theme.png`: A ~125x125px png image used as the header image for `PageHeaderMenu` and `PageSiderMenu` blocks on mobile when the block theme is set to `light`.
- `manifest.webmanifest`: The app [web manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest).
Any of these files can be overwritten by replacing the file with a modified version. For example, to replace the logo inside the header of `PageSiderMenu` on all pages, add a ~250x72px logo inside the project folder at `/public/logo-light-theme.png`.
- _ref:
path: templates/navigation_buttons.yaml
vars:
previous_page_title: Lists
previous_page_id: lists
next_page_title: Custom Code
next_page_id: custom-code

View File

@ -158,5 +158,5 @@ _ref:
vars:
previous_page_title: Deployment
previous_page_id: deployment
next_page_title: Custom Code
next_page_id: custom-code
next_page_title: Hosting Files
next_page_id: hosting-files

View File

@ -13,7 +13,7 @@
# limitations under the License.
name: '@lowdefy/docs'
lowdefy: '3.16.1'
lowdefy: '3.16.4'
licence: Apache-2.0
global:

View File

@ -113,6 +113,11 @@
pageId: lists
properties:
title: Lists
- id: hosting-files
type: MenuLink
pageId: hosting-files
properties:
title: Hosting Files
- id: custom-code
type: MenuLink
pageId: custom-code

View File

@ -77,7 +77,7 @@ _ref:
First register a custom JavaScript action: `getNormalizedEigenvector`
```yaml
# file: lowdefy.yaml
lowdefy: '3.16.1'
lowdefy: '3.16.4'
app:
html:
appendHead: |

View File

@ -65,7 +65,7 @@ _ref:
```yaml
# lowdefy.yaml
name: make-me-primes
lowdefy: '3.16.1'
lowdefy: '3.16.4'
app:
html:
# This HTML will be appended to the head HTML tag in the Lowdefy app
@ -133,7 +133,7 @@ _ref:
```yaml
# file: lowdefy.yaml
name: my-chart
lowdefy: '3.16.1'
lowdefy: '3.16.4'
app:
html:
appendHead:

View File

@ -103,7 +103,7 @@ _ref:
###### Reference pages:
```yaml
# lowdefy.yaml
lowdefy: '3.16.1'
lowdefy: '3.16.4'
pages:
- _ref: pages/page1.yaml
- _ref: pages/page2.yaml
@ -124,7 +124,7 @@ _ref:
```
Returns:
```
lowdefy: '3.16.1'
lowdefy: '3.16.4'
pages:
- id: page1
type: PageHeaderMenu

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/docs",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -23,6 +23,7 @@
- _ref: concepts/secrets.yaml
- _ref: concepts/deployment.yaml
- _ref: concepts/lists.yaml
- _ref: concepts/hosting-files.yaml
- _ref: concepts/custom-code.yaml
- _ref: concepts/custom-blocks.yaml

File diff suppressed because it is too large Load Diff

View File

@ -76,7 +76,7 @@ _ref:
```yaml
name: lowdefy-project-template
lowdefy: 3.16.1
lowdefy: 3.16.4
pages:
################ -------- Copy from here -------- ################

View File

@ -180,7 +180,7 @@ _ref:
Open the `lowdefy.yaml` file using a text editor like [VS Code](https://code.visualstudio.com/download). The content of the file should look like this:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
name: Lowdefy starter
pages:

View File

@ -132,7 +132,7 @@ _ref:
###### Redirect to the Auth0 logout URL and return to the `logged-out` page in the app after logout:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
openId:
@ -144,7 +144,7 @@ _ref:
###### Redirect to the Keycloak logout URL and return to the `logged-out` page in the app after logout:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
openId:

View File

@ -36,7 +36,7 @@ _ref:
###### List specific public pages:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
pages:
@ -48,7 +48,7 @@ _ref:
````
###### List specific protected pages:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
pages:

View File

@ -29,7 +29,7 @@ _ref:
Roles can be read from a custom claim on the OpenID Connect `idToken`. This should be an array of strings which are the role names. This needs to be configured at the OpenID Connect provider. The field that contains the roles array is configured in the `config.auth.openId` field in the Lowdefy configuration.
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
openId:
@ -43,7 +43,7 @@ _ref:
###### Protect pages using roles:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
openId:

View File

@ -48,7 +48,7 @@ _ref:
content: |
Most authorization and authentication settings are configured in the `config.auth` object in the Lowdefy configuration. The following config can be set:
```yaml
lowdefy: 3.16.1
lowdefy: 3.16.4
config:
auth:
openId:

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/engine
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/engine
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/engine
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/engine

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/engine",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,8 +36,8 @@
"test": "jest --coverage"
},
"dependencies": {
"@lowdefy/helpers": "3.16.1",
"@lowdefy/operators": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"@lowdefy/operators": "3.16.4",
"graphql": "15.5.0",
"graphql-tag": "2.12.4"
},

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/format
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/format
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/format
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/format

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/format",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/graphql-federated
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/graphql-federated
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/graphql-federated
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/graphql-federated

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/graphql-federated",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,7 +37,7 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.16.1"
"@lowdefy/graphql": "3.16.4"
},
"devDependencies": {
"@babel/cli": "7.14.3",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/graphql
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/graphql
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/graphql
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/graphql

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/graphql",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -38,11 +38,11 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/ajv": "3.16.1",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/node-utils": "3.16.1",
"@lowdefy/nunjucks": "3.16.1",
"@lowdefy/operators": "3.16.1",
"@lowdefy/ajv": "3.16.4",
"@lowdefy/helpers": "3.16.4",
"@lowdefy/node-utils": "3.16.4",
"@lowdefy/nunjucks": "3.16.4",
"@lowdefy/operators": "3.16.4",
"@sendgrid/mail": "7.4.4",
"ajv": "6.12.6",
"ajv-errors": "1.0.1",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/helpers
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/helpers
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/helpers
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/helpers

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/helpers",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/layout
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/layout
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/layout
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/layout

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/layout",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,8 +37,8 @@
"test": "jest --coverage"
},
"dependencies": {
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"@lowdefy/helpers": "3.16.4",
"antd": "4.4.2",
"react": "17.0.2",
"react-dom": "17.0.2"

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/node-utils
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/node-utils
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/node-utils
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/node-utils

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/node-utils",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,7 +36,7 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"rimraf": "3.0.2"
},
"devDependencies": {

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/nunjucks
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/nunjucks
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/nunjucks
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/nunjucks

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/nunjucks",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -38,7 +38,7 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/helpers": "3.16.1",
"@lowdefy/helpers": "3.16.4",
"moment": "2.29.1",
"nunjucks": "3.2.3"
},

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/operators
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/operators
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/operators
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/operators

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/operators",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,9 +36,9 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/format": "3.16.1",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/nunjucks": "3.16.1",
"@lowdefy/format": "3.16.4",
"@lowdefy/helpers": "3.16.4",
"@lowdefy/nunjucks": "3.16.4",
"deep-diff": "1.0.2",
"js-yaml": "4.1.0",
"mingo": "4.1.2",

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/renderer
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/renderer
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/renderer
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/renderer

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/renderer",
"version": "3.16.1",
"version": "3.16.4",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -40,10 +40,10 @@
"@apollo/link-context": "2.0.0-beta.3",
"@apollo/link-error": "2.0.0-beta.3",
"@apollo/link-retry": "2.0.0-beta.3",
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/engine": "3.16.1",
"@lowdefy/helpers": "3.16.1",
"@lowdefy/layout": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"@lowdefy/engine": "3.16.4",
"@lowdefy/helpers": "3.16.4",
"@lowdefy/layout": "3.16.4",
"graphql": "15.5.0",
"graphql-type-json": "0.3.2",
"react": "17.0.2",

View File

@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/server-dev
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
### Bug Fixes
* **servers:** Append html when serving index from url root ([12cb782](https://github.com/lowdefy/lowdefy/commit/12cb7829460e05479fc7376f49b0defa0819afea))
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/server-dev
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/server-dev

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/server-dev",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -31,14 +31,14 @@
"scripts": {
"babel": "babel src --out-dir dist",
"build": "yarn webpack && yarn babel",
"clean": "rm -rf dist && rm -rf dev",
"clean": "rm -rf dist && rm -rf .lowdefy",
"prepare": "yarn build",
"start": "nodemon dist/server.js",
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.16.1",
"@lowdefy/node-utils": "3.16.1",
"@lowdefy/graphql": "3.16.4",
"@lowdefy/node-utils": "3.16.4",
"apollo-server-express": "2.24.1",
"dotenv": "10.0.0",
"express": "4.17.1",
@ -49,7 +49,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

View File

@ -35,22 +35,33 @@ const server = new ApolloServer({
resolvers,
context,
});
let indexHtml = null;
const serveIndex = async (req, res) => {
if (!indexHtml) {
indexHtml = await readFile(path.resolve(process.cwd(), 'dist/shell/index.html'));
let appConfig = await readFile(path.resolve(config.CONFIGURATION_BASE_PATH, 'app.json'));
appConfig = JSON.parse(appConfig);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_HEAD_HTML__ -->', appConfig.html.appendHead);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_BODY_HTML__ -->', appConfig.html.appendBody);
}
res.send(indexHtml);
};
const app = express();
server.applyMiddleware({ app, path: '/api/graphql' });
// Serve Webpack shell files from './shell/dist'
// serve index.html with appended html
// else static server serves without appended html
app.get('/', serveIndex);
// Serve webpack and public files from './dist/shell'
app.use(express.static('dist/shell'));
// Redirect all 404 to index.html with status 200
// This should always be the last route
app.use(async (req, res) => {
let indexHtml = await readFile(path.resolve(process.cwd(), 'dist/shell/index.html'));
let appConfig = await readFile(path.resolve(config.CONFIGURATION_BASE_PATH, 'app.json'));
appConfig = JSON.parse(appConfig);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_HEAD_HTML__ -->', appConfig.html.appendHead);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_BODY_HTML__ -->', appConfig.html.appendBody);
res.send(indexHtml);
});
app.use(serveIndex);
app.listen({ port: 3000 }, () => console.log(`🚀 Server ready at http://localhost:3000`));

View File

@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/server-docker
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
### Bug Fixes
* **servers:** Append html when serving index from url root ([12cb782](https://github.com/lowdefy/lowdefy/commit/12cb7829460e05479fc7376f49b0defa0819afea))
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/server-docker
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/server-docker

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/server-docker",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -39,8 +39,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.16.1",
"@lowdefy/node-utils": "3.16.1",
"@lowdefy/graphql": "3.16.4",
"@lowdefy/node-utils": "3.16.4",
"apollo-server-express": "2.24.1",
"express": "4.17.1",
"graphql": "15.5.0"
@ -50,7 +50,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

View File

@ -32,22 +32,34 @@ const server = new ApolloServer({
resolvers,
context,
});
let indexHtml = null;
const serveIndex = async (req, res) => {
if (!indexHtml) {
indexHtml = await readFile(path.resolve(process.cwd(), 'dist/shell/index.html'));
let appConfig = await readFile(path.resolve(config.CONFIGURATION_BASE_PATH, 'app.json'));
appConfig = JSON.parse(appConfig);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_HEAD_HTML__ -->', appConfig.html.appendHead);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_BODY_HTML__ -->', appConfig.html.appendBody);
}
res.send(indexHtml);
};
const app = express();
server.applyMiddleware({ app, path: '/api/graphql' });
// serve index.html with appended html
// else static server serves without appended html
app.get('/', serveIndex);
// Serve Webpack shell files from './shell/dist'
app.use(express.static('dist/shell'));
// Redirect all 404 to index.html with status 200
// This should always be the last route
app.use(async (req, res) => {
let indexHtml = await readFile(path.resolve(process.cwd(), 'dist/shell/index.html'));
let appConfig = await readFile(path.resolve(config.CONFIGURATION_BASE_PATH, 'app.json'));
appConfig = JSON.parse(appConfig);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_HEAD_HTML__ -->', appConfig.html.appendHead);
indexHtml = indexHtml.replace('<!-- __LOWDEFY_APP_BODY_HTML__ -->', appConfig.html.appendBody);
res.send(indexHtml);
});
app.use(serveIndex);
// TODO: option to modify port here? port 443 by default?
app.listen({ port: 3000 }, () => console.log(`Server started at port 3000`));

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.16.4](https://github.com/lowdefy/lowdefy/compare/v3.16.3...v3.16.4) (2021-05-28)
**Note:** Version bump only for package @lowdefy/server-netlify
## [3.16.3](https://github.com/lowdefy/lowdefy/compare/v3.16.2...v3.16.3) (2021-05-27)
**Note:** Version bump only for package @lowdefy/server-netlify
## [3.16.2](https://github.com/lowdefy/lowdefy/compare/v3.16.1...v3.16.2) (2021-05-26)
**Note:** Version bump only for package @lowdefy/server-netlify
## [3.16.1](https://github.com/lowdefy/lowdefy/compare/v3.16.0...v3.16.1) (2021-05-26)
**Note:** Version bump only for package @lowdefy/server-netlify

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/server-netlify",
"version": "3.16.1",
"version": "3.16.4",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,8 +37,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.16.1",
"@lowdefy/node-utils": "3.16.1",
"@lowdefy/graphql": "3.16.4",
"@lowdefy/node-utils": "3.16.4",
"apollo-server-express": "2.24.1",
"express": "4.17.1",
"graphql": "15.5.0",
@ -49,7 +49,7 @@
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.2",
"@babel/preset-react": "7.13.13",
"@lowdefy/block-tools": "3.16.1",
"@lowdefy/block-tools": "3.16.4",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

122
yarn.lock
View File

@ -2761,14 +2761,14 @@ __metadata:
languageName: node
linkType: hard
"@lowdefy/ajv@3.16.1, @lowdefy/ajv@workspace:packages/ajv":
"@lowdefy/ajv@3.16.4, @lowdefy/ajv@workspace:packages/ajv":
version: 0.0.0-use.local
resolution: "@lowdefy/ajv@workspace:packages/ajv"
dependencies:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/nunjucks": 3.16.1
"@lowdefy/nunjucks": 3.16.4
ajv: 6.12.6
ajv-errors: 1.0.1
babel-jest: 26.6.3
@ -2777,7 +2777,7 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/block-tools@3.16.1, @lowdefy/block-tools@workspace:packages/blockTools":
"@lowdefy/block-tools@3.16.4, @lowdefy/block-tools@workspace:packages/blockTools":
version: 0.0.0-use.local
resolution: "@lowdefy/block-tools@workspace:packages/blockTools"
dependencies:
@ -2785,7 +2785,7 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/helpers": 3.16.1
"@lowdefy/helpers": 3.16.4
"@wojtekmaj/enzyme-adapter-react-17": 0.6.1
ajv: 6.12.6
ajv-errors: 1.0.1
@ -2816,7 +2816,7 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/blocks-antd@3.16.1, @lowdefy/blocks-antd@workspace:packages/blocks/blocksAntd":
"@lowdefy/blocks-antd@3.16.4, @lowdefy/blocks-antd@workspace:packages/blocks/blocksAntd":
version: 0.0.0-use.local
resolution: "@lowdefy/blocks-antd@workspace:packages/blocks/blocksAntd"
dependencies:
@ -2825,9 +2825,9 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/color": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/color": 3.16.4
"@lowdefy/helpers": 3.16.4
"@wojtekmaj/enzyme-adapter-react-17": 0.6.1
antd: 4.4.2
babel-jest: 26.6.3
@ -2872,8 +2872,8 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/helpers": 3.16.4
"@wojtekmaj/enzyme-adapter-react-17": 0.6.1
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -2909,9 +2909,9 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/blocks-antd": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/blocks-antd": 3.16.4
"@lowdefy/helpers": 3.16.4
"@wojtekmaj/enzyme-adapter-react-17": 0.6.1
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -2952,8 +2952,8 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/helpers": 3.16.4
babel-jest: 26.6.3
babel-loader: 8.2.2
buffer: 6.0.3
@ -2989,8 +2989,8 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/helpers": 3.16.4
"@wojtekmaj/enzyme-adapter-react-17": 0.6.1
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -3029,10 +3029,10 @@ __metadata:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/ajv": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/node-utils": 3.16.1
"@lowdefy/nunjucks": 3.16.1
"@lowdefy/ajv": 3.16.4
"@lowdefy/helpers": 3.16.4
"@lowdefy/node-utils": 3.16.4
"@lowdefy/nunjucks": 3.16.4
ajv: 6.12.6
axios: 0.21.1
babel-jest: 26.6.3
@ -3048,7 +3048,7 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/color@3.16.1, @lowdefy/color@workspace:packages/color":
"@lowdefy/color@3.16.4, @lowdefy/color@workspace:packages/color":
version: 0.0.0-use.local
resolution: "@lowdefy/color@workspace:packages/color"
dependencies:
@ -3073,15 +3073,15 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/engine@3.16.1, @lowdefy/engine@workspace:packages/engine":
"@lowdefy/engine@3.16.4, @lowdefy/engine@workspace:packages/engine":
version: 0.0.0-use.local
resolution: "@lowdefy/engine@workspace:packages/engine"
dependencies:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/helpers": 3.16.1
"@lowdefy/operators": 3.16.1
"@lowdefy/helpers": 3.16.4
"@lowdefy/operators": 3.16.4
babel-jest: 26.6.3
graphql: 15.5.0
graphql-tag: 2.12.4
@ -3089,7 +3089,7 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/format@3.16.1, @lowdefy/format@workspace:packages/format":
"@lowdefy/format@3.16.4, @lowdefy/format@workspace:packages/format":
version: 0.0.0-use.local
resolution: "@lowdefy/format@workspace:packages/format"
dependencies:
@ -3109,7 +3109,7 @@ __metadata:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/graphql": 3.16.1
"@lowdefy/graphql": 3.16.4
babel-loader: 8.2.2
clean-webpack-plugin: 3.0.0
webpack: 5.37.1
@ -3117,18 +3117,18 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/graphql@3.16.1, @lowdefy/graphql@workspace:packages/graphql":
"@lowdefy/graphql@3.16.4, @lowdefy/graphql@workspace:packages/graphql":
version: 0.0.0-use.local
resolution: "@lowdefy/graphql@workspace:packages/graphql"
dependencies:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/ajv": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/node-utils": 3.16.1
"@lowdefy/nunjucks": 3.16.1
"@lowdefy/operators": 3.16.1
"@lowdefy/ajv": 3.16.4
"@lowdefy/helpers": 3.16.4
"@lowdefy/node-utils": 3.16.4
"@lowdefy/nunjucks": 3.16.4
"@lowdefy/operators": 3.16.4
"@sendgrid/mail": 7.4.4
"@shelf/jest-mongodb": 1.2.4
ajv: 6.12.6
@ -3162,7 +3162,7 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/helpers@3.16.1, @lowdefy/helpers@workspace:packages/helpers":
"@lowdefy/helpers@3.16.4, @lowdefy/helpers@workspace:packages/helpers":
version: 0.0.0-use.local
resolution: "@lowdefy/helpers@workspace:packages/helpers"
dependencies:
@ -3177,7 +3177,7 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/layout@3.16.1, @lowdefy/layout@workspace:packages/layout":
"@lowdefy/layout@3.16.4, @lowdefy/layout@workspace:packages/layout":
version: 0.0.0-use.local
resolution: "@lowdefy/layout@workspace:packages/layout"
dependencies:
@ -3185,8 +3185,8 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/helpers": 3.16.4
antd: 4.4.2
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -3234,14 +3234,14 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/node-utils@3.16.1, @lowdefy/node-utils@workspace:packages/nodeUtils":
"@lowdefy/node-utils@3.16.4, @lowdefy/node-utils@workspace:packages/nodeUtils":
version: 0.0.0-use.local
resolution: "@lowdefy/node-utils@workspace:packages/nodeUtils"
dependencies:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/helpers": 3.16.1
"@lowdefy/helpers": 3.16.4
babel-jest: 26.6.3
jest: 26.6.3
jest-diff: 26.6.2
@ -3249,14 +3249,14 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/nunjucks@3.16.1, @lowdefy/nunjucks@workspace:packages/nunjucks":
"@lowdefy/nunjucks@3.16.4, @lowdefy/nunjucks@workspace:packages/nunjucks":
version: 0.0.0-use.local
resolution: "@lowdefy/nunjucks@workspace:packages/nunjucks"
dependencies:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/helpers": 3.16.1
"@lowdefy/helpers": 3.16.4
babel-jest: 26.6.3
jest: 26.6.3
moment: 2.29.1
@ -3264,16 +3264,16 @@ __metadata:
languageName: unknown
linkType: soft
"@lowdefy/operators@3.16.1, @lowdefy/operators@workspace:packages/operators":
"@lowdefy/operators@3.16.4, @lowdefy/operators@workspace:packages/operators":
version: 0.0.0-use.local
resolution: "@lowdefy/operators@workspace:packages/operators"
dependencies:
"@babel/cli": 7.14.3
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@lowdefy/format": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/nunjucks": 3.16.1
"@lowdefy/format": 3.16.4
"@lowdefy/helpers": 3.16.4
"@lowdefy/nunjucks": 3.16.4
babel-jest: 26.6.3
deep-diff: 1.0.2
jest: 26.6.3
@ -3294,10 +3294,10 @@ __metadata:
"@apollo/link-retry": 2.0.0-beta.3
"@babel/core": 7.14.3
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/engine": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/layout": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/engine": 3.16.4
"@lowdefy/helpers": 3.16.4
"@lowdefy/layout": 3.16.4
babel-loader: 8.2.2
clean-webpack-plugin: 3.0.0
css-loader: 5.2.6
@ -3325,9 +3325,9 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/graphql": 3.16.1
"@lowdefy/node-utils": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/graphql": 3.16.4
"@lowdefy/node-utils": 3.16.4
apollo-server-express: 2.24.1
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -3356,9 +3356,9 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/graphql": 3.16.1
"@lowdefy/node-utils": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/graphql": 3.16.4
"@lowdefy/node-utils": 3.16.4
apollo-server-express: 2.24.1
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -3386,9 +3386,9 @@ __metadata:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/graphql": 3.16.1
"@lowdefy/node-utils": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/graphql": 3.16.4
"@lowdefy/node-utils": 3.16.4
apollo-server-express: 2.24.1
babel-jest: 26.6.3
babel-loader: 8.2.2
@ -13335,9 +13335,9 @@ fsevents@^1.2.7:
"@babel/core": 7.14.3
"@babel/preset-env": 7.14.2
"@babel/preset-react": 7.13.13
"@lowdefy/block-tools": 3.16.1
"@lowdefy/helpers": 3.16.1
"@lowdefy/node-utils": 3.16.1
"@lowdefy/block-tools": 3.16.4
"@lowdefy/helpers": 3.16.4
"@lowdefy/node-utils": 3.16.4
apollo-server-express: 2.24.1
axios: 0.21.1
babel-jest: 26.6.3