@restroom-mw/git
Advanced tools
Comparing version 0.13.1-7259d93.87 to 0.13.1-b611a0f.118
export declare enum Action { | ||
/** | ||
* Verify that the given directory is a git repository | ||
* (i.e. it exists the .git directory) | ||
* `Given I verify the path 'myFolder' is a git repository`<br><br> | ||
* Verify that the directory defined by the path *myFolder*, under the *FILES_DIR* | ||
* directory, is a git repository (i.e. it exists the .git directory) | ||
* @param {string} myFolder - Name of the variable containing the path | ||
* or the path itself | ||
*/ | ||
VERIFY = "verify the path {} is a git repository", | ||
/** | ||
* Clone the repository in the specified directory under | ||
* the `FILES_DIR` directory | ||
* `Given I clone the repository 'myRepo' in 'myDirectory'`<br><br> | ||
* Clone the repository *myRepo* in the specified directory *myDirectory* under | ||
* the *FILES_DIR* directory | ||
* @param {string} myRepo - Name of the variable containing the repository url | ||
* or the repository url itself | ||
* @param {string} myDirectory - Name of the variable containing the path | ||
* or the path itself where the repo will be cloned | ||
*/ | ||
CLONE = "clone the repository {} in {}", | ||
/** | ||
* Add files to a local repository and | ||
* create a commit in the repository | ||
* `Then make a new commit to the git repository in 'myDirectory'`<br><br> | ||
* Add files to a local repository *myDirectory* and create a commit in the repository, | ||
* the commit that will be created is passed in the data or in the output as: | ||
* ```json | ||
* {"commit": { | ||
* "message": "My interesting random file", | ||
* "author": "restroom", | ||
* "email": "restroom@dyne.org", | ||
* "files": ["interestingFile.txt"] | ||
* }} | ||
* ``` | ||
* @param {string} myDirectory - Name of the variable containing the path to the | ||
* local repository or the path itself | ||
*/ | ||
@@ -16,0 +35,0 @@ COMMIT = "make a new commit to the git repository in {}" |
@@ -7,16 +7,35 @@ "use strict"; | ||
/** | ||
* Verify that the given directory is a git repository | ||
* (i.e. it exists the .git directory) | ||
* `Given I verify the path 'myFolder' is a git repository`<br><br> | ||
* Verify that the directory defined by the path *myFolder*, under the *FILES_DIR* | ||
* directory, is a git repository (i.e. it exists the .git directory) | ||
* @param {string} myFolder - Name of the variable containing the path | ||
* or the path itself | ||
*/ | ||
Action["VERIFY"] = "verify the path {} is a git repository"; | ||
/** | ||
* Clone the repository in the specified directory under | ||
* the `FILES_DIR` directory | ||
* `Given I clone the repository 'myRepo' in 'myDirectory'`<br><br> | ||
* Clone the repository *myRepo* in the specified directory *myDirectory* under | ||
* the *FILES_DIR* directory | ||
* @param {string} myRepo - Name of the variable containing the repository url | ||
* or the repository url itself | ||
* @param {string} myDirectory - Name of the variable containing the path | ||
* or the path itself where the repo will be cloned | ||
*/ | ||
Action["CLONE"] = "clone the repository {} in {}"; | ||
/** | ||
* Add files to a local repository and | ||
* create a commit in the repository | ||
* `Then make a new commit to the git repository in 'myDirectory'`<br><br> | ||
* Add files to a local repository *myDirectory* and create a commit in the repository, | ||
* the commit that will be created is passed in the data or in the output as: | ||
* ```json | ||
* {"commit": { | ||
* "message": "My interesting random file", | ||
* "author": "restroom", | ||
* "email": "restroom@dyne.org", | ||
* "files": ["interestingFile.txt"] | ||
* }} | ||
* ``` | ||
* @param {string} myDirectory - Name of the variable containing the path to the | ||
* local repository or the path itself | ||
*/ | ||
Action["COMMIT"] = "make a new commit to the git repository in {}"; | ||
})(Action = exports.Action || (exports.Action = {})); |
{ | ||
"name": "@restroom-mw/git", | ||
"version": "0.13.1-7259d93.87+7259d93", | ||
"version": "0.13.1-b611a0f.118+b611a0f", | ||
"description": "Git middleware for restroom", | ||
@@ -39,3 +39,3 @@ "author": "Alberto Lerda <alberto@dyne.org>", | ||
}, | ||
"gitHead": "7259d93bf1bf897852464b20ed60c795fb732e9f", | ||
"gitHead": "b611a0f61ca34654b70487332cafa914851bfa8c", | ||
"devDependencies": { | ||
@@ -42,0 +42,0 @@ "turbo": "^1.2.9" |
export enum Action { | ||
/** | ||
* Verify that the given directory is a git repository | ||
* (i.e. it exists the .git directory) | ||
* `Given I verify the path 'myFolder' is a git repository`<br><br> | ||
* Verify that the directory defined by the path *myFolder*, under the *FILES_DIR* | ||
* directory, is a git repository (i.e. it exists the .git directory) | ||
* @param {string} myFolder - Name of the variable containing the path | ||
* or the path itself | ||
*/ | ||
VERIFY = "verify the path {} is a git repository", | ||
/** | ||
* Clone the repository in the specified directory under | ||
* the `FILES_DIR` directory | ||
* `Given I clone the repository 'myRepo' in 'myDirectory'`<br><br> | ||
* Clone the repository *myRepo* in the specified directory *myDirectory* under | ||
* the *FILES_DIR* directory | ||
* @param {string} myRepo - Name of the variable containing the repository url | ||
* or the repository url itself | ||
* @param {string} myDirectory - Name of the variable containing the path | ||
* or the path itself where the repo will be cloned | ||
*/ | ||
CLONE = "clone the repository {} in {}", | ||
/** | ||
* Add files to a local repository and | ||
* create a commit in the repository | ||
* `Then make a new commit to the git repository in 'myDirectory'`<br><br> | ||
* Add files to a local repository *myDirectory* and create a commit in the repository, | ||
* the commit that will be created is passed in the data or in the output as: | ||
* ```json | ||
* {"commit": { | ||
* "message": "My interesting random file", | ||
* "author": "restroom", | ||
* "email": "restroom@dyne.org", | ||
* "files": ["interestingFile.txt"] | ||
* }} | ||
* ``` | ||
* @param {string} myDirectory - Name of the variable containing the path to the | ||
* local repository or the path itself | ||
*/ | ||
COMMIT = "make a new commit to the git repository in {}", | ||
} |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
48915
275