From 6edac10b928ae19e54ea2de26c8c56bf82e2e4be Mon Sep 17 00:00:00 2001 From: ivojawer Date: Thu, 16 May 2024 20:12:47 -0300 Subject: [PATCH 1/6] npm info --- package.json | 9 +++++++-- src/index.ts | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6e3e2e4..54f9b97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wollok-ts-cli", - "version": "0.2.2", + "version": "0.2.3", "description": "Wollok Command Line Interface", "repository": "https://github.com/uqbar-project/wollok-ts-cli", "license": "MIT", @@ -8,6 +8,10 @@ "name": "Uqbar Foundation", "email": "org.uqbar@gmail.com" }, + "bugs": { + "url": "https://github.com/uqbar-project/wollok-ts-cli/issues" + }, + "homepage": "https://github.com/uqbar-project/wollok-language", "main": "./build/src/index.js", "scripts": { "preinstall": "sh scripts/download-libs.sh", @@ -19,7 +23,8 @@ "test:unit": "mocha --parallel -r ts-node/register/transpile-only test/**/*.test.ts --timeout 7000", "build": "shx rm -rf build && shx mkdir ./build && shx cp -r ./public ./build/public && tsc -p ./tsconfig.build.json", "watch": "npm run build -- -w", - "pack": "pkg ." + "pack": "pkg .", + "prepublishOnly": "npm run build && npm run test" }, "bin": { "wollok": "./build/src/index.js" diff --git a/src/index.ts b/src/index.ts index 8dead01..d47ae1a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ +#!/usr/bin/env node import { Command } from 'commander' import repl from './commands/repl' import run from './commands/run' From bea0cd4d8bb9aec642ed3d5e03d99ea9a139ea32 Mon Sep 17 00:00:00 2001 From: ivojawer Date: Thu, 16 May 2024 20:38:08 -0300 Subject: [PATCH 2/6] npm badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94cb83b..b910213 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Wollok-TS-CLI -[![Build CI](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/uqbar-project/wollok-ts-cli/graph/badge.svg?token=rpJA6VlVJo)](https://codecov.io/gh/uqbar-project/wollok-ts-cli) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) +[![Build CI](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/uqbar-project/wollok-ts-cli/graph/badge.svg?token=rpJA6VlVJo)](https://codecov.io/gh/uqbar-project/wollok-ts-cli) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)[![npm version](https://badge.fury.io/js/wollok-ts-cli.svg)](https://badge.fury.io/js/wollok-ts-cli) 🖖 Welcome to the Wollok Command Line Interface! From d30b7a0163b7db7de4c71599e7638508356f9b0a Mon Sep 17 00:00:00 2001 From: ivojawer Date: Thu, 16 May 2024 20:38:55 -0300 Subject: [PATCH 3/6] badge spacing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b910213..d213e35 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Wollok-TS-CLI -[![Build CI](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/uqbar-project/wollok-ts-cli/graph/badge.svg?token=rpJA6VlVJo)](https://codecov.io/gh/uqbar-project/wollok-ts-cli) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)[![npm version](https://badge.fury.io/js/wollok-ts-cli.svg)](https://badge.fury.io/js/wollok-ts-cli) +[![Build CI](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/uqbar-project/wollok-ts-cli/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/uqbar-project/wollok-ts-cli/graph/badge.svg?token=rpJA6VlVJo)](https://codecov.io/gh/uqbar-project/wollok-ts-cli) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![npm version](https://badge.fury.io/js/wollok-ts-cli.svg)](https://badge.fury.io/js/wollok-ts-cli) 🖖 Welcome to the Wollok Command Line Interface! From 0ed3896cca73a3b1bd111175774a5a387abacb96 Mon Sep 17 00:00:00 2001 From: ivojawer Date: Fri, 17 May 2024 18:07:57 -0300 Subject: [PATCH 4/6] install instructions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d213e35..5d47982 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ This is the list of the currently available commands: Go to [latest release](https://github.com/uqbar-project/wollok-ts-cli/releases/latest), download the executable based on your operating system and add it to the PATH (here are instructions to do so in [Mac](https://apple.stackexchange.com/questions/41542/adding-a-new-executable-to-the-path-environment-variable), [Windows](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) and [Linux](https://unix.stackexchange.com/questions/183295/adding-programs-to-path)). +Or install it using [npm](https://www.npmjs.com/package/wollok-ts-cli) with the command `npm i -g wollok-ts-cli` + Feel free to report issues on [the project's issue tracker](https://github.com/uqbar-project/wollok-ts-cli/issues). This component is part of the [Wollok language project](https://github.com/uqbar-project/wollok-language) where you can have an overall picture of our roadmap. From 2dfbbe0193240a4421222f8f1917cd312bea68c5 Mon Sep 17 00:00:00 2001 From: ivojawer Date: Fri, 17 May 2024 18:10:09 -0300 Subject: [PATCH 5/6] keywords --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 54f9b97..425dd45 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,11 @@ "url": "https://github.com/uqbar-project/wollok-ts-cli/issues" }, "homepage": "https://github.com/uqbar-project/wollok-language", + "keywords": [ + "wollok", + "cli", + "typescript" + ], "main": "./build/src/index.js", "scripts": { "preinstall": "sh scripts/download-libs.sh", From bff67c962db2dcd19d1968f83b8027ed534ee20a Mon Sep 17 00:00:00 2001 From: Ivan Jawerbaum Date: Tue, 21 May 2024 15:29:10 -0300 Subject: [PATCH 6/6] install node readme Co-authored-by: Fernando Dodino --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d47982..1edd4ae 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This is the list of the currently available commands: Go to [latest release](https://github.com/uqbar-project/wollok-ts-cli/releases/latest), download the executable based on your operating system and add it to the PATH (here are instructions to do so in [Mac](https://apple.stackexchange.com/questions/41542/adding-a-new-executable-to-the-path-environment-variable), [Windows](https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53) and [Linux](https://unix.stackexchange.com/questions/183295/adding-programs-to-path)). -Or install it using [npm](https://www.npmjs.com/package/wollok-ts-cli) with the command `npm i -g wollok-ts-cli` +Or install it using [npm](https://www.npmjs.com/package/wollok-ts-cli) with the command `npm i -g wollok-ts-cli`. You must have [NodeJS](https://nodejs.org/) installed in your local machine. Feel free to report issues on [the project's issue tracker](https://github.com/uqbar-project/wollok-ts-cli/issues).