@bluealba/platform-cli 1.0.1 → 1.1.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/dist/index.js +278 -15
- package/docs/404.mdx +5 -0
- package/docs/architecture/api-explorer.mdx +478 -0
- package/docs/architecture/architecture-diagrams.mdx +12 -0
- package/docs/architecture/authentication-system.mdx +903 -0
- package/docs/architecture/authorization-system.mdx +886 -0
- package/docs/architecture/bootstrap.mdx +1442 -0
- package/docs/architecture/gateway-architecture.mdx +845 -0
- package/docs/architecture/multi-tenancy.mdx +1150 -0
- package/docs/architecture/overview.mdx +776 -0
- package/docs/architecture/scheduler.mdx +818 -0
- package/docs/architecture/shell.mdx +885 -0
- package/docs/architecture/ui-extension-points.mdx +781 -0
- package/docs/architecture/user-states.mdx +794 -0
- package/docs/development/overview.mdx +21 -0
- package/docs/development/workflow.mdx +914 -0
- package/docs/getting-started/core-concepts.mdx +892 -0
- package/docs/getting-started/installation.mdx +780 -0
- package/docs/getting-started/overview.mdx +83 -0
- package/docs/getting-started/quick-start.mdx +940 -0
- package/docs/guides/adding-documentation-sites.mdx +1367 -0
- package/docs/guides/creating-services.mdx +1736 -0
- package/docs/guides/creating-ui-modules.mdx +1860 -0
- package/docs/guides/identity-providers.mdx +1007 -0
- package/docs/guides/mermaid-diagrams.mdx +212 -0
- package/docs/guides/using-feature-flags.mdx +1059 -0
- package/docs/guides/working-with-rooms.mdx +566 -0
- package/docs/index.mdx +57 -0
- package/docs/platform-cli/commands.mdx +604 -0
- package/docs/platform-cli/overview.mdx +195 -0
- package/package.json +5 -2
- package/skills/ba-platform/platform-cli.skill.md +26 -0
- package/skills/ba-platform/platform.skill.md +35 -0
- package/templates/application-monorepo-template/gitignore +95 -0
- package/templates/bootstrap-service-template/Dockerfile.development +1 -1
- package/templates/bootstrap-service-template/gitignore +57 -0
- package/templates/bootstrap-service-template/package.json +1 -1
- package/templates/bootstrap-service-template/src/main.ts +6 -16
- package/templates/customization-ui-module-template/Dockerfile.development +1 -1
- package/templates/customization-ui-module-template/gitignore +73 -0
- package/templates/nestjs-service-module-template/Dockerfile.development +1 -1
- package/templates/nestjs-service-module-template/gitignore +56 -0
- package/templates/platform-init-template/{{platformName}}-core/gitignore +97 -0
- package/templates/platform-init-template/{{platformName}}-core/local/.env.example +1 -1
- package/templates/platform-init-template/{{platformName}}-core/local/platform-docker-compose.yml +1 -1
- package/templates/platform-init-template/{{platformName}}-core/local/{{platformName}}-core-docker-compose.yml +0 -1
- package/templates/react-ui-module-template/Dockerfile +1 -1
- package/templates/react-ui-module-template/Dockerfile.development +1 -3
- package/templates/react-ui-module-template/caddy/Caddyfile +1 -1
- package/templates/react-ui-module-template/gitignore +72 -0
- package/templates/react-ui-module-template/Dockerfile_nginx +0 -11
- package/templates/react-ui-module-template/nginx/default.conf +0 -23
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Logs
|
|
2
|
+
logs
|
|
3
|
+
*.log
|
|
4
|
+
npm-debug.log*
|
|
5
|
+
yarn-debug.log*
|
|
6
|
+
yarn-error.log*
|
|
7
|
+
|
|
8
|
+
# Runtime data
|
|
9
|
+
pids
|
|
10
|
+
*.pid
|
|
11
|
+
*.seed
|
|
12
|
+
*.pid.lock
|
|
13
|
+
|
|
14
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
15
|
+
lib-cov
|
|
16
|
+
|
|
17
|
+
# Coverage directory used by tools like istanbul
|
|
18
|
+
coverage
|
|
19
|
+
|
|
20
|
+
# nyc test coverage
|
|
21
|
+
.nyc_output
|
|
22
|
+
|
|
23
|
+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
24
|
+
.grunt
|
|
25
|
+
|
|
26
|
+
# Bower dependency directory (https://bower.io/)
|
|
27
|
+
bower_components
|
|
28
|
+
|
|
29
|
+
# node-waf configuration
|
|
30
|
+
.lock-wscript
|
|
31
|
+
|
|
32
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
33
|
+
build/Release
|
|
34
|
+
|
|
35
|
+
# Dependency directories
|
|
36
|
+
node_modules/
|
|
37
|
+
jspm_packages/
|
|
38
|
+
|
|
39
|
+
# TypeScript v1 declaration files
|
|
40
|
+
typings/
|
|
41
|
+
|
|
42
|
+
# Optional npm cache directory
|
|
43
|
+
.npm
|
|
44
|
+
|
|
45
|
+
# Optional eslint cache
|
|
46
|
+
.eslintcache
|
|
47
|
+
|
|
48
|
+
# Optional REPL history
|
|
49
|
+
.node_repl_history
|
|
50
|
+
|
|
51
|
+
# Output of 'npm pack'
|
|
52
|
+
*.tgz
|
|
53
|
+
|
|
54
|
+
# Yarn Integrity file
|
|
55
|
+
.yarn-integrity
|
|
56
|
+
|
|
57
|
+
# dotenv environment variables file
|
|
58
|
+
# .env
|
|
59
|
+
|
|
60
|
+
# next.js build output
|
|
61
|
+
.next
|
|
62
|
+
dist
|
|
63
|
+
|
|
64
|
+
# Editor directories and files
|
|
65
|
+
.idea
|
|
66
|
+
.vscode
|
|
67
|
+
*.suo
|
|
68
|
+
*.ntvs*
|
|
69
|
+
*.njsproj
|
|
70
|
+
*.sln
|
|
71
|
+
*.sw?
|
|
72
|
+
.DS_Store
|
|
73
|
+
|
|
74
|
+
# Monorepo directories
|
|
75
|
+
packages/*/node_modules
|
|
76
|
+
packages/*/dist
|
|
77
|
+
# packages/*/tsconfig.tsbuildinfo
|
|
78
|
+
# packages/*/tsconfig.json
|
|
79
|
+
# packages/*/tsconfig.build.json
|
|
80
|
+
# packages/*/tsconfig.build.tsbuildinfo
|
|
81
|
+
# packages/*/tsconfig.build.tsbuildinfo
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
# Turbo directories
|
|
85
|
+
.turbo
|
|
86
|
+
|
|
87
|
+
# dependencies management script
|
|
88
|
+
.package-json-backup.json
|
|
89
|
+
.changeset-in-progress
|
|
90
|
+
.tools
|
|
91
|
+
|
|
92
|
+
*storybook.log
|
|
93
|
+
storybook-static
|
|
94
|
+
|
|
95
|
+
version.json
|
|
96
|
+
|
|
97
|
+
.release-notes/
|
|
@@ -6,7 +6,7 @@ PAE_AUTH_JWT_SECRET=
|
|
|
6
6
|
PAE_GATEWAY_SERVICE_ACCESS_SECRET=
|
|
7
7
|
PAE_GATEWAY_URL=https://pae-nestjs-gateway-service:443
|
|
8
8
|
PAE_GATEWAY_HOST_URL=https://localhost:443
|
|
9
|
-
|
|
9
|
+
PAE_FAVICON=/<platform-name>-customization-ui/assets/favicon.ico
|
|
10
10
|
|
|
11
11
|
#
|
|
12
12
|
# DB
|
package/templates/platform-init-template/{{platformName}}-core/local/platform-docker-compose.yml
CHANGED
|
@@ -26,7 +26,7 @@ services:
|
|
|
26
26
|
retries: 20
|
|
27
27
|
|
|
28
28
|
pae-nestjs-gateway-service:
|
|
29
|
-
image: bluealba-ba-docker-virtual.jfrog.io/bluealba-pae-nestjs-gateway-service:3.9.
|
|
29
|
+
image: bluealba-ba-docker-virtual.jfrog.io/bluealba-pae-nestjs-gateway-service:3.9.1
|
|
30
30
|
ports:
|
|
31
31
|
- 9080:80
|
|
32
32
|
- 9443:443
|
|
@@ -8,7 +8,6 @@ services:
|
|
|
8
8
|
- NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
9
9
|
- SERVICE_ACCESS_NAME={{bootstrapServiceName}}
|
|
10
10
|
- WAIT_TIME=5000
|
|
11
|
-
- SYNC_STRATEGY=${PAE_BOOTSTRAP_SYNC_STRATEGY}
|
|
12
11
|
- GATEWAY_SERVICE_URL=${PAE_GATEWAY_URL}
|
|
13
12
|
- SERVICE_ACCESS_SECRET=${PAE_GATEWAY_SERVICE_ACCESS_SECRET}
|
|
14
13
|
volumes:
|
|
@@ -12,4 +12,4 @@ COPY ./apps/{{platformName}}-{{applicationName}}-ui/version.json /usr/share/ngin
|
|
|
12
12
|
COPY ./apps/{{platformName}}-{{applicationName}}-ui/dist /usr/share/caddy/
|
|
13
13
|
COPY ./apps/{{platformName}}-{{applicationName}}-ui/caddy/Caddyfile /etc/caddy/Caddyfile
|
|
14
14
|
|
|
15
|
-
EXPOSE
|
|
15
|
+
EXPOSE 80
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Logs
|
|
2
|
+
logs
|
|
3
|
+
*.log
|
|
4
|
+
npm-debug.log*
|
|
5
|
+
yarn-debug.log*
|
|
6
|
+
yarn-error.log*
|
|
7
|
+
|
|
8
|
+
# Runtime data
|
|
9
|
+
pids
|
|
10
|
+
*.pid
|
|
11
|
+
*.seed
|
|
12
|
+
*.pid.lock
|
|
13
|
+
|
|
14
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
15
|
+
lib-cov
|
|
16
|
+
|
|
17
|
+
# Coverage directory used by tools like istanbul
|
|
18
|
+
coverage
|
|
19
|
+
|
|
20
|
+
# nyc test coverage
|
|
21
|
+
.nyc_output
|
|
22
|
+
|
|
23
|
+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
24
|
+
.grunt
|
|
25
|
+
|
|
26
|
+
# Bower dependency directory (https://bower.io/)
|
|
27
|
+
bower_components
|
|
28
|
+
|
|
29
|
+
# node-waf configuration
|
|
30
|
+
.lock-wscript
|
|
31
|
+
|
|
32
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
33
|
+
build/Release
|
|
34
|
+
|
|
35
|
+
# Dependency directories
|
|
36
|
+
node_modules/
|
|
37
|
+
jspm_packages/
|
|
38
|
+
|
|
39
|
+
# TypeScript v1 declaration files
|
|
40
|
+
typings/
|
|
41
|
+
|
|
42
|
+
# Optional npm cache directory
|
|
43
|
+
.npm
|
|
44
|
+
|
|
45
|
+
# Optional eslint cache
|
|
46
|
+
.eslintcache
|
|
47
|
+
|
|
48
|
+
# Optional REPL history
|
|
49
|
+
.node_repl_history
|
|
50
|
+
|
|
51
|
+
# Output of 'npm pack'
|
|
52
|
+
*.tgz
|
|
53
|
+
|
|
54
|
+
# Yarn Integrity file
|
|
55
|
+
.yarn-integrity
|
|
56
|
+
|
|
57
|
+
# dotenv environment variables file
|
|
58
|
+
.env
|
|
59
|
+
|
|
60
|
+
# next.js build output
|
|
61
|
+
.next
|
|
62
|
+
dist
|
|
63
|
+
|
|
64
|
+
# Editor directories and files
|
|
65
|
+
.idea
|
|
66
|
+
.vscode
|
|
67
|
+
*.suo
|
|
68
|
+
*.ntvs*
|
|
69
|
+
*.njsproj
|
|
70
|
+
*.sln
|
|
71
|
+
*.sw?
|
|
72
|
+
.DS_Store
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
server {
|
|
2
|
-
listen 8080;
|
|
3
|
-
listen [::]:8080;
|
|
4
|
-
server_name localhost;
|
|
5
|
-
|
|
6
|
-
location / {
|
|
7
|
-
root /usr/share/nginx/html;
|
|
8
|
-
index index.html index.htm;
|
|
9
|
-
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
|
|
10
|
-
add_header Pragma "no-cache";
|
|
11
|
-
add_header Expires "0";
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
location /version {
|
|
15
|
-
default_type application/json;
|
|
16
|
-
alias /usr/share/nginx/html/version.json;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
error_page 500 502 503 504 /50x.html;
|
|
20
|
-
location = /50x.html {
|
|
21
|
-
root /usr/share/nginx/html;
|
|
22
|
-
}
|
|
23
|
-
}
|