chore: stabilize apps/web (lint, build, typecheck fixes)
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m27s
Build & Deploy / 🏗️ Build (push) Failing after 1m31s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m27s
Build & Deploy / 🏗️ Build (push) Failing after 1m31s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
|
||||
const DOCS_DIR = path.join(process.cwd(), "docs");
|
||||
|
||||
export function getTechDetails() {
|
||||
try {
|
||||
const content = fs.readFileSync(path.join(DOCS_DIR, "TECH.md"), "utf-8");
|
||||
const sections = content.split("⸻").map((s) => s.trim());
|
||||
const _content = fs.readFileSync(path.join(DOCS_DIR, "TECH.md"), "utf-8");
|
||||
const _sections = _content.split("⸻").map((s) => s.trim());
|
||||
|
||||
// Extract items (Speed, Responsive, Stability, etc.)
|
||||
// Logic: Look for section headers and their summaries
|
||||
@@ -46,7 +48,7 @@ export function getTechDetails() {
|
||||
|
||||
export function getPrinciples() {
|
||||
try {
|
||||
const content = fs.readFileSync(
|
||||
const _content = fs.readFileSync(
|
||||
path.join(DOCS_DIR, "PRINCIPLES.md"),
|
||||
"utf-8",
|
||||
);
|
||||
@@ -86,7 +88,7 @@ export function getPrinciples() {
|
||||
|
||||
export function getMaintenanceDetails() {
|
||||
try {
|
||||
const content = fs.readFileSync(
|
||||
const _content = fs.readFileSync(
|
||||
path.join(DOCS_DIR, "MAINTENANCE.md"),
|
||||
"utf-8",
|
||||
);
|
||||
@@ -122,7 +124,7 @@ export function getMaintenanceDetails() {
|
||||
|
||||
export function getStandardsDetails() {
|
||||
try {
|
||||
const content = fs.readFileSync(
|
||||
const _content = fs.readFileSync(
|
||||
path.join(DOCS_DIR, "STANDARDS.md"),
|
||||
"utf-8",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user