Skip to content

Commit

Permalink
Merge pull request #7 from ethereum-optimism/toml-parser-napi
Browse files Browse the repository at this point in the history
Adds toml-parser with napi bindings
  • Loading branch information
nitaliano authored Nov 20, 2024
2 parents ea8f476 + 137dde0 commit e8d2695
Show file tree
Hide file tree
Showing 13 changed files with 444 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ packages/*/.env
/coverage

# build artifacts
**/target/
**/build/
**/dist/
**/tsconfig.tsbuildinfo
Expand Down
10 changes: 10 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"neverConnectToCloud": true,
"targetDefaults": {
"build": {
"cache": true,
"dependsOn": ["^build"]
}
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"ink": "^5.0.1",
"pastel": "^3.0.0",
"react": "^18.2.0",
"toml-parser": "workspace:*",
"viem": "^2.21.41",
"zod": "^3.21.4",
"zod-validation-error": "^3.4.0",
Expand All @@ -36,7 +37,6 @@
"@types/node": "^22.9.0",
"@types/react": "^18.0.32",
"@vdemedes/prettier-config": "^2.0.1",
"esbuild-plugin-wasm": "^1.1.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
"noEmitOnError": true
},
"include": ["src"]
}
}
3 changes: 0 additions & 3 deletions packages/cli/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* eslint-disable no-console */
import { defineConfig } from 'tsup'
import { wasmLoader } from 'esbuild-plugin-wasm'

const wasmPlugin = wasmLoader({ mode: 'embedded' })

export default defineConfig({
name: 'super',
Expand All @@ -12,5 +10,4 @@ export default defineConfig({
splitting: false,
sourcemap: true,
clean: true,
esbuildPlugins: [wasmPlugin],
})
2 changes: 2 additions & 0 deletions packages/toml-parser/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
index.node
index.d.ts
326 changes: 326 additions & 0 deletions packages/toml-parser/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e8d2695

Please sign in to comment.