mirror of https://github.com/abpframework/abp.git
125 changed files with 2097 additions and 2048 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,20 @@ |
|||||
|
import { SchematicContext, Tree } from '@angular-devkit/schematics'; |
||||
|
import { |
||||
|
buildDefaultPath, |
||||
|
createProxyIndexGenerator, |
||||
|
removeDefaultPlaceholders, |
||||
|
resolveProject, |
||||
|
} from '../../utils'; |
||||
|
|
||||
|
export default function(schema: { target?: string }) { |
||||
|
const params = removeDefaultPlaceholders(schema); |
||||
|
|
||||
|
return async (host: Tree, _context: SchematicContext) => { |
||||
|
const target = await resolveProject(host, params.target!); |
||||
|
const targetPath = buildDefaultPath(target.definition); |
||||
|
|
||||
|
const generateIndex = createProxyIndexGenerator(targetPath); |
||||
|
|
||||
|
return generateIndex(host); |
||||
|
}; |
||||
|
} |
||||
@ -0,0 +1,18 @@ |
|||||
|
{ |
||||
|
"$schema": "http://json-schema.org/schema", |
||||
|
"id": "SchematicsAbpIndexProxy", |
||||
|
"title": "ABP Index Proxy Schema", |
||||
|
"type": "object", |
||||
|
"properties": { |
||||
|
"target": { |
||||
|
"description": "Target Angular project to place the generated code", |
||||
|
"type": "string", |
||||
|
"$default": { |
||||
|
"$source": "argv", |
||||
|
"index": 0 |
||||
|
}, |
||||
|
"x-prompt": "Plese enter target Angular project to place the generated code. (default: workspace \"defaultProject\")" |
||||
|
} |
||||
|
}, |
||||
|
"required": [] |
||||
|
} |
||||
@ -1,11 +1,11 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/aspnetcore.mvc.ui.theme.basic", |
"name": "@abp/aspnetcore.mvc.ui.theme.basic", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/aspnetcore.mvc.ui.theme.shared": "~3.1.0-rc.4" |
"@abp/aspnetcore.mvc.ui.theme.shared": "~3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
@ -1,24 +1,24 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/aspnetcore.mvc.ui.theme.shared", |
"name": "@abp/aspnetcore.mvc.ui.theme.shared", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/aspnetcore.mvc.ui": "~3.1.0-rc.4", |
"@abp/aspnetcore.mvc.ui": "~3.1.0", |
||||
"@abp/bootstrap": "~3.1.0-rc.4", |
"@abp/bootstrap": "~3.1.0", |
||||
"@abp/bootstrap-datepicker": "~3.1.0-rc.4", |
"@abp/bootstrap-datepicker": "~3.1.0", |
||||
"@abp/datatables.net-bs4": "~3.1.0-rc.4", |
"@abp/datatables.net-bs4": "~3.1.0", |
||||
"@abp/font-awesome": "~3.1.0-rc.4", |
"@abp/font-awesome": "~3.1.0", |
||||
"@abp/jquery-form": "~3.1.0-rc.4", |
"@abp/jquery-form": "~3.1.0", |
||||
"@abp/jquery-validation-unobtrusive": "~3.1.0-rc.4", |
"@abp/jquery-validation-unobtrusive": "~3.1.0", |
||||
"@abp/lodash": "~3.1.0-rc.4", |
"@abp/lodash": "~3.1.0", |
||||
"@abp/luxon": "~3.1.0-rc.4", |
"@abp/luxon": "~3.1.0", |
||||
"@abp/malihu-custom-scrollbar-plugin": "~3.1.0-rc.4", |
"@abp/malihu-custom-scrollbar-plugin": "~3.1.0", |
||||
"@abp/select2": "~3.1.0-rc.4", |
"@abp/select2": "~3.1.0", |
||||
"@abp/sweetalert": "~3.1.0-rc.4", |
"@abp/sweetalert": "~3.1.0", |
||||
"@abp/timeago": "~3.1.0-rc.4", |
"@abp/timeago": "~3.1.0", |
||||
"@abp/toastr": "~3.1.0-rc.4" |
"@abp/toastr": "~3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
@ -1,14 +1,14 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/blogging", |
"name": "@abp/blogging", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/aspnetcore.mvc.ui.theme.shared": "~3.1.0-rc.4", |
"@abp/aspnetcore.mvc.ui.theme.shared": "~3.1.0", |
||||
"@abp/owl.carousel": "~3.1.0-rc.4", |
"@abp/owl.carousel": "~3.1.0", |
||||
"@abp/prismjs": "~3.1.0-rc.4", |
"@abp/prismjs": "~3.1.0", |
||||
"@abp/tui-editor": "~3.1.0-rc.4" |
"@abp/tui-editor": "~3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
@ -1,11 +1,11 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/core", |
"name": "@abp/core", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/utils": "^3.1.0-rc.4" |
"@abp/utils": "^3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
@ -1,15 +1,15 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/docs", |
"name": "@abp/docs", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/anchor-js": "~3.1.0-rc.4", |
"@abp/anchor-js": "~3.1.0", |
||||
"@abp/clipboard": "~3.1.0-rc.4", |
"@abp/clipboard": "~3.1.0", |
||||
"@abp/malihu-custom-scrollbar-plugin": "~3.1.0-rc.4", |
"@abp/malihu-custom-scrollbar-plugin": "~3.1.0", |
||||
"@abp/popper.js": "~3.1.0-rc.4", |
"@abp/popper.js": "~3.1.0", |
||||
"@abp/prismjs": "~3.1.0-rc.4" |
"@abp/prismjs": "~3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
@ -1,11 +1,11 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/highlight.js", |
"name": "@abp/highlight.js", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/core": "~3.1.0-rc.4" |
"@abp/core": "~3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
@ -1,12 +1,12 @@ |
|||||
{ |
{ |
||||
"version": "3.1.0-rc.4", |
"version": "3.1.0", |
||||
"name": "@abp/virtual-file-explorer", |
"name": "@abp/virtual-file-explorer", |
||||
"publishConfig": { |
"publishConfig": { |
||||
"access": "public" |
"access": "public" |
||||
}, |
}, |
||||
"dependencies": { |
"dependencies": { |
||||
"@abp/clipboard": "~3.1.0-rc.4", |
"@abp/clipboard": "~3.1.0", |
||||
"@abp/prismjs": "~3.1.0-rc.4" |
"@abp/prismjs": "~3.1.0" |
||||
}, |
}, |
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431" |
||||
} |
} |
||||
|
|||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue