@genapi/pipeline 3.6.4 → 3.7.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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -0
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -3,6 +3,7 @@ import { astNodeToCode, codeToAstNode, createComment, createFunction, createImpo
3
3
  import { NodeFlags, factory } from "typescript";
4
4
  import path from "node:path";
5
5
  import process from "node:process";
6
+ import { provide } from "@genapi/shared";
6
7
  import fs from "fs-extra";
7
8
  import { format } from "prettier";
8
9
  import got from "got";
@@ -147,6 +148,10 @@ function config(userConfig) {
147
148
  response: userConfig.responseType
148
149
  }
149
150
  };
151
+ provide({
152
+ config: userConfig,
153
+ configRead
154
+ });
150
155
  return configRead;
151
156
  }
152
157
  function prefix(path$1) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genapi/pipeline",
3
3
  "type": "module",
4
- "version": "3.6.4",
4
+ "version": "3.7.0",
5
5
  "author": "Hairyf <wwu710632@gmail.com>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/hairyf/genapi#readme",
@@ -26,7 +26,7 @@
26
26
  "prettier": "^2.8.4",
27
27
  "ts-factory-extra": "^0.0.5",
28
28
  "typescript": "^5.0.0",
29
- "@genapi/shared": "3.6.4"
29
+ "@genapi/shared": "3.7.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/fs-extra": "^11.0.1"