Skip to content

Commit a810ecc

Browse files
TechQuerygithub-actions[bot]
authored andcommitted
[fix] replace Repository Name
1 parent 4f2c813 commit a810ecc

File tree

8 files changed

+32
-32
lines changed

8 files changed

+32
-32
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
NEXT_PUBLIC_SITE_NAME = Lark-Next-Bootstrap-ts
1+
NEXT_PUBLIC_SITE_NAME = orgserver-lark
22
NEXT_PUBLIC_SITE_SUMMARY = Lark project scaffold based on TypeScript, React, Next.js, Bootstrap & Workbox.
3-
NEXT_PUBLIC_LOGO = https://github.com/idea2app.png
3+
NEXT_PUBLIC_LOGO = https://github.com/open-source-bazaar.png
44

55
NEXT_PUBLIC_SENTRY_DSN =
66
SENTRY_ORG =
77
SENTRY_PROJECT =
88

99
NEXT_PUBLIC_LARK_API_HOST = https://open.feishu.cn/open-apis/
1010
NEXT_PUBLIC_LARK_APP_ID = cli_a2c7771153f8900c
11-
NEXT_PUBLIC_LARK_WIKI_URL = https://idea2app.feishu.cn/wiki/space/7318346900506181660
11+
NEXT_PUBLIC_LARK_WIKI_URL = https://open-source-bazaar.feishu.cn/wiki/space/7318346900506181660
1212

1313
NEXT_PUBLIC_CACHE_HOST = https://cache.example.com
1414
CACHE_REPOSITORY = your-namespace/Web-file-cache

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Lark-Next-Bootstrap-ts
1+
# orgserver-lark
22

33
[Lark][0] project scaffold based on [TypeScript][2], [React][1], [Next.js][3], [Bootstrap][4] & [Workbox][5]. And this project bootstrapped with [`create-next-app`][6].
44

5-
[![CI & CD](https://github.com/idea2app/Lark-Next-Bootstrap-ts/actions/workflows/main.yml/badge.svg)][7]
5+
[![CI & CD](https://github.com/open-source-bazaar/orgserver-lark/actions/workflows/main.yml/badge.svg)][7]
66

77
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)][8]
88
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)][9]
@@ -32,7 +32,7 @@
3232
## User cases
3333

3434
1. https://github.com/kaiyuanshe/kaiyuanshe.github.io
35-
2. https://github.com/idea2app/idea2app.github.io
35+
2. https://github.com/open-source-bazaar/open-source-bazaar.github.io
3636
3. https://github.com/Open-Source-Bazaar/Open-Source-Bazaar.github.io
3737

3838
## Best practice
@@ -109,7 +109,7 @@ pnpm container
109109

110110
### CDN
111111

112-
1. create & configure your own `CACHE_REPOSITORY` with https://github.com/idea2app/Web-file-cache
112+
1. create & configure your own `CACHE_REPOSITORY` with https://github.com/open-source-bazaar/Web-file-cache
113113
2. set the `NEXT_PUBLIC_CACHE_HOST` environment variable to your CDN URL
114114
3. start your Lark-Next.js service, then copy the Crawler JWT from CLI console
115115
4. create an Automation Flow in your Lark BI Table to watch Attachment fields changing, then send an HTTP `POST` request to `https://your.next.js/api/file/crawler/task` with the Crawler JWT in the `Authorization` header
@@ -122,9 +122,9 @@ pnpm container
122122
[4]: https://getbootstrap.com/
123123
[5]: https://developers.google.com/web/tools/workbox
124124
[6]: https://github.com/vercel/next.js/tree/canary/packages/create-next-app
125-
[7]: https://github.com/idea2app/Lark-Next-Bootstrap-ts/actions/workflows/main.yml
126-
[8]: https://codespaces.new/idea2app/Lark-Next-Bootstrap-ts
127-
[9]: https://gitpod.io/?autostart=true#https://github.com/idea2app/Lark-Next-Bootstrap-ts
125+
[7]: https://github.com/open-source-bazaar/orgserver-lark/actions/workflows/main.yml
126+
[8]: https://codespaces.new/open-source-bazaar/orgserver-lark
127+
[9]: https://gitpod.io/?autostart=true#https://github.com/open-source-bazaar/orgserver-lark
128128
[10]: https://mdxjs.com/
129129
[11]: https://mobx.js.org/
130130
[12]: https://koajs.com/
@@ -134,12 +134,12 @@ pnpm container
134134
[16]: https://github.com/apps/settings
135135
[17]: https://pullrequestbadge.com/
136136
[18]: https://code.visualstudio.com/
137-
[19]: https://github.com/new?template_name=Lark-Next-Bootstrap-ts&template_owner=idea2app
138-
[20]: https://github.com/idea2app/Lark-Next-Bootstrap-ts/blob/afa51fad3b16e598bf3b10010b2dc47405b016a3/.github/workflows/main.yml#L9-L11
139-
[21]: https://github.com/idea2app/Lark-Next-Bootstrap-ts/blob/363e023e5dd472c8ea53ec96eac25ec5122e667b/.github/workflows/Lark-notification.yml#L39
140-
[22]: https://github.com/idea2app/Lark-Next-Bootstrap-ts/settings/secrets/actions
141-
[23]: https://github.com/idea2app/Lark-Next-Bootstrap-ts/issues/new/choose
142-
[24]: https://github.com/idea2app/Lark-Next-Bootstrap-ts/projects
137+
[19]: https://github.com/new?template_name=orgserver-lark&template_owner=open-source-bazaar
138+
[20]: https://github.com/open-source-bazaar/orgserver-lark/blob/afa51fad3b16e598bf3b10010b2dc47405b016a3/.github/workflows/main.yml#L9-L11
139+
[21]: https://github.com/open-source-bazaar/orgserver-lark/blob/363e023e5dd472c8ea53ec96eac25ec5122e667b/.github/workflows/Lark-notification.yml#L39
140+
[22]: https://github.com/open-source-bazaar/orgserver-lark/settings/secrets/actions
141+
[23]: https://github.com/open-source-bazaar/orgserver-lark/issues/new/choose
142+
[24]: https://github.com/open-source-bazaar/orgserver-lark/projects
143143
[25]: https://nextjs.org/docs/api-routes/introduction
144144
[26]: https://nextjs.org/docs
145145
[27]: https://nextjs.org/learn
@@ -148,5 +148,5 @@ pnpm container
148148
[30]: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-environment-variables
149149
[31]: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#create-initialization-config-files
150150
[32]: https://open.larksuite.com/document/server-docs/getting-started/api-access-token/app-access-token-development-guide#1f8b587c
151-
[33]: https://github.com/idea2app/Web-file-cache?tab=readme-ov-file
151+
[33]: https://github.com/open-source-bazaar/Web-file-cache?tab=readme-ov-file
152152
[34]: https://nextjs.org/docs/deployment

