@coze-arch/cli 0.0.1-alpha.e9ff73 → 0.0.1-alpha.eaa612

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 (80) hide show
  1. package/lib/__templates__/expo/client/components/Screen.tsx +2 -2
  2. package/lib/__templates__/expo/client/eslint.config.mjs +4 -0
  3. package/lib/__templates__/expo/client/scripts/install-missing-deps.js +10 -10
  4. package/lib/__templates__/expo/eslint-plugins/forbid-emoji/index.js +9 -0
  5. package/lib/__templates__/expo/eslint-plugins/forbid-emoji/rule.js +112 -0
  6. package/lib/__templates__/expo/eslint-plugins/forbid-emoji/tech.md +94 -0
  7. package/lib/__templates__/nextjs/README.md +5 -0
  8. package/lib/__templates__/nextjs/_gitignore +0 -3
  9. package/lib/__templates__/nextjs/eslint.config.mjs +5 -0
  10. package/lib/__templates__/nextjs/next.config.ts +1 -2
  11. package/lib/__templates__/nextjs/package.json +1 -5
  12. package/lib/__templates__/nextjs/pnpm-lock.yaml +1012 -12
  13. package/lib/__templates__/nextjs/scripts/build.sh +2 -2
  14. package/lib/__templates__/nextjs/scripts/dev.sh +3 -4
  15. package/lib/__templates__/nextjs/scripts/start.sh +3 -3
  16. package/lib/__templates__/nextjs/src/app/layout.tsx +1 -1
  17. package/lib/__templates__/nextjs/{server.ts → src/server.ts} +14 -14
  18. package/lib/__templates__/nextjs/tsconfig.json +1 -1
  19. package/lib/__templates__/nuxt-app/README.md +5 -15
  20. package/lib/__templates__/nuxt-app/app/app.vue +1 -188
  21. package/lib/__templates__/nuxt-app/app/pages/index.vue +23 -0
  22. package/lib/__templates__/nuxt-app/assets/css/main.css +24 -0
  23. package/lib/__templates__/nuxt-app/nuxt.config.ts +63 -3
  24. package/lib/__templates__/nuxt-app/package.json +7 -0
  25. package/lib/__templates__/nuxt-app/pnpm-lock.yaml +1610 -53
  26. package/lib/__templates__/nuxt-app/postcss.config.mjs +8 -0
  27. package/lib/__templates__/nuxt-app/scripts/dev.sh +2 -3
  28. package/lib/__templates__/nuxt-app/scripts/start.sh +3 -3
  29. package/lib/__templates__/nuxt-app/server/api/hello.ts +10 -0
  30. package/lib/__templates__/nuxt-app/server/middleware/logger.ts +10 -0
  31. package/lib/__templates__/nuxt-app/server/routes/health.ts +10 -0
  32. package/lib/__templates__/nuxt-app/tailwind.config.js +13 -0
  33. package/lib/__templates__/nuxt-app/template.config.js +9 -0
  34. package/lib/__templates__/templates.json +7 -0
  35. package/lib/__templates__/vite/README.md +189 -11
  36. package/lib/__templates__/vite/_gitignore +1 -0
  37. package/lib/__templates__/vite/eslint.config.mjs +6 -1
  38. package/lib/__templates__/vite/package.json +15 -3
  39. package/lib/__templates__/vite/pnpm-lock.yaml +750 -15
  40. package/lib/__templates__/vite/scripts/build-server.js +70 -0
  41. package/lib/__templates__/vite/scripts/build.sh +4 -1
  42. package/lib/__templates__/vite/scripts/dev.sh +4 -4
  43. package/lib/__templates__/vite/scripts/start.sh +5 -5
  44. package/lib/__templates__/vite/server/index.ts +57 -0
  45. package/lib/__templates__/vite/server/routes/index.ts +31 -0
  46. package/lib/__templates__/vite/server/vite.ts +79 -0
  47. package/lib/__templates__/vite/tsconfig.json +4 -3
  48. package/lib/cli.js +89 -100
  49. package/package.json +4 -1
  50. package/lib/__templates__/nuxt-app/.nuxt/app.config.mjs +0 -21
  51. package/lib/__templates__/nuxt-app/.nuxt/components.d.ts +0 -64
  52. package/lib/__templates__/nuxt-app/.nuxt/imports.d.ts +0 -31
  53. package/lib/__templates__/nuxt-app/.nuxt/manifest/meta/f97812ec-f25e-427b-b45d-eab58fba39f9.json +0 -1
  54. package/lib/__templates__/nuxt-app/.nuxt/nuxt.d.ts +0 -19
  55. package/lib/__templates__/nuxt-app/.nuxt/nuxt.node.d.ts +0 -14
  56. package/lib/__templates__/nuxt-app/.nuxt/nuxt.shared.d.ts +0 -6
  57. package/lib/__templates__/nuxt-app/.nuxt/schema/nuxt.schema.d.ts +0 -17
  58. package/lib/__templates__/nuxt-app/.nuxt/schema/nuxt.schema.json +0 -3
  59. package/lib/__templates__/nuxt-app/.nuxt/tsconfig.app.json +0 -201
  60. package/lib/__templates__/nuxt-app/.nuxt/tsconfig.json +0 -203
  61. package/lib/__templates__/nuxt-app/.nuxt/tsconfig.node.json +0 -110
  62. package/lib/__templates__/nuxt-app/.nuxt/tsconfig.server.json +0 -140
  63. package/lib/__templates__/nuxt-app/.nuxt/tsconfig.shared.json +0 -152
  64. package/lib/__templates__/nuxt-app/.nuxt/types/app.config.d.ts +0 -35
  65. package/lib/__templates__/nuxt-app/.nuxt/types/build.d.ts +0 -24
  66. package/lib/__templates__/nuxt-app/.nuxt/types/builder-env.d.ts +0 -1
  67. package/lib/__templates__/nuxt-app/.nuxt/types/components.d.ts +0 -69
  68. package/lib/__templates__/nuxt-app/.nuxt/types/imports.d.ts +0 -360
  69. package/lib/__templates__/nuxt-app/.nuxt/types/middleware.d.ts +0 -11
  70. package/lib/__templates__/nuxt-app/.nuxt/types/modules.d.ts +0 -79
  71. package/lib/__templates__/nuxt-app/.nuxt/types/nitro-config.d.ts +0 -14
  72. package/lib/__templates__/nuxt-app/.nuxt/types/nitro-imports.d.ts +0 -151
  73. package/lib/__templates__/nuxt-app/.nuxt/types/nitro-layouts.d.ts +0 -17
  74. package/lib/__templates__/nuxt-app/.nuxt/types/nitro-nuxt.d.ts +0 -64
  75. package/lib/__templates__/nuxt-app/.nuxt/types/nitro-routes.d.ts +0 -17
  76. package/lib/__templates__/nuxt-app/.nuxt/types/nitro.d.ts +0 -3
  77. package/lib/__templates__/nuxt-app/.nuxt/types/plugins.d.ts +0 -30
  78. package/lib/__templates__/nuxt-app/.nuxt/types/runtime-config.d.ts +0 -32
  79. package/lib/__templates__/nuxt-app/.nuxt/types/shared-imports.d.ts +0 -10
  80. package/lib/__templates__/nuxt-app/.nuxt/types/vue-shim.d.ts +0 -0
