Skip to content

Commit

Permalink
Merge pull request #1545 from germanbisurgi/feature/npm-audit
Browse files Browse the repository at this point in the history
npm audit and packages upgrade
  • Loading branch information
germanbisurgi committed Apr 16, 2024
2 parents d0ddff9 + 37900d6 commit ce55cda
Show file tree
Hide file tree
Showing 16 changed files with 22,049 additions and 9,481 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"extends":["standard"],
"env": {"browser": true},
"rules": {
"no-console": "error"
"no-console": "error",
"camelcase": 0,
"array-callback-return": 0,
"no-empty": 0
}
}
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: docker-compose run -T --rm node npm run ${BUILD_ENV}
- name: Test
run: |
docker-compose exec -T node codeceptjs -c /repo/tests/codeceptjs/codecept.json run-multiple basic:${SELENIUM_BROWSER} --invert --grep '@optional'
docker-compose exec -T node codeceptjs run-multiple -c /repo/tests/codeceptjs/codecept.json basic:${SELENIUM_BROWSER} --invert --grep '@optional'
pwd
ls -la codeceptjs/output
- name: Test Artifacts
Expand All @@ -65,5 +65,5 @@ jobs:
retention-days: 30
- name: Test (optional)
continue-on-error: true
run: docker-compose exec -T node codeceptjs -c /repo/tests/codeceptjs/codecept.json run-multiple basic:${SELENIUM_BROWSER} --grep '@optional'
run: docker-compose exec -T node codeceptjs run-multiple -c /repo/tests/codeceptjs/codecept.json basic:${SELENIUM_BROWSER} --grep '@optional'

8 changes: 2 additions & 6 deletions config/webpack.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const webpack = require('webpack')
const helpers = require('./helpers')
const CssToJSON = require('../build/CssToJson')
const ESLintPlugin = require('eslint-webpack-plugin');

const bannerText = `/**
* @name JSON Editor
Expand All @@ -22,12 +23,6 @@ module.exports = {
},
module: {
rules: [
{
enforce: 'pre',
test: /\.js$/,
exclude: /node_modules/,
loader: 'eslint-loader'
},
{
test: /\.js|\.css.js$/,
exclude: /node_modules/,
Expand All @@ -54,6 +49,7 @@ module.exports = {
]
},
plugins: [
new ESLintPlugin(),
new webpack.BannerPlugin(
bannerText.replace(
'{{ VERSION }}',
Expand Down

0 comments on commit ce55cda

Please sign in to comment.