0.14.2 • Published 3 months ago

reg-simple-keygen-plugin v0.14.2

Weekly downloads
9,030
License
MIT
Repository
github
Last release
3 months ago

reg-simple-keygen-plugin

A reg-suit plugin to determine the snapshot key with given values.

Install

npm i reg-simple-keygen-plugin -D

Configure

{
  expectedKey: string;
  actualKey: string;
}
  • expectedKey - Required - Identifier key value of the expected(previous) snapshot.
  • actualKey - Required - Identifier key value of the actual(current) snapshot.

Example

Using environment values

Using reg-suit's replacing environment values feature, you can use Git commit sha1 hashes provided with CI service. The following example allows reg-suit to compare HEAD of the master branch with the PR's commit.

# .travis.yml
script:
  - export EXPECTED_KEY=$(git rev-parse origin/master)
  - export ACTUAL_KEY=$TRAVIS_COMMIT # set by TravisCI
  - reg-suit run
  // regconfig.json
  "plugins": {
    "reg-simple-keygen-plugin": {
      "expectedKey": "${EXPECTED_KEY}",
      "actualKey": "${ACTUAL_KEY}"
    },
    ...
  }
0.14.2

3 months ago

0.14.0

3 months ago

0.13.0

4 months ago

0.12.2

11 months ago

0.12.1

2 years ago

0.11.0

3 years ago

0.10.17

3 years ago

0.10.16

3 years ago

0.10.15

3 years ago

0.10.10

3 years ago

0.10.9

3 years ago

0.10.8

4 years ago

0.10.7

4 years ago

0.10.6

4 years ago

0.10.3

4 years ago

0.7.25

5 years ago

0.7.16

6 years ago

0.7.5

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.0

7 years ago

0.5.9

7 years ago

0.5.5

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago