Skip to content

Commit 4366b2b

Browse files
committed
chore: better sub-repos
1 parent d8a0659 commit 4366b2b

File tree

11 files changed

+36
-24
lines changed

11 files changed

+36
-24
lines changed

.gitmodules

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,22 @@
2323
url = [email protected]:cs-magic/exts_chrome_claude-artifact-enhancer.git
2424

2525
; apps
26+
[submodule "apps/home-v1"]
27+
path = apps/home-v1
28+
url = [email protected]:cs-magic/home-v1.git
29+
30+
[submodule "apps/home-v2"]
31+
path = apps/home-v2
32+
url = [email protected]:cs-magic/home-v2.git
33+
34+
[submodule "apps/playground"]
35+
path = apps/neurora_playground
36+
url = [email protected]:cs-magic/playground.git
37+
38+
[submodule "apps/neurora-assistant"]
39+
path = apps/neurora_assistant
40+
url = [email protected]:cs-magic/neurora-assistant.git
41+
2642
[submodule "screensaver"]
2743
path = apps/screensaver
2844
url = [email protected]:cs-magic/app_screensaver.git
@@ -39,25 +55,13 @@
3955
branch = main
4056

4157
[submodule "apps/totem-gpt"]
42-
path = apps/totem-gpt
58+
path = apps/totem-gen
4359
url = [email protected]:cs-magic/totem-gpt-web.git
4460

45-
[submodule "apps/neurora-assistant"]
46-
path = apps/neurora_assistant
47-
url = [email protected]:cs-magic/neurora-assistant.git
48-
4961
[submodule "apps/wechat-dbcracker"]
5062
path = apps/wechat-dbcracker
5163
url = [email protected]:cs-magic/wechat-dbcracker.git
5264

53-
[submodule "apps/neurora-home"]
54-
path = apps/neurora_home
55-
url = [email protected]:cs-magic/neurora-home.git
56-
57-
[submodule "apps/neurora-playground"]
58-
path = apps/neurora_playground
59-
url = [email protected]:cs-magic/playground.git
60-
6165
[submodule "apps/poketto"]
6266
path = apps/cs-magic/poketto
6367
url = [email protected]:cs-magic/poketto.git
@@ -78,8 +82,3 @@
7882
[submodule "cases/zhijikeji"]
7983
path = cases/zhijikeji
8084
url = [email protected]:cs-magic/cases_zhijikeji.git
81-
82-
83-
[submodule "apps/neurora_playground"]
84-
path = apps/neurora_playground
85-
url = [email protected]:cs-magic/playground.git

apps/home-v1

Submodule home-v1 added at f39e66a

apps/home-v2

Submodule home-v2 added at c941c03

apps/neurora_home

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

assets/branding/totem-gpt/totem-gpt.logo.svg.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"tests/*"
2323
],
2424
"scripts": {
25-
"prepare": "ts-patch install -s"
25+
"prepare": "ts-patch install -s",
26+
"init-app": "git submodule update --init --progress",
27+
"run-app": "yarn workspace @cs-magic"
2628
},
2729
"resolutions": {
2830
"@babel/core": "^7.25.2",

scripts/run-app.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 实现

yarn.lock

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3996,11 +3996,12 @@ __metadata:
39963996
languageName: unknown
39973997
linkType: soft
39983998

3999-
"@cs-magic/totem-gpt-web@workspace:apps/totem-gpt":
3999+
"@cs-magic/totem-gen@workspace:apps/totem-gen":
40004000
version: 0.0.0-use.local
4001-
resolution: "@cs-magic/totem-gpt-web@workspace:apps/totem-gpt"
4001+
resolution: "@cs-magic/totem-gen@workspace:apps/totem-gen"
40024002
dependencies:
40034003
"@ai-sdk/anthropic": "npm:^0.0.50"
4004+
"@cs-magic/shadcn": "workspace:^"
40044005
"@emotion/react": "npm:^11.13.3"
40054006
"@emotion/styled": "npm:^11.13.0"
40064007
"@hookform/resolvers": "npm:^3.3.1"
@@ -4067,12 +4068,14 @@ __metadata:
40674068
"@dnd-kit/core": "npm:^6.1.0"
40684069
"@dnd-kit/sortable": "npm:^8.0.0"
40694070
"@dnd-kit/utilities": "npm:^3.2.2"
4071+
"@radix-ui/react-dialog": "npm:^1.x.x"
40704072
"@react-google-maps/api": "npm:^2.20.3"
40714073
"@types/react-beautiful-dnd": "npm:^13.1.8"
40724074
autoprefixer: "npm:^10.4.20"
40734075
immer: "npm:^10.1.1"
40744076
jotai: "npm:^2.10.1"
40754077
jotai-immer: "npm:^0.4.1"
4078+
jotai-utils: "npm:^0.x.x"
40764079
lucide-react: "npm:^0.359.0"
40774080
next: "npm:^14.2.15"
40784081
npm-run-all: "npm:^4.1.5"
@@ -8911,7 +8914,7 @@ __metadata:
89118914
languageName: node
89128915
linkType: hard
89138916

8914-
"@radix-ui/react-dialog@npm:1.1.2, @radix-ui/react-dialog@npm:^1.0.5, @radix-ui/react-dialog@npm:^1.1.1, @radix-ui/react-dialog@npm:^1.1.2":
8917+
"@radix-ui/react-dialog@npm:1.1.2, @radix-ui/react-dialog@npm:^1.0.5, @radix-ui/react-dialog@npm:^1.1.1, @radix-ui/react-dialog@npm:^1.1.2, @radix-ui/react-dialog@npm:^1.x.x":
89158918
version: 1.1.2
89168919
resolution: "@radix-ui/react-dialog@npm:1.1.2"
89178920
dependencies:
@@ -28301,6 +28304,13 @@ __metadata:
2830128304
languageName: node
2830228305
linkType: hard
2830328306

28307+
"jotai-utils@npm:^0.x.x":
28308+
version: 0.0.0
28309+
resolution: "jotai-utils@npm:0.0.0"
28310+
checksum: 10c0/436d395f36845e070cc5ba24c2af352d2a8b2cbb2125a5acefce9a4c114d8b3db6c62cdcbb952f466b6e78b18e111d0b77d21386e8c4fc3196e8ab4f7c16857d
28311+
languageName: node
28312+
linkType: hard
28313+
2830428314
"jotai@npm:^2.9.1":
2830528315
version: 2.10.1
2830628316
resolution: "jotai@npm:2.10.1"

0 commit comments

Comments
 (0)