owl-cli 6.83.0 → 6.85.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/bin/owl.js CHANGED
@@ -92,7 +92,7 @@ function processOwl(owl, outdir, templatePath, buildType, inputFile) {
92
92
  }
93
93
 
94
94
  // 处理templatePath里面的每一个文件
95
- var fullTemplatePath = resolve(cwd, templatePath)
95
+ var fullTemplatePath = templatePath;
96
96
  readdirSync(fullTemplatePath).map(name => {
97
97
  if (name === 'node_modules') {
98
98
  return
@@ -259,9 +259,9 @@ var outPath = owlconfig.generatedApps
259
259
  var templatePath = owlconfig.templates
260
260
  var buildType = owlconfig.buildType;
261
261
  var project = owlconfig.project;
262
- buildProperties = owlconfig.buildProperties
263
- libpath = owlconfig.libpath
264
-
262
+ buildProperties = resolve(cwd,owlconfig.buildProperties);
263
+ libpath = resolve(cwd,owlconfig.libpath);
264
+ templatePath = resolve(cwd, templatePath);
265
265
  var fulloutPath = resolve(cwd,outPath);
266
266
 
267
267
  mkdir(fulloutPath);
@@ -138,12 +138,10 @@ function buildSort(sort){
138
138
  return filters;
139
139
  }
140
140
 
141
-
141
+ var filters = getFilters();
142
142
  var meta = spec['#meta'];
143
143
  var isPublic = meta && meta.isPublic;
144
144
  if(!isPublic && orgId && orgId!=='0') {
145
- var filters = getFilters();
146
-
147
145
  var permissionFilter = getListPermissionFilter(tableId, roleId, orgId, loginId, permissions);
148
146
 
149
147
  if (permissionFilter) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.83.0",
3
+ "version": "6.85.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {