@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.
- package/dist/cli.js +73 -18
- package/dist/index.cjs +73 -18
- package/dist/index.js +73 -18
- package/package.json +1 -1
- package/templates/apps/api/package.json +1 -0
- package/templates/apps/api/webpack.config.js +20 -0
- package/templates/apps/microservices/auth/webpack.config.js +30 -0
- package/templates/apps/microservices/jobs/webpack.config.js +30 -0
- package/templates/apps/microservices/notes/webpack.config.js +30 -0
- package/templates/apps/microservices/payment/webpack.config.js +30 -0
- package/templates/apps/microservices/upload/webpack.config.js +30 -0
- package/templates/apps/templates/client-shadcn/src/routes/login.tsx +8 -15
- package/templates/libs/auth-client/package.json +1 -1
- package/templates/libs/auth-strategies/firebase/package.json +1 -1
- package/templates/libs/auth-strategies/supabase/package.json +1 -1
- package/templates/libs/db-strategies/firestore/package.json +1 -1
- package/templates/libs/db-strategies/supabase/package.json +1 -1
- package/templates/libs/firebase-admin/package.json +1 -1
- package/templates/libs/jobs-client/package.json +1 -1
- package/templates/libs/notes-client/package.json +1 -1
- package/templates/libs/payment-client/package.json +1 -1
- package/templates/libs/shared/package.json +3 -3
- package/templates/libs/storage-strategies/cloudinary/package.json +1 -1
- package/templates/libs/storage-strategies/firebase/package.json +1 -1
- package/templates/libs/storage-strategies/supabase/package.json +1 -1
- package/templates/libs/template-shared/package.json +1 -1
- package/templates/libs/upload-client/package.json +1 -1
- package/templates/package.json +2 -1
- package/templates/tools/create-icore/_template-shell/package.json +2 -1
- package/templates/.yarn/releases/yarn-4.5.0.cjs +0 -925
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createFileRoute, useNavigate } from '@tanstack/react-router';
|
|
2
2
|
import { SyntheticEvent, useState } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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,15 +4,15 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
|
-
"types": "./src/index.
|
|
7
|
+
"types": "./src/index.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"require": "./src/index.js",
|
|
11
|
-
"types": "./src/index.
|
|
11
|
+
"types": "./src/index.ts"
|
|
12
12
|
},
|
|
13
13
|
"./client": {
|
|
14
14
|
"require": "./src/client.js",
|
|
15
|
-
"types": "./src/client.
|
|
15
|
+
"types": "./src/client.ts"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
package/templates/package.json
CHANGED
|
@@ -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",
|