Fix bin/publish: copy docs.dist from project root

Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-21 02:08:33 +00:00
commit f6fac6c4bc
79758 changed files with 10547827 additions and 0 deletions

27
node_modules/collect.js/src/helpers/clone.js generated vendored Executable file
View File

@@ -0,0 +1,27 @@
'use strict';
/**
* Clone helper
*
* Clone an array or object
*
* @param items
* @returns {*}
*/
module.exports = function clone(items) {
let cloned;
if (Array.isArray(items)) {
cloned = [];
cloned.push(...items);
} else {
cloned = {};
Object.keys(items).forEach((prop) => {
cloned[prop] = items[prop];
});
}
return cloned;
};

19
node_modules/collect.js/src/helpers/deleteKeys.js generated vendored Executable file
View File

@@ -0,0 +1,19 @@
'use strict';
const variadic = require('./variadic');
/**
* Delete keys helper
*
* Delete one or multiple keys from an object
*
* @param obj
* @param keys
* @returns {void}
*/
module.exports = function deleteKeys(obj, ...keys) {
variadic(keys).forEach((key) => {
// eslint-disable-next-line
delete obj[key];
});
};

18
node_modules/collect.js/src/helpers/is.js generated vendored Executable file
View File

@@ -0,0 +1,18 @@
'use strict';
module.exports = {
/**
* @returns {boolean}
*/
isArray: item => Array.isArray(item),
/**
* @returns {boolean}
*/
isObject: item => typeof item === 'object' && Array.isArray(item) === false && item !== null,
/**
* @returns {boolean}
*/
isFunction: item => typeof item === 'function',
};

17
node_modules/collect.js/src/helpers/nestedValue.js generated vendored Executable file
View File

@@ -0,0 +1,17 @@
'use strict';
/**
* Get value of a nested property
*
* @param mainObject
* @param key
* @returns {*}
*/
module.exports = function nestedValue(mainObject, key) {
try {
return key.split('.').reduce((obj, property) => obj[property], mainObject);
} catch (err) {
// If we end up here, we're not working with an object, and @var mainObject is the value itself
return mainObject;
}
};

23
node_modules/collect.js/src/helpers/values.js generated vendored Executable file
View File

@@ -0,0 +1,23 @@
'use strict';
/**
* Values helper
*
* Retrieve values from [this.items] when it is an array, object or Collection
*
* @param items
* @returns {*}
*/
module.exports = function values(items) {
const valuesArray = [];
if (Array.isArray(items)) {
valuesArray.push(...items);
} else if (items.constructor.name === 'Collection') {
valuesArray.push(...items.all());
} else {
Object.keys(items).forEach(prop => valuesArray.push(items[prop]));
}
return valuesArray;
};

15
node_modules/collect.js/src/helpers/variadic.js generated vendored Executable file
View File

@@ -0,0 +1,15 @@
'use strict';
/**
* Variadic helper function
*
* @param args
* @returns {Array}
*/
module.exports = function variadic(args) {
if (Array.isArray(args[0])) {
return args[0];
}
return args;
};