@constructive-io/seeder 0.5.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/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@constructive-io/seeder",
3
+ "version": "0.5.0",
4
+ "description": "Provision Constructive databases from schema blueprints and seed reusable datasets",
5
+ "keywords": [
6
+ "constructive",
7
+ "graphql",
8
+ "postgres",
9
+ "seeding",
10
+ "cli"
11
+ ],
12
+ "author": "Constructive",
13
+ "license": "MIT",
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "type": "module",
18
+ "exports": {
19
+ ".": {
20
+ "import": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.js"
23
+ },
24
+ "require": {
25
+ "types": "./dist/index.d.cts",
26
+ "default": "./dist/index.cjs"
27
+ }
28
+ }
29
+ },
30
+ "bin": {
31
+ "constructive-seeder": "./dist/bin.js"
32
+ },
33
+ "main": "./dist/index.cjs",
34
+ "module": "./dist/index.js",
35
+ "types": "./dist/index.d.ts",
36
+ "files": [
37
+ "dist",
38
+ "README.md",
39
+ "SEED_USAGE.md",
40
+ "SEED_GUIDE.md"
41
+ ],
42
+ "scripts": {
43
+ "build": "tsup",
44
+ "dev": "tsup --watch",
45
+ "clean": "rm -rf dist",
46
+ "seed": "tsx src/bin.ts full --blueprint marketplace --dataset marketplace-demo",
47
+ "seed:md": "tsx src/bin.ts full --blueprint marketplace --dataset marketplace-demo --size=md",
48
+ "seed:lg": "tsx src/bin.ts full --blueprint marketplace --dataset marketplace-demo --size=lg",
49
+ "seed:blog": "tsx src/bin.ts full --blueprint blog --dataset blog-demo",
50
+ "seed:saas": "tsx src/bin.ts full --blueprint saas --dataset saas-demo",
51
+ "seed:crm": "tsx src/bin.ts full --blueprint crm --dataset crm-demo",
52
+ "seed:peptides": "tsx src/bin.ts full --blueprint peptides --dataset peptides-demo",
53
+ "seed:logistics": "tsx src/bin.ts full --blueprint logistics --dataset logistics-demo",
54
+ "stress-test": "tsx src/stress-test.ts",
55
+ "codegen": "rm -rf ./src/generated/schema-builder && npx @constructive-io/graphql-codegen generate --config ./graphql-codegen.config.ts",
56
+ "codegen:w": "npx @constructive-io/graphql-codegen generate --config ./graphql-codegen.config.ts --watch",
57
+ "lint:types": "tsc --noEmit",
58
+ "prepack": "pnpm build"
59
+ },
60
+ "dependencies": {
61
+ "@0no-co/graphql.web": "^1.2.0",
62
+ "@constructive-io/data": "0.1.0",
63
+ "@constructive-io/graphql-types": "^3.0.0",
64
+ "@faker-js/faker": "^9.3.0",
65
+ "dotenv": "^17.2.3",
66
+ "gql-ast": "^3.0.0",
67
+ "graphql": "^16.9.0",
68
+ "graphql-request": "^7.4.0",
69
+ "inquirerer": "^4.7.0",
70
+ "zod": "^4"
71
+ },
72
+ "devDependencies": {
73
+ "@constructive-io/graphql-codegen": "^4.0.0",
74
+ "@types/node": "^20.19.27",
75
+ "tsup": "^8.5.1",
76
+ "tsx": "^4.21.0",
77
+ "typescript": "^5.9.3"
78
+ },
79
+ "engines": {
80
+ "node": ">=18.0.0"
81
+ },
82
+ "gitHead": "31997f3cab1e9181bcb0f551831076481f977e94"
83
+ }