gomtm 0.0.535 → 0.0.536
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gomtm +0 -0
- package/package.json +219 -241
- package/bin/gomtm +0 -13
package/dist/gomtm
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,242 +1,220 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"slate-hyperscript": "^0.100.0",
|
|
222
|
-
"storybook": "^8.0.0",
|
|
223
|
-
"studio": "^0.13.5",
|
|
224
|
-
"style-loader": "^3.3.4",
|
|
225
|
-
"tailwind-merge": "^2.2.1",
|
|
226
|
-
"tailwindcss": "^3.3.0",
|
|
227
|
-
"tailwindcss-animate": "^1.0.7",
|
|
228
|
-
"ts-jest": "^29.0.3",
|
|
229
|
-
"ts-loader": "^9.5.1",
|
|
230
|
-
"ts-node": "^10.9.1",
|
|
231
|
-
"tsc-alias": "^1.8.8",
|
|
232
|
-
"tsx": "^4.7.1",
|
|
233
|
-
"typescript": "^5.5.2",
|
|
234
|
-
"vite": "^5.1.4",
|
|
235
|
-
"vite-plugin-dts": "^3.7.3",
|
|
236
|
-
"vitest": "^1.3.1",
|
|
237
|
-
"wait-on": "^7.2.0",
|
|
238
|
-
"webpack": "^5.89.0",
|
|
239
|
-
"webpack-cli": "^5.1.4",
|
|
240
|
-
"wrangler": "^3.47.1"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
2
|
+
"name": "gomtm",
|
|
3
|
+
"version": "0.0.536",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"private": false,
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"files": ["dist"],
|
|
11
|
+
"bin": {
|
|
12
|
+
"gomtm": "./dist/main.js",
|
|
13
|
+
"gomtm2": "./bin/gomtm"
|
|
14
|
+
},
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
"*": {
|
|
17
|
+
"*": ["src/*.ts", "src/*.tsx", "src/*/index.ts", "src/*/index.tsx"]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": ["./src/index.ts", "./dist/esm/index.js"],
|
|
23
|
+
"import": ["./src/index.ts", "./dist/esm/index.js"],
|
|
24
|
+
"require": ["./dist/esm/index.js"]
|
|
25
|
+
},
|
|
26
|
+
"./*": {
|
|
27
|
+
"types": [
|
|
28
|
+
"./src/*.ts",
|
|
29
|
+
"./src/*/index.ts",
|
|
30
|
+
"./src/*.tsx",
|
|
31
|
+
"./src/*/index.tsx"
|
|
32
|
+
],
|
|
33
|
+
"import": [
|
|
34
|
+
"./src/*.ts",
|
|
35
|
+
"./src/*.tsx",
|
|
36
|
+
"./src/*/index.ts",
|
|
37
|
+
"./src/*/index.tsx"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"./tailwind": {
|
|
41
|
+
"import": ["./dist/tailwind.cjs", "./src/tailwind.cjs"],
|
|
42
|
+
"require": ["./dist/tailwind.cjs", "./src/tailwind.cjs"]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"prepare": "panda codegen",
|
|
47
|
+
"build": "next build",
|
|
48
|
+
"gomtm": "bun src/cli/main.ts",
|
|
49
|
+
"dev": "bun with-env next dev",
|
|
50
|
+
"dev:watch": "bun concurrently 'bun run dev' 'bun run codegen:local --watch'",
|
|
51
|
+
"with-env": "dotenv -e ./env/gomtm.env --",
|
|
52
|
+
"codegen--": "bun graphql-codegen --config codegen-mtmapi.ts",
|
|
53
|
+
"codegen": "graphql-codegen --config codegen.ts",
|
|
54
|
+
"relay": "relay-compiler"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@apollo/client": "^3.10.6",
|
|
58
|
+
"@apollo/experimental-nextjs-app-support": "^0.11.2",
|
|
59
|
+
"@apollo/server": "^4.10.4",
|
|
60
|
+
"@as-integrations/next": "^3.0.0",
|
|
61
|
+
"@extractus/article-extractor": "^8.0.10",
|
|
62
|
+
"@parcel/watcher": "^2.4.0",
|
|
63
|
+
"@tanstack/react-query": "^5.45.1",
|
|
64
|
+
"@tanstack/react-query-devtools": "^5.45.1",
|
|
65
|
+
"@tanstack/react-query-next-experimental": "^5.45.1",
|
|
66
|
+
"commander": "^12.0.0",
|
|
67
|
+
"edge-runtime": "^2.5.9",
|
|
68
|
+
"geist": "^1.2.2",
|
|
69
|
+
"github-slugger": "^2.0.0",
|
|
70
|
+
"graphql": "^16.9.0",
|
|
71
|
+
"graphql-request": "6.1.0",
|
|
72
|
+
"html-differ": "^1.4.0",
|
|
73
|
+
"inngest": "^3.19.18",
|
|
74
|
+
"jose": "^5.2.4",
|
|
75
|
+
"lru-cache": "^10.2.0",
|
|
76
|
+
"lucide-react": "^0.381.0",
|
|
77
|
+
"mtxlib": "^0.4.140",
|
|
78
|
+
"mtxuilib": "*",
|
|
79
|
+
"next": "^15.0.0-rc.0",
|
|
80
|
+
"next-nprogress-bar": "^2.3.4",
|
|
81
|
+
"next-themes": "^0.3.0",
|
|
82
|
+
"path-to-regexp": "6.2.1",
|
|
83
|
+
"pliny": "0.2.0",
|
|
84
|
+
"react": "^19.0.0-rc-8971381549-20240625",
|
|
85
|
+
"react-dom": "^19.0.0-rc-8971381549-20240625",
|
|
86
|
+
"react-error-boundary": "^4.0.11",
|
|
87
|
+
"react-hook-form": "^7.49.3",
|
|
88
|
+
"react-hotkeys-hook": "^4.5.0",
|
|
89
|
+
"react-relay": "^17.0.0",
|
|
90
|
+
"sonner": "^1.4.3",
|
|
91
|
+
"stable-hash": "^0.0.4",
|
|
92
|
+
"ulid": "2.3.0",
|
|
93
|
+
"universal-cookie": "^7.1.4",
|
|
94
|
+
"winston": "^3.13.0",
|
|
95
|
+
"zod": "^3.22.2",
|
|
96
|
+
"zustand": "^4.5.2"
|
|
97
|
+
},
|
|
98
|
+
"devDependencies": {
|
|
99
|
+
"@babel/core": "^7.24.0",
|
|
100
|
+
"@bufbuild/buf": "^1.30.0",
|
|
101
|
+
"@bufbuild/jest-environment-jsdom": "^0.1.1",
|
|
102
|
+
"@bufbuild/protoc-gen-es": "^1.7.2",
|
|
103
|
+
"@bufbuild/protoplugin": "^1.8.0",
|
|
104
|
+
"@changesets/cli": "^2.27.1",
|
|
105
|
+
"@changesets/get-github-info": "^0.6.0",
|
|
106
|
+
"@chromatic-com/storybook": "^1.2.18",
|
|
107
|
+
"@cloudflare/kv-asset-handler": "^0.2.0",
|
|
108
|
+
"@cloudflare/workers-types": "^4.20240222.0",
|
|
109
|
+
"@edge-runtime/jest-environment": "^2.3.10",
|
|
110
|
+
"@edge-runtime/jest-expect": "^1.2.0",
|
|
111
|
+
"@edge-runtime/ponyfill": "^2.4.2",
|
|
112
|
+
"@graphql-codegen/add": "^5.0.0",
|
|
113
|
+
"@graphql-codegen/cli": "^5.0.2",
|
|
114
|
+
"@graphql-codegen/client-preset": "^4.3.0",
|
|
115
|
+
"@graphql-codegen/typescript-operations": "^4.0.1",
|
|
116
|
+
"@graphql-codegen/typescript-react-query": "^6.1.0",
|
|
117
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
118
|
+
"@jest/globals": "^29.7.0",
|
|
119
|
+
"@netlify/plugin-nextjs": "^4.29.2",
|
|
120
|
+
"@pandacss/dev": "^0.41.0",
|
|
121
|
+
"@playwright/test": "^1.28.1",
|
|
122
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.8",
|
|
123
|
+
"@storybook/addon-essentials": "^8.0.0",
|
|
124
|
+
"@storybook/addon-interactions": "^8.0.0",
|
|
125
|
+
"@storybook/addon-links": "^8.0.0",
|
|
126
|
+
"@storybook/addon-onboarding": "^8.0.0",
|
|
127
|
+
"@storybook/addon-themes": "^8.0.0",
|
|
128
|
+
"@storybook/blocks": "^8.0.0",
|
|
129
|
+
"@storybook/client-logger": "next",
|
|
130
|
+
"@storybook/nextjs": "^8.0.0",
|
|
131
|
+
"@storybook/react": "^8.0.0",
|
|
132
|
+
"@storybook/test": "^8.0.0",
|
|
133
|
+
"@storybook/test-runner": "^0.17.0",
|
|
134
|
+
"@tailwindcss/forms": "^0.5.3",
|
|
135
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
136
|
+
"@tanstack/react-table": "^8.9.1",
|
|
137
|
+
"@testing-library/dom": "^9.3.4",
|
|
138
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
139
|
+
"@testing-library/react": "^14.2.1",
|
|
140
|
+
"@testing-library/user-event": "^14.5.2",
|
|
141
|
+
"@types/bun": "^1.1.6",
|
|
142
|
+
"@types/cors": "^2.8.17",
|
|
143
|
+
"@types/debug": "^4.1.12",
|
|
144
|
+
"@types/jest": "^29.5.8",
|
|
145
|
+
"@types/lodash": "^4.14.202",
|
|
146
|
+
"@types/node": "^20.14.6",
|
|
147
|
+
"@types/nprogress": "^0.2.3",
|
|
148
|
+
"@types/prismjs": "^1.26.3",
|
|
149
|
+
"@types/react": "^18.2.64",
|
|
150
|
+
"@types/react-dom": "^18",
|
|
151
|
+
"@types/react-syntax-highlighter": "^15.5.11",
|
|
152
|
+
"@types/video.js": "^7.3.56",
|
|
153
|
+
"@types/webpack-env": "^1.18.0",
|
|
154
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
155
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
156
|
+
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
157
|
+
"autoprefixer": "^10.4.16",
|
|
158
|
+
"babel-jest": "^29.7.0",
|
|
159
|
+
"bun-types": "^1.1.20",
|
|
160
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
161
|
+
"concurrently": "^8.2.2",
|
|
162
|
+
"copy-webpack-plugin": "^12.0.2",
|
|
163
|
+
"cross-env": "^7.0.3",
|
|
164
|
+
"css-loader": "^6.10.0",
|
|
165
|
+
"dotenv": "^16.4.5",
|
|
166
|
+
"dotenv-cli": "^7.4.1",
|
|
167
|
+
"eslint": "^9.7.0",
|
|
168
|
+
"eslint-config-next": "^15.0.0-rc.0",
|
|
169
|
+
"eslint-config-prettier": "latest",
|
|
170
|
+
"eslint-import-resolver-alias": "^1.1.2",
|
|
171
|
+
"eslint-plugin-import": "^2.26.0",
|
|
172
|
+
"eslint-plugin-jest": "latest",
|
|
173
|
+
"eslint-plugin-prettier": "latest",
|
|
174
|
+
"eslint-plugin-react": "^7.31.10",
|
|
175
|
+
"eslint-plugin-react-hooks": "latest",
|
|
176
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
177
|
+
"eslint-plugin-tailwindcss": "latest",
|
|
178
|
+
"eslint-plugin-testing-library": "latest",
|
|
179
|
+
"eslint-plugin-unused-imports": "latest",
|
|
180
|
+
"extract-files": "^13.0.0",
|
|
181
|
+
"file-loader": "^6.2.0",
|
|
182
|
+
"fork-ts-checker-webpack-plugin": "^7.2.13",
|
|
183
|
+
"graphql-codegen-typescript-validation-schema": "^0.15.0",
|
|
184
|
+
"jsdom": "^24.0.0",
|
|
185
|
+
"less": "^4.1.3",
|
|
186
|
+
"less-loader": "^11.1.0",
|
|
187
|
+
"mini-css-extract-plugin": "^2.7.6",
|
|
188
|
+
"postcss": "^8.4.38",
|
|
189
|
+
"postcss-loader": "^6.2.1",
|
|
190
|
+
"postcss-preset-env": "^9.3.0",
|
|
191
|
+
"prettier": "^3.2.5",
|
|
192
|
+
"puppeteer": "^22.4.1",
|
|
193
|
+
"react-refresh": "^0.14.0",
|
|
194
|
+
"react-test-renderer": "^18.2.0",
|
|
195
|
+
"relay-compiler": "^17.0.0",
|
|
196
|
+
"rimraf": "^5.0.5",
|
|
197
|
+
"sass": "^1.55.0",
|
|
198
|
+
"sass-loader": "^13.1.0",
|
|
199
|
+
"slate-hyperscript": "^0.100.0",
|
|
200
|
+
"storybook": "^8.0.0",
|
|
201
|
+
"studio": "^0.13.5",
|
|
202
|
+
"style-loader": "^3.3.4",
|
|
203
|
+
"tailwind-merge": "^2.2.1",
|
|
204
|
+
"tailwindcss": "^3.3.0",
|
|
205
|
+
"tailwindcss-animate": "^1.0.7",
|
|
206
|
+
"ts-jest": "^29.0.3",
|
|
207
|
+
"ts-loader": "^9.5.1",
|
|
208
|
+
"ts-node": "^10.9.1",
|
|
209
|
+
"tsc-alias": "^1.8.8",
|
|
210
|
+
"tsx": "^4.7.1",
|
|
211
|
+
"typescript": "^5.5.2",
|
|
212
|
+
"vite": "^5.1.4",
|
|
213
|
+
"vite-plugin-dts": "^3.7.3",
|
|
214
|
+
"vitest": "^1.3.1",
|
|
215
|
+
"wait-on": "^7.2.0",
|
|
216
|
+
"webpack": "^5.89.0",
|
|
217
|
+
"webpack-cli": "^5.1.4",
|
|
218
|
+
"wrangler": "^3.47.1"
|
|
219
|
+
}
|
|
220
|
+
}
|
package/bin/gomtm
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
export MTM_SECRET="feihuo321------"
|
|
4
|
-
export GOBIN="${PWD}/.tmp/bin"
|
|
5
|
-
go run mtm/cmd/main.go "$@"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
# # 生成 Bash 自动完成功能脚本,并将其添加到 Bash 配置文件中
|
|
9
|
-
# (bin/gomtm --generate-bash-completion > main_bash_autocomplete) && source ./main_bash_autocomplete
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# PROG=bin/gomtm source ./bin/autocomplete/bash_autocomplete
|
|
13
|
-
# PROG=gomtm source ../bin/autocomplete/bash_autocomplete
|