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 1
1
module . exports = {
2
2
root : true ,
3
+ parser : '@babel/eslint-parser' ,
3
4
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
+ } ,
6
13
} ,
7
- extends : 'eslint:recommended' ,
14
+ plugins : [
15
+ ] ,
16
+ extends : [
17
+ 'eslint:recommended' ,
18
+ ] ,
8
19
env : {
9
20
browser : true
10
21
} ,
11
22
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
+ ]
13
48
} ;
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 12
12
},
13
13
"repository" : " https://github.com/ember-cli-deploy/ember-cli-deploy-gzip" ,
14
14
"engines" : {
15
- "node" : " >= 0.10.0 "
15
+ "node" : " 14.x || 16.x || 18.x || >= 20.x "
16
16
},
17
17
"author" : " Luke Melia and ember-cli-deploy team" ,
18
18
"license" : " MIT" ,
19
19
"devDependencies" : {
20
- "chai" : " ^4.2.0 " ,
20
+ "chai" : " ^4.3.7 " ,
21
21
"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" ,
25
26
"mocha" : " ^8.2.1" ,
26
27
"release-it" : " 14.11.8" ,
27
28
"release-it-lerna-changelog" : " ^3.1.0" ,
32
33
" ember-cli-deploy-plugin"
33
34
],
34
35
"dependencies" : {
36
+ "@babel/eslint-parser" : " ^7.21.8" ,
37
+ "@babel/preset-env" : " ^7.22.4" ,
35
38
"chalk" : " ^4.1.0" ,
36
39
"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 " ,
39
42
"rsvp" : " ^4.8.5"
40
43
},
41
44
"ember-addon" : {
You can’t perform that action at this time.
0 commit comments