prompt-language-shell 0.0.3 → 0.0.4

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.
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React from 'react';
3
2
  import { Text, Box } from 'ink';
4
3
  export function Welcome({ info: app }) {
5
4
  const descriptionLines = app.description
@@ -10,5 +9,5 @@ export function Welcome({ info: app }) {
10
9
  const words = app.name
11
10
  .split('-')
12
11
  .map((word) => word.charAt(0).toUpperCase() + word.slice(1));
13
- return (_jsx(Box, { alignSelf: "flex-start", marginTop: 1, children: _jsxs(Box, { borderStyle: "round", borderColor: "green", paddingX: 3, paddingY: 1, marginBottom: 1, flexDirection: "column", children: [_jsx(Box, { flexDirection: "column", children: _jsxs(Box, { marginBottom: 1, children: [_jsx(Text, { bold: true, children: "Please... " }), _jsx(Text, { color: "grey", children: "( " }), _jsx(Text, { color: "greenBright", bold: true, children: "pls" }), _jsxs(Text, { children: [" v", app.version] }), app.isDev && _jsx(Text, { color: "yellowBright", children: " dev" }), _jsx(Text, { color: "grey", children: " )" })] }) }), _jsx(Box, { marginBottom: 1, children: words.map((word, index) => (_jsxs(React.Fragment, { children: [_jsx(Text, { color: "greenBright", children: word }), index < words.length - 1 && _jsx(Text, { children: " " })] }, index))) }), descriptionLines.map((line, index) => (_jsx(Box, { children: _jsxs(Text, { color: "whiteBright", dimColor: true, children: [line, "."] }) }, index)))] }) }));
12
+ return (_jsx(Box, { alignSelf: "flex-start", marginTop: 1, children: _jsxs(Box, { borderStyle: "round", borderColor: "green", paddingX: 3, paddingY: 1, marginBottom: 1, flexDirection: "column", children: [_jsx(Box, { flexDirection: "column", children: _jsxs(Box, { marginBottom: 1, gap: 1, children: [_jsx(Text, { color: "whiteBright", dimColor: true, children: ">" }), _jsx(Text, { children: "please" }), _jsx(Text, { color: "whiteBright", dimColor: true, children: "(" }), _jsx(Text, { color: "greenBright", bold: true, children: "pls" }), _jsx(Text, { color: "whiteBright", dimColor: true, children: ")" }), _jsx(Text, { children: "do stuff" })] }) }), _jsxs(Box, { marginBottom: 1, gap: 1, children: [words.map((word, index) => (_jsx(Text, { color: "greenBright", children: word }, index))), _jsxs(Text, { color: "whiteBright", dimColor: true, children: ["v", app.version] }), app.isDev && _jsx(Text, { color: "yellowBright", children: "dev" })] }), descriptionLines.map((line, index) => (_jsx(Box, { children: _jsxs(Text, { color: "whiteBright", dimColor: true, children: [line, "."] }) }, index)))] }) }));
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prompt-language-shell",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Your personal command-line concierge. Ask politely, and it gets things done.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",