From f0269069d25d996d9cc0ee3a0dbd3ef2cf33a6e8 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Thu, 12 Jan 2023 23:46:01 +0530 Subject: [PATCH] feat: brun-lang package init --- packages/bru-file/docs/proposed-indented.bru | 3 ++- packages/bru-file/docs/proposed.bru | 1 + packages/bruno-lang/.gitignore | 7 +++++++ packages/bruno-lang/package.json | 12 ++++++++++++ packages/bruno-lang/readme.md | 3 +++ packages/bruno-lang/src/index.js | 7 +++++++ 6 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 packages/bruno-lang/.gitignore create mode 100644 packages/bruno-lang/package.json create mode 100644 packages/bruno-lang/readme.md create mode 100644 packages/bruno-lang/src/index.js diff --git a/packages/bru-file/docs/proposed-indented.bru b/packages/bru-file/docs/proposed-indented.bru index a175a83af..49336e1f6 100644 --- a/packages/bru-file/docs/proposed-indented.bru +++ b/packages/bru-file/docs/proposed-indented.bru @@ -67,7 +67,8 @@ vars /vars response-example -name Created +name Created +status 201 headers 1 content-type "Content Type" application/json 1 accept-language "" en-US,en;q=0.9,hi;q=0.8 diff --git a/packages/bru-file/docs/proposed.bru b/packages/bru-file/docs/proposed.bru index 1ebcfb9f3..cd212e456 100644 --- a/packages/bru-file/docs/proposed.bru +++ b/packages/bru-file/docs/proposed.bru @@ -68,6 +68,7 @@ vars response-example name Created +status 201 headers 1 content-type "Content Type" application/json 1 accept-language "" en-US,en;q=0.9,hi;q=0.8 diff --git a/packages/bruno-lang/.gitignore b/packages/bruno-lang/.gitignore new file mode 100644 index 000000000..024348ee5 --- /dev/null +++ b/packages/bruno-lang/.gitignore @@ -0,0 +1,7 @@ +node_modules +web +out + +pnpm-lock.yaml +package-lock.json +yarn.lock diff --git a/packages/bruno-lang/package.json b/packages/bruno-lang/package.json new file mode 100644 index 000000000..4fbca83c8 --- /dev/null +++ b/packages/bruno-lang/package.json @@ -0,0 +1,12 @@ +{ + "name": "@usebruno/bruno-lang", + "version": "0.1.0", + "main": "src/index.js", + "files": [ + "src", + "package.json" + ], + "scripts": { + "test": "jest" + } +} diff --git a/packages/bruno-lang/readme.md b/packages/bruno-lang/readme.md new file mode 100644 index 000000000..bb67b62a4 --- /dev/null +++ b/packages/bruno-lang/readme.md @@ -0,0 +1,3 @@ +# bruno-lang + +The language utils for working with `.bru` files diff --git a/packages/bruno-lang/src/index.js b/packages/bruno-lang/src/index.js new file mode 100644 index 000000000..177ba52c5 --- /dev/null +++ b/packages/bruno-lang/src/index.js @@ -0,0 +1,7 @@ +const bruToJson = (input) => { +}; + + +export { + bruToJson +}; \ No newline at end of file