@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.
Files changed (34) hide show
  1. package/dist/cli.js +24 -2
  2. package/dist/index.cjs +23 -1
  3. package/dist/index.d.cts +2 -2
  4. package/dist/index.d.ts +2 -2
  5. package/dist/index.js +23 -1
  6. package/package.json +1 -1
  7. package/templates/docker-compose.yml +14 -0
  8. package/templates/libs/auth-strategies/postgres/eslint.config.mjs +32 -0
  9. package/templates/libs/auth-strategies/postgres/package.json +23 -0
  10. package/templates/libs/auth-strategies/postgres/project.json +19 -0
  11. package/templates/libs/auth-strategies/postgres/src/index.ts +3 -0
  12. package/templates/libs/auth-strategies/postgres/src/lib/__tests__/postgres-auth.contract.unit.test.ts +4 -0
  13. package/templates/libs/auth-strategies/postgres/src/lib/__tests__/postgres-auth.module.unit.test.ts +49 -0
  14. package/templates/libs/auth-strategies/postgres/src/lib/postgres-auth.module.ts +39 -0
  15. package/templates/libs/auth-strategies/postgres/src/lib/postgres-auth.strategy.ts +210 -0
  16. package/templates/libs/auth-strategies/postgres/src/lib/testing/mock-postgres-auth.ts +106 -0
  17. package/templates/libs/auth-strategies/postgres/tsconfig.json +19 -0
  18. package/templates/libs/auth-strategies/postgres/tsconfig.lib.json +24 -0
  19. package/templates/libs/auth-strategies/postgres/tsconfig.spec.json +22 -0
  20. package/templates/libs/auth-strategies/postgres/vitest.config.mts +22 -0
  21. package/templates/libs/db-strategies/postgres/eslint.config.mjs +30 -0
  22. package/templates/libs/db-strategies/postgres/package.json +19 -0
  23. package/templates/libs/db-strategies/postgres/project.json +19 -0
  24. package/templates/libs/db-strategies/postgres/src/index.ts +3 -0
  25. package/templates/libs/db-strategies/postgres/src/lib/__tests__/postgres-db.contract.unit.test.ts +4 -0
  26. package/templates/libs/db-strategies/postgres/src/lib/__tests__/postgres-db.module.unit.test.ts +37 -0
  27. package/templates/libs/db-strategies/postgres/src/lib/postgres-db.module.ts +33 -0
  28. package/templates/libs/db-strategies/postgres/src/lib/postgres-db.strategy.ts +139 -0
  29. package/templates/libs/db-strategies/postgres/src/lib/testing/mock-postgres.ts +94 -0
  30. package/templates/libs/db-strategies/postgres/tsconfig.json +19 -0
  31. package/templates/libs/db-strategies/postgres/tsconfig.lib.json +24 -0
  32. package/templates/libs/db-strategies/postgres/tsconfig.spec.json +22 -0
  33. package/templates/libs/db-strategies/postgres/vitest.config.mts +22 -0
  34. 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"]