From 20931f02e1a246df8065f012cdb367e4ffaabc18 Mon Sep 17 00:00:00 2001 From: "javier.brea" Date: Sun, 14 Feb 2021 08:00:38 +0100 Subject: [PATCH] feat: add mock-custom-routes-variants path --- CHANGELOG.md | 5 +++++ index.js | 1 + package-lock.json | 2 +- package.json | 2 +- sonar-project.properties | 2 +- test/index.spec.js | 5 +++++ 6 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b70d71..18bdaa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed ### Removed +## [2.0.0-beta.2] - 2021-02-14 + +### Added +- feat: Add mock-custom-routes-variants path + ## [2.0.0-beta.1] - 2021-02-03 ### Added diff --git a/index.js b/index.js index a961f97..b2a2051 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,7 @@ export const ALERTS = "/alerts"; export const MOCKS = "/mocks"; export const ROUTES = "/routes"; export const ROUTES_VARIANTS = "/routes-variants"; +export const MOCK_CUSTOM_ROUTES_VARIANTS = "/mock-custom-routes-variants"; export const LEGACY = "/legacy"; export const BEHAVIORS = "/behaviors"; diff --git a/package-lock.json b/package-lock.json index 9582ed6..62b7b6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@mocks-server/admin-api-paths", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2076054..d87eacf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mocks-server/admin-api-paths", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "description": "Api paths of @mocks-server/plugin-admin-api", "keywords": [ "administration", diff --git a/sonar-project.properties b/sonar-project.properties index 817711c..a453b00 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,6 @@ sonar.organization=mocks-server sonar.projectKey=mocks-server-admin-api-paths -sonar.projectVersion=2.0.0-beta.1 +sonar.projectVersion=2.0.0-beta.2 sonar.javascript.file.suffixes=.js sonar.sourceEncoding=UTF-8 diff --git a/test/index.spec.js b/test/index.spec.js index aebbc49..ef08bba 100644 --- a/test/index.spec.js +++ b/test/index.spec.js @@ -6,6 +6,7 @@ import { MOCKS, ROUTES, ROUTES_VARIANTS, + MOCK_CUSTOM_ROUTES_VARIANTS, LEGACY, BEHAVIORS, FIXTURES, @@ -40,6 +41,10 @@ describe("Exported paths", () => { expect(ROUTES_VARIANTS).toBeDefined(); }); + it("should contain the mock-custom-routes-variants path", () => { + expect(MOCK_CUSTOM_ROUTES_VARIANTS).toBeDefined(); + }); + it("should contain the legacy path", () => { expect(LEGACY).toBeDefined(); });