@schmock/schmock 1.10.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/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/package.json +48 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @schmock/schmock — Meta-package that installs all Schmock packages.
|
|
3
|
+
*
|
|
4
|
+
* Usage:
|
|
5
|
+
* bun install @schmock/schmock
|
|
6
|
+
*
|
|
7
|
+
* This gives you access to all @schmock/* packages:
|
|
8
|
+
* - @schmock/core — Core mock builder
|
|
9
|
+
* - @schmock/faker — Faker-powered data generation
|
|
10
|
+
* - @schmock/validation — Request/response validation
|
|
11
|
+
* - @schmock/query — Pagination, sorting, filtering
|
|
12
|
+
* - @schmock/openapi — Auto-register routes from OpenAPI specs
|
|
13
|
+
* - @schmock/express — Express middleware adapter
|
|
14
|
+
* - @schmock/angular — Angular HTTP interceptor adapter
|
|
15
|
+
* - @schmock/cli — Standalone CLI server
|
|
16
|
+
*
|
|
17
|
+
* Import from individual packages:
|
|
18
|
+
* import { schmock } from "@schmock/core";
|
|
19
|
+
* import { openapi } from "@schmock/openapi";
|
|
20
|
+
* import { toExpress } from "@schmock/express";
|
|
21
|
+
*/
|
|
22
|
+
export { schmock } from "@schmock/core";
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{schmock as e}from"@schmock/core";export{e as schmock};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@schmock/schmock",
|
|
3
|
+
"version": "1.10.0",
|
|
4
|
+
"description": "All-in-one Schmock package — installs core, faker, validation, query, openapi, express, angular, and CLI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "bun build:lib && bun build:types",
|
|
20
|
+
"build:lib": "bun build --minify --target node --outdir=dist src/index.ts --external @schmock/core --external @schmock/faker --external @schmock/validation --external @schmock/query --external @schmock/openapi --external @schmock/express --external @schmock/angular --external @schmock/cli",
|
|
21
|
+
"build:types": "tsc -p tsconfig.json",
|
|
22
|
+
"lint": "biome check src/",
|
|
23
|
+
"lint:fix": "biome check --write --unsafe src/",
|
|
24
|
+
"check:publish": "publint && attw --pack --ignore-rules cjs-resolves-to-esm"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@schmock/core": "^1.10.0",
|
|
28
|
+
"@schmock/faker": "^1.10.0",
|
|
29
|
+
"@schmock/validation": "^1.10.0",
|
|
30
|
+
"@schmock/query": "^1.10.0",
|
|
31
|
+
"@schmock/openapi": "^1.10.0",
|
|
32
|
+
"@schmock/express": "^1.10.0",
|
|
33
|
+
"@schmock/angular": "^1.10.0",
|
|
34
|
+
"@schmock/cli": "^1.10.0"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"mock",
|
|
38
|
+
"api",
|
|
39
|
+
"openapi",
|
|
40
|
+
"swagger",
|
|
41
|
+
"testing",
|
|
42
|
+
"development",
|
|
43
|
+
"express",
|
|
44
|
+
"angular"
|
|
45
|
+
],
|
|
46
|
+
"author": "Khalic Lab",
|
|
47
|
+
"license": "MIT"
|
|
48
|
+
}
|