Skip to content

Commit 062b73a

Browse files
committed
Add blog posts
1 parent c594153 commit 062b73a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+348
-1135
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true

blog/2019-05-28-first-blog-post.md

-12
This file was deleted.

blog/2019-05-29-long-blog-post.md

-44
This file was deleted.

blog/2021-08-01-mdx-blog-post.mdx

-24
This file was deleted.
Binary file not shown.

blog/2021-08-26-welcome/index.md

-29
This file was deleted.

blog/2024-03-01-tidelift.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
slug: tidelift
3+
title: TideLift Subscription 🌱
4+
authors: kamiazya
5+
tags: [security]
6+
---
7+
Hey everyone 👋,
8+
9+
At the heart of the ts-graphviz project, we're all about pushing the envelope on technical excellence and bolstering our community.
10+
We're stepping into an exciting phase to further support the sustainability and growth of our project. With our partnership with TideLift, ts-graphviz is set to offer enterprise-level support and security, making it a tool developers can rely on with confidence.
11+
12+
<!-- truncate -->
13+
14+
### Available as part of the Tidelift Subscription 🤝
15+
16+
The maintainers of ts-graphviz and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open-source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use.
17+
18+
[Learn more](https://tidelift.com/subscription/pkg/npm-ts-graphviz?utm_source=npm-ts-graphviz&utm_medium=referral&utm_campaign=enterprise&utm_term=repo).
19+
20+
### Impact on the Community 🌈
21+
22+
This new collaboration with TideLift marks a significant step towards making ts-graphviz a more widely accepted and trusted tool across various projects and organizations. It also secures the necessary funding for maintenance and development, which is a win for developers.
23+
24+
### Looking Ahead 🌟
25+
26+
We're thrilled about the opportunities this partnership with TideLift brings to further enhance ts-graphviz and continue delivering value to our community. Your feedback is always welcome; we're eager to hear your suggestions and ideas on how to maximize the value ts-graphviz offers.
27+
28+
We hope this new chapter will be an important step in our collective journey towards better creation and innovation within the ts-graphviz community.
29+
30+
With heartfelt thanks,
31+
The ts-graphviz Team ❤️
32+

blog/2024-03-02-v2-released.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
slug: v2
3+
title: 'ts-graphviz v2.0.0 Released🎉'
4+
authors: kamiazya
5+
tags: [security, release]
6+
---
7+
Hello, everyone! We are excited to share that ts-graphviz v2.0.0 is now available!
8+
This major update brings a host of improvements aimed at enhancing performance, security, and compatibility with the evolving JavaScript ecosystem.
9+
10+
<!-- truncate -->
11+
12+
### Major Updates 🚀
13+
14+
- **Dropping Support for Node.js 14 & 16**: As part of our commitment to maintaining a cutting-edge library, we've updated our minimum supported Node.js version to Node.js 18. This decision aligns with our goals to leverage the latest features and improvements while ensuring the highest level of security for our users.
15+
16+
### Package Splitting and Monorepo-ization 📦
17+
18+
With v2.0.0, we've taken significant steps to restructure ts-graphviz for better modularity, maintainability, and usability:
19+
20+
- **Improved Modularity**: The library has been divided into several packages, allowing you to install and use only what you need. This reduces unnecessary dependencies and optimizes performance.
21+
- **Easier Maintainability and Collaboration**: This new structure simplifies maintenance and encourages contributions by making it easier for developers to focus on specific areas of interest.
22+
- **Centralized Management**: Our shift to a monorepo approach allows for streamlined issue tracking, pull request management, and documentation updates across all packages.
23+
24+
### Node.js Version Support Policy 📝
25+
26+
To better align with the JavaScript ecosystem's progress and ensure our library remains secure and up-to-date, we've established a clear Node.js Version Support Policy:
27+
28+
- We now guarantee support for the latest Node.js LTS version at the time of each major release, starting with **Node.js 18** for ts-graphviz v2.0.0.
29+
- Our policy includes ending support for Node.js versions that reach their End-of-Life (EOL), ensuring our users benefit from the most secure and performant version possible.
30+
31+
### Moving Forward 🔍
32+
33+
This release marks a significant milestone in our journey to provide a powerful and user-friendly tool for working with Graphviz DOT language in TypeScript projects. We encourage you to update your projects to the latest LTS version of Node.js and explore the new features and improvements in ts-graphviz v2.0.0.
34+
35+
36+
For detailed information on the release, including a migration guide and an overview of the new package structure, please visit our [release notes](https://github.com/ts-graphviz/ts-graphviz/releases/tag/ts-graphviz%402.0.0).
37+
38+
39+
We're eager to hear your feedback and look forward to continuing to improve ts-graphviz together.
40+
Thank you for your support and collaboration!

blog/2024-03-18-react.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Exciting News for Our Valued Sponsors! 🎉
3+
authors: kamiazya
4+
tags: [release]
5+
---
6+
We're thrilled to announce a significant update to the ts-graphviz project! 🚀
7+
In our continuous effort to enhance the development experience and expand the project's capabilities, we've made some pivotal changes and improvements that we believe will greatly benefit your projects.
8+
9+
<!-- truncate -->
10+
11+
## What's New? 🌟
12+
13+
- **Integration of `@ts-graphviz/react`**: The `@ts-graphviz/react` package has now been fully integrated into the ts-graphviz repository. This consolidation aims to streamline development processes and foster a more cohesive ecosystem for our graph visualization tools.
14+
- **Support for React 18**: We've upgraded our support to React 18, ensuring that developers utilizing ts-graphviz with React can take advantage of the latest features, performance improvements, and optimizations offered by React 18.
15+
- **Enhanced HTMLLikeLabel Support**: The types related to HTMLLikeLabel have been moved to `@ts-graphviz/common`, improving maintainability and making it easier for developers to work with complex labels within their graphs.
16+
- **API Improvements**: We've also implemented several API improvements to enhance usability, flexibility, and overall developer experience. These changes are designed to make ts-graphviz even more powerful and intuitive for building and manipulating graph visualizations.
17+
18+
Your support plays a crucial role in the development and growth of ts-graphviz.
19+
These updates are part of our commitment to delivering high-quality, innovative solutions that meet the evolving needs of our community.
20+
We're excited for you to try out these new features and improvements!
21+
22+
As we continue to push the boundaries of graph visualization tools, we're grateful for your ongoing support and feedback. Stay tuned for more updates, and feel free to reach out if you have any questions or suggestions.
23+
24+
Thank you for being a part of our journey. Let's continue to create amazing things together! 🌈
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: Community Collaboration Drives ts-graphviz/setup-graphviz Evolution 🌟
3+
authors: kamiazya
4+
tags: [release]
5+
---
6+
Hello, ts-graphviz community!
7+
We're excited to announce the latest releases of setup-graphviz, versions v2.0.1 and v2.0.2.
8+
9+
<!-- truncate -->
10+
11+
These updates were made possible through rapid community response to [issues related to GitHub Actions runner images](https://github.com/actions/runner-images/issues/9733).
12+
13+
### Release Highlights:
14+
15+
- **v2.0.1**: Fixed installation issues on Linux, enhancing stability. 🛠️
16+
- **v2.0.2**: Removed scripts made redundant by updates to GitHub Actions environments. 🧹
17+
18+
We are deeply grateful for the dedicated efforts and support from developers, contributors, and users who came together to address these issues swiftly.
19+
Your collaboration is invaluable, and we look forward to continuing our journey to improve ts-graphviz together.
20+
21+
For more details on the release, please visit: [ts-graphviz/setup-graphviz Releases](https://github.com/ts-graphviz/setup-graphviz/releases)
22+
23+
Let's continue to achieve great things together! 🚀
+134
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
---
2+
title: Leveraging OpenSSF to Protect and Secure ts-graphviz Published🛡️
3+
authors: kamiazya
4+
tags: [security]
5+
---
6+
## 📅 Introduction
7+
On May 24, 2024, at the Nextbeat Tech Bar’s ["First Discussion on Library Development"](https://nextbeat.connpass.com/event/312789/) in Japan, I presented an LT titled **"Secure Library Development"**.
8+
9+
The original presentation was in Japanese, and this article shares the content in English to extend our efforts to a broader audience.
10+
11+
<!-- truncate -->
12+
13+
## 🔍 Discovering OpenSSF
14+
The [Open Source Security Foundation (OpenSSF)](https://openssf.org/) was established 2020 under the [Linux Foundation](https://www.linuxfoundation.org/).
15+
Its mission is to ensure the sustainable safety of OSS development, maintenance, and use. We discovered OpenSSF while seeking security measures for ts-graphviz and found its initiatives highly relevant.
16+
17+
![OpenSSF](https://openssf.org/wp-content/uploads/2023/04/Layer-13.png)
18+
19+
## 🛠️ Implementing Security Measures
20+
21+
### 📚 OpenSSF Guides
22+
OpenSSF Guides offer comprehensive guidelines to improve OSS security. They include specific guides for technologies like npm and C/C++ compiler options, source code management settings, and vulnerability disclosure processes. These guides are valuable for both OSS developers and users.
23+
24+
### 🏅 OpenSSF Best Practices Badge
25+
OSS developers can self-certify their projects by answering security-related questions and following best practices. Meeting these criteria makes packages more secure. OSS users can evaluate projects to ensure they follow best practices, helping them choose safer OSS.
26+
27+
### 🔍 OpenSSF Scorecard
28+
The Scorecard is a CLI tool that automatically checks and evaluates security risks. It integrates with CI tools like GitHub Actions for continuous evaluation and publishes scores as reports. It can be installed in less than 10 minutes on GitHub Actions.
29+
30+
## 🚀 Benefits and Outcomes
31+
Implementing these security measures significantly enhanced the security of ts-graphviz. We believe this can inspire other OSS projects to adopt similar measures, improving overall security in the open-source community.
32+
33+
## 🌟 Get Involved and Support
34+
We invite you to support our efforts through OpenCollective and GitHub Sponsors. Your contributions help us maintain and improve the security of ts-graphviz.
35+
36+
Check out the English versions of the slides and speaker notes from our LT:
37+
38+
- [Google Slide](https://docs.google.com/presentation/d/e/2PACX-1vQAUNsc26XXbmIr2UaR3GtMd-iNADtJebK-FBgyqiNHVZ-1yQBxFuGOLKQohYejXjzm8C-DByC6ecmp/pub?start=false&loop=false&slide=id.p) / ([日本語](https://docs.google.com/presentation/d/e/2PACX-1vQKliPNP2Yiqq88xVnTsf944YtWhZY2DvSExc790pYmpthSR30SSxVpp06MMPmD6Ea1TqUfd44tflMI/pub?start=false&loop=false&slide=id.p))
39+
- [Speaker Deck](https://speakerdeck.com/kamiazya/secure-library-development-practical-oss-security-with-openssf) / ([日本語](https://speakerdeck.com/kamiazya/sekiyuanaraiburarikai-fa-openssfdeshi-meruosssekiyuriteinoshi-jian-tohuo-yong))
40+
41+
42+
## 📄 Slides with Speaker Notes
43+
44+
Those interested in a detailed walkthrough can access the slides along with the speaker notes used during the presentation. This provides a comprehensive view of the measures and insights shared:
45+
46+
![](./slides/0.png)
47+
48+
Today, I’d like to talk about "Secure Library Development" with a focus on the initiatives of OpenSSF.
49+
50+
![](./slides/1.png)
51+
52+
Hello, I’m Yuki Yamazaki, also known as kamiazya on GitHub and Twitter.
53+
I work at iRidge, Inc., where I develop, maintain, and operate a mobile application development support kit (SaaS + SDK).
54+
55+
![](./slides/2.png)
56+
57+
I developed a TypeScript-friendly Graphviz wrapper called ts-graphviz, which is available as an npm library.
58+
It’s a minor library but is widely used by various OSS projects, achieving around 2 million downloads per month.
59+
60+
![](./slides/3.png)
61+
62+
While I’m happy to see my library being used, it also raises concerns.
63+
Modern applications rely on many open-source libraries, and even a small vulnerability in an obscure library like mine could have widespread implications.
64+
Thus, security is crucial in library development.
65+
66+
![](./slides/4.png)
67+
68+
"Is the security of my library sufficient?"
69+
"Where should I start with security measures?"
70+
71+
Lack of security knowledge made it difficult for me to evaluate my library’s security.
72+
73+
![](./slides/5.png)
74+
75+
As I delved into security measures, I discovered OpenSSF (Open Source Security Foundation).
76+
77+
Established in 2020 under the Linux Foundation, OpenSSF aims to ensure the sustainable safety of OSS development, maintenance, and usage, promoting initiatives to secure both OSS itself and its supply chain.
78+
79+
![](./slides/6.png)
80+
81+
This LT introduces three security measures implemented in the ts-graphviz project using OpenSSF, which can also inspire other projects to improve their security.
82+
83+
As an OSS user, I believe that understanding OSS security measures through this presentation will help you develop more secure software.
84+
Thank you for staying with me until the end.
85+
86+
![](./slides/7.png)
87+
88+
The first is the OpenSSF Guides.
89+
90+
These are comprehensive guidelines to improve the security of open-source software.
91+
They include specific guides for technologies like npm and C/C++ compiler options, as well as niche topics like source code management settings and vulnerability disclosure processes.
92+
93+
The content is useful not only for OSS developers but also for users.
94+
95+
![](./slides/8.png)
96+
97+
The second is the OpenSSF Best Practices Badge. OSS developers can self-certify their projects by answering security-related questions.
98+
By working to meet the criteria, you can make your packages more secure.
99+
100+
The evaluation criteria are publicly available, so by striving to meet these criteria, you can enhance the security of your packages.
101+
102+
![](./slides/9.png)
103+
104+
OSS users can evaluate if a project follows best practices, helping in selecting safer OSS for use.
105+
106+
By confirming the safety of the projects you want to use, you can select safer OSS.
107+
108+
![](./slides/10.png)
109+
110+
The third is the OpenSSF Scorecard.
111+
This CLI tool automatically checks and evaluates security risks.
112+
It can be integrated with CI tools like GitHub Actions for continuous evaluation. The score is published as a report.
113+
Installable in less than 10 minutes on GitHub Actions.
114+
115+
![](./slides/11.png)
116+
117+
OpenSSF is also promoting various other projects.
118+
119+
![](./slides/12.png)
120+
121+
Utilizing OpenSSF initiatives has enabled me to confidently advance the security measures for ts-graphviz, providing safer libraries for users.
122+
123+
![](./slides/13.png)
124+
125+
“Let's Create More Secure Software with OpenSSF Initiatives.”
126+
I plan to continue utilizing OpenSSF initiatives to develop more secure software in the future.
127+
128+
![](./slides/14.png)
129+
130+
Thank you for your attention.
131+
132+
![](./slides/15.png)
133+
134+
For more details, you can refer to the slides and additional resources linked within the presentation.
31.4 KB
Loading
48.3 KB
Loading
145 KB
Loading
95.9 KB
Loading
54.5 KB
Loading
23.1 KB
Loading
7.13 KB
Loading
147 KB
Loading
48.4 KB
Loading
68.7 KB
Loading
54.6 KB
Loading
65.7 KB
Loading
65.4 KB
Loading
218 KB
Loading
111 KB
Loading
106 KB
Loading

0 commit comments

Comments
 (0)