mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
feat(engine262): add verify-ask262 script and relocate verify‑ask262‑debug
- Moved `verify-ask262-debug.mts` from `scripts` to `lib-src/node`. - Updated import to use `#self` alias. - Added npm script `verify-ask262` to run the verification script. - Adjusted `scripts/tsconfig.json` to include the new file location.
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
import {
|
||||
ask262Debug, Agent, ManagedRealm, setSurroundingAgent,
|
||||
OrdinaryObjectCreate, CreateBuiltinFunction, CreateDataProperty, Value, skipDebugger,
|
||||
} from '../lib/engine262';
|
||||
} from '#self';
|
||||
|
||||
console.log('=== ask262Debug Verification ===\n');
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types ./lib-src/node/bin.mts",
|
||||
"verify-ask262": "node --enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types ./lib-src/node/verify-ask262-debug.mts",
|
||||
"inspector": "node ./website/server.mjs -c-1",
|
||||
"lint": "cross-env NODE_OPTIONS=\"--enable-source-maps --disable-warning=ExperimentalWarning --experimental-strip-types\" eslint test/ src/ bin/ lib-src/ scripts/ --cache --ext=js,mjs,mts",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "../tsconfig.base.json",
|
||||
"include": ["."],
|
||||
"include": [".", "../lib-src/node/verify-ask262-debug.mts"],
|
||||
"compilerOptions": {
|
||||
"noEmit": true,
|
||||
"erasableSyntaxOnly": true,
|
||||
|
||||
Reference in New Issue
Block a user