datagrok-tools 4.13.64 → 4.13.66

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/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Datagrok-tools changelog
2
2
 
3
- ## 4.13.63 (2025-02-27)
3
+ ## 4.13.66 (2025-03-21)
4
+
5
+ ### Features
6
+
7
+ * Added js-flag to puppeteer options
8
+
9
+ ## 4.13.65 (2025-03-18)
10
+
11
+ ### Features
12
+
13
+ * Fixed func-gen-plugin for js packages
14
+
15
+ ## 4.13.64 (2025-02-27)
4
16
 
5
17
  ### Features
6
18
 
@@ -50,7 +50,7 @@ var grokDir = _path["default"].join(_os["default"].homedir(), '.grok');
50
50
  var confPath = _path["default"].join(grokDir, 'config.yaml');
51
51
  var testCollectionTimeout = 100000;
52
52
  var defaultLaunchParameters = exports.defaultLaunchParameters = {
53
- args: ['--disable-dev-shm-usage', '--disable-features=site-per-process', '--window-size=1920,1080'],
53
+ args: ['--disable-dev-shm-usage', '--disable-features=site-per-process', '--window-size=1920,1080', '--js-flags=--expose-gc'],
54
54
  ignoreHTTPSErrors: true,
55
55
  headless: 'new',
56
56
  protocolTimeout: 0
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.13.64",
3
+ "version": "4.13.66",
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": {
7
- "@babel/parser": "^7.23.6",
7
+ "@babel/parser": "^7.26.10",
8
8
  "@babel/runtime": "^7.23.8",
9
9
  "@babel/traverse": "^7.23.7",
10
10
  "archiver": "^4.0.2",
@@ -12,7 +12,9 @@ class FuncGeneratorPlugin {
12
12
 
13
13
  apply(compiler) {
14
14
  const srcDirPath = path.join(compiler.context, 'src');
15
- const packageFilePath = path.join(srcDirPath, 'package.ts');
15
+ let packageFilePath = path.join(srcDirPath, 'package.ts');
16
+ if(!fs.existsSync(packageFilePath))
17
+ packageFilePath = path.join(srcDirPath, 'package.js');
16
18
  const tsFiles = this._getTsFiles(srcDirPath);
17
19
  const genImports = [];
18
20
  const genExports = [];