datagrok-tools 4.14.63 → 4.14.64
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/utils/test-utils.js +5 -6
- package/package.json +3 -2
package/bin/utils/test-utils.js
CHANGED
|
@@ -184,10 +184,10 @@ const recorderConfig = exports.recorderConfig = {
|
|
|
184
184
|
async function loadPackages(packagesDir, packagesToLoad, host, skipPublish, skipBuild, linkPackage, release) {
|
|
185
185
|
const packagesToRun = new Map();
|
|
186
186
|
const hostString = host === undefined ? `` : `${host}`;
|
|
187
|
-
if (packagesToLoad !== 'all') {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
if (packagesToLoad && packagesToLoad !== 'all') {
|
|
188
|
+
const packageNames = packagesToLoad.split(' ').map(p => p.trim()).filter(p => p.length > 0);
|
|
189
|
+
if (skipPublish && skipBuild && !linkPackage) return packageNames;
|
|
190
|
+
for (const name of packageNames) packagesToRun.set((0, _utils.spaceToCamelCase)(name).toLowerCase(), false);
|
|
191
191
|
}
|
|
192
192
|
for (const dirName of _fs.default.readdirSync(packagesDir)) {
|
|
193
193
|
const packageDir = _path.default.join(packagesDir, dirName);
|
|
@@ -218,8 +218,7 @@ async function loadPackages(packagesDir, packagesToLoad, host, skipPublish, skip
|
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
console.log();
|
|
221
|
-
return Array.from(packagesToRun).filter(([
|
|
222
|
-
;
|
|
221
|
+
return Array.from(packagesToRun).filter(([_, value]) => value).map(([key, _]) => key);
|
|
223
222
|
}
|
|
224
223
|
async function loadTestsList(packages, core = false) {
|
|
225
224
|
const packageTestsData = await timeout(async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datagrok-tools",
|
|
3
|
-
"version": "4.14.
|
|
3
|
+
"version": "4.14.64",
|
|
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": {
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"link": "npm link",
|
|
32
32
|
"prepublishOnly": "babel bin --extensions .ts -d bin",
|
|
33
33
|
"babel": "babel bin --extensions .ts -d bin",
|
|
34
|
-
"build": "babel bin --extensions .ts -d bin"
|
|
34
|
+
"build": "babel bin --extensions .ts -d bin",
|
|
35
|
+
"debug-source-map": "babel bin --extensions .ts -d bin --source-maps true"
|
|
35
36
|
},
|
|
36
37
|
"bin": {
|
|
37
38
|
"datagrok-upload": "./bin/_deprecated/upload.js",
|