Skip to content

Commit

Permalink
Merge branch 'master' into spec-reporter-retries
Browse files Browse the repository at this point in the history
  • Loading branch information
CheadleCheadle authored Mar 1, 2024
2 parents 00b710c + b88978d commit b5d4d68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 129 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = [
{
...js.configs.recommended,
languageOptions: {
ecmaVersion: 2018,
ecmaVersion: 2020,
globals: {
...globals.browser,
...globals.node
Expand Down
4 changes: 2 additions & 2 deletions package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ module.exports = {
docs: {
default: {
script:
'nps docs.clean && nps docs.api && eleventy && nps docs.linkcheck && node scripts/netlify-headers.js docs/_site >> docs/_site/_headers',
'nps docs.clean && nps docs.api && eleventy && nps docs.linkcheck',
description: 'Build documentation'
},
production: {
Expand All @@ -277,7 +277,7 @@ module.exports = {
},
postbuild: {
script:
'buildProduction docs/_site/index.html --outroot docs/_dist --canonicalroot https://mochajs.org/ --optimizeimages --svgo --inlinehtmlimage 9400 --inlinehtmlscript 0 --asyncscripts && cp docs/_headers docs/_dist/_headers && node scripts/netlify-headers.js docs/_dist >> docs/_dist/_headers',
'node node_modules/assetgraph-builder/bin/buildProduction docs/_site/index.html --outroot docs/_dist --canonicalroot https://mochajs.org/ --optimizeimages --svgo --inlinehtmlimage 9400 --inlinehtmlscript 0 --asyncscripts && cp docs/_headers docs/_dist/_headers',
description: 'Post-process docs after build',
hiddenFromHelp: true
},
Expand Down
126 changes: 0 additions & 126 deletions scripts/netlify-headers.js

This file was deleted.

0 comments on commit b5d4d68

Please sign in to comment.