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