Started working on JS docs.

This commit is contained in:
Joshua Bemenderfer
2023-02-14 22:24:59 -05:00
parent 91ca89f158
commit 4156e3bf91
24 changed files with 364 additions and 69 deletions

View File

@@ -1,8 +1,8 @@
import { expect } from 'chai'
import fs from 'node:fs/promises'
import { execSync } from 'node:child_process'
import { useDocument } from '@terrace/js'
import { createFileReader } from '@terrace/js/readers/node-readline'
import { useDocument } from '@terrace-lang/js'
import { createFileReader } from '@terrace-lang/js/readers/node-readline'
export async function loadTestMap(path) {
const { next, level, head, tail, line, match } = useDocument(createFileReader(path))

View File

@@ -1,12 +1,12 @@
{
"name": "@terrace/test",
"name": "@terrace-lang/test",
"type": "module",
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest"
},
"dependencies": {
"@terrace/js": "workspace:*",
"@terrace/c": "workspace:*",
"@terrace/python": "workspace:*"
"@terrace-lang/js": "workspace:*",
"@terrace-lang/c": "workspace:*",
"@terrace-lang/python": "workspace:*"
}
}