Skip to content

Commit c332f54

Browse files
authored
Merge pull request #127 from Teamwork/decaffeinate
This removes all CoffeeScript in favor of JavaScript and EM6 module. Actually add AppX support. Improve Linux support. Improve test coverage. API breakage: to better support extra arguments to be added at launch and to better structure the options, the API is changed. While it should still support the old options, I may have missed some cases.
2 parents 4f5730f + 5b21022 commit c332f54

23 files changed

+6242
-1067
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": [ "@babel/preset-env" ]
3+
}

.editorconfig

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,9 @@
44
root = true
55

66
[*]
7-
charset = "utf8"
7+
charset = "utf-8"
8+
indent_style = space
9+
indent_size = 2
10+
end_of_line = lf
811
trim_trailing_whitespace = true
912
insert_final_newline = true
10-
11-
[*.coffee]
12-
indent_style = space
13-
indent_size = 4
14-
15-
[*.js]
16-
indent_style = space
17-
indent_size = 4
18-
19-
[*.json]
20-
indent_style = space
21-
indent_size = 4

.eslintrc.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"extends": "airbnb-base",
3+
"env": {
4+
"browser": true,
5+
"mocha": true
6+
},
7+
"parser": "@babel/eslint-parser",
8+
"parserOptions": {
9+
"requireConfigFile": false,
10+
"sourceType": "module"
11+
},
12+
"rules": {
13+
"brace-style": "warn",
14+
"class-methods-use-this": 0,
15+
"comma-dangle": [
16+
"warn",
17+
"only-multiline"
18+
],
19+
"indent": [
20+
"warn",
21+
2,
22+
{
23+
"SwitchCase": 1
24+
}
25+
],
26+
"lines-between-class-members": "off",
27+
"linebreak-style": "off",
28+
"max-len": [
29+
"warn",
30+
128
31+
],
32+
"no-promise-executor-return": "warn",
33+
"no-var": "error",
34+
"no-useless-constructor": "off",
35+
"object-curly-newline": "warn",
36+
"object-curly-spacing": "warn",
37+
"prefer-arrow-callback": "off",
38+
"prefer-const": "warn",
39+
"prefer-destructuring": "off",
40+
"import/extensions": [
41+
"error",
42+
"ignorePackages",
43+
{
44+
"js": "always"
45+
}
46+
]
47+
}
48+
}

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ jobs:
66
strategy:
77
matrix:
88
os: [macos-latest, windows-latest, ubuntu-latest]
9-
node-version: ["12", "14", "16", "18", "20"]
9+
node-version: ["14", "16", "18", "20"]
1010

1111
runs-on: ${{ matrix.os }}
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Set up Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v3
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*
2-
!dist/*
2+
!src/*
33
!README.md
44
!LICENSE.md
55
!package.json

0 commit comments

Comments
 (0)