netcore-blueprint 0.0.71 → 0.0.72
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/README.md +8 -1
- package/lib/replacer.js +0 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,5 +4,12 @@ How to use the blueprint
|
|
|
4
4
|
- npm install -g netcore-blueprint
|
|
5
5
|
- npm list -g netcore-blueprint
|
|
6
6
|
- create-app AppName (Sửa connection string)
|
|
7
|
+
|
|
8
|
+
//App thường
|
|
7
9
|
- create-module ModuleName
|
|
8
|
-
- copy-module CopiedModuleName TargetFolder (Run in the folder Modules right outside the solution) (copy-module CopiedModuleName TargetFolder --force)
|
|
10
|
+
- copy-module CopiedModuleName TargetFolder (Run in the folder Modules right outside the solution) (copy-module CopiedModuleName TargetFolder --force)
|
|
11
|
+
|
|
12
|
+
//AI Assistant
|
|
13
|
+
- create-assistant-module
|
|
14
|
+
- create-assistant
|
|
15
|
+
- copy-assistant (Chỉ copy được khi assistant module đã tồn tại)
|
package/lib/replacer.js
CHANGED
|
@@ -12,13 +12,6 @@ function buildReplaceMap({
|
|
|
12
12
|
{ from: "__module__", to: newModuleName.toLowerCase() },
|
|
13
13
|
{ from: sourceModuleName, to: newModuleName },
|
|
14
14
|
|
|
15
|
-
// =====================
|
|
16
|
-
// Entity placeholders
|
|
17
|
-
// =====================
|
|
18
|
-
{ from: "__ITEM__", to: newEntityName },
|
|
19
|
-
{ from: "__item__", to: newEntityName.toLowerCase() },
|
|
20
|
-
{ from: sourceEntityName, to: newEntityName },
|
|
21
|
-
|
|
22
15
|
// =====================
|
|
23
16
|
// Lowercase entity fallback
|
|
24
17
|
// =====================
|