sourcegraph/package.json

240 lines
8.1 KiB
JSON
Raw Normal View History

{
use a single Webpack/TypeScript build Previously, there were 2 Webpack and TypeScript builds: in `.` and `./enterprise`. This was because these used to live in separate repositories. Now that they are in the same repository, we can combine them. The benefit of combining them is reduced complexity and duplication. The work to combine the builds consisted of: - Removing all Webpack/TypeScript build config files from `enterprise/`, such as `tsconfig.json`, `webpack.config.ts`, `package.json`, etc. - Rewriting import paths in `enterprise/**/*.ts?(x)` to use relative file paths instead of importing from `@sourcegraph/webapp`. - Removing all `dist`-related tasks from the root build config. (These were only used to export a package that `enterprise/` could use in its separate build.) In combining the builds, some additional changes were required: - Upgraded Webpack and various Webpack-related packages. - Switched back to the now-recommended (no longer deprecated) webpack-dev-server from webpack-serve. - Removed the node-sass-import-once helper because (1) it did not appear to be effective and (2) it resulted in a ModuleNotFoundError when importing a `.css` file in a dependency that itself imported a `.css` file with a relative path. (The usual solution for this is to use resolve-url-loader, but that is incompatible with node-sass-import-once. The reason this problem started occurring now is likely due to upgrading sass-loader or related packages, and that was necessitated by other errors that are not worth describing here.) - Remove thread-loader. It did not actually speed up Webpack build times.
2018-10-28 08:13:08 +00:00
"private": true,
"description": "The Sourcegraph web app",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/sourcegraph"
},
"engines": {
"node": ">=8.0.0 <12.0.0",
"yarn": "^1.10.1"
},
"scripts": {
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"prettier": "prettier '**/{*.{js?(on),ts?(x),graphql,md,scss},.*.js?(on)}' --write --list-different --config prettier.config.js",
"prettier-check": "npm run prettier -- --write=false",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"all:tslint": "dev/foreach-ts-project.sh yarn -s run tslint",
"all:stylelint": "yarn --cwd web run stylelint && yarn --cwd client/browser run stylelint",
"all:typecheck": "gulp generate && dev/foreach-ts-project.sh ./node_modules/.bin/tsc -p tsconfig.json",
2018-11-15 08:20:11 +00:00
"graphql": "gulp graphQLTypes",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"graphql-lint": "graphql-schema-linter --old-implements-syntax --comment-descriptions cmd/frontend/graphqlbackend/schema.graphql",
use jest for testing (#1456) Goal: help people write reliable UI code by making it easier to write and run tests. Using Facebook's [jest](https://jestjs.io) for tests helps us achieve this goal because: - jest has great first-class support for testing React components (see https://jestjs.io/docs/en/tutorial-react) and is by far the most popular way that people test React components, so the bugs are ironed out and the tooling is good - jest can run all of our tests (`shared/`, `web/`, and `client/browser/` -- and unit tests **AND** e2e tests) from the same runner (`yarn test` in the root dir) - jest has a great `--watch` UI and a good [vscode-jest extension](https://github.com/jest-community/vscode-jest) - debugging tests in VS Code works with no additional effort - jest requires a lot less configuration and code to set up testing and coverage than Mocha (no `--require ts-node --require source-map-support mocha.opts --require long-stack-traces --require esm ...`, no test-time bundling required using `unit-test-utils.ts`, etc.) **Note:** Most of the diff is from https://github.com/skovhus/jest-codemods, which automatically updates our test code to use jest style (`describe`, `test`, `expect`, etc., not `it` and `assert`). jest appears to be the most popular tool for solving the problem that we have (testing a large web/multi-platform application), and it was surprisingly painless to set up and a joy to use. TODOs: - [x] Make it pass on Buildkite - [x] Ensure e2e, screenshots-after-failures, and coverage still work on Buildkite - [x] Test on macOS - [x] Add docs to repo --- Usage: > This is also documented in `doc/dev/testing.md` and `doc/dev/web_app.md`. - To run all unit tests, run `yarn test` from the root directory. - To run unit tests in development (only running the tests related to uncommitted code), run `yarn test --watch`. - And/or use [vscode-jest](https://github.com/jest-community/vscode-jest) with `jest.autoEnable: true` (and, if you want, `jest.showCoverageOnLoad: true`) - To debug tests in VS Code, use [vscode-jest](https://github.com/jest-community/vscode-jest) and click the **Debug** code lens next to any `test('name ...', ...)` definition in your test file (be sure to set a breakpoint or break on uncaught exceptions by clicking in the left gutter). - e2e tests: - To run e2e tests for the browser extension: `cd client/browser && yarn test-e2e` - To run e2e tests for the browser extension: `cd web && yarn test-e2e` - You can also run `yarn test` from any of the individual project dirs (`shared/`, `web/`, `client/browser/`). Usually while developing you will either have `yarn test --watch` running in a terminal or you will use vscode-jest. --- Notes: - There are no regressions. The following are all preserved as before: Puppeteer screenshots after test failures, jsdom tests, e2e tests, Codecov and lcov coverage, VS Code integration, etc. - You will need to write tests using [jest matchers](https://jestjs.io/docs/en/using-matchers) (or [jest async matchers](https://jestjs.io/docs/en/asynchronous) for async code), not `assert`. They are very similar. - You need to use `test()` instead of `it()` for defining test cases.
2018-12-17 02:13:40 +00:00
"prepublish": "gulp generate && yarn --cwd shared -s run tslint:build-rules",
"test": "jest --testPathIgnorePatterns e2e"
},
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"browserslist": [
"last 1 version",
">1%",
"not dead",
"not <0.25%",
"last 1 Chrome versions",
"not IE > 0"
],
"devDependencies": {
2018-12-30 08:56:48 +00:00
"@babel/core": "^7.2.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.2.3",
"@babel/runtime": "^7.2.0",
"@gql2ts/from-schema": "^1.10.1",
"@gql2ts/language-typescript": "^1.9.0",
2019-03-08 04:58:30 +00:00
"@percy/puppeteer": "^1.0.5",
"@sourcegraph/prettierrc": "^2.2.0",
"@sourcegraph/stylelint-config": "^1.1.2",
"@sourcegraph/tsconfig": "^4.0.0",
"@sourcegraph/tslint-config": "^13.0.0",
"@storybook/addon-actions": "^4.1.4",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-info": "^4.1.4",
2019-02-12 13:21:25 +00:00
"@storybook/addon-links": "^4.1.3",
"@storybook/addon-notes": "^4.1.4",
"@storybook/addon-options": "^4.1.4",
"@storybook/addon-storyshots": "^4.1.4",
"@storybook/addons": "^4.1.4",
"@storybook/components": "^4.1.4",
"@storybook/react": "^4.1.4",
"@types/babel__core": "7.1.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/chai": "4.1.7",
2018-12-17 02:27:49 +00:00
"@types/chai-as-promised": "7.1.0",
2019-02-22 23:23:57 +00:00
"@types/chalk": "2.2.0",
"@types/classnames": "2.2.7",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/cpy": "5.1.0",
"@types/d3-axis": "1.0.12",
"@types/d3-scale": "2.1.1",
"@types/d3-selection": "1.4.1",
"@types/d3-shape": "1.3.1",
2019-02-22 23:23:57 +00:00
"@types/error-stack-parser": "2.0.0",
2019-03-09 10:05:38 +00:00
"@types/escape-string-regexp": "1.0.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/execa": "0.9.0",
"@types/fancy-log": "1.3.1",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/filesystem": "0.0.29",
"@types/graphql": "14.2.0",
"@types/gulp": "4.0.6",
"@types/he": "1.1.0",
2018-11-12 09:29:11 +00:00
"@types/highlight.js": "9.12.3",
"@types/jest": "24.0.11",
"@types/jsdom": "12.2.3",
"@types/lodash": "4.14.123",
"@types/marked": "0.6.4",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/mini-css-extract-plugin": "0.2.0",
2018-11-12 09:29:11 +00:00
"@types/mkdirp-promise": "5.0.0",
"@types/mockdate": "2.0.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/mz": "0.0.32",
"@types/node": "10.12.21",
"@types/optimize-css-assets-webpack-plugin": "1.3.4",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/p-retry": "2.0.0",
"@types/plugin-error": "0.1.1",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/pretty-bytes": "5.1.0",
"@types/puppeteer": "1.12.3",
"@types/react": "16.8.12",
"@types/react-dom": "16.8.3",
"@types/react-router": "4.4.5",
2018-11-12 09:29:11 +00:00
"@types/react-router-dom": "4.3.1",
"@types/react-stripe-elements": "1.1.10",
"@types/react-test-renderer": "16.8.1",
"@types/react-visibility-sensor": "5.0.1",
"@types/reactstrap": "6.4.4",
"@types/sanitize-html": "1.18.3",
"@types/shelljs": "0.8.4",
2019-02-22 23:23:57 +00:00
"@types/shelljs-exec-proxy": "0.1.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/signale": "1.2.0",
"@types/sinon": "7.0.11",
2018-12-30 08:56:48 +00:00
"@types/socket.io": "2.1.2",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/socket.io-client": "1.4.32",
"@types/storybook__addon-actions": "3.4.2",
2019-01-08 13:21:35 +00:00
"@types/storybook__addon-info": "3.4.2",
"@types/storybook__addon-notes": "4.0.2",
"@types/storybook__addon-options": "4.0.1",
"@types/storybook__addon-storyshots": "3.4.8",
"@types/storybook__react": "4.0.1",
"@types/textarea-caret": "3.0.0",
"@types/tmp": "0.1.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@types/uuid": "3.4.4",
2018-12-30 08:56:48 +00:00
"@types/webpack": "4.4.22",
2018-11-12 09:29:11 +00:00
"@types/webpack-dev-server": "3.1.1",
2019-02-16 10:53:20 +00:00
"@types/whatwg-url": "6.4.0",
"@types/yargs": "12.0.11",
2018-12-30 08:56:48 +00:00
"abort-controller": "^2.0.0",
"autoprefixer": "^9.4.3",
"babel-loader": "^8.0.5",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"babel-plugin-lodash": "^3.3.4",
2018-12-30 08:56:48 +00:00
"browserslist": "^4.3.6",
"bundlesize": "^0.17.1",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"chai": "^4.1.2",
use jest for testing (#1456) Goal: help people write reliable UI code by making it easier to write and run tests. Using Facebook's [jest](https://jestjs.io) for tests helps us achieve this goal because: - jest has great first-class support for testing React components (see https://jestjs.io/docs/en/tutorial-react) and is by far the most popular way that people test React components, so the bugs are ironed out and the tooling is good - jest can run all of our tests (`shared/`, `web/`, and `client/browser/` -- and unit tests **AND** e2e tests) from the same runner (`yarn test` in the root dir) - jest has a great `--watch` UI and a good [vscode-jest extension](https://github.com/jest-community/vscode-jest) - debugging tests in VS Code works with no additional effort - jest requires a lot less configuration and code to set up testing and coverage than Mocha (no `--require ts-node --require source-map-support mocha.opts --require long-stack-traces --require esm ...`, no test-time bundling required using `unit-test-utils.ts`, etc.) **Note:** Most of the diff is from https://github.com/skovhus/jest-codemods, which automatically updates our test code to use jest style (`describe`, `test`, `expect`, etc., not `it` and `assert`). jest appears to be the most popular tool for solving the problem that we have (testing a large web/multi-platform application), and it was surprisingly painless to set up and a joy to use. TODOs: - [x] Make it pass on Buildkite - [x] Ensure e2e, screenshots-after-failures, and coverage still work on Buildkite - [x] Test on macOS - [x] Add docs to repo --- Usage: > This is also documented in `doc/dev/testing.md` and `doc/dev/web_app.md`. - To run all unit tests, run `yarn test` from the root directory. - To run unit tests in development (only running the tests related to uncommitted code), run `yarn test --watch`. - And/or use [vscode-jest](https://github.com/jest-community/vscode-jest) with `jest.autoEnable: true` (and, if you want, `jest.showCoverageOnLoad: true`) - To debug tests in VS Code, use [vscode-jest](https://github.com/jest-community/vscode-jest) and click the **Debug** code lens next to any `test('name ...', ...)` definition in your test file (be sure to set a breakpoint or break on uncaught exceptions by clicking in the left gutter). - e2e tests: - To run e2e tests for the browser extension: `cd client/browser && yarn test-e2e` - To run e2e tests for the browser extension: `cd web && yarn test-e2e` - You can also run `yarn test` from any of the individual project dirs (`shared/`, `web/`, `client/browser/`). Usually while developing you will either have `yarn test --watch` running in a terminal or you will use vscode-jest. --- Notes: - There are no regressions. The following are all preserved as before: Puppeteer screenshots after test failures, jsdom tests, e2e tests, Codecov and lcov coverage, VS Code integration, etc. - You will need to write tests using [jest matchers](https://jestjs.io/docs/en/using-matchers) (or [jest async matchers](https://jestjs.io/docs/en/asynchronous) for async code), not `assert`. They are very similar. - You need to use `test()` instead of `it()` for defining test cases.
2018-12-17 02:13:40 +00:00
"chai-as-promised": "^7.1.1",
2019-02-22 23:23:57 +00:00
"chalk": "^2.4.2",
"child_process": "^1.0.2",
"chokidar-cli": "^1.2.2",
"chrome-webstore-upload-cli": "^1.2.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"cpy": "^7.0.1",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
2019-02-22 23:23:57 +00:00
"error-stack-parser": "^2.0.2",
"esm": "^3.2.22",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"execa": "^1.0.0",
2018-12-30 08:56:48 +00:00
"fancy-log": "^1.3.3",
"get-graphql-schema": "^2.1.2",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"gql2ts": "^1.2.1",
"graphql": "^14.0.2",
"graphql-schema-linter": "^0.2.0",
"gulp": "^4.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.5.0",
"jsdom": "^14.0.0",
"json-schema-ref-parser": "^6.0.2",
2018-12-30 08:56:48 +00:00
"json-schema-to-typescript": "^6.1.0",
"message-port-polyfill": "^0.1.0",
2018-12-30 08:56:48 +00:00
"mini-css-extract-plugin": "^0.5.0",
"mkdirp-promise": "^5.0.1",
"mockdate": "^2.0.2",
"mz": "^2.7.0",
"node-sass": "^4.12.0",
deduplicate CSS (#1588) * deduplicate CSS In `./web` and `./client/browser`, all Bootstrap CSS rules were duplicated in the output. This was because there were multiple .scss files that imported Bootstrap's CSS, and node-sass doesn't automatically dedupe. Removing those imports would prevent the files from using Bootstrap variables, so the imports need to remain. This commit introduces optimize-css-assets-webpack-plugin, which uses cssnano to optimize away duplicate CSS rules. Using `node-sass-import-once` used to work, but it no longer works (it does not actually eliminate duplicate imports); it is also unmaintained and other people have reported the same problem. `node-sass-once-importer` also does not work (it yields a completely empty CSS file). * fix import of react-loading-spinner CSS The @import was unnecessary because codeintellify already imports it. The resolve.alias webpack config is necessary to avoid the following error (introduced by removing the old, deprecated import-once sass loader): ``` ModuleNotFoundError: Module not found: Error: Can't resolve '../node_modules/@sourcegraph/react-loading-spinner/lib/LoadingSpinner.css' in '/home/sqs/src/github.com/sourcegraph/sourcegraph/client/browser/src' ``` * fix color theme in browser extension There is no color theme support in the browser extension, so this was unnecessary. This change is necessary to avoid hovers (Bootstrap `.card` class) from having a transparent background, a change likely introduced in the recent updates to the Bootstrap dep (4.0 -> 4.1).
2018-12-31 01:51:43 +00:00
"optimize-css-assets-webpack-plugin": "^5.0.1",
2018-12-30 08:56:48 +00:00
"p-retry": "^3.0.0",
"path": "^0.12.7",
"plugin-error": "^1.0.1",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"postcss-loader": "^3.0.0",
"prettier": "https://github.com/prettier/prettier.git#f4bcb13d4153fe48d837ea18ac026558aba5ea36",
"puppeteer": "1.14.0",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
2018-12-30 08:56:48 +00:00
"react-test-renderer": "^16.7.0",
"react-testing-library": "^5.4.2",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"sass-loader": "^7.0.3",
2018-12-30 08:56:48 +00:00
"shelljs": "^0.8.3",
2019-02-22 23:23:57 +00:00
"shelljs-exec-proxy": "^0.1.1",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"signale": "^1.2.1",
2018-12-30 08:56:48 +00:00
"sinon": "^7.2.2",
"socket.io": "^2.2.0",
"socket.io-client": "^2.2.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"source-map-support": "^0.5.6",
"style-loader": "^0.23.1",
2018-12-30 08:56:48 +00:00
"stylelint": "^9.9.0",
"terser-webpack-plugin": "^1.2.0",
"ts-jest": "^24.0.0",
2018-12-30 08:56:48 +00:00
"ts-loader": "^5.3.2",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"ts-node": "^7.0.1",
"tslint": "^5.15.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"tslint-language-service": "^0.9.9",
"typedoc": "^0.14.0",
"typescript": "3.5.0-dev.20190406",
"utc-version": "^1.1.0",
"web-ext-types": "^3.1.0",
2018-12-30 08:56:48 +00:00
"webpack": "^4.28.2",
"webpack-dev-server": "^3.1.13",
2019-02-22 23:23:57 +00:00
"worker-loader": "^2.0.0",
"yargs": "^13.2.0"
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
},
"dependencies": {
"@sentry/browser": "^4.6.6",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@slimsag/react-shortcuts": "^1.2.1",
"@sourcegraph/codeintellify": "^6.1.0",
"@sourcegraph/comlink": "^3.1.1-fork.3",
"@sourcegraph/extension-api-classes": "^1.0.2",
"@sourcegraph/extension-api-types": "link:packages/@sourcegraph/extension-api-types",
"@sourcegraph/react-loading-spinner": "0.0.7",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"@sqs/jsonc-parser": "^1.0.3",
2019-03-09 10:05:38 +00:00
"@types/react-circular-progressbar": "1.0.1",
"abortable-rx": "^1.0.9",
"bootstrap": "^4.3.1",
"classnames": "^2.2.6",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"copy-to-clipboard": "^3.0.7",
"d3-axis": "^1.0.7",
"d3-scale": "^2.0.0",
"d3-selection": "^1.2.0",
"d3-shape": "^1.2.0",
"date-fns": "^2.0.0-alpha.7",
"downshift": "^2.2.3",
2018-12-30 08:56:48 +00:00
"graphiql": "^0.12.0",
"he": "^1.2.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"highlight.js": "^9.13.1",
"lodash": "^4.17.10",
"marked": "^0.6.0",
"mdi-react": "^5.1.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"minimatch": "^3.0.4",
2018-12-30 08:56:48 +00:00
"monaco-editor": "^0.15.6",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"open-color": "^1.6.3",
"pretty-bytes": "^5.0.0",
2019-03-07 18:50:05 +00:00
"react": "^16.8.2",
"react-circular-progressbar": "^1.0.0",
"react-dom": "^16.8.2",
"react-dom-confetti": "^0.1.0",
"react-router": "^4.4.0-beta.6",
"react-router-dom": "^4.4.0-beta.6",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"react-stripe-elements": "^2.0.1",
2018-12-30 08:56:48 +00:00
"react-visibility-sensor": "^5.0.2",
"reactstrap": "https://registry.npmjs.org/@sqs/reactstrap/-/reactstrap-6.5.0-tmp1.tgz",
"rxjs": "^6.4.0",
Hover actions from extensions, better handling of multiple def providers (#1313) The goal of this PR is to make [basic-code-intel](sourcegraph/sourcegraph-basic-code-intel#9) an awesome experience when you need go-to-definition, hovers, and find-references when browsing code in any language with no configuration. That means that the initial experience of site admins and users will be much better, because they get to see code intelligence with *much* less setup required. This incorporates the codeintellify PR sourcegraph/codeintellify#70. That PR makes it so that codeintellify (which implements our hover tooltip) supports custom actions, instead of hardcoding "Go to definition" and "Find references". This commit makes the web app (and TODO soon the browser extension) make use of that, so that: 1. The "Go to definition" and "Find references" actions work in the same way in the web app and browser extension as all other action buttons. This means those actions are no longer hard-coded in a separate library. 2. These buttons are selectively displayed in a smarter way based on (e.g.) whether there are any registered definition or reference providers for the current document. This fixes the issue where both buttons were always shown if there was a hover, even if the client app knew they would not return anything. 3. The buttons can do smarter things, like opening up the definition panel if there are multiple definitions (instead of just jumping to the 1st definition). 4. Extensions can add their own actions to the hover, such as "Find implementations", "Show history" (eg when a func, or calls to a func, were added/removed in Git history), "Show authors", "Show users", "Show stack traces", etc. (I initially began implementing this so that basic-code-intel could add "Go to definition (fuzzy)" to the hover using (4), but I think that the improvements in (2) and (3) actually make that unnecessary for basic-code-intel. (It's still important to prioritize precise definitions in the panel; that will come soon.) See sourcegraph/sourcegraph-basic-code-intel#9 for the basic-code-intel changes that make use of this new behavior. (Note that there are *no* new extension APIs added in this PR, just improved handling of what already exists.))
2018-12-31 07:54:14 +00:00
"sanitize-html": "^1.20.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"sourcegraph": "link:packages/sourcegraph-extension-api",
"string-score": "^1.0.1",
"symbol-observable": "^1.2.0",
"textarea-caret": "^3.1.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"ts-key-enum": "^2.0.0",
"tslib": "^1.9.3",
"utility-types": "^3.4.1",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"uuid": "^3.2.1",
"webext-domain-permission-toggle": "^0.1.0",
"webextension-polyfill": "^0.4.0",
use single root package.json, do not build intermediate shared code (#936) * remove enterprise workspace (build together with webapp) * remove sourcegraph-extension-api workspace * directly import graphqlschema instead of symlinking * remove unneeded symlink (file now lives in this package) * noEmit on extensions-client-common & refer to graphql schema in webapp only * update paths @sourcegraph/extensions-client-common/{lib => src} * remove unneeded workspace for and deps from extensions-client-common * extensions-client-common compiles * update paths in browser-extensions * webapp compiles with ecc node_modules deleted * compiling after adding back ecc node_modules * root gulpfile working * mv packages/webapp -> web * replace "packages/webapp" with "web" * mv packages/browser-extensions client/browser * remove broken phabricator dev script see https://github.com/sourcegraph/sourcegraph/issues/938 * replace "packages/browser-extensions" with "client/browser" * mv packages/extensions-client-common shared * update paths * yarn.lock for browser ext * update paths to graphqlschema * tslint paths * LinkOrSpan * update gql * client/browser typechecks * client/browser tslint * tsconfig.json combining * rearrange gulpfiles * clean up schema gulp tasks * before linking a lot of deps * webpack build working * more consolidation * add more common deps * almost done w browser ext * WIP just tried adding base.config.ts symlinks true to try to fix the issues where multiple highlight.js caused hovers to fail due to no highlighting, and multiple rxjs type errors (codeintellify and sourcegraph/sourcegraph) showing up only in webpack. hypothesis is that this is due to webpack not resolving symlinks and so "seeing" multiple pkgs. * hovers working, fixed resolve issue, just needed to add rxjs to root package.json * regenerate lockfiles * add browser ext to procfile * add back builds * manually sync contribution.schema.json * import schema json files directly, no copying * update import paths * wip typescript build doc * move enterprise/src/ into src/ for ease of typescript build * wip build doc * wip * use a single root package.json * update yarn.lock * prettier * set up .bin symlinks * prettier * all:typecheck * fix * fix all:typecheck * fix schema output path * add back .bin links * fix link * fix gulpfiles * only include gulpfile in root tsconfig * clean up gulpfiles * generate * fix node_modules paths in webpack * sort * simplify tsconfig * ignore generated files * fix bundlesize paths * fix enterprise build * fix tsconfigs * fix back tsconfigs * fix * TMP * fix path * TIP * WIP * transpileonly in tests because we have already typechecked it * fix browser ext test * remove browser ext from procfile for now * fix enterprise paths
2018-11-12 09:05:35 +00:00
"whatwg-url": "^7.0.0"
}
}