sourcegraph/package.json

336 lines
11 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": "^v14.15.4",
"yarn": "^1.22.4"
},
"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": "yarn -s run prettier --write=false",
"all:eslint": "dev/foreach-ts-project.sh yarn -s run eslint --quiet",
"all:stylelint": "yarn --cwd client/web run stylelint && yarn --cwd client/shared run stylelint && yarn --cwd client/branded run stylelint && yarn --cwd client/browser run stylelint",
"all:tsgql": "yarn --cwd client/web run tsgql validate -p . --exitOnWarn && yarn --cwd client/shared run tsgql validate -p . --exitOnWarn && yarn --cwd client/browser run tsgql validate -p . --exitOnWarn",
"build-ts": "tsc -b tsconfig.all.json",
"graphql-lint": "graphql-schema-linter cmd/frontend/graphqlbackend/schema.graphql",
"build-web": "yarn --cwd client/web run build",
2020-10-15 10:12:31 +00:00
"watch-web": "yarn --cwd client/web run watch",
2020-08-04 18:54:35 +00:00
"generate": "gulp generate",
"watch-generate": "gulp watchGenerate",
"test": "jest --testPathIgnorePatterns end-to-end regression integration storybook",
"test-integration": "TS_NODE_PROJECT=client/web/src/integration/tsconfig.json NODE_NO_WARNINGS=1 mocha --parallel=$CI --retries=1 ./client/web/src/integration/**/*.test.ts",
2020-07-10 21:15:18 +00:00
"cover-integration": "nyc --hook-require=false yarn test-integration",
"test-e2e": "TS_NODE_PROJECT=client/web/src/end-to-end/tsconfig.json mocha ./client/web/src/end-to-end/end-to-end.test.ts",
"cover-e2e": "nyc --hook-require=false yarn test-e2e",
"storybook": "start-storybook -p 9001 -c .storybook -s ui/assets",
"build-storybook": "build-storybook -c .storybook -s ui/assets",
"cover-storybook": "nyc --hook-require=false yarn jest .storybook/coverage",
"deduplicate": "yarn-deduplicate -s fewer",
"release": "cd dev/release && yarn run release",
"docsite:serve": "./dev/docsite.sh -config doc/docsite.json serve -http=localhost:5080"
},
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"
],
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"extension": [
".tsx",
".ts"
],
"include": [
"client/*/src/**/*.ts?(x)"
],
"exclude": [
"node_modules",
"**/*.d.ts",
"**/*.@(test|story).ts?(x)"
]
},
"jscpd": {
"gitignore": true,
"ignore": [
"**/__snapshots__",
"**/__fixtures__",
"**/*.svg",
"migrations",
"browser/build",
"ui",
"**/assets"
]
},
"devDependencies": {
"@atlassian/aui": "^7.10.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@gql2ts/from-schema": "^1.10.1",
"@gql2ts/language-typescript": "^1.9.0",
"@gql2ts/types": "^1.9.0",
"@graphql-codegen/cli": "^1.19.4",
"@graphql-codegen/typescript": "1.17.9",
"@graphql-codegen/typescript-operations": "1.17.8",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@mermaid-js/mermaid-cli": "^8.7.0",
"@octokit/rest": "^16.36.0",
"@percy/puppeteer": "^1.1.0",
"@pollyjs/adapter": "^5.0.0",
"@pollyjs/core": "^5.0.0",
"@pollyjs/persister-fs": "^5.0.0",
"@slack/web-api": "^5.10.0",
"@sourcegraph/babel-plugin-transform-react-hot-loader-wrapper": "^1.0.0",
"@sourcegraph/eslint-config": "^0.20.19",
"@sourcegraph/prettierrc": "^3.0.3",
"@sourcegraph/stylelint-config": "^1.1.9",
"@sourcegraph/tsconfig": "^4.0.1",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-knobs": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/addon-storyshots": "^6.1.11",
"@storybook/addon-storyshots-puppeteer": "^6.1.11",
"@storybook/addons": "^6.1.11",
"@storybook/components": "^6.1.11",
"@storybook/core": "^6.1.11",
"@storybook/react": "^6.1.11",
"@storybook/theming": "^6.1.11",
"@testing-library/react": "^10.4.8",
"@testing-library/react-hooks": "^3.4.1",
"@types/babel__core": "7.1.12",
"@types/chai": "4.2.14",
"@types/chai-as-promised": "7.1.3",
"@types/chrome": "0.0.127",
"@types/classnames": "2.2.10",
"@types/command-exists": "1.2.0",
"@types/d3-axis": "1.0.12",
"@types/d3-scale": "2.2.0",
"@types/d3-selection": "1.4.1",
"@types/d3-shape": "1.3.2",
"@types/enzyme": "3.10.8",
2020-02-01 08:09:55 +00:00
"@types/expect": "24.3.0",
"@types/fancy-log": "1.3.1",
"@types/got": "9.6.11",
"@types/gulp": "4.0.7",
2020-04-01 15:40:54 +00:00
"@types/he": "1.1.1",
"@types/highlight.js": "9.12.4",
"@types/is-absolute-url": "3.0.0",
"@types/jest": "26.0.20",
"@types/js-cookie": "2.2.6",
"@types/jsdom": "12.2.4",
"@types/lodash": "4.14.167",
"@types/marked": "1.2.1",
"@types/mime-types": "2.1.0",
"@types/mini-css-extract-plugin": "1.2.2",
"@types/mocha": "8.2.0",
"@types/mockdate": "2.0.0",
2021-01-01 08:40:16 +00:00
"@types/mz": "2.7.3",
2020-05-08 15:23:18 +00:00
"@types/node": "13.13.5",
"@types/optimize-css-assets-webpack-plugin": "5.0.1",
"@types/pollyjs__core": "4.3.1",
"@types/pollyjs__persister-fs": "2.0.1",
"@types/puppeteer": "5.4.2",
"@types/react": "17.0.0",
"@types/react-circular-progressbar": "1.0.2",
"@types/react-dom": "16.9.8",
"@types/react-grid-layout": "0.17.2",
"@types/react-hot-loader": "4.1.0",
"@types/react-router": "5.1.10",
"@types/react-router-dom": "5.1.7",
"@types/react-stripe-elements": "6.0.4",
"@types/react-test-renderer": "16.9.2",
"@types/reactstrap": "8.4.2",
"@types/recharts": "1.8.18",
"@types/resize-observer-browser": "0.1.4",
"@types/sanitize-html": "1.23.0",
"@types/semver": "7.3.1",
"@types/shelljs": "0.8.8",
"@types/signale": "1.4.1",
"@types/simmerjs": "0.5.1",
"@types/sinon": "9.0.4",
"@types/socket.io": "2.1.10",
"@types/socket.io-client": "1.4.33",
"@types/textarea-caret": "3.0.0",
"@types/uuid": "8.0.1",
"@types/webpack": "4.41.25",
"@types/webpack-dev-server": "3.11.1",
2019-09-20 20:21:24 +00:00
"abort-controller": "^3.0.0",
"autoprefixer": "^10.2.1",
"babel-jest": "^25.5.1",
"babel-loader": "^8.2.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
"babel-plugin-lodash": "^3.3.4",
"babel-preset-react-app": "^10.0.0",
"browserslist": "^4.12.0",
2020-01-18 16:32:30 +00:00
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
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",
"chalk": "^4.1.0",
"chokidar-cli": "^2.1.0",
"chromatic": "^5.5.0",
"chrome-webstore-upload-cli": "^1.2.0",
"command-exists": "^1.2.9",
"cross-env": "^7.0.2",
"css-loader": "^3.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.4",
"enzyme-to-json": "^3.5.0",
2021-01-04 06:20:35 +00:00
"eslint": "^7.17.0",
"eslint-formatter-lsif": "^1.0.3",
"execa": "^4.0.2",
2018-12-30 08:56:48 +00:00
"fancy-log": "^1.3.3",
"get-port": "^5.1.1",
"googleapis": "^47.0.0",
"gql2ts": "^1.10.1",
"graphql": "^15.4.0",
"graphql-schema-linter": "^2.0.1",
"gulp": "^4.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.5.4",
"jsdom": "^15.2.1",
"json-schema-ref-parser": "^9.0.6",
"json-schema-to-typescript": "^9.1.1",
"latest-version": "^5.1.0",
"license-checker": "^25.0.1",
"message-port-polyfill": "^0.2.0",
"mime-types": "^2.1.28",
"mini-css-extract-plugin": "^1.3.3",
"mocha": "^8.2.1",
"mockdate": "^3.0.2",
"monaco-editor-webpack-plugin": "^1.8.2",
"mz": "^2.7.0",
2019-09-20 20:21:24 +00:00
"node-fetch": "^2.6.0",
"nyc": "^15.1.0",
"open": "^7.0.4",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"p-retry": "^4.2.0",
"p-timeout": "^3.2.0",
"postcss": "^8.2.4",
"postcss-focus-visible": "^5.0.0",
"postcss-loader": "^4.1.0",
"prettier": "^2.1.2",
"puppeteer": "5.5.0",
"puppeteer-firefox": "^0.5.1",
"raw-loader": "^4.0.1",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-hot-loader": "^4.13.0",
"react-test-renderer": "^16.14.0",
"sass": "^1.32.4",
"sass-loader": "^10.1.0",
"shelljs": "^0.8.4",
"signale": "^1.4.0",
2019-05-03 08:40:15 +00:00
"simmerjs": "^0.5.6",
"sinon": "^9.0.2",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0",
"storybook-addon-designs": "^5.4.2",
"storybook-dark-mode": "^1.0.4",
"string-width": "^4.2.0",
"style-loader": "^2.0.0",
2020-12-01 08:30:54 +00:00
"stylelint": "^13.8.0",
"term-size": "^2.2.0",
"terser-webpack-plugin": "^4.2.3",
"thread-loader": "^3.0.1",
"to-string-loader": "^1.1.6",
"ts-graphql-plugin": "^2.1.2",
"ts-morph": "^8.1.0",
"ts-node": "^9.1.0",
"typescript": "^4.1.3",
"utc-version": "^2.0.2",
"web-ext": "^4.2.0",
"webpack": "^4.44.2",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-dev-server": "^3.11.1",
"worker-loader": "^3.0.4",
"yarn-deduplicate": "^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
},
"dependencies": {
"@hot-loader/react-dom": "^16.14.0",
"@reach/accordion": "^0.10.2",
"@reach/dialog": "^0.11.2",
2020-05-14 05:53:56 +00:00
"@reach/listbox": "^0.10.1",
"@reach/menu-button": "0.10.2",
"@sentry/browser": "^5.19.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
"@slimsag/react-shortcuts": "^1.2.1",
"@sourcegraph/codeintellify": "^7.2.0",
"@sourcegraph/extension-api-classes": "^1.1.0",
"@sourcegraph/extension-api-types": "link:client/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",
"bootstrap": "^4.5.2",
"classnames": "^2.2.6",
"comlink": "^4.3.0",
"copy-to-clipboard": "^3.3.1",
"core-js": "^3.8.2",
"d3-axis": "^1.0.12",
"d3-scale": "^3.2.1",
"d3-selection": "^1.4.1",
"d3-shape": "^1.3.7",
"date-fns": "^2.16.1",
2019-11-27 15:15:05 +00:00
"delay": "^4.3.0",
"downshift": "^3.4.8",
"focus-visible": "^5.2.0",
"got": "^11.5.2",
"graphiql": "^1.3.2",
"he": "^1.2.0",
"highlight.js": "^10.5.0",
"highlightjs-graphql": "^1.0.2",
"is-absolute-url": "^3.0.3",
"iterare": "^1.2.1",
"js-cookie": "^2.2.1",
"lodash": "^4.17.20",
"marked": "^1.2.7",
"mdi-react": "^7.3.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",
"monaco-editor": "^0.18.1",
"nice-ticks": "^1.0.1",
"open-color": "^1.8.0",
"pretty-bytes": "^5.3.0",
"react": "^16.14.0",
"react-circular-progressbar": "^2.0.3",
"react-dom": "npm:@hot-loader/react-dom@^16.14.0",
"react-dom-confetti": "^0.1.4",
"react-focus-lock": "^2.4.1",
"react-grid-layout": "^0.18.3",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-stripe-elements": "^6.1.2",
"react-visibility-sensor": "^5.1.1",
"reactstrap": "^8.4.1",
"recharts": "^1.8.5",
"regexpp": "^3.1.0",
"rxjs": "^6.6.3",
"sanitize-html": "^1.26.0",
"semver": "^7.3.2",
"shepherd.js": "^8.0.2",
"sourcegraph": "link:client/packages/sourcegraph-extension-api",
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
"string-score": "^1.0.1",
"tagged-template-noop": "^2.1.1",
"textarea-caret": "^3.1.0",
"ts-key-enum": "^2.0.7",
"tslib": "^2.1.0",
"use-deep-compare-effect": "^1.4.0",
"utility-types": "^3.10.0",
"uuid": "^8.3.0",
"webext-domain-permission-toggle": "^1.0.1",
"webext-patterns": "^0.9.0",
"webextension-polyfill": "^0.6.0"
},
"resolutions": {
"history": "4.5.1",
"cssnano": "4.1.10"
}
}