Commit Graph

527 Commits

Author SHA1 Message Date
Tim Lai
1a27c0a8bd feat: migrate unit tests to Jest (#6353)
* config(jest): updated setup
* config(jest): update testMatch to include jsx files
* config(jest): add transformIgnorePatterns
* config(jest): update ignore files that do not work in jest yet
* config: add test:unit-jest to test script

* fix(jest): lint with eslint-plugin-jest

* refactor(jest): move unit test directory
* refactor(mocha): restore mocha tests that fail in jest

* docs(jest): update helpful scripts with test:unit-jest
2020-09-01 10:41:01 -07:00
swagger-bot
57f39bd572 chore(release): cut the v3.32.5 release 2020-08-27 20:11:06 +00:00
Tim Lai
6e386d5269 chore(deps-dev): downgrade jest@26 to jest@25 for node<10.14.2 (#6344) 2020-08-27 11:30:33 -07:00
Renovate Bot
319784033e housekeeping(dev-deps): jest monorepo@26.4.2 2020-08-24 20:41:31 +00:00
swagger-bot
fdb7f71710 chore(release): cut the v3.32.4 release 2020-08-20 23:44:44 +00:00
Tim Lai
e82aaae4f8 fix(deps): revert to redux@3 and react-redux@4 (#6331) 2020-08-20 16:14:49 -07:00
swagger-bot
9bde965015 chore(release): cut the v3.32.3 release 2020-08-19 18:51:32 +00:00
Renovate Bot
16270e5fc2 housekeeping(dev-deps): mini-css-extract-plugin@^0.10.0 2020-08-19 03:20:59 +00:00
swagger-bot
63621bb266 chore(release): cut the v3.32.2 release 2020-08-19 00:36:00 +00:00
Tim Lai
87d974ca15 chore(deps): remove unused imports-loader (#6316) 2020-08-18 16:32:29 -07:00
Tim Lai
20b32d8b90 fix(build): css stylesheets bundle config and deps (#6315) 2020-08-18 16:05:31 -07:00
Tim Lai
549b2d2b61 chore(deps-dev): update release-it from 12.4.3 to 13.6.5 (#6313)
* also bump @release-it/conventional-changelog from 1.1.0 to 1.1.4
2020-08-18 15:00:26 -07:00
Tim Lai
a26bb9284d chore(deps): update react-syntax-highlighter from 12.2.1 to 13.5.0 (#6312)
* fix(cypress): use less restrictive 'include.text' assertion

* includes prismjs@1.21.0 security update
2020-08-18 13:51:50 -07:00
Tim Lai
6ecc1809a7 chore(deps-dev): update cypress from 3.8.3 to 4.12.1 (#6310) 2020-08-17 15:33:24 -07:00
swaggerhub-bot
3e144f5f7d chore(release): cut the v3.32.1 release 2020-08-14 23:16:14 +00:00
swaggerhub-bot
28a8912a19 chore(release): cut the v3.32.0 release 2020-08-14 21:28:40 +00:00
Tim Lai
b579c713d9 fix: remove missing script references (#6300) 2020-08-14 08:24:46 -07:00
Tim Lai
2eaa6c10e4 feat(build): es2015 bundle artifact (#6291)
* es2015 bundle with dependencies via npm script build:es:bundle
* es2015 bundle without dependencies via npm script build:es:bundle
* jest dependency for test:artifact
* migrate babel.config.json to babel.config.js and maintain env support for commonjs and es2015
* remove polyfill
* fix es syntax: replace module.exports with export
* fix es syntax: remove .jsx extension inside import
2020-08-13 17:21:55 -07:00
swaggerhub-bot
752488edf7 chore(release): cut the v3.31.1 release 2020-07-30 18:09:18 +00:00
swaggerhub-bot
9bae8fd78b chore(release): cut the v3.31.0 release 2020-07-30 16:58:58 +00:00
Timothy Lai
85c40f16af config(mocha): require 'esm' depedency 2020-07-28 13:37:07 -07:00
Timothy Lai
f0208e8f41 config(webpack): add env.test and replace .babelrc
* .babelrc replacement ref: https://babeljs.io/docs/en/config-files
2020-07-24 13:53:54 -07:00
Timothy Lai
e13bc29aad config(mocha): create .mocharc config file 2020-07-24 13:53:54 -07:00
Timothy Lai
8c9b3c93a0 deps(mocha): update to mocha@7.2.0 2020-07-24 13:53:54 -07:00
Timothy Lai
eb4a9d54f7 deps(mocha): update to mocha 6.2.3 with security update 2020-07-24 13:53:54 -07:00
Timothy Lai
3cafd6086e config(mocha): remove deprecated --compiler flag 2020-07-24 13:53:54 -07:00
swaggerhub-bot
d8521c1bc0 chore(release): cut the v3.30.2 release 2020-07-22 20:37:48 +00:00
Timothy Lai
ea5b64bca3 build(webpack): remove LodashModuleReplacementPlugin 2020-07-22 12:40:30 -07:00
swaggerhub-bot
c654d08af8 chore(release): cut the v3.30.1 release 2020-07-21 19:36:10 +00:00
Tim Lai
d12662e354 build(webpack): bundle size optimization for lodash (#6244)
* add duplicate code detection check for general purpose use
* webpack alias for lodash
* redux and react-redux dependency bump that removes lodash dependencies
* lodash version match with swagger-client and recent security update
* additional webpack config to help reduce build sizes
* restore max bundle size back to 1024000
2020-07-20 20:26:56 -07:00
swaggerhub-bot
42dc02c6a2 chore(release): cut the v3.30.0 release 2020-07-17 22:50:30 +00:00
Tim Lai
a73783b73d feat: syntax highlighting of code section (#6236)
Co-authored-by: AdrieanKhisbe <adriean.khisbe@live.fr>
2020-07-17 15:29:15 -07:00
swaggerhub-bot
9bca433ab2 chore(release): cut the v3.29.0 release 2020-07-17 02:37:48 +00:00
renovate[bot]
8b54d5a63e housekeeping(deps): swagger-client@3.10.12 (#6216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2020-07-16 18:28:00 -07:00
Vladimir Gorej
e3b3bf03d4 build(bundle): use ES6 to import swagger-client symbols (#6208)
swagger-client in versions =3.10.9 exports it's build artifacts in multiple ways.
One artifact is exposed as ES5 compatible code with ES6 imports.
We use this fact to utilize webpack tree shaking algorithm.
This commit also updates swagger-client to v3.10.0
and decreases bundle size for around 10%.
2020-07-06 14:19:09 +02:00
swaggerhub-bot
3cef227368 chore(release): cut the v3.28.0 release 2020-06-29 12:43:36 +00:00
Vladimir Gorej
43779bc5b3 chore(package): bump swagger-client to 3.10.9 version 2020-06-25 20:36:22 +02:00
swaggerhub-bot
091a9debfa release: v3.27.0 2020-06-18 20:25:42 +00:00
Tim Lai
9ce2a9adca housekeeping: update swagger-client v3.10.8 (#6162) 2020-06-18 13:07:22 -07:00
Aldrin Abastillas
973e1f7a9b feat: Copy response to clipboard #4300 (#5278)
* Move next to download button and match styling

Co-authored-by: Aldrin Abastillas <AAbastillas@rcanalytics.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2020-06-15 15:08:10 -07:00
swaggerhub-bot
ae33deeaab release: v3.26.2 2020-06-12 13:09:03 +00:00
swaggerhub-bot
9a0927b52c release: v3.26.1 2020-06-11 21:31:19 +00:00
Vladimir Gorej
01fb5c07ab chore(package): freeze release-it library and it's deps
Refs #6126
2020-06-10 23:24:02 +02:00
Tim Lai
6ed15b05f0 housekeeping: core-js@2.6.11 (#6117) 2020-06-08 20:15:27 -07:00
renovate[bot]
a0d9dc0c51 housekeeping(dev-deps): rimraf v3 (#6114)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 16:25:26 -07:00
renovate[bot]
f52496aed0 housekeeping(dev-deps): prettier v2 (#6111)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 16:08:10 -07:00
renovate[bot]
1ca92665e4 housekeeping(dev-deps): raw-loader v4 (#6112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 15:51:33 -07:00
Tim Lai
6bc0c62d09 housekeeping: update dependencies (#6110) 2020-06-08 13:38:25 -07:00
renovate[bot]
53efe0cd9a housekeeping(dev-deps): open v7 (#6108)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 13:16:32 -07:00
renovate[bot]
9d10a7c81a housekeeping(dev-deps): license-checker v25 (#6105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-06 16:38:49 -07:00