@contract-case/case-connector 0.6.5

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/.eslintrc.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": ["@contract-case/case-maintainer"],
3
+
4
+ "rules": {
5
+ "max-classes-per-file": "off"
6
+ }
7
+ }
package/.prettierrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "singleQuote": true
3
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,21 @@
1
+ # Changelog
2
+
3
+ ### Dependencies
4
+
5
+ * The following workspace dependencies were updated
6
+ * dependencies
7
+ * @contract-case/case-boundary bumped from 0.7.0 to 0.8.0
8
+ * devDependencies
9
+ * @contract-case/case-maintainer-config bumped from 0.0.2 to 0.0.3
10
+ * @contract-case/eslint-config-case-maintainer bumped from 0.0.2 to 0.0.3
11
+
12
+ ## Changelog
13
+
14
+ ### Dependencies
15
+
16
+ * The following workspace dependencies were updated
17
+ * dependencies
18
+ * @contract-case/case-boundary bumped from 0.6.3 to 0.7.0
19
+ * devDependencies
20
+ * @contract-case/case-maintainer-config bumped from 0.0.1 to 0.0.2
21
+ * @contract-case/eslint-config-case-maintainer bumped from 0.0.1 to 0.0.2
package/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2023, Timothy Jones
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ - Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ - Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ - Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # Case-Connector
2
+
3
+ [![Build and test](https://github.com/case-contract-testing/case/actions/workflows/build-and-test.yml/badge.svg?branch=main)](https://github.com/case-contract-testing/case/actions/workflows/build-and-test.yml)
4
+ [![Known Vulnerabilities](https://snyk.io/test/github/case-contract-testing/case/badge.svg?targetFile=packages/case-boundary/package.json)](https://snyk.io/test/github/case-contract-testing/case?targetFile=packages/case-boundary/package.json)
5
+
6
+ This is the server connector (alternative to the case-boundary) to allow ContractCase to be run as a server.
7
+
8
+ Don't depend on this directly unless you are writing a custom wrapper for ContractCase.
9
+
10
+ [Start here instead](https://case.contract-testing.io/docs/intro)
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@contract-case/case-connector",
3
+ "version": "0.6.5",
4
+ "description": "Connector to allow ContractCase to run as a server. Use only if you're creating a custom wrapper for a new language",
5
+ "author": "Timothy Jones <timothy.l.jones@gmail.com> (https://github.com/TimothyJones)",
6
+ "homepage": "https://case.contract-testing.io/docs",
7
+ "license": "BSD-3-Clause",
8
+ "main": "build/index.js",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+ssh://git@github.com/case-contract-testing/case.git"
15
+ },
16
+ "scripts": {
17
+ "build": "rimraf dist && tsc --project tsconfig.build.json",
18
+ "lint": "eslint src --ext .ts --config .eslintrc.json",
19
+ "lint:fix": "eslint src --fix --ext .ts --config .eslintrc.json",
20
+ "format:base": "prettier --parser typescript \"src/**/*.ts\"",
21
+ "format:check": "npm run format:base -- --list-different",
22
+ "format:fix": "npm run format:base -- --write "
23
+ },
24
+ "bugs": {
25
+ "url": "https://github.com/case-contract-testing/case/issues"
26
+ },
27
+ "devDependencies": {
28
+ "@contract-case/case-maintainer-config": "0.0.3",
29
+ "@contract-case/eslint-config-case-maintainer": "0.0.3",
30
+ "@types/jest": "^29.5.2",
31
+ "@types/uuid": "^9.0.2",
32
+ "prettier": "^3.0.3",
33
+ "rimraf": "^5.0.1",
34
+ "ts-jest": "^29.1.0",
35
+ "ts-node": "^10.9.1"
36
+ },
37
+ "dependencies": {
38
+ "@contract-case/case-boundary": "0.8.0",
39
+ "read-pkg-up": "^7.0.1",
40
+ "uuid": "^9.0.0"
41
+ },
42
+ "stability": "stable",
43
+ "types": "build/index.d.ts",
44
+ "nx": {
45
+ "tasksRunnerOptions": {
46
+ "default": {
47
+ "runner": "nx/tasks-runners/default",
48
+ "options": {
49
+ "cacheableOperations": [
50
+ "build",
51
+ "package",
52
+ "lint",
53
+ "format:check",
54
+ "test"
55
+ ]
56
+ }
57
+ }
58
+ },
59
+ "targetDefaults": {
60
+ "prebuild": {
61
+ "dependsOn": [
62
+ "^prebuild"
63
+ ]
64
+ },
65
+ "build": {
66
+ "dependsOn": [
67
+ "^build"
68
+ ],
69
+ "outputs": [
70
+ "{projectRoot}/build"
71
+ ]
72
+ },
73
+ "package": {
74
+ "outputs": [
75
+ "{projectRoot}/dist"
76
+ ]
77
+ }
78
+ }
79
+ },
80
+ "gitHead": "60f586df63e060e3a7f669b9425ef4ac6f9ce133"
81
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "include": ["src/**/*.ts"],
4
+ "exclude": [
5
+ "jest.config.ts",
6
+ "dist/**/*.js",
7
+ "example/*",
8
+ "src/__tests__/*",
9
+ "**/*.spec.verify.ts",
10
+ "**/*.spec.ts",
11
+ "**/*.test.ts",
12
+ "coverage"
13
+ ]
14
+ }