Skip to content

Commit

Permalink
Merge pull request #7 from pawanpaudel93/feat/sqlite-support
Browse files Browse the repository at this point in the history
feat: Add sqlite support
  • Loading branch information
pawanpaudel93 committed Aug 7, 2024
2 parents d9ae89e + e2d8ad3 commit df0d795
Show file tree
Hide file tree
Showing 12 changed files with 793 additions and 443 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,
"eslint.useFlatConfig": true,
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ Options:
-p, --process-id [processId] Specify process Id of existing process.
--build-only Bundle the contract into a single file and store it in the process-dist directory.
--out-dir [outDir] Used with --build-only to output the single bundle contract file to a specified directory.
--concurrency [limit] Concurrency limit for deploying multiple processes. (default: "5")
--retry-count [count] Number of retries for deploying contract. (default: "10")
--retry-delay [delay] Delay between retries in milliseconds. (default: "3000")
--concurrency [limit] Concurrency limit for deploying multiple processes. (default: 5)
--sqlite Use sqlite aos module when spawning new process.
--retry-count [count] Number of retries for deploying contract. (default: 10)
--retry-delay [delay] Delay between retries in milliseconds. (default: 3000)
-h, --help display help for command
```

Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ao-deploy",
"type": "module",
"version": "0.2.2",
"version": "0.3.0",
"packageManager": "pnpm@8.15.3",
"description": "A package for deploying AO contracts",
"author": "Pawan Paudel <pawanpaudel93@gmail.com>",
Expand Down Expand Up @@ -41,15 +41,16 @@
"dist"
],
"scripts": {
"build": "unbuild",
"build": "unbuild && tsx scripts/embedVersion",
"dev": "unbuild --stub",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
"prepare": "simple-git-hooks",
"prepack": "pnpm build"
},
"dependencies": {
"@permaweb/aoconnect": "^0.0.57",
Expand All @@ -62,7 +63,7 @@
"pretty-file-tree": "^1.0.1"
},
"devDependencies": {
"@antfu/eslint-config": "^2.16.1",
"@antfu/eslint-config": "^2.24.1",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.7",
"@types/node": "^20.12.8",
Expand All @@ -73,6 +74,7 @@
"pnpm": "^8.15.8",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.16.5",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vite": "^5.2.11",
Expand Down
Loading

0 comments on commit df0d795

Please sign in to comment.