@qlover/create-app 0.1.22 → 0.2.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/CHANGELOG.md +74 -0
- package/package.json +4 -4
- package/templates/react-app/.env.local +0 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,83 @@
|
|
|
1
1
|
# @qlover/create-app
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
#### ✨ Features
|
|
8
|
+
|
|
9
|
+
- Update ReleaseParams to include batchTagName and modify batchBranchName format (#362)
|
|
10
|
+
|
|
11
|
+
- Added `batchTagName` for batch release tagging with a new default format.
|
|
12
|
+
- Updated `batchBranchName` format to improve clarity and consistency.
|
|
13
|
+
- Enhanced the logic for generating release tags in the ReleaseParams class.
|
|
14
|
+
|
|
15
|
+
- Introduce viteMockPackage plugin and add mock implementations for env-loader and fe-corekit (#362)
|
|
16
|
+
|
|
17
|
+
- Added a new viteMockPackage plugin to facilitate mocking of specified packages in Vite tests.
|
|
18
|
+
- Implemented mock classes for Env in @qlover/env-loader and Logger in @qlover/fe-corekit.
|
|
19
|
+
- Updated vite.config.ts to include alias mappings for the mocked packages.
|
|
20
|
+
- Refactored tests to utilize the new mock implementations, enhancing test isolation and reliability.
|
|
21
|
+
|
|
22
|
+
#### ♻️ Refactors
|
|
23
|
+
|
|
24
|
+
- Simplify getDependencyReleaseLine function to return an empty string (#362)
|
|
25
|
+
|
|
26
|
+
- Removed unnecessary parameters and streamlined the function for better clarity and performance.
|
|
27
|
+
|
|
28
|
+
- Update GitChangelogOptions interface and improve comments (#362)
|
|
29
|
+
|
|
30
|
+
- Translated comments from Chinese to English for better clarity.
|
|
31
|
+
- Enhanced the GitChangelogOptions interface by adding a new `formatter` property and updating existing descriptions for consistency.
|
|
32
|
+
- Cleaned up comments in the GitChangelog class for improved readability.
|
|
33
|
+
|
|
34
|
+
- Enhance viteMockPackage to support dynamic alias mapping (#362)
|
|
35
|
+
|
|
36
|
+
- Introduced `parsePackagesMap` function to dynamically generate alias mappings for specified packages in vite.config.ts.
|
|
37
|
+
- Updated vite.config.ts to utilize the new function, improving maintainability and flexibility of package mocking.
|
|
38
|
+
- Removed hardcoded alias mappings for a more scalable approach to package management.
|
|
39
|
+
|
|
40
|
+
***
|
|
41
|
+
|
|
3
42
|
## 0.1.22
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
|
6
45
|
|
|
46
|
+
#### ✨ Features
|
|
47
|
+
|
|
48
|
+
- Update ReleaseParams to include batchTagName and modify batchBranchName format (#362)
|
|
49
|
+
|
|
50
|
+
- Added `batchTagName` for batch release tagging with a new default format.
|
|
51
|
+
- Updated `batchBranchName` format to improve clarity and consistency.
|
|
52
|
+
- Enhanced the logic for generating release tags in the ReleaseParams class.
|
|
53
|
+
|
|
54
|
+
- Introduce viteMockPackage plugin and add mock implementations for env-loader and fe-corekit (#362)
|
|
55
|
+
|
|
56
|
+
- Added a new viteMockPackage plugin to facilitate mocking of specified packages in Vite tests.
|
|
57
|
+
- Implemented mock classes for Env in @qlover/env-loader and Logger in @qlover/fe-corekit.
|
|
58
|
+
- Updated vite.config.ts to include alias mappings for the mocked packages.
|
|
59
|
+
- Refactored tests to utilize the new mock implementations, enhancing test isolation and reliability.
|
|
60
|
+
|
|
61
|
+
#### ♻️ Refactors
|
|
62
|
+
|
|
63
|
+
- Simplify getDependencyReleaseLine function to return an empty string (#362)
|
|
64
|
+
|
|
65
|
+
- Removed unnecessary parameters and streamlined the function for better clarity and performance.
|
|
66
|
+
|
|
67
|
+
- Update GitChangelogOptions interface and improve comments (#362)
|
|
68
|
+
|
|
69
|
+
- Translated comments from Chinese to English for better clarity.
|
|
70
|
+
- Enhanced the GitChangelogOptions interface by adding a new `formatter` property and updating existing descriptions for consistency.
|
|
71
|
+
- Cleaned up comments in the GitChangelog class for improved readability.
|
|
72
|
+
|
|
73
|
+
- Enhance viteMockPackage to support dynamic alias mapping (#362)
|
|
74
|
+
|
|
75
|
+
- Introduced `parsePackagesMap` function to dynamically generate alias mappings for specified packages in vite.config.ts.
|
|
76
|
+
- Updated vite.config.ts to utilize the new function, improving maintainability and flexibility of package mocking.
|
|
77
|
+
- Removed hardcoded alias mappings for a more scalable approach to package management.
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
7
81
|
## 0.1.21
|
|
8
82
|
|
|
9
83
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qlover/create-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@qlover/env-loader": "0.
|
|
46
|
+
"@qlover/env-loader": "0.2.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"commander": "^13.1.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"inquirer": "^12.3.2",
|
|
52
52
|
"ora": "^8.1.1",
|
|
53
53
|
"lodash": "^4.17.21",
|
|
54
|
-
"@qlover/fe-corekit": "1.
|
|
55
|
-
"@qlover/scripts-context": "0.0
|
|
54
|
+
"@qlover/fe-corekit": "1.3.0",
|
|
55
|
+
"@qlover/scripts-context": "0.1.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "rollup -c",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
NODE_ENV=local
|
|
2
|
-
|
|
3
|
-
# ci
|
|
4
|
-
NPM_TOKEN=
|
|
5
|
-
GITHUB_TOKEN=
|
|
6
|
-
|
|
7
|
-
# fe-scripts
|
|
8
|
-
FE_RELEASE_BRANCH=master
|
|
9
|
-
FE_RELEASE=false
|
|
10
|
-
FE_RELEASE_ENV=production
|
|
11
|
-
|
|
12
|
-
# ===== build
|
|
13
|
-
VITE_PUBLIC_PATH=
|
|
14
|
-
VITE_SERVER_PORT=3200
|
|
15
|
-
|
|
16
|
-
# ===== app config
|
|
17
|
-
VITE_USER_TOKEN_STORAGE_KEY=fe_user_token
|
|
18
|
-
VITE_OPEN_AI_MODELS='["gpt-4o-mini","gpt-3.5-turbo","gpt-3.5-turbo-2","gpt-4","gpt-4-32k"]'
|
|
19
|
-
VITE_OPEN_AI_BASE_URL=https://openai-proxy.brain.loocaa.com:1443/v1/
|
|
20
|
-
VITE_OPEN_AI_TOKEN=DlJYSkMVj1x4zoe8jZnjvxfHG6z5yGxK
|
|
21
|
-
VITE_OPEN_AI_TOKEN_PREFIX=Bearer
|
|
22
|
-
VITE_OPEN_AI_REQUIRE_TOKEN=true
|
|
23
|
-
VITE_LOGIN_USER=admin
|
|
24
|
-
VITE_LOGIN_PASSWORD=123456
|