components/Navigator/MainNavigator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const MainNavigator: FC = observer(() => {
3838

3939
<Nav.Link
4040
target="_blank"
41-
href="https://github.com/idea2app/Next-Bootstrap-TS"
41+
href="https://github.com/open-source-bazaar/Next-Bootstrap-TS"
4242
>
4343
{t('source_code')}
4444
</Nav.Link>

docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
version: '3'
22

33
networks:
4-
idea2app:
4+
open-source-bazaar:
55

66
services:
7-
lark-next-bootstrap-ts:
8-
image: idea2app/lark-next-bootstrap-ts
7+
orgserver-lark:
8+
image: open-source-bazaar/orgserver-lark
99
networks:
10-
- idea2app
10+
- open-source-bazaar
1111
healthcheck:
1212
test: ['CMD-SHELL', 'curl -f http://localhost:3000/ || exit 1']
1313
interval: 3s
@@ -31,16 +31,16 @@ services:
3131
volumes:
3232
- /var/run/docker.sock:/var/run/docker.sock
3333
networks:
34-
- idea2app
34+
- open-source-bazaar
3535
restart: always
3636

3737
caddy:
3838
depends_on:
39-
- lark-next-bootstrap-ts
39+
- orgserver-lark
4040
image: caddy
4141
ports:
4242
- 80:80
4343
- 443:443
4444
networks:
45-
- idea2app
46-
command: caddy reverse-proxy --from your.domain.com --to lark-next-bootstrap-ts:3000
45+
- open-source-bazaar
46+
command: caddy reverse-proxy --from your.domain.com --to orgserver-lark:3000

models/Base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ githubClient.use(({ request }, next) => {
2525

2626
export { githubClient };
2727

28-
export const repositoryStore = new RepositoryModel('idea2app');
28+
export const repositoryStore = new RepositoryModel('open-source-bazaar');
2929

3030
type UploadedFile = Record<'originalname' | 'filename' | 'location', string>;
3131
/**

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@idea2app/lark-next-bootstrap-ts",
2+
"name": "@open-source-bazaar/orgserver-lark",
33
"version": "2.4.0",
44
"description": "Lark project scaffold based on TypeScript, React, Next.js, Bootstrap & Workbox.",
55
"private": true,
@@ -125,7 +125,7 @@
125125
"start": "next start",
126126
"lint": "next lint --fix && git add . && tsc --noEmit",
127127
"test": "lint-staged && npm run lint",
128-
"pack-image": "docker build -t idea2app/lark-next-bootstrap-ts:latest .",
129-
"container": "docker rm -f lark-next-bootstrap-ts && docker run --name lark-next-bootstrap-ts -p 3000:3000 -d idea2app/lark-next-bootstrap-ts:latest"
128+
"pack-image": "docker build -t open-source-bazaar/orgserver-lark:latest .",
129+
"container": "docker rm -f orgserver-lark && docker run --name orgserver-lark -p 3000:3000 -d open-source-bazaar/orgserver-lark:latest"
130130
}
131131
}

pages/scroll-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { repositoryStore } from '../models/Base';
1212
import { I18nContext } from '../models/Translation';
1313

1414
export const getServerSideProps = compose(errorLogger, cache(), async () => {
15-
const list = await new RepositoryModel('idea2app').getList();
15+
const list = await new RepositoryModel('open-source-bazaar').getList();
1616

1717
return { props: JSON.parse(JSON.stringify({ list })) };
1818
});

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Lark-Next-Bootstrap-ts scaffold",
2+
"name": "orgserver-lark scaffold",
33
"short_name": "Next.ts demo",
44
"start_url": ".",
55
"description": "Lark project scaffold based on TypeScript, React, Next.js, Bootstrap & Workbox.",

0 commit comments

Comments
 (0)