maishu-admin-scaffold
Advanced tools
Comparing version 1.1.0 to 1.2.1
@@ -8,2 +8,3 @@ "use strict"; | ||
const errors_1 = require("./errors"); | ||
const sc = require("maishu-chitu-scaffold"); | ||
/** @param {string} [basePath] */ | ||
@@ -18,2 +19,4 @@ function getVirtualPaths(basePath, targetPath) { | ||
Object.assign(staticFilePaths, existsFilePaths); | ||
let scFiles = sc.getVirtualPaths(basePath, targetPath); | ||
staticFilePaths = Object.assign(scFiles, staticFilePaths); | ||
if (basePath) { | ||
@@ -20,0 +23,0 @@ let keys = Object.getOwnPropertyNames(staticFilePaths); |
@@ -5,2 +5,3 @@ import * as fs from "fs"; | ||
import { errors } from "./errors"; | ||
import * as sc from "maishu-chitu-scaffold"; | ||
@@ -18,2 +19,5 @@ /** @param {string} [basePath] */ | ||
let scFiles = sc.getVirtualPaths(basePath, targetPath); | ||
staticFilePaths = Object.assign(scFiles, staticFilePaths); | ||
if (basePath) { | ||
@@ -20,0 +24,0 @@ let keys = Object.getOwnPropertyNames(staticFilePaths); |
@@ -5,2 +5,3 @@ { | ||
"maishu-chitu-react": "^1.27.0", | ||
"maishu-chitu-scaffold": "^1.12.0", | ||
"maishu-requirejs-plugins": "^1.3.0", | ||
@@ -25,6 +26,8 @@ "maishu-ui-toolkit": "^1.9.0", | ||
"@types/react-dom": "^17.0.1", | ||
"mocha": "^8.3.0" | ||
"maishu-node-mvc": "^2.17.0", | ||
"mocha": "^8.3.0", | ||
"node-sass": "^5.0.0" | ||
}, | ||
"name": "maishu-admin-scaffold", | ||
"version": "1.1.0" | ||
} | ||
"version": "1.2.1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
414256
7711
8
15
33
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedanymatch@3.1.3(transitive)
+ Addedbinary-extensions@2.3.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedchokidar@3.6.0(transitive)
+ Addedcliui@7.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddate-format@4.0.14(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedflatted@3.3.2(transitive)
+ Addedfs-extra@8.1.0(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedis-binary-path@2.1.0(transitive)
+ Addedis-class@0.0.9(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedlog4js@6.9.1(transitive)
+ Addedmaishu-chitu-scaffold@1.24.3(transitive)
+ Addedmaishu-dilu-react@1.7.0(transitive)
+ Addedmaishu-node-web-server@1.41.0(transitive)
+ Addedmaishu-nws-mvc@1.19.0(transitive)
+ Addednode-gzip@1.1.2(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedreaddirp@3.6.0(transitive)
+ Addedreflect-metadata@0.1.14(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedrfdc@1.4.1(transitive)
+ Addedstreamroller@3.1.5(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@16.2.0(transitive)
+ Addedyargs-parser@20.2.9(transitive)