diff --git a/.gitignore b/.gitignore index 3ccbeda4..43271c25 100644 --- a/.gitignore +++ b/.gitignore @@ -31,10 +31,6 @@ packages/sdk/test/aliases/json-file-aliases.json ### local ### -# local has a prebuild step that creates this file, -# it should not be committed to version control -src/get-dirname.ts - # Validator artifacts packages/local/validator/*.db packages/local/validator/*.db* diff --git a/package-lock.json b/package-lock.json index daa14875..49d541b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,8 @@ "devDependencies": { "@types/chai": "^4.3.5", "@types/chai-as-promised": "^7.1.5", + "@types/cross-spawn": "^6.0.2", + "@types/shelljs": "^0.8.12", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "eslint": "^8.32.0", @@ -2225,6 +2227,25 @@ "cosmiconfig": "*" } }, + "node_modules/@types/cross-spawn": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.2.tgz", + "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, "node_modules/@types/inquirer": { "version": "9.0.3", "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.3.tgz", @@ -2320,6 +2341,16 @@ "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", "dev": true }, + "node_modules/@types/shelljs": { + "version": "0.8.12", + "resolved": "https://registry.npmjs.org/@types/shelljs/-/shelljs-0.8.12.tgz", + "integrity": "sha512-ZA8U81/gldY+rR5zl/7HSHrG2KDfEb3lzG6uCUDhW1DTQE9yC/VBQ45fXnXq8f3CgInfhZmjtdu/WOUlrXRQUg==", + "dev": true, + "dependencies": { + "@types/glob": "~7.2.0", + "@types/node": "*" + } + }, "node_modules/@types/sinon": { "version": "10.0.15", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.15.tgz", @@ -12533,6 +12564,28 @@ "typescript": "^5.0.2" } }, + "packages/cli/node_modules/@tableland/local": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tableland/local/-/local-2.0.1.tgz", + "integrity": "sha512-ws3vDQJTck200dOb8ewW7IaDkK+Mv34gURkqpo/6YWcZeFofxfHdWE67BUbxEZZNEPWoRO4mYOBEkp3jIsIBTA==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@tableland/sdk": "^4.4.1", + "@tableland/validator": "^1.7.2", + "cross-spawn": "^7.0.3", + "enquirer": "^2.3.6", + "ethers": "^5.7.2", + "shelljs": "^0.8.5", + "yargs": "^17.5.1" + }, + "bin": { + "local-tableland": "dist/esm/up.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, "packages/cli/node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -14409,6 +14462,21 @@ "yargs": "^17.6.2" }, "dependencies": { + "@tableland/local": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@tableland/local/-/local-2.0.1.tgz", + "integrity": "sha512-ws3vDQJTck200dOb8ewW7IaDkK+Mv34gURkqpo/6YWcZeFofxfHdWE67BUbxEZZNEPWoRO4mYOBEkp3jIsIBTA==", + "dev": true, + "requires": { + "@tableland/sdk": "^4.4.1", + "@tableland/validator": "^1.7.2", + "cross-spawn": "^7.0.3", + "enquirer": "^2.3.6", + "ethers": "^5.7.2", + "shelljs": "^0.8.5", + "yargs": "^17.5.1" + } + }, "ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -14826,6 +14894,25 @@ "cosmiconfig": "*" } }, + "@types/cross-spawn": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@types/cross-spawn/-/cross-spawn-6.0.2.tgz", + "integrity": "sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "requires": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, "@types/inquirer": { "version": "9.0.3", "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.3.tgz", @@ -14921,6 +15008,16 @@ "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", "dev": true }, + "@types/shelljs": { + "version": "0.8.12", + "resolved": "https://registry.npmjs.org/@types/shelljs/-/shelljs-0.8.12.tgz", + "integrity": "sha512-ZA8U81/gldY+rR5zl/7HSHrG2KDfEb3lzG6uCUDhW1DTQE9yC/VBQ45fXnXq8f3CgInfhZmjtdu/WOUlrXRQUg==", + "dev": true, + "requires": { + "@types/glob": "~7.2.0", + "@types/node": "*" + } + }, "@types/sinon": { "version": "10.0.15", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.15.tgz", diff --git a/package.json b/package.json index 5d85eea5..68e181dc 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,8 @@ "devDependencies": { "@types/chai": "^4.3.5", "@types/chai-as-promised": "^7.1.5", + "@types/cross-spawn": "^6.0.2", + "@types/shelljs": "^0.8.12", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "eslint": "^8.32.0",