Skip to content

Commit

Permalink
Merge pull request #209 from pylonide/development
Browse files Browse the repository at this point in the history
v2.7.0
  • Loading branch information
exsilium authored Jun 16, 2021
2 parents 785b3df + c9ba7c3 commit 96639d2
Show file tree
Hide file tree
Showing 18 changed files with 1,249 additions and 3,368 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node CI

on:
push:
branches:
- development

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm test
32 changes: 32 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
language: node_js
node_js:
- "node"
- "15"
- "14"
- "13"
- "12"
- "10"

os:
- linux
- osx

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9

before_install:
- if [ `uname` = "Linux" ]; then export CXX=g++-4.9; fi
dist: focal

install:
- npm install
Expand Down
16 changes: 16 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
v2.7.0
======
* Cutting the support for Node.js v10 #192
* Minimum node.js version set to v12.22.1
* Deprecate the use of optimist #157 #194
* Removal of nodeunit dependency #195
* New scoped packages instead of direct github linking
* @pylonide/architect-build
* @pylonide/smith
* @pylonide/treehugger
* @pylonide/v8debug
* Notable dependency upgrades:
* Engine.io v5.1.1
* xterm v4.13.0
* form-auth promoted to default authentication plugin

v2.6.0
======
* APF usage deprecated #93
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ plugins-client/lib.ace/www/worker/worker-language.js plugins-client/lib.ace/www/
$(wildcard plugins-client/ext.htmllanguage/*/*) \
$(wildcard plugins-client/ext.jsinfer/*) \
$(wildcard plugins-client/ext.jsinfer/*/*) \
$(wildcard node_modules/treehugger/lib/*) \
$(wildcard node_modules/treehugger/lib/*/*) \
$(wildcard node_modules/@pylonide/treehugger/lib/*) \
$(wildcard node_modules/@pylonide/treehugger/lib/*/*) \
$(wildcard node_modules/ace/lib/*) \
$(wildcard node_modules/ace/*/*) \
Makefile.dryice.js
Expand Down
2 changes: 1 addition & 1 deletion Makefile.dryice.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function main(args) {
roots: [
ACE_HOME + "/lib",
"/tmp/pln_worker_build",
__dirname + "/node_modules/treehugger/lib"
__dirname + "/node_modules/@pylonide/treehugger/lib"
],
textPluginPattern: /^ace\/requirejs\/text!/
};
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pylon is built entirely on a web stack, making it the most hacker-friendly IDE t
## Features

- High performance ACE text editor with bundled syntax highlighting to support a wide range of programming languages.
- Modern node support (NodeJS >= 10.20.1)
- Modern node support (NodeJS >= 12.22.1)
- Up to date dependencies and compatibility fixes
- Terminal

Expand Down Expand Up @@ -58,9 +58,9 @@ For quality of life it is recommended to remap Caps Lock hardware key to act as

If installing on Windows, please refer to [Installation on Windows](#installation-on-windows-experimental).

Requirements (>= 2.6.0):
Requirements (>= 2.7.0):

* NodeJS `>= 10.20.1`
* NodeJS `>= 12.22.1`
* g++-4.9 (Required for node-pty compilation)
* make (Required for node-pty compilation)
* python (Required for node-pty compilation)
Expand Down
7 changes: 3 additions & 4 deletions configs/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"use strict";

var fs = require("fs");
var argv = require('optimist').argv;
var argv = require('yargs').argv;
var path = require("path");

var clientExtensions = {};
Expand Down Expand Up @@ -135,7 +135,6 @@ var config = [
"ext/offline/offline",
"ext/stripws/stripws",
//"ext/testpanel/testpanel",
//"ext/nodeunit/nodeunit",
"ext/zen/zen",
"ext/codecomplete/codecomplete",
"ext/vim/vim",
Expand Down Expand Up @@ -241,12 +240,12 @@ var config = [

if (useAuth) {
config.push({
packagePath: "./pylon.connect.basic-auth",
packagePath: "./pylon.connect.form-auth",
username: argv.username,
password: argv.password
});
// Client Side form-auth is only required if we use the server side component
//config.find(obj => obj.packagePath === "./pylon.core").clientPlugins.push("ext/form-auth/form-auth");
config.find(obj => obj.packagePath === "./pylon.core").clientPlugins.push("ext/form-auth/form-auth");
}

module.exports = config;
Loading

0 comments on commit 96639d2

Please sign in to comment.