@lowdefy/server-dev 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client/App.js CHANGED
@@ -30,6 +30,7 @@ import actions from '../../build/plugins/actions.js';
30
30
  import blocks from '../../build/plugins/blocks.js';
31
31
  import icons from '../../build/plugins/icons.js';
32
32
  import operators from '../../build/plugins/operators/client.js';
33
+ import jsMap from '../../build/plugins/operators/clientJsMap.js';
33
34
 
34
35
  const App = ({ auth, lowdefy }) => {
35
36
  const router = useRouter();
@@ -49,6 +50,7 @@ const App = ({ auth, lowdefy }) => {
49
50
  config={{
50
51
  rootConfig,
51
52
  }}
53
+ jsMap={jsMap}
52
54
  lowdefy={lowdefy}
53
55
  pageId={pageId}
54
56
  resetContext={resetContext}
@@ -20,7 +20,17 @@ import Client from '@lowdefy/client';
20
20
  import RestartingPage from './RestartingPage.js';
21
21
  import usePageConfig from './utils/usePageConfig.js';
22
22
 
23
- const Page = ({ auth, Components, config, lowdefy, pageId, resetContext, router, types }) => {
23
+ const Page = ({
24
+ auth,
25
+ Components,
26
+ config,
27
+ jsMap,
28
+ lowdefy,
29
+ pageId,
30
+ resetContext,
31
+ router,
32
+ types,
33
+ }) => {
24
34
  const { data: pageConfig } = usePageConfig(pageId, router.basePath);
25
35
 
26
36
  if (!pageConfig) {
@@ -38,6 +48,7 @@ const Page = ({ auth, Components, config, lowdefy, pageId, resetContext, router,
38
48
  ...config,
39
49
  pageConfig,
40
50
  }}
51
+ jsMap={jsMap}
41
52
  lowdefy={lowdefy}
42
53
  resetContext={resetContext}
43
54
  router={router}
@@ -26,6 +26,7 @@ import getServerSession from './auth/getServerSession.js';
26
26
  import logError from './log/logError.js';
27
27
  import logRequest from './log/logRequest.js';
28
28
  import operators from '../../build/plugins/operators/server.js';
29
+ import jsMap from '../../build/plugins/operators/serverJsMap.js';
29
30
  import getAuthOptions from './auth/getAuthOptions.js';
30
31
 
31
32
  const secrets = getSecretsFromEnv();
@@ -40,6 +41,7 @@ function apiWrapper(handler) {
40
41
  connections,
41
42
  fileCache,
42
43
  headers: req?.headers,
44
+ jsMap,
43
45
  logger: console,
44
46
  operators,
45
47
  req,
@@ -35,7 +35,9 @@ const trackedFiles = [
35
35
  'build/plugins/connections.js',
36
36
  'build/plugins/icons.js',
37
37
  'build/plugins/operators/client.js',
38
+ 'build/plugins/operators/clientJsMap.js',
38
39
  'build/plugins/operators/server.js',
40
+ 'build/plugins/operators/serverJsMap.js',
39
41
  'build/plugins/styles.less',
40
42
  'public/styles.less',
41
43
  'package.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server-dev",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -36,33 +36,33 @@
36
36
  ".npmrc"
37
37
  ],
38
38
  "dependencies": {
39
- "@lowdefy/actions-core": "4.0.1",
40
- "@lowdefy/api": "4.0.1",
41
- "@lowdefy/block-utils": "4.0.1",
42
- "@lowdefy/blocks-aggrid": "4.0.1",
43
- "@lowdefy/blocks-antd": "4.0.1",
44
- "@lowdefy/blocks-basic": "4.0.1",
45
- "@lowdefy/blocks-color-selectors": "4.0.1",
46
- "@lowdefy/blocks-echarts": "4.0.1",
47
- "@lowdefy/blocks-loaders": "4.0.1",
48
- "@lowdefy/blocks-markdown": "4.0.1",
49
- "@lowdefy/blocks-qr": "4.0.1",
50
- "@lowdefy/build": "4.0.1",
51
- "@lowdefy/client": "4.0.1",
52
- "@lowdefy/connection-axios-http": "4.0.1",
53
- "@lowdefy/engine": "4.0.1",
54
- "@lowdefy/helpers": "4.0.1",
55
- "@lowdefy/layout": "4.0.1",
56
- "@lowdefy/node-utils": "4.0.1",
57
- "@lowdefy/operators-change-case": "4.0.1",
58
- "@lowdefy/operators-diff": "4.0.1",
59
- "@lowdefy/operators-js": "4.0.1",
60
- "@lowdefy/operators-moment": "4.0.1",
61
- "@lowdefy/operators-mql": "4.0.1",
62
- "@lowdefy/operators-nunjucks": "4.0.1",
63
- "@lowdefy/operators-uuid": "4.0.1",
64
- "@lowdefy/operators-yaml": "4.0.1",
65
- "@lowdefy/plugin-next-auth": "4.0.1",
39
+ "@lowdefy/actions-core": "4.1.0",
40
+ "@lowdefy/api": "4.1.0",
41
+ "@lowdefy/block-utils": "4.1.0",
42
+ "@lowdefy/blocks-aggrid": "4.1.0",
43
+ "@lowdefy/blocks-antd": "4.1.0",
44
+ "@lowdefy/blocks-basic": "4.1.0",
45
+ "@lowdefy/blocks-color-selectors": "4.1.0",
46
+ "@lowdefy/blocks-echarts": "4.1.0",
47
+ "@lowdefy/blocks-loaders": "4.1.0",
48
+ "@lowdefy/blocks-markdown": "4.1.0",
49
+ "@lowdefy/blocks-qr": "4.1.0",
50
+ "@lowdefy/build": "4.1.0",
51
+ "@lowdefy/client": "4.1.0",
52
+ "@lowdefy/connection-axios-http": "4.1.0",
53
+ "@lowdefy/engine": "4.1.0",
54
+ "@lowdefy/helpers": "4.1.0",
55
+ "@lowdefy/layout": "4.1.0",
56
+ "@lowdefy/node-utils": "4.1.0",
57
+ "@lowdefy/operators-change-case": "4.1.0",
58
+ "@lowdefy/operators-diff": "4.1.0",
59
+ "@lowdefy/operators-js": "4.1.0",
60
+ "@lowdefy/operators-moment": "4.1.0",
61
+ "@lowdefy/operators-mql": "4.1.0",
62
+ "@lowdefy/operators-nunjucks": "4.1.0",
63
+ "@lowdefy/operators-uuid": "4.1.0",
64
+ "@lowdefy/operators-yaml": "4.1.0",
65
+ "@lowdefy/plugin-next-auth": "4.1.0",
66
66
  "chokidar": "3.5.3",
67
67
  "dotenv": "16.3.1",
68
68
  "next": "13.5.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server-dev",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -39,36 +39,37 @@
39
39
  "build": "cp package.json package.original.json || copy package.json package.original.json",
40
40
  "start": "node manager/run.mjs",
41
41
  "lint": "next lint",
42
- "next": "next"
42
+ "next": "next",
43
+ "prepublishOnly": "pnpm build"
43
44
  },
44
45
  "dependencies": {
45
- "@lowdefy/actions-core": "4.0.1",
46
- "@lowdefy/api": "4.0.1",
47
- "@lowdefy/block-utils": "4.0.1",
48
- "@lowdefy/blocks-aggrid": "4.0.1",
49
- "@lowdefy/blocks-antd": "4.0.1",
50
- "@lowdefy/blocks-basic": "4.0.1",
51
- "@lowdefy/blocks-color-selectors": "4.0.1",
52
- "@lowdefy/blocks-echarts": "4.0.1",
53
- "@lowdefy/blocks-loaders": "4.0.1",
54
- "@lowdefy/blocks-markdown": "4.0.1",
55
- "@lowdefy/blocks-qr": "4.0.1",
56
- "@lowdefy/build": "4.0.1",
57
- "@lowdefy/client": "4.0.1",
58
- "@lowdefy/connection-axios-http": "4.0.1",
59
- "@lowdefy/engine": "4.0.1",
60
- "@lowdefy/helpers": "4.0.1",
61
- "@lowdefy/layout": "4.0.1",
62
- "@lowdefy/node-utils": "4.0.1",
63
- "@lowdefy/operators-change-case": "4.0.1",
64
- "@lowdefy/operators-diff": "4.0.1",
65
- "@lowdefy/operators-js": "4.0.1",
66
- "@lowdefy/operators-moment": "4.0.1",
67
- "@lowdefy/operators-mql": "4.0.1",
68
- "@lowdefy/operators-nunjucks": "4.0.1",
69
- "@lowdefy/operators-uuid": "4.0.1",
70
- "@lowdefy/operators-yaml": "4.0.1",
71
- "@lowdefy/plugin-next-auth": "4.0.1",
46
+ "@lowdefy/actions-core": "4.1.0",
47
+ "@lowdefy/api": "4.1.0",
48
+ "@lowdefy/block-utils": "4.1.0",
49
+ "@lowdefy/blocks-aggrid": "4.1.0",
50
+ "@lowdefy/blocks-antd": "4.1.0",
51
+ "@lowdefy/blocks-basic": "4.1.0",
52
+ "@lowdefy/blocks-color-selectors": "4.1.0",
53
+ "@lowdefy/blocks-echarts": "4.1.0",
54
+ "@lowdefy/blocks-loaders": "4.1.0",
55
+ "@lowdefy/blocks-markdown": "4.1.0",
56
+ "@lowdefy/blocks-qr": "4.1.0",
57
+ "@lowdefy/build": "4.1.0",
58
+ "@lowdefy/client": "4.1.0",
59
+ "@lowdefy/connection-axios-http": "4.1.0",
60
+ "@lowdefy/engine": "4.1.0",
61
+ "@lowdefy/helpers": "4.1.0",
62
+ "@lowdefy/layout": "4.1.0",
63
+ "@lowdefy/node-utils": "4.1.0",
64
+ "@lowdefy/operators-change-case": "4.1.0",
65
+ "@lowdefy/operators-diff": "4.1.0",
66
+ "@lowdefy/operators-js": "4.1.0",
67
+ "@lowdefy/operators-moment": "4.1.0",
68
+ "@lowdefy/operators-mql": "4.1.0",
69
+ "@lowdefy/operators-nunjucks": "4.1.0",
70
+ "@lowdefy/operators-uuid": "4.1.0",
71
+ "@lowdefy/operators-yaml": "4.1.0",
72
+ "@lowdefy/plugin-next-auth": "4.1.0",
72
73
  "chokidar": "3.5.3",
73
74
  "dotenv": "16.3.1",
74
75
  "next": "13.5.4",