Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC README + publishing marketplace #110

Merged
merged 91 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
98b053a
Packaging reduced
fdodino Oct 9, 2023
289cede
back to node_modules
fdodino Oct 21, 2023
572a385
tuning ignored files
fdodino Oct 21, 2023
2c1596c
Packaging reduced
fdodino Oct 9, 2023
adae4f7
Fix #109 - contributors list
fdodino Oct 22, 2023
8f4872a
#109 configure contributor list in README
fdodino Oct 22, 2023
e219b34
Fix #33 - add platform testings for ci
fdodino Oct 22, 2023
ce20234
Testing ubuntu + windows
fdodino Oct 22, 2023
5c247bb
Using strategy matrix
fdodino Oct 22, 2023
6f04b60
Back to gallium and running only contributors for ubuntu-latest
fdodino Oct 22, 2023
1f9cc38
Back to hydrogen, Windows out
fdodino Oct 22, 2023
00f33e0
testing only in windows again
fdodino Oct 22, 2023
124d035
Fix commented node version
fdodino Oct 22, 2023
e85e900
Back to gallium
fdodino Oct 22, 2023
e69c6ce
MacOS matrix
fdodino Oct 22, 2023
10b03ac
adding ubuntu-latest
fdodino Oct 22, 2023
52d1ad5
Using newer version of xvfb
fdodino Oct 22, 2023
49bc239
ubuntu only
fdodino Oct 22, 2023
3b71579
running dbus prior to tests
fdodino Oct 22, 2023
a23fc19
Configure e2e
fdodino Oct 22, 2023
0204472
Using old version of VSC
fdodino Oct 22, 2023
4bd9b29
Testing old issue fix
fdodino Oct 22, 2023
527c66f
1.83 back & avoid exit 1
fdodino Oct 23, 2023
8bc2a6d
small change to force build
fdodino Oct 23, 2023
52a6f47
trying options
fdodino Oct 23, 2023
54be3fc
using node 16 for xvfb
fdodino Oct 23, 2023
f81efe6
avoid using xvfb
fdodino Oct 23, 2023
f6f9905
test only
fdodino Oct 23, 2023
2d8ccc3
Back to 3 os and avoid using ubuntu for e2e tests
fdodino Oct 23, 2023
96aa1fc
Using hydrogen again
fdodino Oct 23, 2023
7ab797d
Testing node 18
fdodino Oct 23, 2023
5dee8cb
Using node 20
fdodino Oct 23, 2023
082cd8a
Back to gallium
fdodino Oct 23, 2023
817ee2e
0.1.2
fdodino Oct 23, 2023
d81c10b
1.0.0
fdodino Oct 23, 2023
a99ce5d
Using node lts/hydrogen
fakeDodain Oct 23, 2023
831d936
add contributors list
fdodino Oct 23, 2023
e068f14
Testing contributors list
fdodino Oct 23, 2023
14b1e3a
testing contributors again
fdodino Oct 23, 2023
b572393
Using different contributors list
fdodino Oct 23, 2023
16ae9c1
Forcing contributors list again
fdodino Oct 23, 2023
4083048
Deleting contributors
fdodino Oct 23, 2023
d23198e
Testing contributors in PR
fdodino Oct 23, 2023
a8d030d
Forcing new list of contributors to be generated
fdodino Oct 23, 2023
0bcc54f
pushing contributors on branches different than master
fdodino Oct 23, 2023
92f70c7
📝 Update contributors list
actions-user Oct 23, 2023
1940901
testing jinja template
fdodino Oct 23, 2023
7875c78
📝 Update contributors list
actions-user Oct 23, 2023
b260316
customizing images
fdodino Oct 23, 2023
387d029
📝 Update contributors list
actions-user Oct 23, 2023
28a2d2c
customizing image - part 2
fdodino Oct 23, 2023
58e1333
📝 Update contributors list
actions-user Oct 23, 2023
50ea97a
Using markdown again
fdodino Oct 23, 2023
b07f8ab
📝 Update contributors list
actions-user Oct 23, 2023
0f4fbf4
Testing contributors
fdodino Oct 23, 2023
1252d72
📝 Update contributors list
actions-user Oct 23, 2023
4c4d732
More testing contributors
fdodino Oct 23, 2023
b311b84
📝 Update contributors list
actions-user Oct 23, 2023
1eff573
Contributor list - rounded
fdodino Oct 23, 2023
b59f19e
📝 Update contributors list
actions-user Oct 23, 2023
3d9f9bc
add space between images
fdodino Oct 23, 2023
3044601
📝 Update contributors list
actions-user Oct 23, 2023
8867882
Add demo
fdodino Oct 23, 2023
0e74474
Merge branch 'epic-marketplace' of github.com:uqbar-project/wollok-ls…
fdodino Oct 23, 2023
a3d6142
Expand demos in README
fdodino Oct 23, 2023
b8f0d9b
expand demos - enhancement
fdodino Oct 23, 2023
f252111
Single gif file
fdodino Oct 24, 2023
96da6a0
Add wollok-ts-cli instructions
fdodino Oct 25, 2023
9b6580a
Adding coverage badge for server
fdodino Oct 25, 2023
c43a362
Running coverage instead of common tests
fdodino Oct 25, 2023
89c778e
add server badge
fdodino Oct 28, 2023
28f00c2
Add coverage to client e2e tests
fdodino Oct 28, 2023
76a26fe
Fix #112 - problems running the extension
fdodino Oct 28, 2023
87badc9
Add coverage & badge to client e2e tests
fdodino Oct 28, 2023
73cd930
Add badge for client
fdodino Oct 28, 2023
c731bdc
adding server + client label badges
fdodino Oct 28, 2023
3a57fe8
Backward compatibility to 1.80
fdodino Oct 28, 2023
c736df6
Add links to coverage article
fdodino Oct 28, 2023
de13d1e
Using img shield badges
fdodino Oct 28, 2023
d651fe5
Add license
fdodino Oct 28, 2023
936e61a
Newcomers instructions
fdodino Oct 29, 2023
3c0e9e0
Fix #113 - dependencies installation
fdodino Oct 29, 2023
e4bd08e
Undo #113 because e2e tests are failing
fdodino Oct 29, 2023
e9ed3a7
Fix #49 - adding vsix in draft release
fdodino Oct 29, 2023
d70866d
#49 only for master branch
fdodino Oct 29, 2023
811f690
Change logo name
fdodino Oct 29, 2023
c8e4e56
Version only for root package.json
fdodino Oct 29, 2023
f4e4a3e
Add script in order to publish to marketplace
fdodino Oct 29, 2023
ed4acb8
Add new version to changelog
fdodino Oct 30, 2023
5cc3e30
Enhance README
fdodino Oct 30, 2023
38cde32
Add validation of version in package.json
fdodino Oct 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/contributor_list_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{ header_level }} 👥 Contributors

