@lowdefy/server-e2e 7.0.0 → 7.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/lowdefy/build.mjs CHANGED
@@ -50,6 +50,7 @@ async function run() {
50
50
  customTypesMap,
51
51
  directories,
52
52
  logger,
53
+ pluginInstallFollows: process.env.LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS === 'true',
53
54
  refResolver: argv.refResolver || process.env.LOWDEFY_BUILD_REF_RESOLVER,
54
55
  skipPluginChecks: process.env.LOWDEFY_BUILD_SKIP_PLUGIN_CHECKS === 'true',
55
56
  });
@@ -27,6 +27,7 @@ jest.unstable_mockModule('./createCustomPluginTypesMap.mjs', () => ({
27
27
  }));
28
28
 
29
29
  const savedSkip = process.env.LOWDEFY_BUILD_SKIP_PLUGIN_CHECKS;
30
+ const savedInstallFollows = process.env.LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS;
30
31
  let loadCount = 0;
31
32
 
32
33
  // build.mjs runs the build when imported, so each case loads a fresh module
@@ -39,6 +40,7 @@ async function runScript() {
39
40
 
40
41
  beforeEach(() => {
41
42
  delete process.env.LOWDEFY_BUILD_SKIP_PLUGIN_CHECKS;
43
+ delete process.env.LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS;
42
44
  mockBuild.mockReset();
43
45
  mockBuild.mockResolvedValue();
44
46
  });
@@ -49,6 +51,11 @@ afterAll(() => {
49
51
  } else {
50
52
  process.env.LOWDEFY_BUILD_SKIP_PLUGIN_CHECKS = savedSkip;
51
53
  }
54
+ if (savedInstallFollows === undefined) {
55
+ delete process.env.LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS;
56
+ } else {
57
+ process.env.LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS = savedInstallFollows;
58
+ }
52
59
  });
53
60
 
54
61
  test('build passes skipPluginChecks true when LOWDEFY_BUILD_SKIP_PLUGIN_CHECKS is true', async () => {
@@ -63,3 +70,16 @@ test('build passes skipPluginChecks false when LOWDEFY_BUILD_SKIP_PLUGIN_CHECKS
63
70
  expect(mockBuild).toHaveBeenCalledTimes(1);
64
71
  expect(mockBuild.mock.calls[0][0].skipPluginChecks).toBe(false);
65
72
  });
73
+
74
+ test('build passes pluginInstallFollows true when LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS is true', async () => {
75
+ process.env.LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS = 'true';
76
+ await runScript();
77
+ expect(mockBuild).toHaveBeenCalledTimes(1);
78
+ expect(mockBuild.mock.calls[0][0].pluginInstallFollows).toBe(true);
79
+ });
80
+
81
+ test('build passes pluginInstallFollows false when LOWDEFY_BUILD_PLUGIN_INSTALL_FOLLOWS is unset', async () => {
82
+ await runScript();
83
+ expect(mockBuild).toHaveBeenCalledTimes(1);
84
+ expect(mockBuild.mock.calls[0][0].pluginInstallFollows).toBe(false);
85
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server-e2e",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lowdefy e2e testing server with cookie-based user injection",
6
6
  "homepage": "https://lowdefy.com",
@@ -43,31 +43,31 @@
43
43
  "@ant-design/cssinjs": "2.1.2",
44
44
  "@ant-design/x": "2.9.0",
45
45
  "@hono/node-server": "2.0.10",
46
- "@lowdefy/actions-core": "7.0.0",
47
- "@lowdefy/api": "7.0.0",
48
- "@lowdefy/block-utils": "7.0.0",
49
- "@lowdefy/blocks-aggrid": "7.0.0",
50
- "@lowdefy/blocks-antd": "7.0.0",
51
- "@lowdefy/blocks-antd-x": "7.0.0",
52
- "@lowdefy/blocks-basic": "7.0.0",
53
- "@lowdefy/blocks-captcha": "7.0.0",
54
- "@lowdefy/blocks-echarts": "7.0.0",
55
- "@lowdefy/blocks-loaders": "7.0.0",
56
- "@lowdefy/blocks-markdown": "7.0.0",
57
- "@lowdefy/blocks-table": "7.0.0",
58
- "@lowdefy/blocks-tiptap": "7.0.0",
59
- "@lowdefy/client": "7.0.0",
60
- "@lowdefy/connection-axios-http": "7.0.0",
61
- "@lowdefy/connection-mongodb": "7.0.0",
62
- "@lowdefy/errors": "7.0.0",
63
- "@lowdefy/helpers": "7.0.0",
64
- "@lowdefy/layout": "7.0.0",
65
- "@lowdefy/logger": "7.0.0",
66
- "@lowdefy/node-utils": "7.0.0",
67
- "@lowdefy/operators-js": "7.0.0",
68
- "@lowdefy/operators-nunjucks": "7.0.0",
69
- "@lowdefy/operators-uuid": "7.0.0",
70
- "@lowdefy/websockets-core": "7.0.0",
46
+ "@lowdefy/actions-core": "7.1.0",
47
+ "@lowdefy/api": "7.1.0",
48
+ "@lowdefy/block-utils": "7.1.0",
49
+ "@lowdefy/blocks-aggrid": "7.1.0",
50
+ "@lowdefy/blocks-antd": "7.1.0",
51
+ "@lowdefy/blocks-antd-x": "7.1.0",
52
+ "@lowdefy/blocks-basic": "7.1.0",
53
+ "@lowdefy/blocks-captcha": "7.1.0",
54
+ "@lowdefy/blocks-echarts": "7.1.0",
55
+ "@lowdefy/blocks-loaders": "7.1.0",
56
+ "@lowdefy/blocks-markdown": "7.1.0",
57
+ "@lowdefy/blocks-table": "7.1.0",
58
+ "@lowdefy/blocks-tiptap": "7.1.0",
59
+ "@lowdefy/client": "7.1.0",
60
+ "@lowdefy/connection-axios-http": "7.1.0",
61
+ "@lowdefy/connection-mongodb": "7.1.0",
62
+ "@lowdefy/errors": "7.1.0",
63
+ "@lowdefy/helpers": "7.1.0",
64
+ "@lowdefy/layout": "7.1.0",
65
+ "@lowdefy/logger": "7.1.0",
66
+ "@lowdefy/node-utils": "7.1.0",
67
+ "@lowdefy/operators-js": "7.1.0",
68
+ "@lowdefy/operators-nunjucks": "7.1.0",
69
+ "@lowdefy/operators-uuid": "7.1.0",
70
+ "@lowdefy/websockets-core": "7.1.0",
71
71
  "@tailwindcss/postcss": "4.3.3",
72
72
  "@vitejs/plugin-react": "6.0.2",
73
73
  "antd": "6.6.5",
@@ -83,7 +83,7 @@
83
83
  },
84
84
  "devDependencies": {
85
85
  "@jest/globals": "28.1.3",
86
- "@lowdefy/build": "7.0.0",
86
+ "@lowdefy/build": "7.1.0",
87
87
  "@tailwindcss/postcss": "4.3.3",
88
88
  "jest": "28.1.3",
89
89
  "tailwindcss": "4.3.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server-e2e",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lowdefy e2e testing server with cookie-based user injection",
6
6
  "homepage": "https://lowdefy.com",
@@ -51,31 +51,31 @@
51
51
  "@ant-design/cssinjs": "2.1.2",
52
52
  "@ant-design/x": "2.9.0",
53
53
  "@hono/node-server": "2.0.10",
54
- "@lowdefy/actions-core": "7.0.0",
55
- "@lowdefy/api": "7.0.0",
56
- "@lowdefy/block-utils": "7.0.0",
57
- "@lowdefy/blocks-aggrid": "7.0.0",
58
- "@lowdefy/blocks-antd": "7.0.0",
59
- "@lowdefy/blocks-antd-x": "7.0.0",
60
- "@lowdefy/blocks-basic": "7.0.0",
61
- "@lowdefy/blocks-captcha": "7.0.0",
62
- "@lowdefy/blocks-echarts": "7.0.0",
63
- "@lowdefy/blocks-loaders": "7.0.0",
64
- "@lowdefy/blocks-markdown": "7.0.0",
65
- "@lowdefy/blocks-table": "7.0.0",
66
- "@lowdefy/blocks-tiptap": "7.0.0",
67
- "@lowdefy/client": "7.0.0",
68
- "@lowdefy/connection-axios-http": "7.0.0",
69
- "@lowdefy/connection-mongodb": "7.0.0",
70
- "@lowdefy/errors": "7.0.0",
71
- "@lowdefy/helpers": "7.0.0",
72
- "@lowdefy/layout": "7.0.0",
73
- "@lowdefy/logger": "7.0.0",
74
- "@lowdefy/node-utils": "7.0.0",
75
- "@lowdefy/operators-js": "7.0.0",
76
- "@lowdefy/operators-nunjucks": "7.0.0",
77
- "@lowdefy/operators-uuid": "7.0.0",
78
- "@lowdefy/websockets-core": "7.0.0",
54
+ "@lowdefy/actions-core": "7.1.0",
55
+ "@lowdefy/api": "7.1.0",
56
+ "@lowdefy/block-utils": "7.1.0",
57
+ "@lowdefy/blocks-aggrid": "7.1.0",
58
+ "@lowdefy/blocks-antd": "7.1.0",
59
+ "@lowdefy/blocks-antd-x": "7.1.0",
60
+ "@lowdefy/blocks-basic": "7.1.0",
61
+ "@lowdefy/blocks-captcha": "7.1.0",
62
+ "@lowdefy/blocks-echarts": "7.1.0",
63
+ "@lowdefy/blocks-loaders": "7.1.0",
64
+ "@lowdefy/blocks-markdown": "7.1.0",
65
+ "@lowdefy/blocks-table": "7.1.0",
66
+ "@lowdefy/blocks-tiptap": "7.1.0",
67
+ "@lowdefy/client": "7.1.0",
68
+ "@lowdefy/connection-axios-http": "7.1.0",
69
+ "@lowdefy/connection-mongodb": "7.1.0",
70
+ "@lowdefy/errors": "7.1.0",
71
+ "@lowdefy/helpers": "7.1.0",
72
+ "@lowdefy/layout": "7.1.0",
73
+ "@lowdefy/logger": "7.1.0",
74
+ "@lowdefy/node-utils": "7.1.0",
75
+ "@lowdefy/operators-js": "7.1.0",
76
+ "@lowdefy/operators-nunjucks": "7.1.0",
77
+ "@lowdefy/operators-uuid": "7.1.0",
78
+ "@lowdefy/websockets-core": "7.1.0",
79
79
  "@tailwindcss/postcss": "4.3.3",
80
80
  "@vitejs/plugin-react": "6.0.2",
81
81
  "antd": "6.6.5",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "devDependencies": {
93
93
  "@jest/globals": "28.1.3",
94
- "@lowdefy/build": "7.0.0",
94
+ "@lowdefy/build": "7.1.0",
95
95
  "@tailwindcss/postcss": "4.3.3",
96
96
  "jest": "28.1.3",
97
97
  "tailwindcss": "4.3.3",