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

63
node_modules/php-parser/src/lexer/comments.js generated vendored Executable file
View File

@@ -0,0 +1,63 @@
/**
* Copyright (C) 2018 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
"use strict";
module.exports = {
/*
* Reads a single line comment
*/
T_COMMENT() {
while (this.offset < this.size) {
const ch = this.input();
if (ch === "\n" || ch === "\r") {
return this.tok.T_COMMENT;
} else if (
ch === "?" &&
!this.aspTagMode &&
this._input[this.offset] === ">"
) {
this.unput(1);
return this.tok.T_COMMENT;
} else if (
ch === "%" &&
this.aspTagMode &&
this._input[this.offset] === ">"
) {
this.unput(1);
return this.tok.T_COMMENT;
}
}
return this.tok.T_COMMENT;
},
/*
* Behaviour : https://github.com/php/php-src/blob/master/Zend/zend_language_scanner.l#L1927
*/
T_DOC_COMMENT() {
let ch = this.input();
let token = this.tok.T_COMMENT;
if (ch === "*") {
// started with '/*' , check is next is '*'
ch = this.input();
if (this.is_WHITESPACE()) {
// check if next is WHITESPACE
token = this.tok.T_DOC_COMMENT;
}
if (ch === "/") {
return token;
} else {
this.unput(1); // reset
}
}
while (this.offset < this.size) {
ch = this.input();
if (ch === "*" && this._input[this.offset] === "/") {
this.input();
break;
}
}
return token;
},
};