Skip to content

Commit

Permalink
Merge pull request #1507 from ably/1497-regression-testing-bundle
Browse files Browse the repository at this point in the history
[SDK-3943] Add some regression testing for bundle size and included files
  • Loading branch information
lawrence-forooghian authored Nov 27, 2023
2 parents ae0f45a + 3f12e9c commit c183041
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 110 deletions.
41 changes: 41 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"cors": "^2.8.5",
"esbuild": "^0.18.10",
"esbuild-plugin-umd-wrapper": "^1.0.7",
"esbuild-runner": "^2.2.2",
"eslint": "^7.13.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^40.0.0",
Expand Down Expand Up @@ -128,10 +129,10 @@
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"prepare": "npm run build",
"format": "prettier --write --ignore-path .gitignore --ignore-path .prettierignore src test ably.d.ts modules.d.ts webpack.config.js Gruntfile.js scripts/*.js docs/chrome-mv3.md",
"format:check": "prettier --check --ignore-path .gitignore --ignore-path .prettierignore src test ably.d.ts modules.d.ts webpack.config.js Gruntfile.js scripts/*.js",
"format": "prettier --write --ignore-path .gitignore --ignore-path .prettierignore src test ably.d.ts modules.d.ts webpack.config.js Gruntfile.js scripts/*.[jt]s docs/chrome-mv3.md",
"format:check": "prettier --check --ignore-path .gitignore --ignore-path .prettierignore src test ably.d.ts modules.d.ts webpack.config.js Gruntfile.js scripts/*.[jt]s",
"sourcemap": "source-map-explorer build/ably.min.js",
"modulereport": "node scripts/moduleReport.js",
"modulereport": "tsc --noEmit scripts/moduleReport.ts && esr scripts/moduleReport.ts",
"docs": "typedoc --entryPoints ably.d.ts --out typedoc/generated/default --readme typedoc/landing-pages/default.md && typedoc --entryPoints modules.d.ts --out typedoc/generated/modules --name \"ably (modular version)\" --readme typedoc/landing-pages/modules.md && cp typedoc/landing-pages/choose-library.html typedoc/generated/index.html"
}
}
107 changes: 0 additions & 107 deletions scripts/moduleReport.js

This file was deleted.

Loading

0 comments on commit c183041

Please sign in to comment.