@idevconn/create-icore 0.6.0 → 0.6.1

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 (30) hide show
  1. package/dist/cli.js +73 -18
  2. package/dist/index.cjs +73 -18
  3. package/dist/index.js +73 -18
  4. package/package.json +1 -1
  5. package/templates/apps/api/package.json +1 -0
  6. package/templates/apps/api/webpack.config.js +20 -0
  7. package/templates/apps/microservices/auth/webpack.config.js +30 -0
  8. package/templates/apps/microservices/jobs/webpack.config.js +30 -0
  9. package/templates/apps/microservices/notes/webpack.config.js +30 -0
  10. package/templates/apps/microservices/payment/webpack.config.js +30 -0
  11. package/templates/apps/microservices/upload/webpack.config.js +30 -0
  12. package/templates/apps/templates/client-shadcn/src/routes/login.tsx +8 -15
  13. package/templates/libs/auth-client/package.json +1 -1
  14. package/templates/libs/auth-strategies/firebase/package.json +1 -1
  15. package/templates/libs/auth-strategies/supabase/package.json +1 -1
  16. package/templates/libs/db-strategies/firestore/package.json +1 -1
  17. package/templates/libs/db-strategies/supabase/package.json +1 -1
  18. package/templates/libs/firebase-admin/package.json +1 -1
  19. package/templates/libs/jobs-client/package.json +1 -1
  20. package/templates/libs/notes-client/package.json +1 -1
  21. package/templates/libs/payment-client/package.json +1 -1
  22. package/templates/libs/shared/package.json +3 -3
  23. package/templates/libs/storage-strategies/cloudinary/package.json +1 -1
  24. package/templates/libs/storage-strategies/firebase/package.json +1 -1
  25. package/templates/libs/storage-strategies/supabase/package.json +1 -1
  26. package/templates/libs/template-shared/package.json +1 -1
  27. package/templates/libs/upload-client/package.json +1 -1
  28. package/templates/package.json +2 -1
  29. package/templates/tools/create-icore/_template-shell/package.json +2 -1
  30. package/templates/.yarn/releases/yarn-4.5.0.cjs +0 -925
@@ -1,19 +1,12 @@
1
- import { SyntheticEvent, createFileRoute, useNavigate } from '@tanstack/react-router';
1
+ import { createFileRoute, useNavigate } from '@tanstack/react-router';
2
2
  import { SyntheticEvent, useState } from 'react';
3
- import { SyntheticEvent, useTranslation } from 'react-i18next';
4
- import { SyntheticEvent, useAuthStore, useNotify } from '@icore/template-shared';
5
- import { SyntheticEvent, api } from '../main';
6
- import { SyntheticEvent, Button } from '../components/ui/button';
7
- import { SyntheticEvent, Input } from '../components/ui/input';
8
- import { SyntheticEvent, Label } from '../components/ui/label';
9
- import {
10
- SyntheticEvent,
11
- Card,
12
- CardContent,
13
- CardDescription,
14
- CardHeader,
15
- CardTitle,
16
- } from '../components/ui/card';
3
+ import { useTranslation } from 'react-i18next';
4
+ import { useAuthStore, useNotify } from '@icore/template-shared';
5
+ import { api } from '../main';
6
+ import { Button } from '../components/ui/button';
7
+ import { Input } from '../components/ui/input';
8
+ import { Label } from '../components/ui/label';
9
+ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../components/ui/card';
17
10
 
18
11
  type Mode = 'password' | 'magicLinkRequest' | 'magicLinkSent';
19
12
 
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@nestjs/common": "^11.1.24",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "tslib": "^2.3.0"
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@supabase/supabase-js": "^2.0.0",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "tslib": "^2.3.0"
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@supabase/supabase-js": "^2.0.0",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "firebase-admin": "^13.10.0",
10
10
  "tslib": "^2.3.0"
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@nestjs/common": "^11.1.24",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@nestjs/common": "^11.1.24",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@idevconn/payment": "^1.2.0",
@@ -4,15 +4,15 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "exports": {
9
9
  ".": {
10
10
  "require": "./src/index.js",
11
- "types": "./src/index.d.ts"
11
+ "types": "./src/index.ts"
12
12
  },
13
13
  "./client": {
14
14
  "require": "./src/client.js",
15
- "types": "./src/client.d.ts"
15
+ "types": "./src/client.ts"
16
16
  }
17
17
  },
18
18
  "dependencies": {
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "tslib": "^2.3.0"
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "tslib": "^2.3.0"
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@supabase/supabase-js": "^2.0.0",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@casl/react": "^7.0.0",
10
10
  "@icore/shared": "*",
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
7
- "types": "./src/index.d.ts",
7
+ "types": "./src/index.ts",
8
8
  "dependencies": {
9
9
  "@icore/shared": "*",
10
10
  "@nestjs/common": "^11.1.24",
@@ -23,8 +23,8 @@
23
23
  "prepare": "husky"
24
24
  },
25
25
  "devDependencies": {
26
- "@icore/vite-plugins": "workspace:*",
27
26
  "@eslint/js": "^9.18.0",
27
+ "@icore/vite-plugins": "workspace:*",
28
28
  "@nestjs/schematics": "^11.0.0",
29
29
  "@nestjs/testing": "^11.0.0",
30
30
  "@nx/devkit": "22.7.5",
@@ -79,6 +79,7 @@
79
79
  "react-dom": "^19.2.6",
80
80
  "ts-jest": "^29.4.0",
81
81
  "ts-node": "10.9.1",
82
+ "tsconfig-paths-webpack-plugin": "^4.2.0",
82
83
  "tslib": "^2.3.0",
83
84
  "typescript": "^5.7.0",
84
85
  "typescript-eslint": "^8.60.0",
@@ -23,8 +23,8 @@
23
23
  "prepare": "husky"
24
24
  },
25
25
  "devDependencies": {
26
- "@icore/vite-plugins": "workspace:*",
27
26
  "@eslint/js": "^9.18.0",
27
+ "@icore/vite-plugins": "workspace:*",
28
28
  "@nestjs/schematics": "^11.0.0",
29
29
  "@nestjs/testing": "^11.0.0",
30
30
  "@nx/devkit": "22.7.5",
@@ -79,6 +79,7 @@
79
79
  "react-dom": "^19.2.6",
80
80
  "ts-jest": "^29.4.0",
81
81
  "ts-node": "10.9.1",
82
+ "tsconfig-paths-webpack-plugin": "^4.2.0",
82
83
  "tslib": "^2.3.0",
83
84
  "typescript": "^5.7.0",
84
85
  "typescript-eslint": "^8.60.0",