owl-cli 6.84.0 → 6.86.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);
@@ -24,6 +24,13 @@
24
24
  "type": "double"
25
25
  }
26
26
  }
27
+ },{
28
+ "geo_point": {
29
+ "match": "*_geo_point",
30
+ "mapping": {
31
+ "type": "geo_point"
32
+ }
33
+ }
27
34
  }
28
35
  ],
29
36
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.84.0",
3
+ "version": "6.86.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {