datagrok-tools 4.14.10 → 4.14.12

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.
@@ -63,6 +63,7 @@ function generateScriptWrappers() {
63
63
  }
64
64
  const wrappers = [];
65
65
  for (let dir of [scriptsDir, pythonDir]) {
66
+ if (!_fs.default.existsSync(dir)) continue;
66
67
  const files = _ignoreWalk.default.sync({
67
68
  path: dir,
68
69
  ignoreFiles: ['.npmignore', '.gitignore']
@@ -103,7 +103,7 @@ const replacers = exports.replacers = {
103
103
  NAME_LOWERCASE: (s, name) => s.replace(/#{NAME_LOWERCASE}/g, name.toLowerCase()),
104
104
  NAME_PREFIX: (s, name) => s.replace(/#{NAME_PREFIX}/g, name.slice(0, 3)),
105
105
  PACKAGE_DETECTORS_NAME: (s, name) => s.replace(/#{PACKAGE_DETECTORS_NAME}/g, kebabToCamelCase(name)),
106
- PACKAGE_NAMESPACE: (s, name) => s.replace(/#{PACKAGE_NAMESPACE}/g, kebabToCamelCase(removeScope(name))),
106
+ PACKAGE_NAMESPACE: (s, name) => s.replace(/#{PACKAGE_NAMESPACE}/g, name),
107
107
  FUNC_DESCRIPTION: (s, desc) => s.replace(/#{FUNC_DESCRIPTION}/g, descriptionToComment(desc)),
108
108
  FUNC_NAME: (s, name) => s.replace(/#{FUNC_NAME}/g, friendlyNameToName(name)),
109
109
  FUNC_NAME_LOWERCASE: (s, name) => s.replace(/#{FUNC_NAME_LOWERCASE}/g, friendlyNameToName(name, false)),
@@ -27,3 +27,5 @@ dist/
27
27
  .idea/**/dictionaries
28
28
  .idea/**/shelf
29
29
  .idea/codeStyles/
30
+
31
+ **/*.d.ts
@@ -24,3 +24,7 @@ node_modules/
24
24
  .idea/**/dictionaries
25
25
  .idea/**/shelf
26
26
  .idea/codeStyles/
27
+
28
+
29
+ **/*.d.ts
30
+ !src/package-api.d.ts
@@ -10,7 +10,7 @@
10
10
  "@datagrok-libraries/utils": "^4.5.7"
11
11
  },
12
12
  "devDependencies": {
13
- "datagrok-tools": "latest",
13
+ "datagrok-tools": "^4.14.10",
14
14
  "webpack": "^5.95.0",
15
15
  "webpack-cli": "^5.1.4"
16
16
  },
@@ -19,7 +19,7 @@
19
19
  "debug-#{PACKAGE_NAME_LOWERCASE}": "webpack && grok publish",
20
20
  "release-#{PACKAGE_NAME_LOWERCASE}": "webpack && grok publish --release",
21
21
  "build-#{PACKAGE_NAME_LOWERCASE}": "webpack",
22
- "build": "webpack"
22
+ "build": "grok api && grok check && webpack"
23
23
  },
24
24
  "canEdit": [
25
25
  "Developers"
@@ -66,6 +66,7 @@
66
66
 
67
67
  /* Advanced Options */
68
68
  "skipLibCheck": true, /* Skip type checking of declaration files. */
69
- "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
69
+ "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
70
+ "declaration": true
70
71
  }
71
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.14.10",
3
+ "version": "4.14.12",
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": {
@@ -13,6 +13,7 @@
13
13
  "archiver-promise": "^1.0.0",
14
14
  "estraverse": "^5.3.0",
15
15
  "fs": "^0.0.1-security",
16
+ "glob": "^11.0.2",
16
17
  "ignore-walk": "^3.0.4",
17
18
  "inquirer": "^7.3.3",
18
19
  "js-yaml": "^4.1.0",