@@ -1,151 +0,0 @@
1
- declare global {
2
- const H3Error: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').H3Error
3
- const H3Event: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').H3Event
4
- const __buildAssetsURL: typeof import('../../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/runtime/utils/paths').buildAssetsURL
5
- const __publicAssetsURL: typeof import('../../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/runtime/utils/paths').publicAssetsURL
6
- const appendCorsHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').appendCorsHeaders
7
- const appendCorsPreflightHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').appendCorsPreflightHeaders
8
- const appendHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').appendHeader
9
- const appendHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').appendHeaders
10
- const appendResponseHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').appendResponseHeader
11
- const appendResponseHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').appendResponseHeaders
12
- const assertMethod: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').assertMethod
13
- const cachedEventHandler: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/cache').cachedEventHandler
14
- const cachedFunction: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/cache').cachedFunction
15
- const callNodeListener: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').callNodeListener
16
- const clearResponseHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').clearResponseHeaders
17
- const clearSession: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').clearSession
18
- const createApp: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').createApp
19
- const createAppEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').createAppEventHandler
20
- const createError: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').createError
21
- const createEvent: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').createEvent
22
- const createEventStream: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').createEventStream
23
- const createRouter: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').createRouter
24
- const defaultContentType: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defaultContentType
25
- const defineAppConfig: typeof import('../../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/runtime/utils/config').defineAppConfig
26
- const defineCachedEventHandler: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/cache').defineCachedEventHandler
27
- const defineCachedFunction: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/cache').defineCachedFunction
28
- const defineEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineEventHandler
29
- const defineLazyEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineLazyEventHandler
30
- const defineNitroErrorHandler: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/error/utils').defineNitroErrorHandler
31
- const defineNitroPlugin: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/plugin').defineNitroPlugin
32
- const defineNodeListener: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineNodeListener
33
- const defineNodeMiddleware: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineNodeMiddleware
34
- const defineRenderHandler: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/renderer').defineRenderHandler
35
- const defineRequestMiddleware: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineRequestMiddleware
36
- const defineResponseMiddleware: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineResponseMiddleware
37
- const defineRouteMeta: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/meta').defineRouteMeta
38
- const defineTask: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/task').defineTask
39
- const defineWebSocket: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineWebSocket
40
- const defineWebSocketHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').defineWebSocketHandler
41
- const deleteCookie: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').deleteCookie
42
- const dynamicEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').dynamicEventHandler
43
- const eventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').eventHandler
44
- const fetchWithEvent: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').fetchWithEvent
45
- const fromNodeMiddleware: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').fromNodeMiddleware
46
- const fromPlainHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').fromPlainHandler
47
- const fromWebHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').fromWebHandler
48
- const getCookie: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getCookie
49
- const getHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getHeader
50
- const getHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getHeaders
51
- const getMethod: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getMethod
52
- const getProxyRequestHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getProxyRequestHeaders
53
- const getQuery: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getQuery
54
- const getRequestFingerprint: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestFingerprint
55
- const getRequestHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestHeader
56
- const getRequestHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestHeaders
57
- const getRequestHost: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestHost
58
- const getRequestIP: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestIP
59
- const getRequestPath: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestPath
60
- const getRequestProtocol: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestProtocol
61
- const getRequestURL: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestURL
62
- const getRequestWebStream: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRequestWebStream
63
- const getResponseHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getResponseHeader
64
- const getResponseHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getResponseHeaders
65
- const getResponseStatus: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getResponseStatus
66
- const getResponseStatusText: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getResponseStatusText
67
- const getRouteRules: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/route-rules').getRouteRules
68
- const getRouterParam: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRouterParam
69
- const getRouterParams: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getRouterParams
70
- const getSession: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getSession
71
- const getValidatedQuery: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getValidatedQuery
72
- const getValidatedRouterParams: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').getValidatedRouterParams
73
- const handleCacheHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').handleCacheHeaders
74
- const handleCors: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').handleCors
75
- const isCorsOriginAllowed: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isCorsOriginAllowed
76
- const isError: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isError
77
- const isEvent: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isEvent
78
- const isEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isEventHandler
79
- const isMethod: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isMethod
80
- const isPreflightRequest: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isPreflightRequest
81
- const isStream: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isStream
82
- const isWebResponse: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').isWebResponse
83
- const lazyEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').lazyEventHandler
84
- const nitroPlugin: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/plugin').nitroPlugin
85
- const parseCookies: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').parseCookies
86
- const promisifyNodeListener: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').promisifyNodeListener
87
- const proxyRequest: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').proxyRequest
88
- const readBody: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').readBody
89
- const readFormData: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').readFormData
90
- const readMultipartFormData: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').readMultipartFormData
91
- const readRawBody: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').readRawBody
92
- const readValidatedBody: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').readValidatedBody
93
- const removeResponseHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').removeResponseHeader
94
- const runTask: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/task').runTask
95
- const sanitizeStatusCode: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sanitizeStatusCode
96
- const sanitizeStatusMessage: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sanitizeStatusMessage
97
- const sealSession: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sealSession
98
- const send: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').send
99
- const sendError: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendError
100
- const sendIterable: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendIterable
101
- const sendNoContent: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendNoContent
102
- const sendProxy: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendProxy
103
- const sendRedirect: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendRedirect
104
- const sendStream: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendStream
105
- const sendWebResponse: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').sendWebResponse
106
- const serveStatic: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').serveStatic
107
- const setCookie: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').setCookie
108
- const setHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').setHeader
109
- const setHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').setHeaders
110
- const setResponseHeader: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').setResponseHeader
111
- const setResponseHeaders: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').setResponseHeaders
112
- const setResponseStatus: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').setResponseStatus
113
- const splitCookiesString: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').splitCookiesString
114
- const toEventHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').toEventHandler
115
- const toNodeListener: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').toNodeListener
116
- const toPlainHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').toPlainHandler
117
- const toWebHandler: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').toWebHandler
118
- const toWebRequest: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').toWebRequest
119
- const unsealSession: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').unsealSession
120
- const updateSession: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').updateSession
121
- const useAppConfig: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/config').useAppConfig
122
- const useBase: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').useBase
123
- const useEvent: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/context').useEvent
124
- const useImage: typeof import('../../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/server/utils/image').useImage
125
- const useNitroApp: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/app').useNitroApp
126
- const useRuntimeConfig: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/config').useRuntimeConfig
127
- const useSession: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').useSession
128
- const useStorage: typeof import('../../node_modules/.pnpm/nitropack@2.13.1/node_modules/nitropack/dist/runtime/internal/storage').useStorage
129
- const writeEarlyHints: typeof import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3').writeEarlyHints
130
- }
131
- // for type re-export
132
- declare global {
133
- // @ts-ignore
134
- export type { EventHandler, EventHandlerRequest, EventHandlerResponse, EventHandlerObject, H3EventContext } from '../../node_modules/.pnpm/h3@1.15.6/node_modules/h3'
135
- import('../../node_modules/.pnpm/h3@1.15.6/node_modules/h3')
136
- }
137
- export { H3Event, H3Error, appendCorsHeaders, appendCorsPreflightHeaders, appendHeader, appendHeaders, appendResponseHeader, appendResponseHeaders, assertMethod, callNodeListener, clearResponseHeaders, clearSession, createApp, createAppEventHandler, createError, createEvent, createEventStream, createRouter, defaultContentType, defineEventHandler, defineLazyEventHandler, defineNodeListener, defineNodeMiddleware, defineRequestMiddleware, defineResponseMiddleware, defineWebSocket, defineWebSocketHandler, deleteCookie, dynamicEventHandler, eventHandler, fetchWithEvent, fromNodeMiddleware, fromPlainHandler, fromWebHandler, getCookie, getHeader, getHeaders, getMethod, getProxyRequestHeaders, getQuery, getRequestFingerprint, getRequestHeader, getRequestHeaders, getRequestHost, getRequestIP, getRequestPath, getRequestProtocol, getRequestURL, getRequestWebStream, getResponseHeader, getResponseHeaders, getResponseStatus, getResponseStatusText, getRouterParam, getRouterParams, getSession, getValidatedQuery, getValidatedRouterParams, handleCacheHeaders, handleCors, isCorsOriginAllowed, isError, isEvent, isEventHandler, isMethod, isPreflightRequest, isStream, isWebResponse, lazyEventHandler, parseCookies, promisifyNodeListener, proxyRequest, readBody, readFormData, readMultipartFormData, readRawBody, readValidatedBody, removeResponseHeader, sanitizeStatusCode, sanitizeStatusMessage, sealSession, send, sendError, sendIterable, sendNoContent, sendProxy, sendRedirect, sendStream, sendWebResponse, serveStatic, setCookie, setHeader, setHeaders, setResponseHeader, setResponseHeaders, setResponseStatus, splitCookiesString, toEventHandler, toNodeListener, toPlainHandler, toWebHandler, toWebRequest, unsealSession, updateSession, useBase, useSession, writeEarlyHints } from 'h3';
138
- export { useNitroApp } from 'nitropack/runtime/internal/app';
139
- export { useRuntimeConfig, useAppConfig } from 'nitropack/runtime/internal/config';
140
- export { defineNitroPlugin, nitroPlugin } from 'nitropack/runtime/internal/plugin';
141
- export { defineCachedFunction, defineCachedEventHandler, cachedFunction, cachedEventHandler } from 'nitropack/runtime/internal/cache';
142
- export { useStorage } from 'nitropack/runtime/internal/storage';
143
- export { defineRenderHandler } from 'nitropack/runtime/internal/renderer';
144
- export { defineRouteMeta } from 'nitropack/runtime/internal/meta';
145
- export { getRouteRules } from 'nitropack/runtime/internal/route-rules';
146
- export { useEvent } from 'nitropack/runtime/internal/context';
147
- export { defineTask, runTask } from 'nitropack/runtime/internal/task';
148
- export { defineNitroErrorHandler } from 'nitropack/runtime/internal/error/utils';
149
- export { buildAssetsURL as __buildAssetsURL, publicAssetsURL as __publicAssetsURL } from '/Users/bytedance/coding/coze-coding/apps/coze-init-cli/src/__templates__/nuxt-app/node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/runtime/utils/paths';
150
- export { defineAppConfig } from '/Users/bytedance/coding/coze-coding/apps/coze-init-cli/src/__templates__/nuxt-app/node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/runtime/utils/config';
151
- export { useImage } from '/Users/bytedance/coding/coze-coding/apps/coze-init-cli/src/__templates__/nuxt-app/node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/server/utils/image';
@@ -1,17 +0,0 @@
1
- export type LayoutKey = string
2
- declare module 'nitropack' {
3
- interface NitroRouteConfig {
4
- appLayout?: LayoutKey | false
5
- }
6
- interface NitroRouteRules {
7
- appLayout?: LayoutKey | false
8
- }
9
- }
10
- declare module 'nitropack/types' {
11
- interface NitroRouteConfig {
12
- appLayout?: LayoutKey | false
13
- }
14
- interface NitroRouteRules {
15
- appLayout?: LayoutKey | false
16
- }
17
- }
@@ -1,64 +0,0 @@
1
-
2
- /// <reference path="nitro-layouts.d.ts" />
3
- /// <reference path="app.config.d.ts" />
4
- /// <reference path="runtime-config.d.ts" />
5
- /// <reference path="../../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/index.d.mts" />
6
- /// <reference path="middleware.d.ts" />
7
-
8
- import type { RuntimeConfig } from 'nuxt/schema'
9
- import type { H3Event } from 'h3'
10
- import type { LogObject } from 'consola'
11
- import type { NuxtIslandContext, NuxtIslandResponse, NuxtRenderHTMLContext } from 'nuxt/app'
12
-
13
- declare module 'nitropack' {
14
- interface NitroRuntimeConfigApp {
15
- buildAssetsDir: string
16
- cdnURL: string
17
- }
18
- interface NitroRuntimeConfig extends RuntimeConfig {}
19
- interface NitroRouteConfig {
20
- ssr?: boolean
21
- noScripts?: boolean
22
- /** @deprecated Use `noScripts` instead */
23
- experimentalNoScripts?: boolean
24
- }
25
- interface NitroRouteRules {
26
- ssr?: boolean
27
- noScripts?: boolean
28
- /** @deprecated Use `noScripts` instead */
29
- experimentalNoScripts?: boolean
30
- appMiddleware?: Record<string, boolean>
31
- appLayout?: string | false
32
- }
33
- interface NitroRuntimeHooks {
34
- 'dev:ssr-logs': (ctx: { logs: LogObject[], path: string }) => void | Promise<void>
35
- 'render:html': (htmlContext: NuxtRenderHTMLContext, context: { event: H3Event }) => void | Promise<void>
36
- 'render:island': (islandResponse: NuxtIslandResponse, context: { event: H3Event, islandContext: NuxtIslandContext }) => void | Promise<void>
37
- }
38
- }
39
- declare module 'nitropack/types' {
40
- interface NitroRuntimeConfigApp {
41
- buildAssetsDir: string
42
- cdnURL: string
43
- }
44
- interface NitroRuntimeConfig extends RuntimeConfig {}
45
- interface NitroRouteConfig {
46
- ssr?: boolean
47
- noScripts?: boolean
48
- /** @deprecated Use `noScripts` instead */
49
- experimentalNoScripts?: boolean
50
- }
51
- interface NitroRouteRules {
52
- ssr?: boolean
53
- noScripts?: boolean
54
- /** @deprecated Use `noScripts` instead */
55
- experimentalNoScripts?: boolean
56
- appMiddleware?: Record<string, boolean>
57
- appLayout?: string | false
58
- }
59
- interface NitroRuntimeHooks {
60
- 'dev:ssr-logs': (ctx: { logs: LogObject[], path: string }) => void | Promise<void>
61
- 'render:html': (htmlContext: NuxtRenderHTMLContext, context: { event: H3Event }) => void | Promise<void>
62
- 'render:island': (islandResponse: NuxtIslandResponse, context: { event: H3Event, islandContext: NuxtIslandContext }) => void | Promise<void>
63
- }
64
- }
@@ -1,17 +0,0 @@
1
- // Generated by nitro
2
- import type { Serialize, Simplify } from "nitropack/types";
3
- declare module "nitropack/types" {
4
- type Awaited<T> = T extends PromiseLike<infer U> ? Awaited<U> : T
5
- interface InternalApi {
6
- '/__nuxt_error': {
7
- 'default': Simplify<Serialize<Awaited<ReturnType<typeof import('../../node_modules/.pnpm/@nuxt+nitro-server@4.3.1_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2_nuxt@4.3.1_@parcel+watcher@2_xfbbsy5rq6rhefjphkjnpwvgiq/node_modules/@nuxt/nitro-server/dist/runtime/handlers/renderer').default>>>>
8
- }
9
- '/__nuxt_island/**': {
10
- 'default': Simplify<Serialize<Awaited<ReturnType<typeof import('../../server/#internal/nuxt/island-renderer').default>>>>
11
- }
12
- '/_ipx/**': {
13
- 'default': Simplify<Serialize<Awaited<ReturnType<typeof import('../../node_modules/.pnpm/@nuxt+image@1.11.0_db0@0.3.4_ioredis@5.10.0_magicast@0.5.2/node_modules/@nuxt/image/dist/runtime/ipx').default>>>>
14
- }
15
- }
16
- }
17
- export {}
@@ -1,3 +0,0 @@
1
- /// <reference path="./nitro-routes.d.ts" />
2
- /// <reference path="./nitro-config.d.ts" />
3
- /// <reference path="./nitro-imports.d.ts" />
@@ -1,30 +0,0 @@
1
- // Generated by Nuxt'
2
- import type { Plugin } from '#app'
3
-
4
- type Decorate<T extends Record<string, any>> = { [K in keyof T as K extends string ? `$${K}` : never]: T[K] }
5
-
6
- type InjectionType<A extends Plugin> = A extends {default: Plugin<infer T>} ? Decorate<T> : unknown
7
-
8
- type NuxtAppInjections =
9
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/revive-payload.client.js")> &
10
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/head/runtime/plugins/unhead.js")> &
11
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/router.js")> &
12
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/payload.client.js")> &
13
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/navigation-repaint.client.js")> &
14
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/check-outdated-build.client.js")> &
15
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/revive-payload.server.js")> &
16
- InjectionType<typeof import("../../node_modules/.pnpm/nuxt@4.3.1_@parcel+watcher@2.5.6_@types+node@20.19.37_@vue+compiler-sfc@3.5.30_cac@6.7.14_com_taatluv2yjzii3bpz3arwgamsa/node_modules/nuxt/dist/app/plugins/chunk-reload.client.js")>
17
-
18
- declare module '#app' {
19
- interface NuxtApp extends NuxtAppInjections { }
20
-
21
- interface NuxtAppLiterals {
22
- pluginName: 'nuxt:revive-payload:client' | 'nuxt:head' | 'nuxt:router' | 'nuxt:payload' | 'nuxt:revive-payload:server' | 'nuxt:chunk-reload' | 'nuxt:global-components'
23
- }
24
- }
25
-
26
- declare module 'vue' {
27
- interface ComponentCustomProperties extends NuxtAppInjections { }
28
- }
29
-
30
- export { }
@@ -1,32 +0,0 @@
1
- import { RuntimeConfig as UserRuntimeConfig, PublicRuntimeConfig as UserPublicRuntimeConfig } from 'nuxt/schema'
2
- interface SharedRuntimeConfig {
3
- app: {
4
- buildId: string,
5
-
6
- baseURL: string,
7
-
8
- buildAssetsDir: string,
9
-
10
- cdnURL: string,
11
- },
12
-
13
- nitro: {
14
- envPrefix: string,
15
- },
16
- }
17
- interface SharedPublicRuntimeConfig {
18
-
19
- }
20
- declare module '@nuxt/schema' {
21
- interface RuntimeConfig extends UserRuntimeConfig {}
22
- interface PublicRuntimeConfig extends UserPublicRuntimeConfig {}
23
- }
24
- declare module 'nuxt/schema' {
25
- interface RuntimeConfig extends SharedRuntimeConfig {}
26
- interface PublicRuntimeConfig extends SharedPublicRuntimeConfig {}
27
- }
28
- declare module 'vue' {
29
- interface ComponentCustomProperties {
30
- $config: UserRuntimeConfig
31
- }
32
- }
@@ -1,10 +0,0 @@
1
- // Generated by auto imports
2
- export {}
3
- declare global {
4
- const useRuntimeConfig: (event?: import('h3').H3Event) => import('nuxt/schema').RuntimeConfig
5
- const useAppConfig: () => import('nuxt/schema').AppConfig
6
- const defineAppConfig: <C extends import('nuxt/schema').AppConfigInput>(config: C) => C
7
- const createError: typeof import('h3')['createError']
8
- const setResponseStatus: typeof import('h3')['setResponseStatus']
9
-
10
- }