Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
echo "✓ docker-compose.yaml syntax validation passed"

- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.3.0
uses: hadolint/hadolint-action@v3.5.0
with:
dockerfile: Dockerfile
failure-threshold: warning
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ LABEL org.opencontainers.image.authors="DevOps Daily Team"
EXPOSE 3000

HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD curl -f http://localhost:3000/ || exit 1
CMD ["curl", "-f", "http://localhost:3000/"]

CMD ["pnpm", "run", "dev"]

Expand Down Expand Up @@ -96,6 +96,6 @@ LABEL org.opencontainers.image.authors="DevOps Daily Team"
EXPOSE 80

HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
CMD ["wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]

CMD ["nginx", "-g", "daemon off;"]
4 changes: 2 additions & 2 deletions components/tools/yaml-json-formatter.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import { useMemo, useState } from 'react';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';

type InputFormat = 'yaml' | 'json';
type OutputFormat = 'yaml' | 'json';
Expand Down Expand Up @@ -41,7 +41,7 @@ function process(
}
return {
ok: true,
output: yaml.dump(data, { indent: 2, lineWidth: 120, quotingType: '"' }),
output: yaml.dump(data, { indent: 2, lineWidth: 120 }),
};
} catch (err) {
return { ok: false, error: err instanceof Error ? err.message : String(err) };
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"gray-matter": "^4.0.3",
"highlight.js": "^11.11.1",
"input-otp": "1.5.0",
"js-yaml": "^4.3.0",
"js-yaml": "^5.4.1",
"lottie-web": "^5.13.0",
"lucide-react": "^1.21.0",
"marked": "^18.0.5",
Expand Down Expand Up @@ -133,7 +133,6 @@
"@resvg/resvg-js": "^2.6.2",
"@tailwindcss/postcss": "^4.3.0",
"@tailwindcss/typography": "0.5.19",
"@types/js-yaml": "^4.0.9",
"@types/node": "^25.9.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.3",
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/devops-daily/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import fs from 'fs/promises';
import path from 'path';
import yaml from 'js-yaml';
import * as yaml from 'js-yaml';
import { SourcesConfig, NewsItem } from './crawler/types.js';
import { crawlRssFeeds } from './crawler/rss.js';
import { crawlWebSources } from './crawler/web.js';
Expand Down
Loading