watch-tail 0.3.0 → 0.3.1

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 (59) hide show
  1. package/README.md +4 -0
  2. package/build/client/_app/immutable/chunks/{CsscK9Dm.js → 05WsiB4A.js} +1 -1
  3. package/build/client/_app/immutable/chunks/05WsiB4A.js.br +0 -0
  4. package/build/client/_app/immutable/chunks/05WsiB4A.js.gz +0 -0
  5. package/build/client/_app/immutable/chunks/{KFjMNKuK.js → DyIYFD7i.js} +1 -1
  6. package/build/client/_app/immutable/chunks/DyIYFD7i.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/DyIYFD7i.js.gz +0 -0
  8. package/build/client/_app/immutable/entry/{app.CO3UiVLU.js → app.D0_YFW4X.js} +2 -2
  9. package/build/client/_app/immutable/entry/app.D0_YFW4X.js.br +0 -0
  10. package/build/client/_app/immutable/entry/app.D0_YFW4X.js.gz +0 -0
  11. package/build/client/_app/immutable/entry/start.D1rrHrg2.js +1 -0
  12. package/build/client/_app/immutable/entry/start.D1rrHrg2.js.br +0 -0
  13. package/build/client/_app/immutable/entry/start.D1rrHrg2.js.gz +0 -0
  14. package/build/client/_app/immutable/nodes/{1.Bink5luw.js → 1.D1vhnOgO.js} +1 -1
  15. package/build/client/_app/immutable/nodes/1.D1vhnOgO.js.br +0 -0
  16. package/build/client/_app/immutable/nodes/1.D1vhnOgO.js.gz +0 -0
  17. package/build/client/_app/immutable/nodes/{2.U0ljz8ot.js → 2.BPdL6B7F.js} +1 -1
  18. package/build/client/_app/immutable/nodes/2.BPdL6B7F.js.br +0 -0
  19. package/build/client/_app/immutable/nodes/2.BPdL6B7F.js.gz +0 -0
  20. package/build/client/_app/version.json +1 -1
  21. package/build/client/_app/version.json.br +0 -0
  22. package/build/client/_app/version.json.gz +0 -0
  23. package/build/handler.js +4 -4
  24. package/build/index.js +4 -4
  25. package/build/server/chunks/chunks/{internal.js-DKaleXjD.js → internal.js-B-DZpK-L.js} +2 -2
  26. package/build/server/chunks/chunks/{internal.js-DKaleXjD.js.map → internal.js-B-DZpK-L.js.map} +1 -1
  27. package/build/server/chunks/chunks/{state.js-B3c1pOs1.js → state.js-V2NYGhy_.js} +2 -2
  28. package/build/server/chunks/chunks/{state.js-B3c1pOs1.js.map → state.js-V2NYGhy_.js.map} +1 -1
  29. package/build/server/chunks/entries/fallbacks/{error.svelte.js-DwU8Vh5R.js → error.svelte.js-CAasf3PF.js} +3 -3
  30. package/build/server/chunks/entries/fallbacks/{error.svelte.js-DwU8Vh5R.js.map → error.svelte.js-CAasf3PF.js.map} +1 -1
  31. package/build/server/chunks/entries/pages/{_page.svelte.js-CsJstkpB.js → _page.svelte.js-DzAAqWz2.js} +3 -3
  32. package/build/server/chunks/entries/pages/{_page.svelte.js-CsJstkpB.js.map → _page.svelte.js-DzAAqWz2.js.map} +1 -1
  33. package/build/server/chunks/{handler-Dw17Mzkr.js → handler-CuWqZDuC.js} +3 -3
  34. package/build/server/chunks/{handler-Dw17Mzkr.js.map → handler-CuWqZDuC.js.map} +1 -1
  35. package/build/server/chunks/{index.js-CAGsYI3V.js → index.js-NHTL74z2.js} +2 -2
  36. package/build/server/chunks/{index.js-CAGsYI3V.js.map → index.js-NHTL74z2.js.map} +1 -1
  37. package/build/server/chunks/{manifest.js-CVImQuLw.js → manifest.js-8g4gjxwf.js} +4 -4
  38. package/build/server/chunks/{manifest.js-CVImQuLw.js.map → manifest.js-8g4gjxwf.js.map} +1 -1
  39. package/build/server/chunks/nodes/{1.js-D_fOWpEW.js → 1.js-CDSk3TvW.js} +3 -3
  40. package/build/server/chunks/nodes/{1.js-D_fOWpEW.js.map → 1.js-CDSk3TvW.js.map} +1 -1
  41. package/build/server/chunks/nodes/2.js-BVhBcWrN.js +9 -0
  42. package/build/server/chunks/nodes/{2.js-t5EYxWxj.js.map → 2.js-BVhBcWrN.js.map} +1 -1
  43. package/dist/cli/index.js +20 -3
  44. package/dist/lib/cli/aws.js +48 -0
  45. package/package.json +1 -1
  46. package/build/client/_app/immutable/chunks/CsscK9Dm.js.br +0 -0
  47. package/build/client/_app/immutable/chunks/CsscK9Dm.js.gz +0 -0
  48. package/build/client/_app/immutable/chunks/KFjMNKuK.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/KFjMNKuK.js.gz +0 -0
  50. package/build/client/_app/immutable/entry/app.CO3UiVLU.js.br +0 -0
  51. package/build/client/_app/immutable/entry/app.CO3UiVLU.js.gz +0 -0
  52. package/build/client/_app/immutable/entry/start.t_nX227Y.js +0 -1
  53. package/build/client/_app/immutable/entry/start.t_nX227Y.js.br +0 -0
  54. package/build/client/_app/immutable/entry/start.t_nX227Y.js.gz +0 -0
  55. package/build/client/_app/immutable/nodes/1.Bink5luw.js.br +0 -0
  56. package/build/client/_app/immutable/nodes/1.Bink5luw.js.gz +0 -0
  57. package/build/client/_app/immutable/nodes/2.U0ljz8ot.js.br +0 -0
  58. package/build/client/_app/immutable/nodes/2.U0ljz8ot.js.gz +0 -0
  59. package/build/server/chunks/nodes/2.js-t5EYxWxj.js +0 -9
