Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 7ad3ce8

Browse files
committed
Rename package
1 parent 41355ff commit 7ad3ce8

4 files changed

Lines changed: 26 additions & 97 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [To be deprecated]
8-
- Deprecate options "features" and "feature".
98
- Remove "/features" api path.
10-
- Remove "features" getter from Server
11-
- Remove Server and Cli constructors. Use @mocks-server/core instead
129

1310
## [unreleased]
1411
### Added
1512
### Changed
1613
### Fixed
1714
### Removed
1815

19-
## [1.3.0] - 2019-11-17
20-
### Added
21-
- Add programmatic Classes end-to-end tests
22-
- Add files watcher end-to-end tests
23-
24-
### Changed
25-
- Full refactor for making it pluggable.
26-
- Split code into core, cli and api main Classes, which are intended to be published separately.
27-
28-
## [1.2.0] - 2019-11-13
29-
### Added
30-
- Add api acceptance tests
31-
32-
### Changed
33-
- Upgrade dependencies
34-
35-
### Fixed
36-
- Catch server.listen error and reject start method promise with it when occurs.
37-
38-
## [1.1.1] - 2019-11-12
39-
### Changed
40-
- Change readme. Add links to docs website.
41-
42-
## [1.1.0] - 2019-11-08
43-
### Changed
44-
- Change "feature" concept by "behavior". Maintain old "feature" options and urls as aliases for maintaining compatibility.
45-
- Upgrade dependencies
46-
47-
## [1.0.3] - 2019-11-08
48-
### Fixed
49-
- Fix examples and badges in readme.
50-
51-
## [1.0.2] - 2019-11-08
52-
### Changed
53-
- Project forked from xbyorange/mocks-server. Fixed license. Read NOTICE for further details
54-
55-
### Fixed
56-
- Fix some minor Sonar bugs and code smells.
57-
58-
## [1.0.1] - 2019-06-04
59-
### Fixed
60-
- Upgrade dependencies to fix potential security vulnerability
61-
- Bind winston tracer methods to winston tracer instance to fix an issue produced by new Winston version as described in: https://github.com/winstonjs/winston/issues/1577
62-
63-
## [1.0.0] - 2019-06-04
64-
### Changed
65-
- Forked from xbyorange mocks-server gitlab private repository.
16+
## [1.0.0] -
17+
- Migrate administration api from [@mocks-server/main, v1.3.0](https://github.com/mocks-server/main/releases/tag/v1.3.0). For further info read the [previous repository CHANGELOG.md](https://github.com/mocks-server/main/blob/v1.3.0/CHANGELOG.md#130---2019-11-17)
18+
- Export Plugin, which can be used only programmatically. (Binary is still distributed in the [@mocks-server/main](https://github.com/mocks-server/main) package).
19+
- Remove core and inquirer-cli. Both have now their own repositories.

package-lock.json

Lines changed: 13 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
{
2-
"name": "@mocks-server/main",
3-
"version": "1.3.0",
4-
"description": "Mocks server supporting multiple api behaviors",
2+
"name": "@mocks-server/plugin-admin-api",
3+
"version": "1.0.0",
4+
"description": "Mocks server administration REST API plugin",
55
"keywords": [
66
"mocks",
77
"server",
88
"mock",
9-
"fixtures",
10-
"behaviors",
9+
"administration",
10+
"admin",
1111
"api",
1212
"rest",
13-
"cli",
14-
"express",
1513
"testing",
1614
"development"
1715
],
1816
"author": "Javier Brea",
1917
"license": "Apache-2.0",
20-
"repository": "https://github.com/mocks-server/main",
18+
"repository": "https://github.com/mocks-server/plugin-admin-api",
2119
"homepage": "https://www.mocks-server.org",
2220
"publishConfig": {
2321
"access": "public"
2422
},
2523
"files": [
26-
"bin",
27-
"lib",
24+
"src",
2825
"index.js"
2926
],
3027
"main": "index.js",
31-
"bin": {
32-
"mocks-server": "./bin/mocks-server"
33-
},
3428
"scripts": {
3529
"lint": "eslint index.js lib test jest.config.js jest.acceptance.config.js",
3630
"lint-staged": "lint-staged",

sonar-project.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sonar.organization=mocks-server
2-
sonar.projectKey=mocks-server-main
3-
sonar.projectVersion=1.3.0
2+
sonar.projectKey=mocks-server-plugin-admin-api
3+
sonar.projectVersion=1.0.0
44

55
sonar.javascript.file.suffixes=.js
66
sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)