@fullstackunicorn/root 1.0.17 → 1.0.19

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.
@@ -0,0 +1,12 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # USER
5
+ GIT_USER_NAME="{{GIT_USER_NAME}}"
6
+ GIT_USER_EMAIL="{{GIT_USER_EMAIL}}"
7
+ # REPOSITORY
8
+ REPO_NAMESPACE="{{REPO_NAMESPACE}}"
9
+ REPO_NAME="{{REPO_NAME}}"
10
+ # SSH
11
+ SSH_KEY="$HOME/.ssh/id_ed25519"
12
+ SSH_CONFIG="$HOME/.ssh/config"
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # ============================================================
5
+ GITLAB_TOKEN="{{GITLAB_TOKEN}}"
6
+ GITLAB_NAMESPACE_ID="{{GITLAB_NAMESPACE_ID}}"
7
+ GITLAB_PROJECT_NAME="{{GITLAB_PROJECT_NAME}}"
8
+ # ============================================================
9
+ # GENERATED
10
+ GITLAB_PROJECT_ID=""
11
+ GITLAB_DEPLOY_TOKEN=""
@@ -0,0 +1,6 @@
1
+ CLIENT_TYPE="assets"
2
+ CLIENT_NAME="{{CLIENT_NAME}}"
3
+
4
+ CLIENT_ID="{{CLIENT_ID}}"
5
+
6
+ API_SERVER_URL="https://api.websites.minderable.com"
@@ -0,0 +1,3 @@
1
+ const auth = {}
2
+ auth.getToken = async () => '{{token}}'
3
+ export { auth }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "root.fullstackunicorn.dev",
3
+ "author": "lucanigido (https://fullstackunicorn.dev/author/lucanigido)",
4
+ "version": "1.0.0",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "private": true,
8
+ "main": "run.js",
9
+ "imports": {
10
+ "#@": "./",
11
+ "#@/*": "./*"
12
+ },
13
+ "scripts": {
14
+ "cmd": "chmod +x ./config.cmd.sh && env-cmd -f .env bash ./config.cmd.sh",
15
+ "test": "exit 1"
16
+ },
17
+ "dependencies": {},
18
+ "devDependencies": {}
19
+ }
@@ -0,0 +1,15 @@
1
+ SERVER_TYPE="backend"
2
+ SERVER_NAME="{{SERVER_NAME}}"
3
+ SERVER_PORT="{{SERVER_PORT}}"
4
+
5
+ CLIENT_ID="{{CLIENT_ID}}"
6
+
7
+ AUTH_CLIENT="{{AUTH_CLIENT}}"
8
+ AUTH_URL_CERTIFICATE="https://api.auth.minderable.com/certificate"
9
+ AUTH_URL_VERIFY="https://api.auth.minderable.com/verify"
10
+ AUTH_URL_ISSUER="https://auth.loginner.com/realms/Minderable"
11
+
12
+ DEV_AUTH_CLIENT="Develop"
13
+ DEV_AUTH_URL_CERTIFICATE="https://api.auth.minderable.com/certificate"
14
+ DEV_AUTH_URL_VERIFY="https://api.auth.minderable.com/verify"
15
+ DEV_AUTH_URL_ISSUER="https://auth.loginner.com/realms/Develop"
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "root.fullstackunicorn.dev",
3
+ "homepage": "https://root.fullstackunicorn.dev/api",
4
+ "author": "lucanigido (https://fullstackunicorn.dev/author/lucanigido)",
5
+ "version": "1.0.0",
6
+ "main": "index.js",
7
+ "type": "module",
8
+ "license": "UNLICENSED",
9
+ "private": true,
10
+ "imports": {
11
+ "#@": "./",
12
+ "#@/*": "./*"
13
+ },
14
+ "scripts": {
15
+ "cmd": "chmod +x ./config.cmd.sh && ./config.cmd.sh",
16
+ "start": "env-cmd -f .env node index.js",
17
+ "start:prod": "NODE_ENV=production node index.js",
18
+ "start:nodemon": "env-cmd -f .env nodemon --ignore ./volume/ --ignore ./private/ --trace-warnings -L index.js"
19
+ },
20
+ "dependencies": {},
21
+ "devDependencies": {}
22
+ }
@@ -0,0 +1,4 @@
1
+ const auth = {}
2
+ auth.getToken = () => '{{token}}'
3
+ auth.getUserId = () => '{{user}}'
4
+ export { auth }
@@ -0,0 +1,3 @@
1
+ VITE_TYPE="frontend"
2
+ VITE_NAME="{{VITE_NAME}}"
3
+ VITE_PORT="{{VITE_PORT}}"
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "Root",
3
+ "short_name": "Root",
4
+ "theme_color": "#ffffff",
5
+ "background_color": "#ffffff",
6
+ "display": "fullscreen",
7
+ "icons": [
8
+ {
9
+ "src": "/icons/icon-192.png",
10
+ "sizes": "192x192",
11
+ "type": "image/png",
12
+ "purpose": "maskable"
13
+ },
14
+ {
15
+ "src": "/icons/icon-512.png",
16
+ "sizes": "512x512",
17
+ "type": "image/png",
18
+ "purpose": "maskable"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "STALE": 1
3
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "PLATFORM": "web",
3
+ "PROTOCOL_AUTH": "https",
4
+ "CLIENT_ID": "clientxx-xxxx-4xxx-8xxx-xxxxxxxxxxxx",
5
+ "CLIENT_URL_AUTH": "https://auth.minderable.com",
6
+ "CLIENT_URL_ACCOUNT": "https://account.minderable.com",
7
+ "SERVER_URL_AUTH": "https://api.auth.minderable.com"
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "PLATFORM": "web",
3
+ "PROTOCOL_AUTH": "https",
4
+ "CLIENT_ID": "clientxx-xxxx-4xxx-8xxx-xxxxxxxxxxxx",
5
+ "CLIENT_URL_AUTH": "https://auth.minderable.com",
6
+ "CLIENT_URL_ACCOUNT": "https://account.minderable.com",
7
+ "SERVER_URL_AUTH": "https://api.auth.minderable.com"
8
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "IS_SIDEBAR_ONE_INTERNAL_OFF": false,
3
+ "IS_SIDEBAR_ONE_EXTERNAL_OFF": false,
4
+ "IS_SIDEBAR_TWO_INTERNAL_OFF": false,
5
+ "IS_SIDEBAR_TWO_EXTERNAL_OFF": false,
6
+ "column_1": 976,
7
+ "column_2": 1304,
8
+ "column_3": 1616
9
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "XY": 32,
3
+ "canonical": "logo.png",
4
+ "inverse": "logo.png"
5
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "IS_DEFAULT_THEME_DARK": false,
3
+ "IS_BUTTON_USER_OFF": true,
4
+ "IS_CARD_ACCOUNT_OFF": true,
5
+ "IS_CARD_LANGUAGE_OFF": true,
6
+ "IS_CARD_THEME_OFF": true,
7
+ "IS_CARD_COOKIES_OFF": true,
8
+ "IS_CARD_LEGALS_OFF": true,
9
+ "IS_BAND_CALLOUT_ON": false
10
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "Y": 18,
3
+ "X": 260,
4
+ "canonical": "trademark.svg",
5
+ "inverse": "trademark.svg"
6
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "root.fullstackunicorn.dev",
3
+ "homepage": "https://root.fullstackunicorn.dev",
4
+ "author": "lucanigido (https://fullstackunicorn.dev/author/lucanigido)",
5
+ "version": "1.0.0",
6
+ "main": "App.js",
7
+ "type": "module",
8
+ "license": "UNLICENSED",
9
+ "private": true,
10
+ "imports": {
11
+ "#@": "./",
12
+ "#@/*": "./*"
13
+ },
14
+ "scripts": {
15
+ "cmd": "chmod +x ./config.cmd.sh && ./config.cmd.sh",
16
+ "build": "vite build",
17
+ "preview": "vite preview",
18
+ "start": "env-cmd vite --host",
19
+ "check": "eslint . --max-warnings 0"
20
+ },
21
+ "dependencies": {},
22
+ "devDependencies": {}
23
+ }
@@ -0,0 +1,55 @@
1
+ # === PROJECT ==============================================
2
+ private/
3
+ public/
4
+ volume/
5
+ volume
6
+ store/
7
+ workspace/
8
+
9
+ # === DEFAULTS =============================================
10
+ node_modules/
11
+ .devtools/
12
+ .npmrc
13
+
14
+ # === BUILD OUTPUT =========================================
15
+ dist/
16
+ build/
17
+ .output/
18
+ .cache/
19
+
20
+ # === SYSTEM TRASH =========================================
21
+ .DS_Store
22
+ Thumbs.db
23
+ ehthumbs.db
24
+ Desktop.ini
25
+ .AppleDouble
26
+ .LSOverride
27
+
28
+ # === TEMP & LOG FILES =====================================
29
+ *.log
30
+ *.tmp
31
+ *.temp
32
+ *.bak
33
+ *.swp
34
+ *.swo
35
+ *~
36
+
37
+ # === CONFIG / CERTS / SECRETS =============================
38
+ *.conf
39
+ *.crt
40
+ *.key
41
+ *.pem
42
+
43
+ # === ARCHIVES =============================================
44
+ *.zip
45
+ *.tar
46
+ *.tar.gz
47
+ *.tgz
48
+
49
+ # === IDE FOLDERS ==========================================
50
+ .idea/
51
+ .vscode/
52
+ *.iml
53
+
54
+ # === OS METADATA ==========================================
55
+ ._*
@@ -0,0 +1,15 @@
1
+ SERVER_TYPE="manager"
2
+ SERVER_NAME="{{SERVER_NAME}}"
3
+ SERVER_PORT="{{SERVER_PORT}}"
4
+
5
+ CLIENT_ID="{{CLIENT_ID}}"
6
+
7
+ AUTH_CLIENT="{{AUTH_CLIENT}}"
8
+ AUTH_URL_CERTIFICATE="https://api.auth.minderable.com/certificate"
9
+ AUTH_URL_VERIFY="https://api.auth.minderable.com/verify"
10
+ AUTH_URL_ISSUER="https://auth.loginner.com/realms/Minderable"
11
+
12
+ DEV_AUTH_CLIENT="Develop"
13
+ DEV_AUTH_URL_CERTIFICATE="https://api.auth.minderable.com/certificate"
14
+ DEV_AUTH_URL_VERIFY="https://api.auth.minderable.com/verify"
15
+ DEV_AUTH_URL_ISSUER="https://auth.loginner.com/realms/Develop"
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "cms.root.fullstackunicorn.dev",
3
+ "homepage": "https://cms.root.fullstackunicorn.dev",
4
+ "author": "lucanigido (https://fullstackunicorn.dev/author/lucanigido)",
5
+ "version": "1.0.0",
6
+ "main": "index.js",
7
+ "type": "module",
8
+ "license": "UNLICENSED",
9
+ "private": true,
10
+ "imports": {
11
+ "#@": "./",
12
+ "#@/*": "./*"
13
+ },
14
+ "scripts": {
15
+ "cmd": "chmod +x ./config.cmd.sh && ./config.cmd.sh",
16
+ "start": "env-cmd -f .env node index.js",
17
+ "start:prod": "NODE_ENV=production node index.js",
18
+ "start:nodemon": "env-cmd -f .env nodemon --ignore ./volume/ --ignore ./private/ --trace-warnings -L index.js"
19
+ },
20
+ "dependencies": {},
21
+ "devDependencies": {}
22
+ }
@@ -0,0 +1,4 @@
1
+ const auth = {}
2
+ auth.getToken = () => '{{token}}'
3
+ auth.getUserId = () => '{{user}}'
4
+ export { auth }
@@ -75,7 +75,7 @@ export class Frontend {
75
75
  }
