@callstack/repack-dev-server 1.0.1 → 1.0.2

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 (96) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/createServer.d.ts +0 -0
  3. package/dist/createServer.js +0 -0
  4. package/dist/createServer.js.map +0 -0
  5. package/dist/img/favicon.ico +0 -0
  6. package/dist/index.d.ts +0 -0
  7. package/dist/index.js +0 -0
  8. package/dist/index.js.map +0 -0
  9. package/dist/plugins/api/apiPlugin.d.ts +0 -0
  10. package/dist/plugins/api/apiPlugin.js +0 -0
  11. package/dist/plugins/api/apiPlugin.js.map +0 -0
  12. package/dist/plugins/api/index.d.ts +0 -0
  13. package/dist/plugins/api/index.js +0 -0
  14. package/dist/plugins/api/index.js.map +0 -0
  15. package/dist/plugins/compiler/compilerPlugin.d.ts +0 -0
  16. package/dist/plugins/compiler/compilerPlugin.js +0 -0
  17. package/dist/plugins/compiler/compilerPlugin.js.map +0 -0
  18. package/dist/plugins/compiler/index.d.ts +0 -0
  19. package/dist/plugins/compiler/index.js +0 -0
  20. package/dist/plugins/compiler/index.js.map +0 -0
  21. package/dist/plugins/compiler/types.d.ts +0 -0
  22. package/dist/plugins/compiler/types.js +0 -0
  23. package/dist/plugins/compiler/types.js.map +0 -0
  24. package/dist/plugins/devtools/devtoolsPlugin.d.ts +0 -0
  25. package/dist/plugins/devtools/devtoolsPlugin.js +1 -1
  26. package/dist/plugins/devtools/devtoolsPlugin.js.map +1 -1
  27. package/dist/plugins/devtools/index.d.ts +0 -0
  28. package/dist/plugins/devtools/index.js +0 -0
  29. package/dist/plugins/devtools/index.js.map +0 -0
  30. package/dist/plugins/favicon/faviconPlugin.d.ts +0 -0
  31. package/dist/plugins/favicon/faviconPlugin.js +0 -0
  32. package/dist/plugins/favicon/faviconPlugin.js.map +0 -0
  33. package/dist/plugins/favicon/index.d.ts +0 -0
  34. package/dist/plugins/favicon/index.js +0 -0
  35. package/dist/plugins/favicon/index.js.map +0 -0
  36. package/dist/plugins/multipart/index.d.ts +0 -0
  37. package/dist/plugins/multipart/index.js +0 -0
  38. package/dist/plugins/multipart/index.js.map +0 -0
  39. package/dist/plugins/multipart/multipartPlugin.d.ts +0 -0
  40. package/dist/plugins/multipart/multipartPlugin.js +0 -0
  41. package/dist/plugins/multipart/multipartPlugin.js.map +0 -0
  42. package/dist/plugins/multipart/types.d.ts +0 -0
  43. package/dist/plugins/multipart/types.js +0 -0
  44. package/dist/plugins/multipart/types.js.map +0 -0
  45. package/dist/plugins/symbolicate/Symbolicator.d.ts +0 -0
  46. package/dist/plugins/symbolicate/Symbolicator.js +0 -0
  47. package/dist/plugins/symbolicate/Symbolicator.js.map +0 -0
  48. package/dist/plugins/symbolicate/index.d.ts +0 -0
  49. package/dist/plugins/symbolicate/index.js +0 -0
  50. package/dist/plugins/symbolicate/index.js.map +0 -0
  51. package/dist/plugins/symbolicate/sybmolicatePlugin.d.ts +0 -0
  52. package/dist/plugins/symbolicate/sybmolicatePlugin.js +0 -0
  53. package/dist/plugins/symbolicate/sybmolicatePlugin.js.map +0 -0
  54. package/dist/plugins/symbolicate/types.d.ts +0 -0
  55. package/dist/plugins/symbolicate/types.js +0 -0
  56. package/dist/plugins/symbolicate/types.js.map +0 -0
  57. package/dist/plugins/wss/WebSocketRouter.d.ts +0 -0
  58. package/dist/plugins/wss/WebSocketRouter.js +0 -0
  59. package/dist/plugins/wss/WebSocketRouter.js.map +0 -0
  60. package/dist/plugins/wss/WebSocketServer.d.ts +0 -0
  61. package/dist/plugins/wss/WebSocketServer.js +0 -0
  62. package/dist/plugins/wss/WebSocketServer.js.map +0 -0
  63. package/dist/plugins/wss/index.d.ts +0 -0
  64. package/dist/plugins/wss/index.js +0 -0
  65. package/dist/plugins/wss/index.js.map +0 -0
  66. package/dist/plugins/wss/servers/HermesInspectorProxy.d.ts +0 -0
  67. package/dist/plugins/wss/servers/HermesInspectorProxy.js +0 -0
  68. package/dist/plugins/wss/servers/HermesInspectorProxy.js.map +0 -0
  69. package/dist/plugins/wss/servers/WebSocketApiServer.d.ts +0 -0
  70. package/dist/plugins/wss/servers/WebSocketApiServer.js +0 -0
  71. package/dist/plugins/wss/servers/WebSocketApiServer.js.map +0 -0
  72. package/dist/plugins/wss/servers/WebSocketDebuggerServer.d.ts +0 -0
  73. package/dist/plugins/wss/servers/WebSocketDebuggerServer.js +0 -0
  74. package/dist/plugins/wss/servers/WebSocketDebuggerServer.js.map +0 -0
  75. package/dist/plugins/wss/servers/WebSocketDevClientServer.d.ts +0 -0
  76. package/dist/plugins/wss/servers/WebSocketDevClientServer.js +0 -0
  77. package/dist/plugins/wss/servers/WebSocketDevClientServer.js.map +0 -0
  78. package/dist/plugins/wss/servers/WebSocketEventsServer.d.ts +0 -0
  79. package/dist/plugins/wss/servers/WebSocketEventsServer.js +0 -0
  80. package/dist/plugins/wss/servers/WebSocketEventsServer.js.map +0 -0
  81. package/dist/plugins/wss/servers/WebSocketHMRServer.d.ts +0 -0
  82. package/dist/plugins/wss/servers/WebSocketHMRServer.js +0 -0
  83. package/dist/plugins/wss/servers/WebSocketHMRServer.js.map +0 -0
  84. package/dist/plugins/wss/servers/WebSocketMessageServer.d.ts +0 -0
  85. package/dist/plugins/wss/servers/WebSocketMessageServer.js +0 -0
  86. package/dist/plugins/wss/servers/WebSocketMessageServer.js.map +0 -0
  87. package/dist/plugins/wss/types.d.ts +0 -0
  88. package/dist/plugins/wss/types.js +0 -0
  89. package/dist/plugins/wss/types.js.map +0 -0
  90. package/dist/plugins/wss/wssPlugin.d.ts +0 -0
  91. package/dist/plugins/wss/wssPlugin.js +0 -0
  92. package/dist/plugins/wss/wssPlugin.js.map +0 -0
  93. package/dist/types.d.ts +0 -0
  94. package/dist/types.js +0 -0
  95. package/dist/types.js.map +0 -0
  96. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @callstack/repack-dev-server
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#441](https://github.com/callstack/repack/pull/441) [`a66785d`](https://github.com/callstack/repack/commit/a66785d4bdb629ab9abce2bf5fc0dc4b632072ef) Thanks [@hexboy](https://github.com/hexboy)! - fix(dev-server): fix Failed to open stack frame in editor error
8
+
9
+ * [#426](https://github.com/callstack/repack/pull/426) [`719c2ef`](https://github.com/callstack/repack/commit/719c2ef3e1af0c82de8042de2c5c21ab88a287ea) Thanks [@jbroma](https://github.com/jbroma)! - Upgraded source-map to 0.7.4
10
+
3
11
  ## 1.0.1
4
12
 
5
13
  ### Patch Changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/index.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -53,7 +53,7 @@ async function devtoolsPlugin(instance, {
53
53
  file,
54
54
  lineNumber,
55
55
  column
56
- } = JSON.parse(request.body);
56
+ } = typeof request.body === 'string' ? JSON.parse(request.body) : request.body;
57
57
  const url = `${path.join(options.rootDir, // TODO: make it generic
58
58
  file.replace('webpack://', ''))}:${lineNumber}:${column ?? 1}`;