{% for contributor in contributors %}<img src="{{contributor.avatar_url}}" height="40" width="40" alt="{{contributor.login}}" title="{{contributor.login}}" class="avatar circle"/>&nbsp;{% endfor %}
20 changes: 12 additions & 8 deletions .github/workflows/contributors_list.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Contributors List
on:
push:
branches:
- main
- '*'
- '!master'

jobs:
contrib-readme-job:
contributor_list:
name: Contributors List
runs-on: ubuntu-latest
name: A job to automate contrib in readme
steps:
- name: Contribute List
uses: akhilmhdh/contributors-readme-action@v2.3.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@master
- uses: docker://cjdenio/contributor_list:latest
with:
image_size: 60
commit_message: 📝 Update contributors list
# Max number of contributors to display on the README
max_contributors: 20 # Default: 10
# Markdown heading level for the contributors section
header_level: 2 # Default: 2
45 changes: 37 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ on:
pull_request:



jobs:
test:

runs-on: windows-latest
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [lts/gallium]
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node-version: [lts/hydrogen]

steps:
- uses: actions/checkout@v3
Expand All @@ -29,8 +28,38 @@ jobs:
- run: npm install
- run: npm run compile
- name: Run headless test
uses: coactions/setup-xvfb@v1
if: matrix.os != 'ubuntu-latest' # we need to fix ubuntu-latest first
uses: smithki/xvfb-action@v1.1.2
with:
run: npm run test:e2e
run: npm run test-with-coverage:e2e
- name: Unit Tests
run: npm run test:unit
run: npm run test-with-coverage:unit
- name: Update server coverage badge
uses: codecov/codecov-action@v3
if: matrix.os == 'ubuntu-latest'
with:
files: ./server/coverage/coverage-final.json
verbose: true
flags: lsp-ide-server
- name: Update client coverage badge
uses: codecov/codecov-action@v3
if: matrix.os == 'windows-latest'
with:
files: ./client/coverage/coverage-final.json
verbose: true
flags: lsp-ide-client
- name: Generate VSIX file
if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master'
run: |
npm i -g vsce
vsce package
- name: Add VSIX to the latest release
if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "draft"
prerelease: true
title: "Draft"
files: |
./*.vsix
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ client/server
.history
.yalc
yalc.lock
.DS_Store
.DS_Store
coverage
.nyc_output
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/gallium
lts/hydrogen
1 change: 0 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
.gitignore
**/tsconfig.json
**/tsconfig.base.json
**/node_modules/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmmmm esto qué hace? Estamos seguros que no lo queremos?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eso es lo que rompió la 0.1.1, node_modules no lo podemos ignorar porque no te trae las dependencias de vscode

**/.mocharc.js
**/.prettierrc
**/.eslintrc
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# Changelog

## v0.1.2

- Upgrade Node to lts/hydrogen 18 ⬆️
- Fix Marketplace extension error 🩹
- Add coverage badges 🎯
- README enhancements for user & developers ✨

## v0.1.1

- Minor change in extension published 🔴

## v0.1.0

- Upgrade Wollok-TS 4.0.5 ⬆️
- Published in Marketplace 🌈
- Dynamic diagram enhancements 🔵
Expand Down
38 changes: 31 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,45 @@
<!-- DO NOT REMOVE - contributor_list:data:start:["fdodino", "ivojawer", "PalumboN", "npasserini", "FerRomMu", "dependabot[bot]"]:end -->


