Comparing version 0.2.1 to 0.2.2
@@ -25,2 +25,4 @@ "use strict"; | ||
const path_2 = __importDefault(require("path")); | ||
const parser_1 = require("@dbpath/pathparser/dist/src/parser"); | ||
const dal_1 = require("@dbpath/dal"); | ||
exports.dbPathDir = '.dbpath'; | ||
@@ -110,2 +112,13 @@ exports.configFileName = 'dbpath.config.json'; | ||
}); | ||
const newPath = program.command('newPath') | ||
.description("Uses new path parser ... doesn't do anything other than show syntax tree") | ||
.arguments('<path>') | ||
.action((path, command, options) => { | ||
const result = (0, parser_1.parsePath)((0, dal_1.DalPathValidator)(dal_1.sampleSummary, dal_1.sampleMeta))(path); | ||
if ((0, utils_1.hasErrors)(result)) { | ||
(0, utils_1.reportErrors)(result); | ||
return; | ||
} | ||
console.log(JSON.stringify(result, null, 2)); | ||
}); | ||
const status = program.command('status').description("Checks that the environments are accessible and gives report") | ||
@@ -112,0 +125,0 @@ .action((command, options) => __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "dbpath", | ||
"description": "", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "dist/index", | ||
@@ -24,10 +24,10 @@ "types": "dist/index", | ||
"commander": "^10.0.0", | ||
"@dbpath/oracle": "0.2.1", | ||
"@dbpath/mysql": "0.2.1", | ||
"@dbpath/postgres": "0.2.1", | ||
"@dbpath/tables": "0.2.1", | ||
"@dbpath/utils": "0.2.1", | ||
"@dbpath/files": "0.2.1", | ||
"@dbpath/mocks": "0.2.1", | ||
"@dbpath/environments": "0.2.1" | ||
"@dbpath/oracle": "0.2.2", | ||
"@dbpath/mysql": "0.2.2", | ||
"@dbpath/postgres": "0.2.2", | ||
"@dbpath/tables": "0.2.2", | ||
"@dbpath/utils": "0.2.2", | ||
"@dbpath/files": "0.2.2", | ||
"@dbpath/mocks": "0.2.2", | ||
"@dbpath/environments": "0.2.2" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52481
786
+ Added@dbpath/config@0.2.2(transitive)
+ Added@dbpath/dal@0.2.2(transitive)
+ Added@dbpath/environments@0.2.2(transitive)
+ Added@dbpath/files@0.2.2(transitive)
+ Added@dbpath/mocks@0.2.2(transitive)
+ Added@dbpath/mysql@0.2.2(transitive)
+ Added@dbpath/oracle@0.2.2(transitive)
+ Added@dbpath/postgres@0.2.2(transitive)
+ Added@dbpath/tables@0.2.2(transitive)
+ Added@dbpath/types@0.2.2(transitive)
+ Added@dbpath/utils@0.2.2(transitive)
- Removed@dbpath/config@0.2.1(transitive)
- Removed@dbpath/dal@0.2.1(transitive)
- Removed@dbpath/environments@0.2.1(transitive)
- Removed@dbpath/files@0.2.1(transitive)
- Removed@dbpath/mocks@0.2.1(transitive)
- Removed@dbpath/mysql@0.2.1(transitive)
- Removed@dbpath/oracle@0.2.1(transitive)
- Removed@dbpath/postgres@0.2.1(transitive)
- Removed@dbpath/tables@0.2.1(transitive)
- Removed@dbpath/utils@0.2.1(transitive)
Updated@dbpath/environments@0.2.2
Updated@dbpath/files@0.2.2
Updated@dbpath/mocks@0.2.2
Updated@dbpath/mysql@0.2.2
Updated@dbpath/oracle@0.2.2
Updated@dbpath/postgres@0.2.2
Updated@dbpath/tables@0.2.2
Updated@dbpath/utils@0.2.2