Skip to content

Commit

Permalink
updated jsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jun 21, 2024
1 parent 9202c50 commit 2ab5b93
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 20 deletions.
1 change: 0 additions & 1 deletion demo/genaisrc/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion docs/genaisrc/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion genaisrc/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/core/bundleprompts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const promptDefs = {
target: "ES2022",
module: "ES2022",
moduleDetection: "force",
moduleResolution: "node",
checkJs: true,
allowJs: true,
skipLibCheck: true,
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/genaisrc/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
8 changes: 3 additions & 5 deletions packages/sample/genaisrc/csv.genai.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { tidy, sliceHead } from "@tidyjs/tidy"
import * as ini from "ini"

script({
files: "src/penguins.csv",
Expand All @@ -11,9 +11,11 @@ def("DATA", env.files, { sliceHead: 3 })
def("DATA", env.files, { sliceTail: 3 })

const csv = env.files[0].content
const inirows = ini.parse(csv)
const rows = CSV.parse(csv)
const prows = parsers.CSV(csv)
if (JSON.stringify(rows) !== JSON.stringify(prows)) throw new Error("csv error")
if (JSON.stringify(rows) !== JSON.stringify(inirows)) throw new Error("csv error")

const srows = CSV.parse(
`A|1
Expand All @@ -30,8 +32,4 @@ if (
)
throw new Error("csv error")

tidy(srows, sliceHead(1))
if (JSON.stringify(srows) === JSON.stringify([{ name: "A", value: 1 }]))
throw new Error("csv error")

$`Describe the data in DATA.`
1 change: 0 additions & 1 deletion packages/sample/genaisrc/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/genaisrc/node/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/genaisrc/python/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/genaisrc/style/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/src/aici/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/src/errors/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/src/makecode/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/src/tla/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion packages/sample/src/vision/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down
1 change: 0 additions & 1 deletion slides/genaisrc/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"target": "ES2022",
"module": "ES2022",
"moduleDetection": "force",
"moduleResolution": "node",
"checkJs": true,
"allowJs": true,
"skipLibCheck": true
Expand Down

0 comments on commit 2ab5b93

Please sign in to comment.