File tree Expand file tree Collapse file tree 5 files changed +1562
-228
lines changed Expand file tree Collapse file tree 5 files changed +1562
-228
lines changed Original file line number Diff line number Diff line change 11module . exports = {
22 root : true ,
3+ parser : '@babel/eslint-parser' ,
34 parserOptions : {
4- ecmaVersion : 6 ,
5- sourceType : 'module'
5+ ecmaVersion : 2020 ,
6+ sourceType : 'module' ,
7+ requireConfigFile : false ,
8+ babelOptions : {
9+ configFile : false ,
10+ // your babel options
11+ presets : [ "@babel/preset-env" ] ,
12+ } ,
613 } ,
7- extends : 'eslint:recommended' ,
14+ plugins : [
15+ ] ,
16+ extends : [
17+ 'eslint:recommended' ,
18+ ] ,
819 env : {
920 browser : true
1021 } ,
1122 rules : {
12- }
23+ } ,
24+ overrides : [
25+ // node files
26+ {
27+ files : [
28+ '.eslintrc.js' ,
29+ 'index.js' ,
30+ 'config/**/*.js' ,
31+ 'tests//config/**/*.js'
32+ ] ,
33+ parserOptions : {
34+ sourceType : 'script'
35+ } ,
36+ env : {
37+ browser : false ,
38+ node : true
39+ } ,
40+ plugins : [ 'node' ] ,
41+ extends : [ 'plugin:node/recommended' ] ,
42+ rules : Object . assign ( { } , require ( 'eslint-plugin-node' ) . configs . recommended . rules , {
43+ // add your custom rules and overrides for node files here
44+ 'node/no-unpublished-require' : 'off' ,
45+ } )
46+ }
47+ ]
1348} ;
Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ test :
9+ name : Test
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ node-version : [14.x, 16.x, 18.x, 20.x]
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : Use Node.js ${{ matrix.node-version }}
17+ uses : actions/setup-node@v3
18+ with :
19+ node-version : ${{ matrix.node-version }}
20+ cache : ' yarn'
21+ - run : yarn install
22+ - run : yarn test
23+
24+ test-floating :
25+ name : Floating Dependencies
26+ runs-on : ubuntu-latest
27+ strategy :
28+ matrix :
29+ node-version : [14.x, 16.x, 18.x, 20.x]
30+ steps :
31+ - uses : actions/checkout@v2
32+ - name : Use Node.js ${{ matrix.node-version }}
33+ uses : actions/setup-node@v3
34+ with :
35+ node-version : ${{ matrix.node-version }}
36+ cache : ' yarn'
37+ - name : install dependencies
38+ run : yarn install --no-lockfile
39+ - name : test
40+ run : yarn test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212 },
1313 "repository" : " https://github.com/ember-cli-deploy/ember-cli-deploy-gzip" ,
1414 "engines" : {
15- "node" : " >= 0.10.0 "
15+ "node" : " 14.x || 16.x || 18.x || >= 20.x "
1616 },
1717 "author" : " Luke Melia and ember-cli-deploy team" ,
1818 "license" : " MIT" ,
1919 "devDependencies" : {
20- "chai" : " ^4.2.0 " ,
20+ "chai" : " ^4.3.7 " ,
2121 "chai-as-promised" : " ^7.1.1" ,
22- "ember-cli" : " ^3.22.0" ,
23- "eslint" : " ^7.14.0" ,
24- "glob" : " ^7.1.6" ,
22+ "ember-cli" : " ^3.28.6" ,
23+ "eslint" : " ^8.42.0" ,
24+ "eslint-plugin-node" : " ^11.1.0" ,
25+ "glob" : " ^10.2.6" ,
2526 "mocha" : " ^8.2.1" ,
2627 "release-it" : " 14.11.8" ,
2728 "release-it-lerna-changelog" : " ^3.1.0" ,
3233 " ember-cli-deploy-plugin"
3334 ],
3435 "dependencies" : {
36+ "@babel/eslint-parser" : " ^7.21.8" ,
37+ "@babel/preset-env" : " ^7.22.4" ,
3538 "chalk" : " ^4.1.0" ,
3639 "core-object" : " ^3.1.5" ,
37- "ember-cli-deploy-plugin" : " ^0.2.6 " ,
38- "minimatch" : " ^3.0.4 " ,
40+ "ember-cli-deploy-plugin" : " ^0.2.9 " ,
41+ "minimatch" : " ^3.1.2 " ,
3942 "rsvp" : " ^4.8.5"
4043 },
4144 "ember-addon" : {
You can’t perform that action at this time.
0 commit comments