prismadoc 1.0.34 → 1.0.35

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.
@@ -8,7 +8,7 @@ import addFormats from "ajv-formats";
8
8
  const __filename = fileURLToPath(import.meta.url);
9
9
  const __dirname = path.dirname(__filename);
10
10
  // Caminho para o schema dentro da lib
11
- const SCHEMA_PATH = path.join(__dirname, "../schemas/config.schema.json");
11
+ const SCHEMA_PATH = path.join(__dirname, "../../schemas/config.schema.json");
12
12
  const CONFIG_PATH = path.join(process.cwd(), "doc-gen.config.json");
13
13
  export class DocGenConfig {
14
14
  ignore;
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "prismadoc",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Auto generates ApiProperties from schema.prisma",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "build": "tsc && npm run copy-schemas",
10
- "copy-schemas": "node scripts/copy-schemas.js"
9
+ "build": "tsc"
11
10
  },
12
11
  "repository": {
13
12
  "type": "git",
@@ -40,6 +39,6 @@
40
39
  },
41
40
  "files": [
42
41
  "dist",
43
- "src/schemas/config.schema.json"
42
+ "schemas"
44
43
  ]
45
44
  }
File without changes