pg-dump-parser 1.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/LICENSE +24 -0
- package/README.md +63 -0
- package/dist/parsePgDump.d.ts +36 -0
- package/dist/parsePgDump.d.ts.map +1 -0
- package/dist/parsePgDump.js +111 -0
- package/dist/parsePgDump.js.map +1 -0
- package/dist/parsePgDump.test.d.ts +2 -0
- package/dist/parsePgDump.test.d.ts.map +1 -0
- package/dist/parsePgDump.test.js +695 -0
- package/dist/parsePgDump.test.js.map +1 -0
- package/package.json +60 -0
- package/src/parsePgDump.test.ts +736 -0
- package/src/parsePgDump.ts +143 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": {
|
|
3
|
+
"email": "gajus@gajus.com",
|
|
4
|
+
"name": "Gajus Kuizinas",
|
|
5
|
+
"url": "http://gajus.com"
|
|
6
|
+
},
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"multiline-ts": "^4.0.1",
|
|
9
|
+
"zod": "^3.23.8"
|
|
10
|
+
},
|
|
11
|
+
"description": "Parses PostgreSQL dump files into an array of schema objects.",
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
14
|
+
"@semantic-release/github": "^8.0.7",
|
|
15
|
+
"@semantic-release/npm": "^9.0.2",
|
|
16
|
+
"@types/node": "^18.15.3",
|
|
17
|
+
"cspell": "^6.30.2",
|
|
18
|
+
"eslint": "^8.36.0",
|
|
19
|
+
"eslint-config-canonical": "^41.0.1",
|
|
20
|
+
"semantic-release": "^20.1.3",
|
|
21
|
+
"typescript": "^5.0.2",
|
|
22
|
+
"vitest": "^0.29.7"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"types": "./dist/index.d.ts"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"./src",
|
|
35
|
+
"./dist"
|
|
36
|
+
],
|
|
37
|
+
"keywords": [
|
|
38
|
+
"duration",
|
|
39
|
+
"human",
|
|
40
|
+
"format"
|
|
41
|
+
],
|
|
42
|
+
"license": "BSD-3-Clause",
|
|
43
|
+
"main": "./dist/index.js",
|
|
44
|
+
"name": "pg-dump-parser",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://github.com/gajus/pg-dump-parser"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "rm -fr ./dist && tsc --project tsconfig.build.json",
|
|
51
|
+
"dev": "tsc --watch",
|
|
52
|
+
"lint": "npm run lint:tsc && npm run lint:eslint && npm run lint:cspell",
|
|
53
|
+
"lint:cspell": "cspell './**/*.{ts,tsx}' --no-progress --gitignore",
|
|
54
|
+
"lint:eslint": "eslint --color .",
|
|
55
|
+
"lint:tsc": "tsc",
|
|
56
|
+
"test:vitest": "vitest --run --passWithNoTests"
|
|
57
|
+
},
|
|
58
|
+
"types": "./dist/index.d.ts",
|
|
59
|
+
"version": "1.0.0"
|
|
60
|
+
}
|