@bardioc/create-bardioc-app 0.6.1 → 0.7.1
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 +5 -1
- package/package.json +2 -2
- package/templates/_base/.changeset/README.md +4 -6
- package/templates/_base/.claude/commands/changeset-app.md +11 -12
- package/templates/_base/.claude/commands/refresh-bundle.md +3 -3
- package/templates/_base/AGENTS.md +128 -0
- package/templates/_base/CLAUDE.md +1 -0
- package/templates/_base/README.md +17 -20
- package/templates/_base/scripts/audit.mjs +50 -0
- package/templates/_base/scripts/compliance-summary.mjs +42 -0
- package/templates/_base/scripts/compliance.mjs +64 -0
- package/templates/_base/scripts/stamp-manifest.mjs +10 -4
- package/templates/_opt-link/scripts/link-source.mjs +1 -1
- package/templates/_opt-pipeline/bitbucket-pipelines.yml +12 -56
- package/templates/angular/_gitignore +6 -0
- package/templates/angular/package.json +8 -2
- package/templates/nextjs/_gitignore +6 -0
- package/templates/nextjs/package.json +8 -2
- package/templates/preact/_gitignore +6 -0
- package/templates/preact/package.json +8 -2
- package/templates/solid/_gitignore +6 -0
- package/templates/solid/package.json +8 -2
- package/templates/svelte/_gitignore +6 -0
- package/templates/svelte/package.json +8 -2
- package/templates/vite/CLAUDE.md +149 -135
- package/templates/vite/_gitignore +6 -0
- package/templates/vite/package.json +10 -4
- package/templates/vite/src/App.tsx +6 -3
- package/templates/vite/src/auth/onboarding.tsx +19 -23
- package/templates/vite/src/climate/climate-data.ts +19 -0
- package/templates/vite/src/climate/conditions-chart.tsx +11 -6
- package/templates/vite/src/climate/location-card.tsx +2 -5
- package/templates/vite/src/climate/location-select.tsx +7 -2
- package/templates/vite/src/climate/metrics-grid.tsx +6 -1
- package/templates/vite/src/climate/overview-view.tsx +26 -7
- package/templates/vite/src/climate/stations-view.tsx +73 -9
- package/templates/vite/src/climate/types.ts +5 -5
- package/templates/vite/src/dashboard-provider.tsx +15 -5
- package/templates/vite/src/events/live-events-view.tsx +67 -37
- package/templates/vite/src/events/mock-events.ts +33 -0
- package/templates/vite/src/graph/explorer-view.tsx +81 -63
- package/templates/vite/src/i18n.tsx +6 -2
- package/templates/vite/src/index.css +0 -6
- package/templates/vite/src/locales/de.json +55 -51
- package/templates/vite/src/locales/en.json +44 -40
- package/templates/vite/src/preview-state.tsx +29 -0
- package/templates/vite/src/profile/profile-view.tsx +43 -25
- package/templates/vite/src/shell/about-dialog.tsx +6 -5
- package/templates/vite/src/shell/app-shell.tsx +46 -45
- package/templates/vite/src/shell/debug-menu.tsx +86 -0
- package/templates/vite/src/shell/header.tsx +6 -4
- package/templates/vite/src/shell/view-content.tsx +69 -0
- package/templates/vue/_gitignore +6 -0
- package/templates/vue/package.json +8 -2
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
"dev": "node ./scripts/dev.mjs",
|
|
10
10
|
"prebuild": "npm run sync:runtime-env",
|
|
11
11
|
"build": "ng build && node scripts/stamp-manifest.mjs dist/{{APP_NAME}}/browser",
|
|
12
|
-
"bundle": "ng build && node scripts/stamp-manifest.mjs dist/{{APP_NAME}}/browser && cd dist/{{APP_NAME}}/browser && zip -r ../../../{{APP_NAME}}.zip .",
|
|
12
|
+
"bundle": "npm run compliance:all && ng build && node scripts/stamp-manifest.mjs dist/{{APP_NAME}}/browser && cd dist/{{APP_NAME}}/browser && zip -r ../../../{{APP_NAME}}.zip .",
|
|
13
|
+
"sbom": "cyclonedx-npm --omit dev --output-format json --output-reproducible --output-file public/sbom.cdx.json",
|
|
14
|
+
"compliance": "node scripts/compliance.mjs public",
|
|
15
|
+
"audit:security": "node scripts/audit.mjs public",
|
|
16
|
+
"compliance:all": "npm run sbom && npm run compliance && npm run audit:security && node scripts/compliance-summary.mjs public",
|
|
13
17
|
"prewatch": "npm run sync:runtime-env",
|
|
14
18
|
"watch": "ng build --watch --configuration development",
|
|
15
19
|
"precheck-types": "npm run sync:runtime-env",
|
|
@@ -28,7 +32,7 @@
|
|
|
28
32
|
"@angular/platform-browser": "^19.2.12",
|
|
29
33
|
"@angular/platform-browser-dynamic": "^19.2.12",
|
|
30
34
|
"@angular/router": "^19.2.12",
|
|
31
|
-
"@bardioc/app-sdk": "^1.0.
|
|
35
|
+
"@bardioc/app-sdk": "^1.0.3",
|
|
32
36
|
"rxjs": "~7.8.2",
|
|
33
37
|
"tslib": "^2.8.1",
|
|
34
38
|
"zone.js": "~0.15.1"
|
|
@@ -38,8 +42,10 @@
|
|
|
38
42
|
"@angular/cli": "^19.2.13",
|
|
39
43
|
"@angular/compiler-cli": "^19.2.12",
|
|
40
44
|
"@changesets/cli": "^2.31.0",
|
|
45
|
+
"@cyclonedx/cyclonedx-npm": "^6.0.1",
|
|
41
46
|
"@tailwindcss/postcss": "^4.2.4",
|
|
42
47
|
"autoprefixer": "^10.4.21",
|
|
48
|
+
"license-checker-rseidelsohn": "^5.0.1",
|
|
43
49
|
"postcss": "^8.5.4",
|
|
44
50
|
"tailwindcss": "^4.2.4",
|
|
45
51
|
"typescript": "~5.8.3"
|
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "node ./scripts/dev.mjs",
|
|
7
7
|
"build": "next build && node scripts/stamp-manifest.mjs out",
|
|
8
|
-
"bundle": "next build && node scripts/stamp-manifest.mjs out && cd out && zip -r ../{{APP_NAME}}.zip .",
|
|
8
|
+
"bundle": "npm run compliance:all && next build && node scripts/stamp-manifest.mjs out && cd out && zip -r ../{{APP_NAME}}.zip .",
|
|
9
|
+
"sbom": "cyclonedx-npm --omit dev --output-format json --output-reproducible --output-file public/sbom.cdx.json",
|
|
10
|
+
"compliance": "node scripts/compliance.mjs public",
|
|
11
|
+
"audit:security": "node scripts/audit.mjs public",
|
|
12
|
+
"compliance:all": "npm run sbom && npm run compliance && npm run audit:security && node scripts/compliance-summary.mjs public",
|
|
9
13
|
"start": "next start",
|
|
10
14
|
"check-types": "tsc --noEmit",
|
|
11
15
|
"lint": "eslint .",
|
|
@@ -17,7 +21,7 @@
|
|
|
17
21
|
"release:publish": "changeset publish"
|
|
18
22
|
},
|
|
19
23
|
"dependencies": {
|
|
20
|
-
"@bardioc/app-sdk": "^1.0.
|
|
24
|
+
"@bardioc/app-sdk": "^1.0.3",
|
|
21
25
|
"next": "^15.3.2",
|
|
22
26
|
"react": "^19.2.5",
|
|
23
27
|
"react-dom": "^19.2.5"
|
|
@@ -25,11 +29,13 @@
|
|
|
25
29
|
"devDependencies": {
|
|
26
30
|
"@bardioc/configs": "0.2.1",
|
|
27
31
|
"@changesets/cli": "^2.31.0",
|
|
32
|
+
"@cyclonedx/cyclonedx-npm": "^6.0.1",
|
|
28
33
|
"@tailwindcss/postcss": "^4.2.4",
|
|
29
34
|
"@types/node": "^22.10.0",
|
|
30
35
|
"@types/react": "^19.2.14",
|
|
31
36
|
"@types/react-dom": "^19.2.3",
|
|
32
37
|
"eslint": "^10.0.0",
|
|
38
|
+
"license-checker-rseidelsohn": "^5.0.1",
|
|
33
39
|
"prettier": "^3.6.2",
|
|
34
40
|
"tailwindcss": "^4.2.4",
|
|
35
41
|
"typescript": "^6.0.3"
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "tsc && vite build && node scripts/stamp-manifest.mjs dist",
|
|
9
|
-
"bundle": "tsc && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
9
|
+
"bundle": "npm run compliance:all && tsc && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
10
|
+
"sbom": "cyclonedx-npm --omit dev --output-format json --output-reproducible --output-file public/sbom.cdx.json",
|
|
11
|
+
"compliance": "node scripts/compliance.mjs public",
|
|
12
|
+
"audit:security": "node scripts/audit.mjs public",
|
|
13
|
+
"compliance:all": "npm run sbom && npm run compliance && npm run audit:security && node scripts/compliance-summary.mjs public",
|
|
10
14
|
"preview": "vite preview",
|
|
11
15
|
"check-types": "tsc --noEmit",
|
|
12
16
|
"lint": "eslint .",
|
|
@@ -18,16 +22,18 @@
|
|
|
18
22
|
"release:publish": "changeset publish"
|
|
19
23
|
},
|
|
20
24
|
"dependencies": {
|
|
21
|
-
"@bardioc/app-sdk": "^1.0.
|
|
25
|
+
"@bardioc/app-sdk": "^1.0.3",
|
|
22
26
|
"preact": "^10.26.7"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@bardioc/configs": "0.2.1",
|
|
26
30
|
"@changesets/cli": "^2.31.0",
|
|
31
|
+
"@cyclonedx/cyclonedx-npm": "^6.0.1",
|
|
27
32
|
"@preact/preset-vite": "^2.10.6",
|
|
28
33
|
"@tailwindcss/vite": "^4.3.0",
|
|
29
34
|
"@types/node": "^22.19.19",
|
|
30
35
|
"eslint": "^10.0.0",
|
|
36
|
+
"license-checker-rseidelsohn": "^5.0.1",
|
|
31
37
|
"preact-render-to-string": "^6.6.1",
|
|
32
38
|
"prettier": "^3.6.2",
|
|
33
39
|
"tailwindcss": "4.3.0",
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "tsc && vite build && node scripts/stamp-manifest.mjs dist",
|
|
9
|
-
"bundle": "tsc && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
9
|
+
"bundle": "npm run compliance:all && tsc && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
10
|
+
"sbom": "cyclonedx-npm --omit dev --output-format json --output-reproducible --output-file public/sbom.cdx.json",
|
|
11
|
+
"compliance": "node scripts/compliance.mjs public",
|
|
12
|
+
"audit:security": "node scripts/audit.mjs public",
|
|
13
|
+
"compliance:all": "npm run sbom && npm run compliance && npm run audit:security && node scripts/compliance-summary.mjs public",
|
|
10
14
|
"preview": "vite preview",
|
|
11
15
|
"check-types": "tsc --noEmit",
|
|
12
16
|
"lint": "eslint .",
|
|
@@ -18,15 +22,17 @@
|
|
|
18
22
|
"release:publish": "changeset publish"
|
|
19
23
|
},
|
|
20
24
|
"dependencies": {
|
|
21
|
-
"@bardioc/app-sdk": "^1.0.
|
|
25
|
+
"@bardioc/app-sdk": "^1.0.3",
|
|
22
26
|
"solid-js": "^1.9.7"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@bardioc/configs": "0.2.1",
|
|
26
30
|
"@changesets/cli": "^2.31.0",
|
|
31
|
+
"@cyclonedx/cyclonedx-npm": "^6.0.1",
|
|
27
32
|
"@tailwindcss/vite": "^4.3.0",
|
|
28
33
|
"@types/node": "^22.19.19",
|
|
29
34
|
"eslint": "^10.0.0",
|
|
35
|
+
"license-checker-rseidelsohn": "^5.0.1",
|
|
30
36
|
"prettier": "^3.6.2",
|
|
31
37
|
"tailwindcss": "4.3.0",
|
|
32
38
|
"typescript": "6.0.3",
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "svelte-check && vite build && node scripts/stamp-manifest.mjs dist",
|
|
9
|
-
"bundle": "svelte-check && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
9
|
+
"bundle": "npm run compliance:all && svelte-check && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
10
|
+
"sbom": "cyclonedx-npm --omit dev --output-format json --output-reproducible --output-file public/sbom.cdx.json",
|
|
11
|
+
"compliance": "node scripts/compliance.mjs public",
|
|
12
|
+
"audit:security": "node scripts/audit.mjs public",
|
|
13
|
+
"compliance:all": "npm run sbom && npm run compliance && npm run audit:security && node scripts/compliance-summary.mjs public",
|
|
10
14
|
"preview": "vite preview",
|
|
11
15
|
"check-types": "svelte-check",
|
|
12
16
|
"lint": "eslint .",
|
|
@@ -18,16 +22,18 @@
|
|
|
18
22
|
"release:publish": "changeset publish"
|
|
19
23
|
},
|
|
20
24
|
"dependencies": {
|
|
21
|
-
"@bardioc/app-sdk": "^1.0.
|
|
25
|
+
"@bardioc/app-sdk": "^1.0.3",
|
|
22
26
|
"svelte": "^5.33.14"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@bardioc/configs": "0.2.1",
|
|
26
30
|
"@changesets/cli": "^2.31.0",
|
|
31
|
+
"@cyclonedx/cyclonedx-npm": "^6.0.1",
|
|
27
32
|
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
28
33
|
"@tailwindcss/vite": "^4.3.0",
|
|
29
34
|
"@types/node": "^22.19.19",
|
|
30
35
|
"eslint": "^10.0.0",
|
|
36
|
+
"license-checker-rseidelsohn": "^5.0.1",
|
|
31
37
|
"prettier": "^3.6.2",
|
|
32
38
|
"svelte-check": "^4.2.1",
|
|
33
39
|
"tailwindcss": "4.3.0",
|