@pact-foundation/pact 12.5.2 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/MIGRATION.md +22 -0
- package/package.json +2 -2
- package/test/helper.d.ts +0 -1
- package/test/helper.js +0 -11
- package/test/helper.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [13.0.0](https://github.com/pact-foundation/pact-js/compare/v12.5.2...v13.0.0) (2024-06-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* update to @pact-foundation/pact-core to 15.x
|
|
11
|
+
|
|
12
|
+
### Fixes and Improvements
|
|
13
|
+
|
|
14
|
+
* update to @pact-foundation/pact-core to 15.x ([42f52bb](https://github.com/pact-foundation/pact-js/commit/42f52bb9dbe5c65094e0ce8979605a8457f18ba5))
|
|
15
|
+
|
|
5
16
|
### [12.5.2](https://github.com/pact-foundation/pact-js/compare/v12.5.1...v12.5.2) (2024-05-30)
|
|
6
17
|
|
|
7
18
|
|
package/MIGRATION.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Pact-js migration guide
|
|
2
2
|
|
|
3
|
+
# 12.x.x -> 13.x.x
|
|
4
|
+
|
|
5
|
+
## Breaking Changes
|
|
6
|
+
|
|
7
|
+
All CLI/API functionality provided by the Pact CLI tools (ruby based) now migrated to
|
|
8
|
+
|
|
9
|
+
* Repo
|
|
10
|
+
|
|
11
|
+
* https://github.com/pact-foundation/pact-js-cli/
|
|
12
|
+
|
|
13
|
+
* NPM Package
|
|
14
|
+
|
|
15
|
+
* https://www.npmjs.com/package/@pact-foundation/pact-cli
|
|
16
|
+
|
|
17
|
+
* imports
|
|
18
|
+
|
|
19
|
+
* `@pact-foundation/pact-core` imports will now become `@pact-foundation/pact-cli` for programatic usage of the CLI tools
|
|
20
|
+
|
|
21
|
+
* npx usage
|
|
22
|
+
|
|
23
|
+
* `npx --package=@pact-foundation/pact-cli@15.0.0 -c pact-broker`
|
|
24
|
+
|
|
3
25
|
# 11.x.x -> 12.x.x
|
|
4
26
|
|
|
5
27
|
- Node versions less than 16 are no longer supported
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pact-foundation/pact",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Pact for all things Javascript",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@pact-foundation/pact-core": "^
|
|
98
|
+
"@pact-foundation/pact-core": "^15.0.0",
|
|
99
99
|
"@types/express": "^4.17.11",
|
|
100
100
|
"axios": "^1.6.1",
|
|
101
101
|
"body-parser": "^1.20.0",
|
package/test/helper.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/test/helper.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var pact_core_1 = __importDefault(require("@pact-foundation/pact-core"));
|
|
7
|
-
// used to kill any left over mock server instances
|
|
8
|
-
process.on('SIGINT', function () {
|
|
9
|
-
pact_core_1.default.removeAllServers();
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=helper.js.map
|
package/test/helper.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../test/helper.ts"],"names":[],"mappings":";;;;;AAAA,yEAA8C;AAE9C,mDAAmD;AACnD,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE;IACnB,mBAAI,CAAC,gBAAgB,EAAE,CAAC;AAC1B,CAAC,CAAC,CAAC"}
|