Skip to content

Commit 96639d2

Browse files
authored
Merge pull request #209 from pylonide/development
v2.7.0
2 parents 785b3df + c9ba7c3 commit 96639d2

18 files changed

Lines changed: 1249 additions & 3368 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Node CI
2+
3+
on:
4+
push:
5+
branches:
6+
- development
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [12.x, 13.x, 14.x, 15.x, 16.x]
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install and test
21+
run: |
22+
npm install
23+
npm test

.github/workflows/npm-publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+
name: Node.js Package
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 12
18+
- run: npm ci
19+
20+
publish-npm:
21+
needs: build
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/setup-node@v1
26+
with:
27+
node-version: 12
28+
registry-url: https://registry.npmjs.org/
29+
- run: npm ci
30+
- run: npm publish
31+
env:
32+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.travis.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
language: node_js
22
node_js:
33
- "node"
4+
- "15"
5+
- "14"
46
- "13"
57
- "12"
6-
- "10"
78

89
os:
910
- linux
1011
- osx
1112

12-
addons:
13-
apt:
14-
sources:
15-
- ubuntu-toolchain-r-test
16-
packages:
17-
- g++-4.9
18-
19-
before_install:
20-
- if [ `uname` = "Linux" ]; then export CXX=g++-4.9; fi
13+
dist: focal
2114

2215
install:
2316
- npm install

History.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
v2.7.0
2+
======
3+
* Cutting the support for Node.js v10 #192
4+
* Minimum node.js version set to v12.22.1
5+
* Deprecate the use of optimist #157 #194
6+
* Removal of nodeunit dependency #195
7+
* New scoped packages instead of direct github linking
8+
* @pylonide/architect-build
9+
* @pylonide/smith
10+
* @pylonide/treehugger
11+
* @pylonide/v8debug
12+
* Notable dependency upgrades:
13+
* Engine.io v5.1.1
14+
* xterm v4.13.0
15+
* form-auth promoted to default authentication plugin
16+
117
v2.6.0
218
======
319
* APF usage deprecated #93

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ plugins-client/lib.ace/www/worker/worker-language.js plugins-client/lib.ace/www/
4444
$(wildcard plugins-client/ext.htmllanguage/*/*) \
4545
$(wildcard plugins-client/ext.jsinfer/*) \
4646
$(wildcard plugins-client/ext.jsinfer/*/*) \
47-
$(wildcard node_modules/treehugger/lib/*) \
48-
$(wildcard node_modules/treehugger/lib/*/*) \
47+
$(wildcard node_modules/@pylonide/treehugger/lib/*) \
48+
$(wildcard node_modules/@pylonide/treehugger/lib/*/*) \
4949
$(wildcard node_modules/ace/lib/*) \
5050
$(wildcard node_modules/ace/*/*) \
5151
Makefile.dryice.js

Makefile.dryice.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function main(args) {
2626
roots: [
2727
ACE_HOME + "/lib",
2828
"/tmp/pln_worker_build",
29-
__dirname + "/node_modules/treehugger/lib"
29+
__dirname + "/node_modules/@pylonide/treehugger/lib"
3030
],
3131
textPluginPattern: /^ace\/requirejs\/text!/
3232
};

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Pylon is built entirely on a web stack, making it the most hacker-friendly IDE t
1414
## Features
1515

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

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

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

61-
Requirements (>= 2.6.0):
61+
Requirements (>= 2.7.0):
6262

63-
* NodeJS `>= 10.20.1`
63+
* NodeJS `>= 12.22.1`
6464
* g++-4.9 (Required for node-pty compilation)
6565
* make (Required for node-pty compilation)
6666
* python (Required for node-pty compilation)

configs/default.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"use strict";
88

99
var fs = require("fs");
10-
var argv = require('optimist').argv;
10+
var argv = require('yargs').argv;
1111
var path = require("path");
1212

1313
var clientExtensions = {};
@@ -135,7 +135,6 @@ var config = [
135135
"ext/offline/offline",
136136
"ext/stripws/stripws",
137137
//"ext/testpanel/testpanel",
138-
//"ext/nodeunit/nodeunit",
139138
"ext/zen/zen",
140139
"ext/codecomplete/codecomplete",
141140
"ext/vim/vim",
@@ -241,12 +240,12 @@ var config = [
241240

242241
if (useAuth) {
243242
config.push({
244-
packagePath: "./pylon.connect.basic-auth",
243+
packagePath: "./pylon.connect.form-auth",
245244
username: argv.username,
246245
password: argv.password
247246
});
248247
// Client Side form-auth is only required if we use the server side component
249-
//config.find(obj => obj.packagePath === "./pylon.core").clientPlugins.push("ext/form-auth/form-auth");
248+
config.find(obj => obj.packagePath === "./pylon.core").clientPlugins.push("ext/form-auth/form-auth");
250249
}
251250

252251
module.exports = config;

0 commit comments

Comments
 (0)