76
76
 
77
77
  async configureTrademark() {
78
- // Xmax, Y, canonical, inverse
78
+ // X, Y, canonical, inverse
79
79
  const objPath = 'app.frontend.configure.trademark'
80
80
  const templatePath = `${this.def.templates}/${this.def.files.frontend.trademark}`
81
81
  const outputPath = `${this.def.cwd}/${this.def.files.frontend.trademark}`
@@ -170,7 +170,7 @@ class Upgrade {
170
170
  app.frontend.configure.logo.inverse = `logo.inverse.${a.configure.logo.ext}`
171
171
  // frontend.configure.trademark
172
172
  app.frontend.configure.trademark = {}
173
- app.frontend.configure.trademark.ratio = [a.configure.trademark.X, a.configure.trademark.Y]
173
+ app.frontend.configure.trademark.X = a.configure.trademark.X
174
174
  app.frontend.configure.trademark.Y = a.configure.trademark.Y
175
175
  app.frontend.configure.trademark.canonical = `trademark.${a.configure.trademark.ext}`
176
176
  app.frontend.configure.trademark.inverse = `trademark.inverse.${a.configure.trademark.ext}`
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.17",
2
+ "version": "1.0.19",
3
3
  "name": "@fullstackunicorn/root",
4
4
  "author": "lucanigido (https://fullstackunicorn.dev/author/lucanigido)",
5
5
  "description": "Root CLI: init config, generate project, upgrade project",
@@ -8,6 +8,7 @@
8
8
  "private": false,
9
9
  "readme": "package.md",
10
10
  "files": [
11
+ "assets/",
11
12
  "index.cmd.js",
12
13
  "index.def.js",
13
14
  "index.dep.js",