@abpjs/account 0.9.0 → 1.0.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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @abpjs/account
3
3
  * ABP Framework Account module for React
4
- * Translated from @abp/ng.account v0.9.0
4
+ * Translated from @abp/ng.account v1.0.0
5
5
  */
6
6
  export * from './models';
7
7
  export * from './services';
@@ -11,6 +11,7 @@ import { type ABP } from '@abpjs/core';
11
11
  * - /account/register
12
12
  *
13
13
  * @since 0.9.0 - Changed from array to object with `routes` property
14
+ * @deprecated since version 0.9 - Routes are now configured via AccountProvider
14
15
  */
15
16
  export declare const ACCOUNT_ROUTES: {
16
17
  routes: ABP.FullRoute[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abpjs/account",
3
- "version": "0.9.0",
3
+ "version": "1.0.0",
4
4
  "description": "ABP Framework Account module for React - Translation of @abp/ng.account",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -52,11 +52,23 @@
52
52
  "react-redux": "^9.0.0",
53
53
  "zod": "^3.22.0",
54
54
  "react-icons": "^5.0.0",
55
- "@abpjs/theme-shared": "0.9.0",
56
- "@abpjs/core": "0.9.0"
55
+ "@abpjs/core": "1.0.0",
56
+ "@abpjs/theme-shared": "1.0.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@abp/ng.account": "0.9.0"
59
+ "@abp/ng.account": "1.0.0",
60
+ "@reduxjs/toolkit": "^2.0.0",
61
+ "@testing-library/jest-dom": "^6.4.0",
62
+ "@testing-library/react": "^14.2.0",
63
+ "@testing-library/user-event": "^14.6.1",
64
+ "@types/react": "^18.2.0",
65
+ "@types/react-dom": "^18.2.0",
66
+ "@vitest/coverage-v8": "^1.2.0",
67
+ "jsdom": "^24.0.0",
68
+ "react": "^18.2.0",
69
+ "react-dom": "^18.2.0",
70
+ "react-router-dom": "^6.20.0",
71
+ "vitest": "^1.2.0"
60
72
  },
61
73
  "scripts": {
62
74
  "build": "tsup src/index.ts --format cjs,esm --clean && tsc -p tsconfig.build.json",
@@ -66,6 +78,7 @@
66
78
  "format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
67
79
  "format:check": "prettier --check \"src/**/*.{ts,tsx,json,md}\"",
68
80
  "type-check": "tsc --noEmit",
69
- "test": "vitest"
81
+ "test": "vitest run",
82
+ "test:watch": "vitest"
70
83
  }
71
84
  }