insomnia/packages/insomnia-app
James Gatz eb21506d40
️vite/esbuild (#4329)
* ️ vite

* replace webpack with esbuild in build script

* move build sr to esbuild

* esbuild send-request shim

* remove main externals

* fix lint

* remove webpack from insomnia-testing

* removes more webpack stuff

TODO after this PR: make debugging work again

* pin swagger-ui-react to version before esm change

* restore prepare script to build in bootstrap

* use default tsconfig for eslint and apply fixes

* bundle insomnia-components as cjs/esm

* makes ca_certs.ts pass linting

* builds types for insomnia-components

* improve build script for production

* skip typechecking insomnia-components

* separate package from build

* add electron to externals

* add preload bundling and fix build output

* exclude grpc/proto-loader from the bundle

* move node packages to commonjs

* don't bundle grpc since it's a node module

* fix content security error

* use vite lib mode for insomnia-components

* tidy up vite config and tsconfig options

* update package-locks

* use process.env. for static build time variables

* fix vscode debugging

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-18 17:27:39 +02:00
..
app ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
bin [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
config Bump app version to 2022.3.0-beta.3 and lerna package versions 2022-04-07 16:59:54 +00:00
scripts ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
send-request ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
.babelrc.js upgrades to electron 17.3 (#4658) 2022-03-30 14:48:31 -04:00
.eslintignore ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
.eslintrc.js adds eslint-config-helpers (#3912) 2021-08-12 18:01:54 -04:00
.gitignore reverts changes to main.min.js artifact location (#3401) 2021-05-19 15:00:12 -04:00
.npmrc upgrades to electron 17.3 (#4658) 2022-03-30 14:48:31 -04:00
esbuild.main.ts ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
esbuild.preload.ts ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
esbuild.sr.ts ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
jest.config.js ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
package-lock.json ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
package.json ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
README.md
tsconfig.build.json ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
tsconfig.build.sr.json [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
tsconfig.json ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00
vite.config.ts ️vite/esbuild (#4329) 2022-04-18 17:27:39 +02:00

Insomnia App

The main desktop application.