59
59
  request.log.info({
@@ -1 +1 @@
1
- {"version":3,"file":"devtoolsPlugin.js","names":["path","open","openEditor","fastifyPlugin","devtoolsPlugin","instance","options","route","method","url","handler","_request","reply","wss","messageServer","broadcast","send","request","customDebugger","process","env","REACT_DEBUGGER","debuggerServer","isDebuggerConnected","https","host","port","log","info","msg","error","file","lineNumber","column","JSON","parse","body","join","rootDir","replace","message","code","get","logLevel","name","dependencies"],"sources":["../../../src/plugins/devtools/devtoolsPlugin.ts"],"sourcesContent":["import path from 'path';\nimport open from 'open';\nimport openEditor from 'open-editor';\nimport type { FastifyInstance } from 'fastify';\nimport fastifyPlugin from 'fastify-plugin';\nimport type { Server } from '../../types';\n\nasync function devtoolsPlugin(\n instance: FastifyInstance,\n { options }: { options: Server.Options }\n) {\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/reload',\n handler: (_request, reply) => {\n instance.wss.messageServer.broadcast('reload');\n reply.send('OK');\n },\n });\n\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/launch-js-devtools',\n handler: async (request, reply) => {\n const customDebugger = process.env.REACT_DEBUGGER;\n if (customDebugger) {\n // NOOP for now\n } else if (!instance.wss.debuggerServer.isDebuggerConnected()) {\n const url = `${options.https ? 'https' : 'http'}://${\n options.host || 'localhost'\n }:${options.port}/debugger-ui`;\n try {\n request.log.info({ msg: 'Opening debugger UI', url });\n await open(url);\n } catch (error) {\n if (error) {\n request.log.error({\n msg: 'Cannot open debugger UI',\n url,\n error,\n });\n }\n }\n }\n reply.send('OK');\n },\n });\n\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/open-stack-frame',\n handler: async (request, reply) => {\n try {\n const { file, lineNumber, column } = JSON.parse(\n request.body as string\n ) as {\n file: string;\n lineNumber: number;\n column?: number;\n };\n const url = `${path.join(\n options.rootDir,\n // TODO: make it generic\n file.replace('webpack://', '')\n )}:${lineNumber}:${column ?? 1}`;\n\n request.log.info({ msg: 'Opening stack frame in editor', url });\n openEditor([url]);\n reply.send('OK');\n } catch (error) {\n request.log.error({\n msg: 'Failed to open stack frame in editor',\n error: (error as Error).message,\n });\n reply.code(400).send();\n }\n },\n });\n\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/open-url',\n handler: async (request, reply) => {\n try {\n const { url } = JSON.parse(request.body as string) as { url: string };\n request.log.info({ msg: 'Opening URL', url });\n await open(url);\n reply.send('OK');\n } catch (error) {\n request.log.error({ msg: 'Failed to open URL', error });\n reply.code(400).send();\n }\n },\n });\n\n // Silence this route\n instance.get(\n '/inspector/device',\n { logLevel: 'silent' as any },\n (_request, reply) => {\n reply.code(404).send();\n }\n );\n}\n\nexport default fastifyPlugin(devtoolsPlugin, {\n name: 'devtools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GAAG,EAAE,WAFQ;IAGbC,OAAO,EAAE,OAAOO,OAAP,EAAgBL,KAAhB,KAA0B;MACjC,IAAI;QACF,MAAM;UAAEH;QAAF,IAAUyB,IAAI,CAACC,KAAL,CAAWlB,OAAO,CAACmB,IAAnB,CAAhB;QACAnB,OAAO,CAACU,GAAR,CAAYC,IAAZ,CAAiB;UAAEC,GAAG,EAAE,aAAP;UAAsBpB;QAAtB,CAAjB;QACA,MAAMR,IAAI,CAACQ,GAAD,CAAV;QACAG,KAAK,CAACI,IAAN,CAAW,IAAX;MACD,CALD,CAKE,OAAOc,KAAP,EAAc;QACdb,OAAO,CAACU,GAAR,CAAYG,KAAZ,CAAkB;UAAED,GAAG,EAAE,oBAAP;UAA6BC;QAA7B,CAAlB;QACAlB,KAAK,CAAC6B,IAAN,CAAW,GAAX,EAAgBzB,IAAhB;MACD;IACF;EAbY,CAAf,EArEA,CAqFA;;EACAX,QAAQ,CAACqC,GAAT,CACE,mBADF,EAEE;IAAEC,QAAQ,EAAE;EAAZ,CAFF,EAGE,CAAChC,QAAD,EAAWC,KAAX,KAAqB;IACnBA,KAAK,CAAC6B,IAAN,CAAW,GAAX,EAAgBzB,IAAhB;EACD,CALH;AAOD;;AAED,eAAeb,aAAa,CAACC,cAAD,EAAiB;EAC3CwC,IAAI,EAAE,iBADqC;EAE3CC,YAAY,EAAE,CAAC,YAAD;AAF6B,CAAjB,CAA5B"}
1
+ {"version":3,"file":"devtoolsPlugin.js","names":["path","open","openEditor","fastifyPlugin","devtoolsPlugin","instance","options","route","method","url","handler","_request","reply","wss","messageServer","broadcast","send","request","customDebugger","process","env","REACT_DEBUGGER","debuggerServer","isDebuggerConnected","https","host","port","log","info","msg","error","file","lineNumber","column","body","JSON","parse","join","rootDir","replace","message","code","get","logLevel","name","dependencies"],"sources":["../../../src/plugins/devtools/devtoolsPlugin.ts"],"sourcesContent":["import path from 'path';\nimport open from 'open';\nimport openEditor from 'open-editor';\nimport type { FastifyInstance } from 'fastify';\nimport fastifyPlugin from 'fastify-plugin';\nimport type { Server } from '../../types';\n\nasync function devtoolsPlugin(\n instance: FastifyInstance,\n { options }: { options: Server.Options }\n) {\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/reload',\n handler: (_request, reply) => {\n instance.wss.messageServer.broadcast('reload');\n reply.send('OK');\n },\n });\n\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/launch-js-devtools',\n handler: async (request, reply) => {\n const customDebugger = process.env.REACT_DEBUGGER;\n if (customDebugger) {\n // NOOP for now\n } else if (!instance.wss.debuggerServer.isDebuggerConnected()) {\n const url = `${options.https ? 'https' : 'http'}://${\n options.host || 'localhost'\n }:${options.port}/debugger-ui`;\n try {\n request.log.info({ msg: 'Opening debugger UI', url });\n await open(url);\n } catch (error) {\n if (error) {\n request.log.error({\n msg: 'Cannot open debugger UI',\n url,\n error,\n });\n }\n }\n }\n reply.send('OK');\n },\n });\n\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/open-stack-frame',\n handler: async (request, reply) => {\n try {\n const { file, lineNumber, column } = (\n typeof request.body === 'string'\n ? JSON.parse(request.body)\n : request.body\n ) as {\n file: string;\n lineNumber: number;\n column?: number;\n };\n const url = `${path.join(\n options.rootDir,\n // TODO: make it generic\n file.replace('webpack://', '')\n )}:${lineNumber}:${column ?? 1}`;\n\n request.log.info({ msg: 'Opening stack frame in editor', url });\n openEditor([url]);\n reply.send('OK');\n } catch (error) {\n request.log.error({\n msg: 'Failed to open stack frame in editor',\n error: (error as Error).message,\n });\n reply.code(400).send();\n }\n },\n });\n\n instance.route({\n method: ['GET', 'POST', 'PUT'],\n url: '/open-url',\n handler: async (request, reply) => {\n try {\n const { url } = JSON.parse(request.body as string) as { url: string };\n request.log.info({ msg: 'Opening URL', url });\n await open(url);\n reply.send('OK');\n } catch (error) {\n request.log.error({ msg: 'Failed to open URL', error });\n reply.code(400).send();\n }\n },\n });\n\n // Silence this route\n instance.get(\n '/inspector/device',\n { logLevel: 'silent' as any },\n (_request, reply) => {\n reply.code(404).send();\n }\n );\n}\n\nexport default fastifyPlugin(devtoolsPlugin, {\n name: 'devtools-plugin',\n dependencies: ['wss-plugin'],\n});\n"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,MAAjB;AACA,OAAOC,IAAP,MAAiB,MAAjB;AACA,OAAOC,UAAP,MAAuB,aAAvB;AAEA,OAAOC,aAAP,MAA0B,gBAA1B;;AAGA,eAAeC,cAAf,CACEC,QADF,EAEE;EAAEC;AAAF,CAFF,EAGE;EACAD,QAAQ,CAACE,KAAT,CAAe;IACbC,MAAM,EAAE,CAAC,KAAD,EAAQ,MAAR,EAAgB,KAAhB,CADK;IAEbC,GAAG,EAAE,SAFQ;IAGbC,OAAO,EAAE,CAACC,QAAD,EAAWC,KAAX,KAAqB;MAC5BP,QAAQ,CAACQ,GAAT,CAAaC,aAAb,CAA2BC,SAA3B,CAAqC,QAArC;MACAH,KAAK,CAACI,IAAN,CAAW,IAAX;IACD;EANY,CAAf;EASAX,QAAQ,CAACE,KAAT,CAAe;IACbC,MAAM,EAAE,CAAC,KAAD,EAAQ,MAAR,EAAgB,KAAhB,CADK;IAEbC,GAAG,EAAE,qBAFQ;IAGbC,OAAO,EAAE,OAAOO,OAAP,EAAgBL,KAAhB,KAA0B;MACjC,MAAMM,cAAc,GAAGC,OAAO,CAACC,GAAR,CAAYC,cAAnC;;MACA,IAAIH,cAAJ,EAAoB,CAClB;MACD,CAFD,MAEO,IAAI,CAACb,QAAQ,CAACQ,GAAT,CAAaS,cAAb,CAA4BC,mBAA5B,EAAL,EAAwD;QAC7D,MAAMd,GAAG,GAAI,GAAEH,OAAO,CAACkB,KAAR,GAAgB,OAAhB,GAA0B,MAAO,MAC9ClB,OAAO,CAACmB,IAAR,IAAgB,WACjB,IAAGnB,OAAO,CAACoB,IAAK,cAFjB;;QAGA,IAAI;UACFT,OAAO,CAACU,GAAR,CAAYC,IAAZ,CAAiB;YAAEC,GAAG,EAAE,qBAAP;YAA8BpB;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N,CAAW,GAAX,EAAgBzB,IAAhB;MACD;IACF;EA9BY,CAAf;EAiCAX,QAAQ,CAACE,KAAT,CAAe;IACbC,MAAM,EAAE,CAAC,KAAD,EAAQ,MAAR,EAAgB,KAAhB,CADK;IAEbC,GAAG,EAAE,WAFQ;IAGbC,OAAO,EAAE,OAAOO,OAAP,EAAgBL,KAAhB,KAA0B;MACjC,IAAI;QACF,MAAM;UAAEH;QAAF,IAAU0B,IAAI,CAACC,KAAL,CAAWnB,OAAO,CAACiB,IAAnB,CAAhB;QACAjB,OAAO,CAACU,GAAR,CAAYC,IAAZ,CAAiB;UAAEC,GAAG,EAAE,aAAP;UAAsBpB;QAAtB,CAAjB;QACA,MAAMR,IAAI,CAACQ,GAAD,CAAV;QACAG,KAAK,CAACI,IAAN,CAAW,IAAX;MACD,CALD,CAKE,OAAOc,KAAP,EAAc;QACdb,OAAO,CAACU,GAAR,CAAYG,KAAZ,CAAkB;UAAED,GAAG,EAAE,oBAAP;UAA6BC;QAA7B,CAAlB;QACAlB,KAAK,CAAC6B,IAAN,CAAW,GAAX,EAAgBzB,IAAhB;MACD;IACF;EAbY,CAAf,EAvEA,CAuFA;;EACAX,QAAQ,CAACqC,GAAT,CACE,mBADF,EAEE;IAAEC,QAAQ,EAAE;EAAZ,CAFF,EAGE,CAAChC,QAAD,EAAWC,KAAX,KAAqB;IACnBA,KAAK,CAAC6B,IAAN,CAAW,GAAX,EAAgBzB,IAAhB;EACD,CALH;AAOD;;AAED,eAAeb,aAAa,CAACC,cAAD,EAAiB;EAC3CwC,IAAI,EAAE,iBADqC;EAE3CC,YAAY,EAAE,CAAC,YAAD;AAF6B,CAAjB,CAA5B"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/types.d.ts CHANGED
File without changes
package/dist/types.js CHANGED
File without changes
package/dist/types.js.map CHANGED
File without changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@callstack/repack-dev-server",
3
3
  "description": "A bundler-agnostic development server for React Native applications as part of @callstack/repack.",
4
4
  "license": "MIT",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -56,7 +56,7 @@
56
56
  "open": "^8.4.0",
57
57
  "open-editor": "^4.0.0",
58
58
  "pretty-format": "^28.1.0",
59
- "source-map": "^0.7.3",
59
+ "source-map": "^0.7.4",
60
60
  "ws": "^8.7.0"
61
61
  },
62
62
  "devDependencies": {