datagrok-tools 4.12.13 → 4.12.14

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.
@@ -426,18 +426,18 @@ function checkChangelog(packagePath, json) {
426
426
  encoding: 'utf-8'
427
427
  });
428
428
  } catch (e) {
429
- return ['CHANGELOG.md file does not exist'];
429
+ return ['CHANGELOG.md file does not exist\n'];
430
430
  }
431
431
  var regex = /^##[^#].*$/gm;
432
432
  var h2 = clf.match(regex);
433
- if (!h2) return ['No versions found in CHANGELOG.md'];
433
+ if (!h2) return ['No versions found in CHANGELOG.md\n'];
434
434
  regex = /^## \d+\.\d+\.\d+ \((\d{4}-\d{2}-\d{2}|WIP)\)$/;
435
435
  var _iterator7 = _createForOfIteratorHelper(h2),
436
436
  _step7;
437
437
  try {
438
438
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
439
439
  var h = _step7.value;
440
- if (!regex.test(h)) warnings.push("CHANGELOG: '".concat(h, "' does not match the h2 format, expected: ## <version> (<release date> | WIP)"));
440
+ if (!regex.test(h)) warnings.push("CHANGELOG: '".concat(h, "' does not match the h2 format, expected: ## <version> (<release date> | WIP)\n"));
441
441
  }
442
442
  } catch (err) {
443
443
  _iterator7.e(err);
@@ -447,7 +447,7 @@ function checkChangelog(packagePath, json) {
447
447
  regex = /^## (\d+\.\d+\.\d+)/;
448
448
  var v1 = (_h2$0$match = h2[0].match(regex)) === null || _h2$0$match === void 0 ? void 0 : _h2$0$match[1];
449
449
  var v2 = (_h2$ = h2[1]) === null || _h2$ === void 0 ? void 0 : (_h2$$match = _h2$.match(regex)) === null || _h2$$match === void 0 ? void 0 : _h2$$match[1];
450
- if (v1 !== json.version && v2 !== json.version) warnings.push("Latest package version (".concat(json.version, ") is not in CHANGELOG"));
450
+ if (v1 !== json.version && v2 !== json.version) warnings.push("Latest package version (".concat(json.version, ") is not in CHANGELOG\n"));
451
451
  return warnings;
452
452
  }
453
453
  function warn(warnings) {
@@ -205,9 +205,8 @@ function test(args) {
205
205
  failReport += "Test result : Failed : ".concat(cTime.get(i), " : ").concat(targetPackage, ".").concat(cCat.get(i), ".").concat(cName.get(i), " : ").concat(cMessage.get(i), "\n");
206
206
  }
207
207
  }
208
- if (!options.verbose) df.rows.removeWhere(function (r) {
209
- return r.get('success');
210
- });
208
+ // if (!options.verbose)
209
+ // df.rows.removeWhere((r: any) => r.get('success'));
211
210
  var csv = df.toCsv();
212
211
  resolve({
213
212
  failReport: failReport,
@@ -189,7 +189,7 @@ exports.queryExtension = queryExtension;
189
189
  var scriptExtensions = ['.jl', '.m', '.py', '.R'];
190
190
  exports.scriptExtensions = scriptExtensions;
191
191
  function checkScriptLocation(filepath) {
192
- if (!(filepath.startsWith('scripts/') || filepath.startsWith('projects/')) && scriptExtensions.some(function (ext) {
192
+ if (!(filepath.startsWith('scripts/') || filepath.startsWith('projects/') || filepath.startsWith('dockerfiles/')) && scriptExtensions.some(function (ext) {
193
193
  return filepath.endsWith(ext);
194
194
  })) {
195
195
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.12.13",
3
+ "version": "4.12.14",
4
4
  "description": "Utility to upload and publish packages to Datagrok",
5
5
  "homepage": "https://github.com/datagrok-ai/public/tree/master/tools#readme",
6
6
  "dependencies": {