sourcegraph/client/shared
Jason Bedard fc1589106d
bazel - build client/common + client/extension-api-types (#45689)
* bazel: add aspect rules_ts,jest, upgrade rules_js, generate pnpm-lock.yaml

* bazel: add initial typescript rules

* bazel: build client/extension-api-types

* bazel: build client/common
2022-12-15 11:58:45 +01:00
..
dev bazel - build client/common + client/extension-api-types (#45689) 2022-12-15 11:58:45 +01:00
src Code Insights: Split dashboard page into dashboards and all insights tabs (#45004) 2022-12-14 10:19:02 -03:00
.eslintignore JetBrains search box fixes (#35326) 2022-05-18 17:54:23 +02:00
.eslintrc.js [SG-39797] Enable no-console ESLint rule (#40458) 2022-10-03 07:19:17 -07:00
.stylelintrc.json web: integrate @sourcegraph/stylelint-plugin-sourcegraph and ban bootstrap imports (#34956) 2022-05-05 04:27:26 +00:00
babel.config.js Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
BUILD.bazel bazel: move generateGraphQlSchema.js to client/shared/dev and share c… (#45090) 2022-12-05 14:57:02 +01:00
gulpfile.js bazel: move generateGraphQlSchema.js to client/shared/dev and share c… (#45090) 2022-12-05 14:57:02 +01:00
jest.config.js fix types for jest.config.base.js (using @jest/types package) (#24339) 2021-08-26 02:33:21 -07:00
LICENSE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
NOTICE Move all client code into client/ folder (#14480) 2020-10-07 22:23:53 +02:00
package.json [SG-39284] Upgrade yarn to the latest version (#39728) 2022-08-31 20:39:53 -07:00
README.md web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
tsconfig.json [SG-33302] Upgrade all client packages to use the latest version of the JSX transform (#34287) 2022-04-22 12:25:38 +01:00

Shared

This folder contains common TypeScript/React/SCSS client code shared between the browser extension and the web app.

Everything in this folder is code-host agnostic and cannot make assumptions about whether it is running inside the Sourcegraph web app, in the browser extension on GitHub, Gitlab, Phabricator, Bitbucket Server, etc. In particular, components cannot make use of global CSS classes but must accept CSS classes as props and/or have their own code host agnostic SCSS stylesheets. For more details, see Styling UI in the handbook.

Code that is only used in branded contexts (web app, options menu of the browser extension, ...) should go into ../branded instead.