-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Luidog/Revise-cli-functions
Adds Migration Class
- Loading branch information
Showing
24 changed files
with
3,885 additions
and
1,423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,5 @@ data/ | |
.DS_Store | ||
.nyc_output | ||
tmp/ | ||
migration-tool | ||
migration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,65 @@ | ||
# fms-admin-client [![Coverage Status](https://coveralls.io/repos/github/Luidog/fms-admin-client/badge.svg?branch=master)](https://coveralls.io/github/Luidog/fms-admin-client?branch=master) | ||
<!--@h1([pkg.name])--> | ||
# fms-admin-client | ||
<!--/@--> | ||
|
||
[![Coverage Status](https://coveralls.io/repos/github/Luidog/fms-admin-client/badge.svg?branch=master)](https://coveralls.io/github/Luidog/fms-admin-client?branch=master) | ||
|
||
A client designed to provide a framework for interactions with FileMaker Server Admin Tools. | ||
|
||
For in depth documentation head to the [`docs`](https://luidog.github.io/fms-admin-client) | ||
|
||
<!--@installation()--> | ||
## Installation | ||
|
||
This is a [Node.js](https://nodejs.org/) module available through the | ||
[npm registry](https://www.npmjs.com/). It can be installed using the | ||
[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) | ||
or | ||
[`yarn`](https://yarnpkg.com/en/) | ||
command line tools. | ||
|
||
```sh | ||
npm install fms-admin-client --save | ||
npm install --save fms-admin-client | ||
``` | ||
<!--/@--> | ||
|
||
## Tests | ||
<!--@execute('npm run test',[])--> | ||
<!--/@--> | ||
|
||
```sh | ||
npm install | ||
npm test | ||
``` | ||
<!--@dependencies()--> | ||
## <a name="dependencies">Dependencies</a> | ||
|
||
``` | ||
> fms-admin-client@0.0.1 test /fms-admin-client | ||
> nyc _mocha --recursive ./tests --timeout=30000 | ||
Clone Capabilities | ||
✓ should clone a file to a temp directory (1177ms) | ||
Service Capabilities | ||
✓ should throw an error if the service is already running (136ms) | ||
✓ should stop the service (12605ms) | ||
✓ should throw an error if the service is not running (1170ms) | ||
✓ should start the service (1587ms) | ||
Storage | ||
✓ should allow an instance to be created | ||
✓ should allow an instance to be saved. | ||
✓ should allow an instance to be recalled | ||
✓ should allow insances to be listed | ||
✓ should allow you to remove an instance | ||
10 passing (17s) | ||
-----------------------|----------|----------|----------|----------|-------------------| | ||
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | | ||
-----------------------|----------|----------|----------|----------|-------------------| | ||
All files | 86.96 | 50 | 74.29 | 89.39 | | | ||
fms-admin-client | 100 | 100 | 100 | 100 | | | ||
index.js | 100 | 100 | 100 | 100 | | | ||
fms-admin-client/src | 86.57 | 50 | 74.29 | 89.06 | | | ||
admin.model.js | 95.24 | 100 | 90 | 95 | 73 | | ||
cli.model.js | 80 | 50 | 66.67 | 84.21 |... ,48,52,100,133 | | ||
credentials.model.js | 100 | 100 | 100 | 100 | | | ||
index.js | 100 | 100 | 100 | 100 | | | ||
-----------------------|----------|----------|----------|----------|-------------------| | ||
``` | ||
- [fs-extra](https://github.com/jprichardson/node-fs-extra): fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf. | ||
- [child-process-promise](https://github.com/patrick-steele-idem/child-process-promise): Simple wrapper around the "child_process" module that makes use of promises | ||
- [lodash](https://github.com/lodash/lodash): Lodash modular utilities. | ||
- [marpat](https://github.com/luidog/marpat): A class-based ES6 ODM for Mongo-like databases. | ||
- [string-to-stream](https://github.com/feross/string-to-stream): Convert a string into a stream (streams2) | ||
|
||
## Dependencies | ||
<!--/@--> | ||
|
||
* [child-process-promise](https://ghub.io/child-process-promise): Simple wrapper around the "child_process" module that makes use of promises | ||
* [lodash](https://ghub.io/lodash): Lodash modular utilities. | ||
* [marpat](https://ghub.io/marpat): A class-based ES6 ODM for Mongo-like databases. | ||
* [string-to-stream](https://ghub.io/string-to-stream): Convert a string into a stream (streams2) | ||
<!--@devDependencies()--> | ||
## <a name="dev-dependencies">Dev Dependencies</a> | ||
|
||
## Dev Dependencies | ||
- [chai](https://github.com/chaijs/chai): BDD/TDD assertion library for node.js and the browser. Test framework agnostic. | ||
- [chai-as-promised](https://github.com/domenic/chai-as-promised): Extends Chai with assertions about promises. | ||
- [colors](https://github.com/Marak/colors.js): get colors in your node.js console | ||
- [coveralls](https://github.com/nickmerwin/node-coveralls): takes json-cov output into stdin and POSTs to coveralls.io | ||
- [dotenv](https://github.com/motdotla/dotenv): Loads environment variables from .env file | ||
- [eslint](https://github.com/eslint/eslint): An AST-based pattern checker for JavaScript. | ||
- [eslint-config-google](https://github.com/google/eslint-config-google): ESLint shareable config for the Google style | ||
- [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier): Turns off all rules that are unnecessary or might conflict with Prettier. | ||
- [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier): Runs prettier as an eslint rule | ||
- [jsdoc](https://github.com/jsdoc3/jsdoc): An API documentation generator for JavaScript. | ||
- [minami](https://github.com/Nijikokun/minami): Clean and minimal JSDoc 3 Template / Theme | ||
- [mocha](https://github.com/mochajs/mocha): simple, flexible, fun test framework | ||
- [mocha-lcov-reporter](https://github.com/StevenLooman/mocha-lcov-reporter): LCOV reporter for Mocha | ||
- [mos](https://github.com/mosjs/mos): A pluggable module that injects content into your markdown files via hidden JavaScript snippets | ||
- [mos-plugin-dependencies](https://github.com/mosjs/mos/tree/master/packages/mos-plugin-dependencies): A mos plugin that creates dependencies sections | ||
- [mos-plugin-execute](https://github.com/team-767/mos-plugin-execute): Mos plugin to inline a process output | ||
- [mos-plugin-installation](https://github.com/mosjs/mos/tree/master/packages/mos-plugin-installation): A mos plugin for creating installation section | ||
- [mos-plugin-license](https://github.com/mosjs/mos-plugin-license): A mos plugin for generating a license section | ||
- [mos-plugin-snippet](https://github.com/mosjs/mos/tree/master/packages/mos-plugin-snippet): A mos plugin for embedding snippets from files | ||
- [nyc](https://github.com/istanbuljs/nyc): the Istanbul command line interface | ||
- [prettier](https://github.com/prettier/prettier): Prettier is an opinionated code formatter | ||
- [varium](https://npmjs.org/package/varium): A strict parser and validator of environment config variables | ||
|
||
* [chai](https://ghub.io/chai): BDD/TDD assertion library for node.js and the browser. Test framework agnostic. | ||
* [chai-as-promised](https://ghub.io/chai-as-promised): Extends Chai with assertions about promises. | ||
* [colors](https://ghub.io/colors): get colors in your node.js console | ||
* [coveralls](https://ghub.io/coveralls): takes json-cov output into stdin and POSTs to coveralls.io | ||
* [dotenv](https://ghub.io/dotenv): Loads environment variables from .env file | ||
* [eslint](https://ghub.io/eslint): An AST-based pattern checker for JavaScript. | ||
* [eslint-config-google](https://ghub.io/eslint-config-google): ESLint shareable config for the Google style | ||
* [eslint-config-prettier](https://ghub.io/eslint-config-prettier): Turns off all rules that are unnecessary or might conflict with Prettier. | ||
* [eslint-plugin-prettier](https://ghub.io/eslint-plugin-prettier): Runs prettier as an eslint rule | ||
* [fs-extra](https://ghub.io/fs-extra): fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf. | ||
* [jsdocs](https://ghub.io/jsdocs): jsdocs | ||
* [minami](https://ghub.io/minami): Clean and minimal JSDoc 3 Template / Theme | ||
* [mocha](https://ghub.io/mocha): simple, flexible, fun test framework | ||
* [mocha-lcov-reporter](https://ghub.io/mocha-lcov-reporter): LCOV reporter for Mocha | ||
* [nyc](https://ghub.io/nyc): the Istanbul command line interface | ||
* [package-json-to-readme](https://ghub.io/package-json-to-readme): Generate a README.md from package.json contents | ||
* [prettier](https://ghub.io/prettier): Prettier is an opinionated code formatter | ||
* [varium](https://ghub.io/varium): A strict parser and validator of environment config variables | ||
<!--/@--> | ||
|
||
<!--@license()--> | ||
## License | ||
|
||
MIT | ||
MIT © Lui de la Parra | ||
<!--/@--> |
Oops, something went wrong.