Code AI platform with Code Search & Cody
Go to file
Quinn Slack 5cd8bf53a6
use swc instead of babel for faster bazel typescript transpilation (#57912)
swc is a very fast TypeScript transpiler.

Instead of using Babel for TypeScript transpilation in Bazel, we now use swc, which is much faster. We still use Babel in Jest (for tests), but in the future we intend to move away from Jest.

See https://docs.aspect.build/rulesets/aspect_rules_ts/docs/transpiler#swc-recommended for more information about using swc in Bazel, and https://swc.rs/ for general information about swc.
2023-11-02 22:49:03 -07:00
.aspect un-hardcode $DISPLAY for e2e tests to support non-headless local e2e test running (#57781) 2023-10-21 11:29:35 -10:00
.buildkite skip pre-command hook for aspect agent queue (#57942) 2023-10-27 12:06:52 +02:00
.github Chore: remove team notification every time "batch" is mentioned (#58050) 2023-11-01 15:45:40 +00:00
.vscode remove gulp (task runner) (#57963) 2023-10-29 12:09:50 -07:00
client use swc instead of babel for faster bazel typescript transpilation (#57912) 2023-11-02 22:49:03 -07:00
cmd squirrel: Do case-insensitive comparison of file extensions (#58069) 2023-11-03 13:35:26 +08:00
dev use swc instead of babel for faster bazel typescript transpilation (#57912) 2023-11-02 22:49:03 -07:00
doc [Cody GA Launch] Improvements to Cody main overview docs page (#58066) 2023-11-02 15:16:52 -07:00
docker-images SCIP ctags: add kinds for Kotlin (#57998) 2023-11-01 07:24:27 -07:00
internal release: sourcegraph@5.2.2 (#58063) 2023-11-02 10:53:56 -06:00
lib ci: add step to run go mod tidy across the code bases (#58011) 2023-10-31 15:04:57 +02:00
migrations add events to allowlist (#58019) 2023-10-31 15:10:56 -04:00
monitoring go mod tidy in monitoring/ (#57966) 2023-10-27 22:41:34 -10:00
schema Add options to configure internal repo handling for GitLab (#57858) 2023-10-31 12:37:08 +00:00
src-tauri Chore: move app scripts out of enterprise (#57388) 2023-10-05 17:52:58 +00:00
testing build: fixup typo in BUILD file no-sandbox tag (#57969) 2023-10-30 14:45:15 +01:00
third_party local: fix issues when cross-compiling syntax-highlighter to produce a container image on Mac machines (#55969) 2023-08-22 12:46:43 +02:00
third-party-licenses chore: update third-party licenses (#57972) 2023-10-30 07:43:37 +00:00
tools/release bzl: rework how we populate the database schemas for migrator (#57591) 2023-10-23 15:40:09 +02:00
ui/assets use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
windows/installer/cody call it "Cody" not "Cody AI" (#56863) 2023-09-21 08:49:02 -05:00
wolfi-images upgrade nodejs to 20.8 (#57910) 2023-10-26 22:25:24 -07:00
wolfi-packages Update ctags epoch (#57874) 2023-10-24 18:08:20 +01:00
.bazel_fix_commands.json bazel: add command sets that uses bazel under the hood (#48460) 2023-03-02 11:31:51 +01:00
.bazelignore bazelignore storybook static files (#57501) 2023-10-10 09:00:30 +09:00
.bazeliskrc chore: upgrade to Aspect CLI 5.8.5 (#57961) 2023-10-30 17:01:58 +02:00
.bazelrc bzl: update skylib, bazellib, rules_js, rules_rust (#57622) 2023-10-16 11:51:29 +00:00
.bazelversion build: upgrade to Bazel 7 pre-release (#57970) 2023-10-31 15:29:14 +02:00
.dockerignore use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
.editorconfig proto: Add editorconfig to ident using two spaces (#57281) 2023-10-03 00:39:42 +00:00
.eslintrc.js Vscode extension: Delete vscode extension package (#58023) 2023-10-31 18:39:30 -03:00
.gitattributes github: show bazel diff again (#54719) 2023-07-07 16:43:45 +00:00
.gitignore use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
.graphqlrc.yml
.hadolint.yaml bump comby version to 1.7.1 (#35830) 2022-05-20 20:12:01 -07:00
.mailmap mailmap: add entries for Eric and Renovate (#50966) 2023-04-25 09:42:22 +02:00
.mocharc.js build: still need BAZEL_BINDIR for webpack_bundle custom rule (#48796) 2023-03-07 20:02:11 -08:00
.npmrc pnpm: remove update notifier message (#51630) 2023-05-10 08:53:39 +02:00
.percy.yml ci: percy defer snapshots upload (#54116) 2023-06-25 18:57:49 -07:00
.pre-commit-config.yaml local: exclude generated files from pre-commit (#57761) 2023-10-20 08:19:40 +00:00
.prettierignore Add back 'ui/assets/' to .prettierignore (#58056) 2023-11-01 21:25:00 +01:00
.stylelintignore rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
.stylelintrc.json web: drop bootstrap depenedency (#41401) 2022-09-07 03:11:26 -07:00
.swcrc use swc instead of babel for faster bazel typescript transpilation (#57912) 2023-11-02 22:49:03 -07:00
.tool-versions upgrade nodejs to 20.8 (#57910) 2023-10-26 22:25:24 -07:00
.trivyignore ci: ignore benign CVE-2021-43816 in prometheus (#31069) 2022-02-11 16:49:10 +00:00
babel.config.jest.js disable frontend code coverage tracking (#57820) 2023-10-23 21:29:40 +00:00
babel.config.js disable frontend code coverage tracking (#57820) 2023-10-23 21:29:40 +00:00
BUILD.bazel use swc instead of babel for faster bazel typescript transpilation (#57912) 2023-11-02 22:49:03 -07:00
CHANGELOG.app.md update code references to "Sourcegraph App" -> "Cody App" (#56747) 2023-09-19 12:31:12 -10:00
CHANGELOG.md Release: deactivate 5.2.2 release (#58081) 2023-11-02 17:22:50 +00:00
CODENOTIFY nix: update pnpm hash (#51512) 2023-05-05 12:51:59 +00:00
CONTRIBUTING.md enterprise: Move last directory out (#57392) 2023-10-05 20:15:40 +00:00
deps.bzl chore: replace tj/assert with testify/assert (#58079) 2023-11-02 16:05:44 +00:00
doc.go
eslint-relative-formatter.js bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
flake.lock nix: upgrade node and pnpm (#58015) 2023-10-31 17:55:55 +02:00
flake.nix nix: upgrade node and pnpm (#58015) 2023-10-31 17:55:55 +02:00
gen.go chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
go.mod chore: replace tj/assert with testify/assert (#58079) 2023-11-02 16:05:44 +00:00
go.sum Bump Zoekt version for configurable index timeout (#58021) 2023-10-31 12:43:54 -07:00
graphql-schema-linter.config.js
jest.config.base.js explicitly import @jest/globals and mocha (#57786) 2023-10-23 21:40:17 +00:00
jest.config.js use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
jest.snapshot-resolver.js bazel: wildcard jest tests (#49282) 2023-03-17 03:38:49 -07:00
LICENSE relicense all paths other than MIT licensed code, client/cody*, jetbrains, VS code, and browser extension to enterprise (#53345) (#53345) 2023-06-13 10:28:11 -07:00
LICENSE.enterprise
linter_deps.bzl bzl: port go compiler directives linter from sg lint to nogo (#54485) 2023-06-30 14:31:15 +02:00
mockgen.temp.yaml repoupdater: Remove endpoints for external services (#57441) 2023-10-09 13:48:07 +00:00
mockgen.test.yaml lib/managedservicesplatform: init MSP runtime, add lib/background from internal/goroutine (#57651) 2023-10-28 03:08:12 +00:00
mockgen.yaml mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
nogo_config.json gitserver: Replace P4Exec endpoint with properly typed and individually tested RPC calls (#57247) 2023-10-09 15:06:49 +02:00
package.json Vscode extension: Delete vscode extension package (#58023) 2023-10-31 18:39:30 -03:00
pnpm-lock.yaml client/web: add telemetry v2 client (#57939) 2023-11-02 08:57:03 -07:00
pnpm-workspace.yaml cody: development branch (#49761) 2023-03-23 20:41:11 +01:00
postcss.config.js
prettier.config.js clean up Cody CSS to increase shareability and improve display in web app (#50279) 2023-04-03 12:29:05 -07:00
README.md relicense all paths other than MIT licensed code, client/cody*, jetbrains, VS code, and browser extension to enterprise (#53345) (#53345) 2023-06-13 10:28:11 -07:00
renovate.json Require approval to run Renovate (#57608) 2023-10-18 20:36:53 +02:00
SECURITY.md
service-catalog.yaml lib/servicecatalog: init to distribute catalog (#46999) 2023-01-26 17:22:27 -08:00
sg.config.yaml client/web: add telemetry v2 client (#57939) 2023-11-02 08:57:03 -07:00
shell.nix nix: upgrade node and pnpm (#58015) 2023-10-31 17:55:55 +02:00
sonar-project.properties Use Buildkite to run Sonarcloud (#54875) 2023-07-21 12:16:03 -04:00
stamp_tags.bzl Switch to OCI/Wolfi based image (#52693) 2023-06-02 12:12:52 +02:00
svgo.config.js Performance: Optimize static SVG assets with SVGO (#26285) 2021-10-27 15:27:36 +01:00
tsconfig.base.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
tsconfig.json Vscode extension: Delete vscode extension package (#58023) 2023-10-31 18:39:30 -03:00
WORKSPACE use swc instead of babel for faster bazel typescript transpilation (#57912) 2023-11-02 22:49:03 -07:00

DocsContributingTwitterDiscord

Build status Scorecard Latest release Discord Contributors


Sourcegraph makes it easy to read, write, and fix code—even in big, complex codebases.

  • Code search: Search all of your repositories across all branches and all code hosts.
  • Code intelligence: Navigate code, find references, see code owners, trace history, and more.
  • Fix and refactor: Roll out large-scale changes to many repositories at once and track big migrations.

Getting started



Development

Refer to the Developing Sourcegraph guide to get started.

Documentation

The doc directory has additional documentation for developing and understanding Sourcegraph:

License

This repository contains primarily non-OSS-licensed files, and some OSS licensed files (for example, IDE extensions). We maintain one repository rather than two separate repositories mainly for development convenience.

See the LICENSE for an explanation of how files are licensed.