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

71
node_modules/postcss-normalize-display-values/src/index.js generated vendored Executable file
View File

@@ -0,0 +1,71 @@
'use strict';
const valueParser = require('postcss-value-parser');
const mappings = require('./lib/map.js');
/**
* @param {string} value
* @return {string}
*/
function transform(value) {
const { nodes } = valueParser(value);
if (nodes.length === 1) {
return value;
}
const values = nodes
.filter((list, index) => index % 2 === 0)
.filter((node) => node.type === 'word')
.map((n) => n.value.toLowerCase());
if (values.length === 0) {
return value;
}
const match = mappings.get(values.toString());
if (!match) {
return value;
}
return match;
}
/**
* @type {import('postcss').PluginCreator<void>}
* @return {import('postcss').Plugin}
*/
function pluginCreator() {
return {
postcssPlugin: 'postcss-normalize-display-values',
prepare() {
const cache = new Map();
return {
OnceExit(css) {
css.walkDecls(/^display$/i, (decl) => {
const value = decl.value;
if (!value) {
return;
}
if (cache.has(value)) {
decl.value = cache.get(value);
return;
}
const result = transform(value);
decl.value = result;
cache.set(value, result);
});
},
};
},
};
}
pluginCreator.postcss = true;
module.exports = pluginCreator;