Skip to content

Commit 63b46b7

Browse files
1 parent 0281e99 commit 63b46b7

File tree

13 files changed

+98
-92
lines changed

13 files changed

+98
-92
lines changed
File renamed without changes.

CONTRIBUTING.md renamed to .github/CONTRIBUTING.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Before creating bug reports, please check the [existing issues](https://github.c
3434

3535
When you create a bug report, please include as many details as possible:
3636

37-
- Use our [Bug Report Template](.github/ISSUE_TEMPLATE/bug_report.yml)
37+
- Use our [Bug Report Template](ISSUE_TEMPLATE/bug_report.yml)
3838
- Include screenshots or GIFs if applicable
3939
- Provide code samples to reproduce the issue
4040
- Describe the expected vs actual behavior
@@ -43,7 +43,7 @@ When you create a bug report, please include as many details as possible:
4343

4444
Enhancement suggestions are tracked as [GitHub issues](https://github.com/JsonViewer-Component/Blazor/issues).
4545

46-
- Use our [Feature Request Template](.github/ISSUE_TEMPLATE/feature_request.yml)
46+
- Use our [Feature Request Template](ISSUE_TEMPLATE/feature_request.yml)
4747
- Provide a clear description of the enhancement
4848
- Explain why this enhancement would be useful
4949
- Include code examples or mockups if applicable
@@ -108,15 +108,16 @@ Blazor/
108108
├── .github/
109109
│ ├── workflows/ # CI/CD pipelines
110110
│ └── ISSUE_TEMPLATE/ # Issue templates
111-
├── Documents/ # Additional documentation
111+
├── docs/ # Documentation
112+
├── docker/ # Docker configuration
112113
└── README.md
113114
```
114115

115116
## 🔄 Pull Request Process
116117

117118
1. **Update Documentation**: Ensure any changes are documented
118119
2. **Update Tests**: Add or update tests for your changes
119-
3. **Update CHANGELOG**: Add your changes to [CHANGELOG.md](CHANGELOG.md)
120+
3. **Update CHANGELOG**: Add your changes to [CHANGELOG.md](../docs/CHANGELOG.md)
120121
4. **Follow Code Standards**: Ensure your code follows our coding standards
121122
5. **Request Review**: Tag maintainers for review
122123

@@ -311,7 +312,7 @@ All submissions require review. We use GitHub Pull Requests for this purpose:
311312
312313
Contributors will be recognized in:
313314
314-
- [README.md](README.md) acknowledgments section
315+
- [README.md](../README.md) acknowledgments section
315316
- Release notes for the version
316317
- Project's contributors page
317318

@@ -336,3 +337,4 @@ Your contributions make the open-source community an amazing place to learn, ins
336337
---
337338

338339
*This Contributing Guide is adapted from open-source contribution guidelines best practices.*
340+

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Labels are automatically applied based on:
105105

106106
## 🤝 Contributing
107107

108-
See the main [CONTRIBUTING.md](../CONTRIBUTING.md) for guidelines.
108+
See the main [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
109109

110110
## 🔄 Workflow Badges
111111

File renamed without changes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div align="center">
44

5-
![JSON Viewer Component](https://raw.githubusercontent.com/JsonViewer-Component/Blazor/main/logo.png)
5+
![JSON Viewer Component](https://raw.githubusercontent.com/JsonViewer-Component/Blazor/main/assets/logo.png)
66

77
A powerful, feature-rich JSON viewer component for Blazor applications with VS Code-style syntax highlighting.
88

@@ -172,7 +172,7 @@ We welcome contributions! Here's how you can help:
172172
4. Push to the branch (`git push origin feature/amazing-feature`)
173173
5. Open a Pull Request
174174

175-
Please read our [Contributing Guide](https://github.com/JsonViewer-Component/Blazor/blob/main/CONTRIBUTING.md) for more details.
175+
Please read our [Contributing Guide](https://github.com/JsonViewer-Component/Blazor/blob/main/.github/CONTRIBUTING.md) for more details.
176176

177177
---
178178

File renamed without changes.

Dockerfile renamed to docker/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
# 🐳 Dockerfile برای Blazor WebAssembly
1+
# 🐳 Dockerfile for Blazor WebAssembly
22

3-
# مرحله Build
3+
# Build Stage
44
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
55
WORKDIR /src
66

7-
# کپی فایل‌های Solution و Project
7+
# Copy Solution and Project files
88
COPY ["JsonViewer.Blazor.sln", "./"]
99
COPY ["src/Component/Component.csproj", "src/Component/"]
1010
COPY ["src/Blazor.Demo/Blazor.Demo.csproj", "src/Blazor.Demo/"]
1111

12-
# Restore پکیج‌ها
12+
# Restore packages
1313
RUN dotnet restore "JsonViewer.Blazor.sln"
1414

15-
# کپی بقیه فایل‌ها
15+
# Copy remaining files
1616
COPY . .
1717

18-
# Build پروژه
18+
# Build project
1919
WORKDIR "/src/src/Blazor.Demo"
2020
RUN dotnet build "Blazor.Demo.csproj" -c Release -o /app/build
2121

22-
# Publish
22+
# Publish Stage
2323
FROM build AS publish
2424
RUN dotnet publish "Blazor.Demo.csproj" -c Release -o /app/publish /p:UseAppHost=false
2525

26-
# مرحله نهایی - استفاده از nginx برای سرو کردن
26+
# Final Stage - Use nginx to serve
2727
FROM nginx:alpine AS final
2828
WORKDIR /usr/share/nginx/html
2929

30-
# کپی فایل‌های Publish شده
30+
# Copy published files
3131
COPY --from=publish /app/publish/wwwroot .
3232

33-
# کپی فایل پیکربندی nginx
34-
COPY nginx.conf /etc/nginx/nginx.conf
33+
# Copy nginx configuration file
34+
COPY docker/nginx.conf /etc/nginx/nginx.conf
3535

3636
EXPOSE 80
3737
EXPOSE 443

docker-compose.yml renamed to docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ version: '3.8'
33
services:
44
blazor-app:
55
build:
6-
context: .
7-
dockerfile: Dockerfile
6+
context: ..
7+
dockerfile: docker/Dockerfile
88
container_name: jsonviewer-blazor
99
ports:
1010
- "8080:80"
File renamed without changes.

CHANGELOG.md renamed to docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ dotnet add package JsonViewer.Blazor --version 0.0.2-beta
8686

8787
## Contributing
8888

89-
See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.
89+
See [CONTRIBUTING.md](../.github/CONTRIBUTING.md) for details on how to contribute to this project.
9090

9191
## Links
9292

0 commit comments

Comments
 (0)