@ws-test-realm/admin-kit 0.1.7
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 +89 -0
- package/bin/ws-drop-module.js +40 -0
- package/bin/ws-generate-module.js +37 -0
- package/bin/ws-init-workspace.js +190 -0
- package/bin/ws-modules.js +179 -0
- package/bin/ws-pack-remote.js +196 -0
- package/bin/ws-sync-paths.js +35 -0
- package/bin/ws-wire-host.js +67 -0
- package/bin/ws-wire-pom.js +132 -0
- package/lib/alias-discovery.js +40 -0
- package/lib/build-modules.js +84 -0
- package/lib/cli-args.js +55 -0
- package/lib/deploy-remotes.js +249 -0
- package/lib/drop-module.js +71 -0
- package/lib/emit-descriptor.js +31 -0
- package/lib/generate-module.js +105 -0
- package/lib/identity.js +49 -0
- package/lib/jar-glob.js +55 -0
- package/lib/pack-into-jar.js +74 -0
- package/lib/pom.js +84 -0
- package/lib/shared-deps.js +90 -0
- package/lib/synthetic-entry.js +27 -0
- package/lib/template-copy.js +136 -0
- package/lib/topo-sort.js +134 -0
- package/lib/webpack-factory.js +104 -0
- package/lib/wire-host.js +96 -0
- package/package.json +33 -0
- package/template/angular.json +14 -0
- package/template/package.json +26 -0
- package/template/tsconfig.json +7 -0
- package/template/wsconfig.json.example +4 -0
- package/template-module/assets/i18n/de.json +1 -0
- package/template-module/assets/i18n/en.json +1 -0
- package/template-module/assets/i18n/fr.json +1 -0
- package/template-module/assets/i18n/general/de.json +1 -0
- package/template-module/assets/i18n/general/en.json +1 -0
- package/template-module/assets/i18n/general/fr.json +1 -0
- package/template-module/ng-package.json +8 -0
- package/template-module/package.json +14 -0
- package/template-module/src/lib/__name__.module.ts +11 -0
- package/template-module/src/lib/components/__name__/__name__.component.html +1 -0
- package/template-module/src/lib/components/__name__/__name__.component.scss +0 -0
- package/template-module/src/lib/components/__name__/__name__.component.ts +8 -0
- package/template-module/src/public-api.ts +6 -0
- package/template-module/tsconfig.lib.json +13 -0
- package/template-module/tsconfig.lib.prod.json +9 -0
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ws-test-realm/admin-kit",
|
|
3
|
+
"version": "0.1.7",
|
|
4
|
+
"description": "Workflow CLI + scaffolding for Wiresphere admin-modules workspaces. Ships `ws-init-workspace` (init/merge into a project, stamps @wiresphere/shared's `getOverrides()` into the workspace's npm overrides block), `ws-modules` (build/pack/deploy driver), `ws-generate-module`/`ws-drop-module`, `ws-wire-host`, `ws-wire-pom`, `ws-sync-paths`, and `ws-pack-remote`. Depends on @wiresphere/devkit (toolchain BOM, peerDeps); pairs with @wiresphere/shared (runtime BOM + MF share map + overrides manifest). Requires npm 9+ for overrides + peerDep resolution to coexist cleanly.",
|
|
5
|
+
"license": "Artistic-2.0",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"bin": {
|
|
10
|
+
"ws-pack-remote": "./bin/ws-pack-remote.js",
|
|
11
|
+
"ws-init-workspace": "./bin/ws-init-workspace.js",
|
|
12
|
+
"ws-wire-host": "./bin/ws-wire-host.js",
|
|
13
|
+
"ws-wire-pom": "./bin/ws-wire-pom.js",
|
|
14
|
+
"ws-generate-module": "./bin/ws-generate-module.js",
|
|
15
|
+
"ws-drop-module": "./bin/ws-drop-module.js",
|
|
16
|
+
"ws-modules": "./bin/ws-modules.js",
|
|
17
|
+
"ws-sync-paths": "./bin/ws-sync-paths.js"
|
|
18
|
+
},
|
|
19
|
+
"main": "lib/index.js",
|
|
20
|
+
"files": [
|
|
21
|
+
"bin",
|
|
22
|
+
"lib",
|
|
23
|
+
"template",
|
|
24
|
+
"template-module",
|
|
25
|
+
"README.md"
|
|
26
|
+
],
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@ws-test-realm/devkit": "^0.3.0",
|
|
29
|
+
"@ws-test-realm/shared": "^0.3.0",
|
|
30
|
+
"adm-zip": "^0.5.10",
|
|
31
|
+
"fast-xml-parser": "^4.3.0"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"@schematics/angular:component": {
|
|
5
|
+
"style": "scss"
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
"cli": {
|
|
9
|
+
"analytics": false
|
|
10
|
+
},
|
|
11
|
+
"version": 1,
|
|
12
|
+
"newProjectRoot": "projects",
|
|
13
|
+
"projects": {}
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"workspaces": [
|
|
4
|
+
"projects/*"
|
|
5
|
+
],
|
|
6
|
+
"scripts": {
|
|
7
|
+
"ng": "ng",
|
|
8
|
+
"postinstall": "ws-sync-paths",
|
|
9
|
+
"sync-paths": "ws-sync-paths",
|
|
10
|
+
"generate-module": "ws-generate-module",
|
|
11
|
+
"drop-module": "ws-drop-module",
|
|
12
|
+
"build": "ws-modules --build",
|
|
13
|
+
"pack": "ws-modules --pack",
|
|
14
|
+
"deploy": "ws-modules --deploy",
|
|
15
|
+
"wire": "ws-modules --build --pack --deploy"
|
|
16
|
+
},
|
|
17
|
+
"prettier": "@ws-test-realm/devkit/prettier.config.js",
|
|
18
|
+
"husky": {
|
|
19
|
+
"hooks": {
|
|
20
|
+
"pre-commit": "ws-pre-commit"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@ws-test-realm/shared": "^0.3.0"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "__name__",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "12.2.0",
|
|
6
|
+
"@angular/core": "12.2.0",
|
|
7
|
+
"@angular/forms": "12.2.0",
|
|
8
|
+
"@angular/router": "12.2.0",
|
|
9
|
+
"rxjs": "6.5.3"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"tslib": "^2.3.0"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
import { __className__Component } from './components/__name__/__name__.component';
|
|
5
|
+
|
|
6
|
+
@NgModule({
|
|
7
|
+
declarations: [__className__Component],
|
|
8
|
+
imports: [CommonModule],
|
|
9
|
+
exports: [__className__Component],
|
|
10
|
+
})
|
|
11
|
+
export class __className__Module {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>__name__ works!</p>
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "../../out-tsc/lib",
|
|
5
|
+
"target": "es2015",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": [],
|
|
10
|
+
"lib": ["dom", "es2018"]
|
|
11
|
+
},
|
|
12
|
+
"exclude": ["**/*.spec.ts"]
|
|
13
|
+
}
|