@nocobase/cli 0.21.0-alpha.15 → 0.21.0-alpha.16

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/nocobase.conf.tpl CHANGED
@@ -50,6 +50,7 @@ server {
50
50
  proxy_set_header Upgrade $http_upgrade;
51
51
  proxy_set_header Connection 'upgrade';
52
52
  proxy_set_header Host $host;
53
+ add_header Cache-Control 'no-cache, no-store';
53
54
  proxy_cache_bypass $http_upgrade;
54
55
  proxy_connect_timeout 600;
55
56
  proxy_send_timeout 600;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli",
3
- "version": "0.21.0-alpha.15",
3
+ "version": "0.21.0-alpha.16",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./src/index.js",
@@ -8,7 +8,7 @@
8
8
  "nocobase": "./bin/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@nocobase/app": "0.21.0-alpha.15",
11
+ "@nocobase/app": "0.21.0-alpha.16",
12
12
  "@types/fs-extra": "^11.0.1",
13
13
  "@umijs/utils": "3.5.20",
14
14
  "chalk": "^4.1.1",
@@ -25,12 +25,12 @@
25
25
  "tsx": "^4.6.2"
26
26
  },
27
27
  "devDependencies": {
28
- "@nocobase/devtools": "0.21.0-alpha.15"
28
+ "@nocobase/devtools": "0.21.0-alpha.16"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "git+https://github.com/nocobase/nocobase.git",
33
33
  "directory": "packages/core/cli"
34
34
  },
35
- "gitHead": "155a252452eba37d8047d7f4a1c3fb518679abf0"
35
+ "gitHead": "2914500f14e4454cc5702a49371230865660ca33"
36
36
  }
@@ -26,6 +26,7 @@ module.exports = (cli) => {
26
26
  if (options.watch) return;
27
27
  }
28
28
  process.env['VITE_CJS_IGNORE_WARNING'] = 'true';
29
+ process.env.APP_ENV = 'production';
29
30
 
30
31
  await run('nocobase-build', [
31
32
  ...pkgs,
package/src/util.js CHANGED
@@ -217,6 +217,7 @@ exports.genTsConfigPaths = function genTsConfigPaths() {
217
217
  if (packageJsonName === '@nocobase/test') {
218
218
  paths[`${packageJsonName}/server`] = [`${relativePath}/src/server`];
219
219
  paths[`${packageJsonName}/e2e`] = [`${relativePath}/src/e2e`];
220
+ paths[`${packageJsonName}/web`] = [`${relativePath}/src/web`];
220
221
  }
221
222
  if (packageJsonName === '@nocobase/plugin-workflow-test') {
222
223
  paths[`${packageJsonName}/e2e`] = [`${relativePath}/src/e2e`];