fix: keep only source-map extracted node_modules, exclude pnpm artifacts
Restore node_modules to exact state from cli.js.map extraction: - Move .ignored/ and .ignored_* files back to original package paths - Remove pnpm symlinks (replaced by real source-map directories) - Update .gitignore: only exclude /dist/, .pnpm/, .bin/, .ignored* dirs - All package dist/ folders are now preserved as part of source-map files After clone, run `pnpm install` to get pnpm-managed symlinks for building. The committed node_modules contains the original TypeScript/JS source files as bundled in cli.js.
This commit is contained in:
7
claude-code-source/node_modules/ajv/dist/runtime/equal.js
generated
vendored
Normal file
7
claude-code-source/node_modules/ajv/dist/runtime/equal.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
// https://github.com/ajv-validator/ajv/issues/889
|
||||
const equal = require("fast-deep-equal");
|
||||
equal.code = 'require("ajv/dist/runtime/equal").default';
|
||||
exports.default = equal;
|
||||
//# sourceMappingURL=equal.js.map
|
||||
24
claude-code-source/node_modules/ajv/dist/runtime/ucs2length.js
generated
vendored
Normal file
24
claude-code-source/node_modules/ajv/dist/runtime/ucs2length.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
// https://mathiasbynens.be/notes/javascript-encoding
|
||||
// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
|
||||
function ucs2length(str) {
|
||||
const len = str.length;
|
||||
let length = 0;
|
||||
let pos = 0;
|
||||
let value;
|
||||
while (pos < len) {
|
||||
length++;
|
||||
value = str.charCodeAt(pos++);
|
||||
if (value >= 0xd800 && value <= 0xdbff && pos < len) {
|
||||
// high surrogate, and there is a next character
|
||||
value = str.charCodeAt(pos);
|
||||
if ((value & 0xfc00) === 0xdc00)
|
||||
pos++; // low surrogate
|
||||
}
|
||||
}
|
||||
return length;
|
||||
}
|
||||
exports.default = ucs2length;
|
||||
ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
||||
//# sourceMappingURL=ucs2length.js.map
|
||||
6
claude-code-source/node_modules/ajv/dist/runtime/uri.js
generated
vendored
Normal file
6
claude-code-source/node_modules/ajv/dist/runtime/uri.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const uri = require("fast-uri");
|
||||
uri.code = 'require("ajv/dist/runtime/uri").default';
|
||||
exports.default = uri;
|
||||
//# sourceMappingURL=uri.js.map
|
||||
11
claude-code-source/node_modules/ajv/dist/runtime/validation_error.js
generated
vendored
Normal file
11
claude-code-source/node_modules/ajv/dist/runtime/validation_error.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class ValidationError extends Error {
|
||||
constructor(errors) {
|
||||
super("validation failed");
|
||||
this.errors = errors;
|
||||
this.ajv = this.validation = true;
|
||||
}
|
||||
}
|
||||
exports.default = ValidationError;
|
||||
//# sourceMappingURL=validation_error.js.map
|
||||
Reference in New Issue
Block a user