# Wollok IDE

[![Node.js CI](https://github.com/uqbar-project/wollok-lsp-ide/actions/workflows/node.js.yml/badge.svg)](https://github.com/uqbar-project/wollok-lsp-ide/actions/workflows/node.js.yml)
[![Node.js CI](https://github.com/uqbar-project/wollok-lsp-ide/actions/workflows/node.js.yml/badge.svg)](https://github.com/uqbar-project/wollok-lsp-ide/actions/workflows/node.js.yml)&nbsp;&nbsp;![server label](https://img.shields.io/badge/server-red) [![server coverage](https://codecov.io/gh/uqbar-project/wollok-lsp-ide/branch/master/graph/badge.svg?token=OT11UZ38OM&flag=lsp-ide-server)](https://codecov.io/gh/uqbar-project/wollok-lsp-ide)&nbsp;&nbsp;![server label](https://img.shields.io/badge/client-blue) [![client coverage](https://codecov.io/gh/uqbar-project/wollok-lsp-ide/branch/master/graph/badge.svg?token=OT11UZ38OM&flag=lsp-ide-client)](https://codecov.io/gh/uqbar-project/wollok-lsp-ide) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Starting from [LSP sample code](https://code.visualstudio.com/api/language-extensions/language-server-extension-guide) for Visual Studio Code, we developed a couple of tools for Wollok using Language Server Protocol (for Visual Studio Code, IntelliJ, Eclipse, Atom, etc.)

## Developer Instructions
## 🖖 Welcome to Wollok!

Here you can see how to develop a Wollok example using autocompletion tools. Once you have defined your objects and classes, you can test it in the REPL using a dynamic diagram:

<img src="./images/demo.gif" title="first example" alt="first example" height="80%" width="80%"/>

## 🏃‍♀️ Quick Start 🏃‍♂️

- You need to install [wollok-ts command line interface](https://github.com/uqbar-project/wollok-ts-cli) tool in order to run unit tests, REPL session & dynamic diagram. 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))
- We recommend to install [Wollok Highlight](https://marketplace.visualstudio.com/items?itemName=uqbar.wollok-highlight) as an additional extension

## ✨ Features

- For a guided tour, see the [Tools](https://github.com/uqbar-project/wollok-lsp-ide/wiki/Tools) wiki page.
- Having problems? You can [open an issue](https://github.com/uqbar-project/wollok-lsp-ide/issues/new) and tag @PalumboN or @fdodino for additional info. Special thanks for those who help to enhance Wollok!
- This extension is part of the [Wollok language project](https://github.com/uqbar-project/wollok-language) where you can have an overall picture of our roadmap.

## 👩‍💻 Developer Instructions

By now we have a first working version of a linter, calling wollok-ts implementation. For a deeper developer guide, please refer to the [wiki](https://github.com/uqbar-project/wollok-lsp-ide/wiki). See [installation instructions for developers](https://github.com/uqbar-project/wollok-lsp-ide/wiki/Development-Environment).
Do you want to contribute? Great, you are always welcome!

## Features
- See [installation instructions for developers](https://github.com/uqbar-project/wollok-lsp-ide/wiki/Development-Environment)
- You can also [join the Discord channel!](https://discord.gg/MWK9fafk)
- There's a list of [good first issues](https://github.com/uqbar-project/wollok-lsp-ide/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) to tackle, but in case of any hesitation you can always ping @PalumboN or @fdodino
- Additional info is available at the [wiki](https://github.com/uqbar-project/wollok-lsp-ide/wiki)

See [Tools](https://github.com/uqbar-project/wollok-lsp-ide/wiki/Tools) wiki.

#### Powered by [Uqbar](https://uqbar.org/)

<!-- prettier-ignore-start -->
<!-- DO NOT REMOVE - contributor_list:start -->
## 👥 Contributors

<!-- readme: contributors -start -->
<!-- readme: contributors -end -->
<img src="https://avatars.githubusercontent.com/u/4549002?v=4" height="40" width="40" alt="fdodino" title="fdodino" class="avatar circle"/>&nbsp;<img src="https://avatars.githubusercontent.com/u/18614957?v=4" height="40" width="40" alt="ivojawer" title="ivojawer" class="avatar circle"/>&nbsp;<img src="https://avatars.githubusercontent.com/u/4098184?v=4" height="40" width="40" alt="PalumboN" title="PalumboN" class="avatar circle"/>&nbsp;<img src="https://avatars.githubusercontent.com/u/4633913?v=4" height="40" width="40" alt="npasserini" title="npasserini" class="avatar circle"/>&nbsp;<img src="https://avatars.githubusercontent.com/u/70177008?v=4" height="40" width="40" alt="FerRomMu" title="FerRomMu" class="avatar circle"/>&nbsp;<img src="https://avatars.githubusercontent.com/in/29110?v=4" height="40" width="40" alt="dependabot[bot]" title="dependabot[bot]" class="avatar circle"/>&nbsp;
<!-- DO NOT REMOVE - contributor_list:end -->
<!-- prettier-ignore-end -->
Loading