feat: Add Be and tbd skill, also added Roadmap file

This commit is contained in:
2026-05-10 16:32:12 -04:00
parent 3500ade13f
commit 0bb8885802
29587 changed files with 10611695 additions and 0 deletions

33
Skills/@be/node_modules/es3ify/spec/es3ifyspec.js generated vendored Normal file
View File

@@ -0,0 +1,33 @@
var transform = require('../index.js').transform;
describe('es3ify', function() {
it('should quote property keys', function() {
expect(transform('x = {dynamic: 0, static: 17};'))
.toEqual('x = {dynamic: 0, "static": 17};');
});
it('should quote member properties', function() {
expect(transform('x.dynamic++; x.static++;'))
.toEqual('x.dynamic++; x["static"]++;');
});
it('should remove trailing commas in arrays', function() {
expect(transform('[2, 3, 4,]'))
.toEqual('[2, 3, 4]');
});
it('should keep comments near a trailing comma', function() {
expect(transform('[2, 3, 4 /* = 2^2 */,// = 6 - 2\n]'))
.toEqual('[2, 3, 4 /* = 2^2 */// = 6 - 2\n]');
});
it('should remove trailing commas in objects', function() {
expect(transform('({x: 3, y: 4,})'))
.toEqual('({x: 3, y: 4})');
});
it('should transform everything at once', function() {
expect(transform('({a:2,\tfor :[2,,3,],}\n.class)'))
.toEqual('({a:2,\t"for" :[2,,3]}[\n"class"])');
});
});