wrangler 0.0.0-e1c615f → 0.0.0-e6733a3
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.
- package/package.json +3 -2
- package/pages/functions/buildWorker.ts +5 -0
- package/pages/functions/template-worker.ts +9 -2
- package/src/api/worker.ts +6 -6
- package/src/config.ts +475 -119
- package/src/dev.tsx +61 -164
- package/src/index.tsx +48 -3
- package/src/inspect.ts +524 -0
- package/src/pages.tsx +95 -32
- package/src/proxy.ts +267 -76
- package/src/publish.ts +13 -5
- package/src/user.tsx +12 -9
- package/wrangler-dist/cli.js +6817 -6631
- package/wrangler-dist/cli.js.map +3 -3
- package/src/api/inspect.ts +0 -430
package/src/user.tsx
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
*/
|
|
207
207
|
|
|
208
208
|
import React from "react";
|
|
209
|
-
import { render } from "ink";
|
|
209
|
+
import { render, Text } from "ink";
|
|
210
210
|
import Table from "ink-table";
|
|
211
211
|
import SelectInput from "ink-select-input";
|
|
212
212
|
import fetch from "node-fetch";
|
|
@@ -1010,13 +1010,16 @@ export function ChooseAccount(props: {
|
|
|
1010
1010
|
onSelect: (item) => void;
|
|
1011
1011
|
}) {
|
|
1012
1012
|
return (
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1013
|
+
<>
|
|
1014
|
+
<Text bold>Select an account from below:</Text>
|
|
1015
|
+
<SelectInput
|
|
1016
|
+
items={props.accounts.map((item) => ({
|
|
1017
|
+
key: item.id,
|
|
1018
|
+
label: item.name,
|
|
1019
|
+
value: item,
|
|
1020
|
+
}))}
|
|
1021
|
+
onSelect={props.onSelect}
|
|
1022
|
+
/>
|
|
1023
|
+
</>
|
|
1021
1024
|
);
|
|
1022
1025
|
}
|