mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 00:20:45 +00:00
refactor: Move parsely into top-level packages directory
Parsely was missed by fa7bec3854 because
it got merged afterwards.
This commit is contained in:
Generated
+8
@@ -707,6 +707,10 @@
|
||||
"form-data": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@heyputer/parsely": {
|
||||
"resolved": "packages/parsely",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@heyputer/phoenix": {
|
||||
"resolved": "packages/phoenix",
|
||||
"link": true
|
||||
@@ -12205,6 +12209,10 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"packages/parsely": {
|
||||
"version": "1.0.0",
|
||||
"license": "AGPL-3.0-only"
|
||||
},
|
||||
"packages/phoenix": {
|
||||
"name": "@heyputer/phoenix",
|
||||
"version": "0.0.0",
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "@heyputer/parsely",
|
||||
"version": "1.0.0",
|
||||
"author": "Puter Technologies Inc.",
|
||||
"license": "AGPL-3.0-only",
|
||||
"main": "exports.js",
|
||||
"type": "module"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import { GrammarContext, standard_parsers } from '../../../packages/parsely/exports.js';
|
||||
import { Parser, UNRECOGNIZED, VALUE } from '../../../packages/parsely/parser.js';
|
||||
import { StringStream } from '../../../packages/parsely/streams.js';
|
||||
import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js';
|
||||
import { Parser, UNRECOGNIZED, VALUE } from '@heyputer/parsely/parser.js';
|
||||
import { StringStream } from '@heyputer/parsely/streams.js';
|
||||
|
||||
class NumberParser extends Parser {
|
||||
static data = {
|
||||
|
||||
@@ -39,9 +39,9 @@ import {
|
||||
ZapCommand,
|
||||
} from './command.js';
|
||||
import { Script } from './script.js';
|
||||
import { GrammarContext, standard_parsers } from '../../../../packages/parsely/exports.js';
|
||||
import { StringStream } from '../../../../packages/parsely/streams.js';
|
||||
import { INVALID, Parser, UNRECOGNIZED, VALUE } from '../../../../packages/parsely/parser.js';
|
||||
import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js';
|
||||
import { StringStream } from '@heyputer/parsely/streams.js';
|
||||
import { Parser, UNRECOGNIZED, VALUE } from '@heyputer/parsely/parser.js';
|
||||
|
||||
/**
|
||||
* A slight hack: Parsely doesn't yet have an equivalent of backreferences.
|
||||
|
||||
Reference in New Issue
Block a user