@idevconn/create-icore 0.10.2 → 0.12.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/cli.js +24 -2
- package/dist/index.cjs +23 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +23 -1
- package/package.json +1 -1
- package/templates/docker-compose.yml +14 -0
- package/templates/libs/auth-strategies/postgres/eslint.config.mjs +32 -0
- package/templates/libs/auth-strategies/postgres/package.json +23 -0
- package/templates/libs/auth-strategies/postgres/project.json +19 -0
- package/templates/libs/auth-strategies/postgres/src/index.ts +3 -0
- package/templates/libs/auth-strategies/postgres/src/lib/__tests__/postgres-auth.contract.unit.test.ts +4 -0
- package/templates/libs/auth-strategies/postgres/src/lib/__tests__/postgres-auth.module.unit.test.ts +49 -0
- package/templates/libs/auth-strategies/postgres/src/lib/postgres-auth.module.ts +39 -0
- package/templates/libs/auth-strategies/postgres/src/lib/postgres-auth.strategy.ts +210 -0
- package/templates/libs/auth-strategies/postgres/src/lib/testing/mock-postgres-auth.ts +106 -0
- package/templates/libs/auth-strategies/postgres/tsconfig.json +19 -0
- package/templates/libs/auth-strategies/postgres/tsconfig.lib.json +24 -0
- package/templates/libs/auth-strategies/postgres/tsconfig.spec.json +22 -0
- package/templates/libs/auth-strategies/postgres/vitest.config.mts +22 -0
- package/templates/libs/db-strategies/postgres/eslint.config.mjs +30 -0
- package/templates/libs/db-strategies/postgres/package.json +19 -0
- package/templates/libs/db-strategies/postgres/project.json +19 -0
- package/templates/libs/db-strategies/postgres/src/index.ts +3 -0
- package/templates/libs/db-strategies/postgres/src/lib/__tests__/postgres-db.contract.unit.test.ts +4 -0
- package/templates/libs/db-strategies/postgres/src/lib/__tests__/postgres-db.module.unit.test.ts +37 -0
- package/templates/libs/db-strategies/postgres/src/lib/postgres-db.module.ts +33 -0
- package/templates/libs/db-strategies/postgres/src/lib/postgres-db.strategy.ts +139 -0
- package/templates/libs/db-strategies/postgres/src/lib/testing/mock-postgres.ts +94 -0
- package/templates/libs/db-strategies/postgres/tsconfig.json +19 -0
- package/templates/libs/db-strategies/postgres/tsconfig.lib.json +24 -0
- package/templates/libs/db-strategies/postgres/tsconfig.spec.json +22 -0
- package/templates/libs/db-strategies/postgres/vitest.config.mts +22 -0
- package/templates/tsconfig.base.json +3 -1
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"@idevconn/create-icore": ["./tools/create-icore/src/index.ts"],
|
|
28
28
|
"@icore/db-supabase": ["./libs/db-strategies/supabase/src/index.ts"],
|
|
29
29
|
"@icore/db-firestore": ["./libs/db-strategies/firestore/src/index.ts"],
|
|
30
|
+
"@icore/db-postgres": ["./libs/db-strategies/postgres/src/index.ts"],
|
|
30
31
|
"@icore/payment-client": ["./libs/payment-client/src/index.ts"],
|
|
31
32
|
"@icore/notes-client": ["./libs/notes-client/src/index.ts"],
|
|
32
33
|
"@icore/jobs-client": ["./libs/jobs-client/src/index.ts"],
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
"@icore/firebase-admin": ["./libs/firebase-admin/src/index.ts"],
|
|
35
36
|
"@icore/db-mongodb": ["./libs/db-strategies/mongodb/src/index.ts"],
|
|
36
37
|
"@icore/storage-mongodb": ["./libs/storage-strategies/mongodb/src/index.ts"],
|
|
37
|
-
"@icore/auth-mongodb": ["./libs/auth-strategies/mongodb/src/index.ts"]
|
|
38
|
+
"@icore/auth-mongodb": ["./libs/auth-strategies/mongodb/src/index.ts"],
|
|
39
|
+
"@icore/auth-postgres": ["./libs/auth-strategies/postgres/src/index.ts"]
|
|
38
40
|
}
|
|
39
41
|
},
|
|
40
42
|
"exclude": ["node_modules", "dist", ".nx", "tools/create-icore/templates"]
|