Skip to content

Commit

Permalink
chore: migrate home for project maintainability
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh committed Feb 13, 2024
1 parent a4c3fde commit ff8b1b1
Show file tree
Hide file tree
Showing 19 changed files with 69 additions and 71 deletions.
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/1-bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ about: Report a bug encountered with this project
labels: kind/bug
---

<!--
Please use this template while reporting a bug and provide as much info as possible.
If the matter is security related, please disclose it privately via [email protected]
-->
<!-- Please use this template while reporting a bug and provide as much info as possible.
If the matter is security related, please disclose it privately. -->

#### What happened:

Expand Down
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/3-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ about: General question about this project
labels: kind/question
---

<!--
If the matter is security related, please disclose it privately via [email protected]
-->
<!--If the matter is security related, please disclose it privately.-->
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MIT License

Copyright (c) 2022 Fuxing Loh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
url: 'https://contented.dev',
name: 'Contented',
github: {
url: 'https://github.com/levaintech/contented',
url: 'https://github.com/fuxingloh/contented',
},
},
processor: {
Expand Down Expand Up @@ -128,6 +128,6 @@ export default {
### Examples
- [developer.levain.tech](https://developer.levain.tech) Website Built with Contented
- [levaintech/contented/packages/contented-example](https://github.com/levaintech/contented/tree/main/packages/contented-example)
- [fuxingloh/contented/packages/contented-example](https://github.com/fuxingloh/contented/tree/main/packages/contented-example)
- [levaintech/sticky/packages/docs](https://github.com/levaintech/sticky/tree/main/packages/docs)
- [fuxingloh/jellyfishsdk-docs](https://github.com/fuxingloh/jellyfishsdk-docs)
6 changes: 3 additions & 3 deletions example/contented.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const config = {
url: 'https://contented.dev',
name: 'Contented',
github: {
url: 'https://github.com/levaintech/contented',
url: 'https://github.com/fuxingloh/contented',
},
},
processor: {
Expand All @@ -18,7 +18,7 @@ const config = {
editOnGitHubLink: {
type: 'string',
resolve: () => {
return `https://github.com/levaintech/contented/edit/main/README.md`;
return `https://github.com/fuxingloh/contented/edit/main/README.md`;
},
},
},
Expand All @@ -45,7 +45,7 @@ const config = {
editOnGitHubLink: {
type: 'string',
resolve: (_, { file }) => {
return `https://github.com/levaintech/contented/edit/main/packages/contented-example/docs/${file.data.contented.filePath}`;
return `https://github.com/fuxingloh/contented/edit/main/packages/contented-example/docs/${file.data.contented.filePath}`;
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions example/docs/03-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const config = {
url: 'https://contented.dev',
name: 'Contented',
github: {
url: 'https://github.com/levaintech/contented',
url: 'https://github.com/fuxingloh/contented',
},
},
processor: {
Expand Down Expand Up @@ -148,7 +148,7 @@ module.exports = {
url: 'https://contented.dev',
name: 'Contented',
github: {
url: 'https://github.com/levaintech/contented',
url: 'https://github.com/fuxingloh/contented',
},
},
processor: {
Expand Down
7 changes: 2 additions & 5 deletions example/docs/09-Others/99-contributing.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Contributing Guidelines

> Taken
> from [levaintech/.github/CONTRIBUTING.md](https://github.com/levaintech/.github/edit/main/CONTRIBUTING.md)
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or
additional documentation, we greatly value feedback and contributions from our community.

Expand All @@ -11,8 +8,8 @@ information to effectively respond to your bug report or contribution.

## Security issue notifications

If you discover a potential security issue in this project we ask that you notify Levain OSS Team via our
email [[email protected]](mailto:[email protected]). Please do **not** create a public GitHub issue.
If you discover a potential security issue in this project, we ask that you notify us privately.
Please do **not** create a public GitHub issue.

## Reporting Bugs/Feature Requests

Expand Down
2 changes: 1 addition & 1 deletion example/docs/09-ballad.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ contented generate
```shell
github open pr
github click Netlify Preview
github click Vercel Preview
github lgtm
```
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/contented"
"url": "git+https://github.com/fuxingloh/contented"
},
"type": "module",
"main": "dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions example/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "pnpm install",
"buildCommand": "pnpm turbo run generate",
"outputDirectory": ".contented/.preview/out/",
"framework": "nextjs"
}
3 changes: 0 additions & 3 deletions netlify.toml

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/node": "^18.19.14",
"@types/node": "^18.19.15",
"@workspace/eslint-config": "workspace:*",
"@workspace/prettier-config": "workspace:*",
"esbuild": "^0.20.0",
Expand All @@ -31,7 +31,7 @@
"turbo": "^1.12.3",
"typescript": "5.3.3"
},
"packageManager": "[email protected].1",
"packageManager": "[email protected].2",
"engines": {
"node": "^18 <19",
"pnpm": "^8 <9"
Expand Down
2 changes: 1 addition & 1 deletion packages/contented-pipeline-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/contented"
"url": "git+https://github.com/fuxingloh/contented"
},
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/contented-pipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/contented"
"url": "git+https://github.com/fuxingloh/contented"
},
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/contented-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/contented"
"url": "git+https://github.com/fuxingloh/contented"
},
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/contented-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/contented"
"url": "git+https://github.com/fuxingloh/contented"
},
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/contented/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"repository": {
"url": "git+https://github.com/levaintech/contented"
"url": "git+https://github.com/fuxingloh/contented"
},
"type": "module",
"main": "./dist/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ function generateEnvData(preview: PreviewConfig): string {
return [
`CONTENTED_PREVIEW_SITE_URL=${preview.url ?? 'https://contented.dev'}`,
`CONTENTED_PREVIEW_SITE_NAME=${preview?.name ?? 'Contented'}`,
`CONTENTED_PREVIEW_GITHUB_URL=${preview?.github?.url ?? 'https://github.com/levaintech/contented'}`,
`CONTENTED_PREVIEW_GITHUB_URL=${preview?.github?.url ?? 'https://github.com/fuxingloh/contented'}`,
].join('\n');
}
Loading

0 comments on commit ff8b1b1

Please sign in to comment.