@@ -10,11 +10,11 @@ return {
10
10
  assets: new Set(["robots.txt"]),
11
11
  mimeTypes: {".txt":"text/plain"},
12
12
  _: {
13
- client: {start:"_app/immutable/entry/start.t_nX227Y.js",app:"_app/immutable/entry/app.CO3UiVLU.js",imports:["_app/immutable/entry/start.t_nX227Y.js","_app/immutable/chunks/CsscK9Dm.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/entry/app.CO3UiVLU.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
13
+ client: {start:"_app/immutable/entry/start.D1rrHrg2.js",app:"_app/immutable/entry/app.D0_YFW4X.js",imports:["_app/immutable/entry/start.D1rrHrg2.js","_app/immutable/chunks/05WsiB4A.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/entry/app.D0_YFW4X.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
14
14
  nodes: [
15
15
  __memo(() => import('./nodes/0.js-Bg4_hDjk.js')),
16
- __memo(() => import('./nodes/1.js-D_fOWpEW.js')),
17
- __memo(() => import('./nodes/2.js-t5EYxWxj.js'))
16
+ __memo(() => import('./nodes/1.js-CDSk3TvW.js')),
17
+ __memo(() => import('./nodes/2.js-BVhBcWrN.js'))
18
18
  ],
19
19
  remotes: {
20
20
 
@@ -67,4 +67,4 @@ return {
67
67
  })();
68
68
 
69
69
  export { manifest as m };
70
- //# sourceMappingURL=manifest.js-CVImQuLw.js.map
70
+ //# sourceMappingURL=manifest.js-8g4gjxwf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js-CVImQuLw.js","sources":["../../../.svelte-kit/output/server/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([\"robots.txt\"]),\n\tmimeTypes: {\".txt\":\"text/plain\"},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.t_nX227Y.js\",app:\"_app/immutable/entry/app.CO3UiVLU.js\",imports:[\"_app/immutable/entry/start.t_nX227Y.js\",\"_app/immutable/chunks/CsscK9Dm.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/entry/app.CO3UiVLU.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/chunks/xihTtKlq.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},\n\t\tnodes: [\n\t\t\t__memo(() => import('./nodes/0.js')),\n\t\t\t__memo(() => import('./nodes/1.js')),\n\t\t\t__memo(() => import('./nodes/2.js'))\n\t\t],\n\t\tremotes: {\n\t\t\t\n\t\t},\n\t\troutes: [\n\t\t\t{\n\t\t\t\tid: \"/\",\n\t\t\t\tpattern: /^\\/$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 2 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/health\",\n\t\t\t\tpattern: /^\\/api\\/health\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/health/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/log-groups\",\n\t\t\t\tpattern: /^\\/api\\/log-groups\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/log-groups/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/regions\",\n\t\t\t\tpattern: /^\\/api\\/regions\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/regions/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/stream\",\n\t\t\t\tpattern: /^\\/api\\/stream\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/stream/_server.ts.js'))\n\t\t\t}\n\t\t],\n\t\tprerendered_routes: new Set([]),\n\t\tmatchers: async () => {\n\t\t\t\n\t\t\treturn { };\n\t\t},\n\t\tserver_assets: {}\n\t}\n}\n})();\n"],"names":[],"mappings":"AAAY,MAAC,QAAQ,GAAG,CAAC,MAAM;AAC/B,SAAS,MAAM,CAAC,EAAE,EAAE;AACpB,CAAC,IAAI,KAAK;AACV,CAAC,OAAO,MAAM,KAAK,MAAM,KAAK,GAAG,EAAE,EAAE,CAAC;AACtC;;AAEA,OAAO;AACP,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,OAAO,EAAE,MAAM;AAChB,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC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I,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,8DAAkD,CAAC;AACrF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,cAAc;AACtB,IAAI,OAAO,EAAE,qBAAqB;AAClC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,2DAA+C,CAAC;AAClF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,aAAa;AACrB,IAAI,OAAO,EAAE,oBAAoB;AACjC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,0DAA8C,CAAC;AACjF;AACA,GAAG;AACH,EAAE,kBAAkB,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACjC,EAAE,QAAQ,EAAE,YAAY;AACxB;AACA,GAAG,OAAO,IAAI;AACd,EAAE,CAAC;AACH,EAAE,aAAa,EAAE;AACjB;AACA;AACA,CAAC;;"}
1
+ {"version":3,"file":"manifest.js-8g4gjxwf.js","sources":["../../../.svelte-kit/output/server/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([\"robots.txt\"]),\n\tmimeTypes: {\".txt\":\"text/plain\"},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.D1rrHrg2.js\",app:\"_app/immutable/entry/app.D0_YFW4X.js\",imports:[\"_app/immutable/entry/start.D1rrHrg2.js\",\"_app/immutable/chunks/05WsiB4A.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/entry/app.D0_YFW4X.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/chunks/xihTtKlq.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},\n\t\tnodes: [\n\t\t\t__memo(() => import('./nodes/0.js')),\n\t\t\t__memo(() => import('./nodes/1.js')),\n\t\t\t__memo(() => import('./nodes/2.js'))\n\t\t],\n\t\tremotes: {\n\t\t\t\n\t\t},\n\t\troutes: [\n\t\t\t{\n\t\t\t\tid: \"/\",\n\t\t\t\tpattern: /^\\/$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 2 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/health\",\n\t\t\t\tpattern: /^\\/api\\/health\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/health/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/log-groups\",\n\t\t\t\tpattern: /^\\/api\\/log-groups\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/log-groups/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/regions\",\n\t\t\t\tpattern: /^\\/api\\/regions\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/regions/_server.ts.js'))\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/api/stream\",\n\t\t\t\tpattern: /^\\/api\\/stream\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: null,\n\t\t\t\tendpoint: __memo(() => import('./entries/endpoints/api/stream/_server.ts.js'))\n\t\t\t}\n\t\t],\n\t\tprerendered_routes: new Set([]),\n\t\tmatchers: async () => {\n\t\t\t\n\t\t\treturn { };\n\t\t},\n\t\tserver_assets: {}\n\t}\n}\n})();\n"],"names":[],"mappings":"AAAY,MAAC,QAAQ,GAAG,CAAC,MAAM;AAC/B,SAAS,MAAM,CAAC,EAAE,EAAE;AACpB,CAAC,I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EAAE,MAAM,CAAC,MAAM,OAAO,0DAA8C,CAAC;AACjF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,iBAAiB;AACzB,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,8DAAkD,CAAC;AACrF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,cAAc;AACtB,IAAI,OAAO,EAAE,qBAAqB;AAClC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,2DAA+C,CAAC;AAClF,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,aAAa;AACrB,IAAI,OAAO,EAAE,oBAAoB;AACjC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,IAAI;AACd,IAAI,QAAQ,EAAE,MAAM,CAAC,MAAM,OAAO,0DAA8C,CAAC;AACjF;AACA,GAAG;AACH,EAAE,kBAAkB,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACjC,EAAE,QAAQ,EAAE,YAAY;AACxB;AACA,GAAG,OAAO,IAAI;AACd,EAAE,CAAC;AACH,EAAE,aAAa,EAAE;AACjB;AACA;AACA,CAAC;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 1;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js-DwU8Vh5R.js')).default;
4
- const imports = ["_app/immutable/nodes/1.Bink5luw.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/KFjMNKuK.js","_app/immutable/chunks/CsscK9Dm.js"];
3
+ const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js-CAasf3PF.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.D1vhnOgO.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DyIYFD7i.js","_app/immutable/chunks/05WsiB4A.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=1.js-D_fOWpEW.js.map
9
+ //# sourceMappingURL=1.js-CDSk3TvW.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1.js-D_fOWpEW.js","sources":["../../../../.svelte-kit/output/server/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.Bink5luw.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/KFjMNKuK.js\",\"_app/immutable/chunks/CsscK9Dm.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,kDAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;"}
1
+ {"version":3,"file":"1.js-CDSk3TvW.js","sources":["../../../../.svelte-kit/output/server/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.D1vhnOgO.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/DyIYFD7i.js\",\"_app/immutable/chunks/05WsiB4A.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,kDAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;"}
@@ -0,0 +1,9 @@
1
+ const index = 2;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-DzAAqWz2.js')).default;
4
+ const imports = ["_app/immutable/nodes/2.BPdL6B7F.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/chunks/05WsiB4A.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/DyIYFD7i.js"];
5
+ const stylesheets = [];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=2.js-BVhBcWrN.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"2.js-t5EYxWxj.js","sources":["../../../../.svelte-kit/output/server/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.U0ljz8ot.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/chunks/CsscK9Dm.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/KFjMNKuK.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8CAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;"}
1
+ {"version":3,"file":"2.js-BVhBcWrN.js","sources":["../../../../.svelte-kit/output/server/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.BPdL6B7F.js\",\"_app/immutable/chunks/ZAD2y5xJ.js\",\"_app/immutable/chunks/05WsiB4A.js\",\"_app/immutable/chunks/xihTtKlq.js\",\"_app/immutable/chunks/DyIYFD7i.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8CAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;"}
package/dist/cli/index.js CHANGED
@@ -10,7 +10,7 @@
10
10
  import { spawn } from 'node:child_process';
11
11
  import { readFileSync } from 'node:fs';
12
12
  import { join } from 'node:path';
13
- import { buildChildEnv, describeChildEnv, isEmulatorEndpoint, isLocalEnvPresent, readConfigText, readCredentialsText, readProfiles, resolveRunRegion, signalExitCode, } from "../lib/cli/aws.js";
13
+ import { buildChildEnv, describeChildEnv, isEmulatorEndpoint, isLocalEnvPresent, readConfigText, readCredentialsText, readLocalEnvValues, readProfiles, resolveRunRegion, signalExitCode, suppressLocalEnvValues, } from "../lib/cli/aws.js";
14
14
  import { classifyCredentialFailure, describeStyle, isCredentialFailure, loginAdvice, readProfileStyle, } from "../lib/cli/credentials.js";
15
15
  import { handleCompletion } from "./completions.js";
16
16
  import { isLoopbackHost, parseCliArgs, usageText } from "./options.js";
@@ -71,6 +71,7 @@ function defaultIo() {
71
71
  version: readVersion(appRoot),
72
72
  openBrowser: (url) => openBrowserDefault(url),
73
73
  readCredentialsText: () => readCredentialsText(),
74
+ readLocalEnvValues: () => (appRoot === null ? {} : readLocalEnvValues(appRoot)),
74
75
  probeCredentials: (input) => probeCredentialsDefault(input),
75
76
  runLogin: (command) => runLoginDefault(command),
76
77
  waitForHealth,
@@ -190,8 +191,21 @@ export async function run(argv, overrides = {}) {
190
191
  // `--profile` wins, then the ambient AWS_PROFILE: the credential check and
191
192
  // the login advice both need to know which profile is actually in play.
192
193
  const profile = options.profile ?? ambientProfile(io.env);
194
+ let baseEnv = io.env;
195
+ let suppressedLocalEnv = [];
196
+ if (options.endpoint === null) {
197
+ // The CLI is real-AWS-by-default, so a dev `.env.local` next to the app
198
+ // (which exists in this repository, and in any checkout of it) must not
199
+ // silently redirect the run at floci. `--floci` asks for that explicitly.
200
+ const suppressed = suppressLocalEnvValues({
201
+ env: io.env,
202
+ values: io.readLocalEnvValues(),
203
+ });
204
+ baseEnv = suppressed.env;
205
+ suppressedLocalEnv = suppressed.suppressed;
206
+ }
193
207
  const childEnv = buildChildEnv({
194
- base: io.env,
208
+ base: baseEnv,
195
209
  profile: options.profile,
196
210
  region,
197
211
  endpoint: options.endpoint,
@@ -220,7 +234,10 @@ export async function run(argv, overrides = {}) {
220
234
  if (!isLoopbackHost(options.host)) {
221
235
  ui.warn(`binding ${options.host}: the app has no authentication and uses your AWS access, so anyone who can reach it can read your logs`);
222
236
  }
223
- if (isLocalEnvPresent(io.appRoot) && options.profile !== null) {
237
+ if (suppressedLocalEnv.length > 0) {
238
+ ui.warn(`ignoring the emulator settings in .env.local (${suppressedLocalEnv.join(', ')}) - pass --floci to use them`);
239
+ }
240
+ else if (isLocalEnvPresent(io.appRoot) && options.profile !== null) {
224
241
  ui.warn('a .env.local with local emulator settings was found; it is ignored for this run');
225
242
  }
226
243
  ui.startSpinner('starting the local UI...');
@@ -215,6 +215,54 @@ export function buildChildEnv({ base, profile = null, region = null, endpoint =
215
215
  }
216
216
  return env;
217
217
  }
218
+ /**
219
+ * Parses a dotenv file into a plain map.
220
+ *
221
+ * Only `KEY=value` lines are read, with optional single or double quotes; the
222
+ * values are never applied to the caller's environment.
223
+ */
224
+ export function parseEnvFile(text) {
225
+ const values = {};
226
+ for (const raw of text.split('\n')) {
227
+ const line = raw.trim();
228
+ if (line.length === 0 || line.startsWith('#'))
229
+ continue;
230
+ const match = /^(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)\s*=\s*(.*)$/.exec(line);
231
+ if (match === null)
232
+ continue;
233
+ const value = match[2].trim().replace(/^(['"])(.*)\1$/, '$2');
234
+ values[match[1]] = value;
235
+ }
236
+ return values;
237
+ }
238
+ /** Reads `<appRoot>/.env.local`, or an empty map when it is missing. */
239
+ export function readLocalEnvValues(appRoot) {
240
+ return parseEnvFile(readTextFile(join(appRoot, LOCAL_ENV_FILE)));
241
+ }
242
+ /**
243
+ * Neutralises a `.env.local` that sits next to the app.
244
+ *
245
+ * The app applies that file to its own process (so `pnpm dev` can point at a
246
+ * local emulator), but the CLI is documented as real-AWS-by-default. A value
247
+ * from the file is therefore suppressed unless the caller already set the same
248
+ * key in their environment, which is theirs to decide. Blanking is how "unset"
249
+ * is expressed: dotenv loading never overrides a variable that exists, and the
250
+ * SDK ignores empty values.
251
+ */
252
+ export function suppressLocalEnvValues(input) {
253
+ const { env, values, keys = LOCAL_OVERRIDE_KEYS } = input;
254
+ const next = { ...env };
255
+ const suppressed = [];
256
+ for (const key of keys) {
257
+ if (values[key] === undefined)
258
+ continue;
259
+ if (normalize(env[key]) !== null)
260
+ continue; // the caller's own value wins
261
+ next[key] = '';
262
+ suppressed.push(key);
263
+ }
264
+ return { env: next, suppressed };
265
+ }
218
266
  /** True when the endpoint points at a local emulator rather than real AWS. */
219
267
  export function isEmulatorEndpoint(endpoint) {
220
268
  let hostname = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "watch-tail",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Tail Amazon CloudWatch Logs in your browser: a local SvelteKit UI with live and historic streaming, ambient AWS credentials and floci support",
5
5
  "keywords": [
6
6
  "aws",
@@ -1 +0,0 @@
1
- import{a as e,n as t}from"../chunks/CsscK9Dm.js";export{e as load_css,t as start};
@@ -1,9 +0,0 @@
1
- const index = 2;
2
- let component_cache;
3
- const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-CsJstkpB.js')).default;
4
- const imports = ["_app/immutable/nodes/2.U0ljz8ot.js","_app/immutable/chunks/ZAD2y5xJ.js","_app/immutable/chunks/CsscK9Dm.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/chunks/KFjMNKuK.js"];
5
- const stylesheets = [];
6
- const fonts = [];
7
-
8
- export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=2.js-t5EYxWxj.js.map