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