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

View File

@@ -0,0 +1 @@
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=e(require("postcss-selector-parser"));const r=/:dir\([^)]*\)/;function o(e){const o=Object(e).dir,s=Boolean(Object(e).preserve),a=Boolean(Object(e).shadow);return{postcssPlugin:"postcss-dir-pseudo-class",Rule(e,{result:l}){let n,c=!1;if(r.test(e.selector)){try{n=t.default((r=>{r.nodes.forEach((r=>{r.walk((r=>{if("pseudo"!==r.type)return;if(":dir"!==r.value)return;const s=r.nodes.toString();if("rtl"!==s&&"ltr"!==s)return;const n=r.parent;n.nodes.filter((e=>"pseudo"===e.type&&":dir"===e.value)).length>1&&!c&&(c=!0,e.warn(l,`Hierarchical :dir pseudo class usage can't be transformed correctly to [dir] attributes. This will lead to incorrect selectors for "${e.selector}"`));const u=r.prev(),p=r.next(),d=u&&u.type&&"combinator"!==u.type,i=p&&p.type&&"combinator"!==p.type,f=p&&p.type&&("combinator"!==p.type||"combinator"===p.type&&" "===p.value);d||i||0===n.nodes.indexOf(r)&&f||1===n.nodes.length?r.remove():r.replaceWith(t.default.universal());const v=n.nodes[0],b=v&&"combinator"===v.type&&" "===v.value,y=v&&"tag"===v.type&&"html"===v.value,h=v&&"pseudo"===v.type&&":root"===v.value;!v||y||h||b||n.prepend(t.default.combinator({value:" "}));const m=o===s,g=t.default.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${s}"`}),w=t.default.pseudo({value:":host-context"});w.append(g);const j=t.default.pseudo({value:(y||h?"":"html")+":not"});j.append(t.default.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${"ltr"===s?"rtl":"ltr"}"`})),m?y?n.insertAfter(v,j):n.prepend(j):y?n.insertAfter(v,g):a&&!h?n.prepend(w):n.prepend(g)}))}))})).processSync(e.selector)}catch(t){return void e.warn(l,`Failed to parse selector : ${e.selector}`)}void 0!==n&&n!==e.selector&&(s?e.cloneBefore({selector:n}):e.selector=n)}}}}o.postcss=!0,module.exports=o;

View File

@@ -0,0 +1 @@
import e from"postcss-selector-parser";const t=/:dir\([^)]*\)/;function r(r){const o=Object(r).dir,s=Boolean(Object(r).preserve),n=Boolean(Object(r).shadow);return{postcssPlugin:"postcss-dir-pseudo-class",Rule(r,{result:a}){let l,c=!1;if(t.test(r.selector)){try{l=e((t=>{t.nodes.forEach((t=>{t.walk((t=>{if("pseudo"!==t.type)return;if(":dir"!==t.value)return;const s=t.nodes.toString();if("rtl"!==s&&"ltr"!==s)return;const l=t.parent;l.nodes.filter((e=>"pseudo"===e.type&&":dir"===e.value)).length>1&&!c&&(c=!0,r.warn(a,`Hierarchical :dir pseudo class usage can't be transformed correctly to [dir] attributes. This will lead to incorrect selectors for "${r.selector}"`));const p=t.prev(),i=t.next(),u=p&&p.type&&"combinator"!==p.type,d=i&&i.type&&"combinator"!==i.type,v=i&&i.type&&("combinator"!==i.type||"combinator"===i.type&&" "===i.value);u||d||0===l.nodes.indexOf(t)&&v||1===l.nodes.length?t.remove():t.replaceWith(e.universal());const b=l.nodes[0],f=b&&"combinator"===b.type&&" "===b.value,y=b&&"tag"===b.type&&"html"===b.value,m=b&&"pseudo"===b.type&&":root"===b.value;!b||y||m||f||l.prepend(e.combinator({value:" "}));const h=o===s,g=e.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${s}"`}),w=e.pseudo({value:":host-context"});w.append(g);const x=e.pseudo({value:(y||m?"":"html")+":not"});x.append(e.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${"ltr"===s?"rtl":"ltr"}"`})),h?y?l.insertAfter(b,x):l.prepend(x):y?l.insertAfter(b,g):n&&!m?l.prepend(w):l.prepend(g)}))}))})).processSync(r.selector)}catch(e){return void r.warn(a,`Failed to parse selector : ${r.selector}`)}void 0!==l&&l!==r.selector&&(s?r.cloneBefore({selector:l}):r.selector=l)}}}}r.postcss=!0;export{r as default};