Files
teleport/.gitignore
T
Grzegorz Zdunek 620c0a0f9b Switch JS package manager to pnpm (#44167)
* Adjust `package.json`s to pnpm

* Convert resolutions (pnpm doesn't support `**/` syntax)

It also removes resolutions that are no longer relevant.

* Convert `yarn.lock` to `pnpm-lock.yaml` with `pnpm import`

* Always add `e/web/teleport` workspace to the lockfile

* Adjust `jest` to new node_modules structure

* Adjust `storybook` to new node_modules structure

* Replace `toHaveStyleRule` with `toHaveStyle`

`jest-styled-components` package is no longer global, so `toHaveStyleRule` matchers is not recognized by TS.
We use them only in three places, so it's simpler to convert them to `toHaveStyle`.

* Adjust README files

* Adjust GHA workflows

* Adjust build assets

* Remove remaining `yarn` mentions

I don't think anyone uses the debug configuration for electron (and we don't have `start-electron` script for a long time).

* `corepack enable` -> `corepack enable pnpm`

* Automatically enable pnpm when running `make build/teleport`

* Run `pnpm import` again

* Run `pnpm dedupe`

* Add `yarn.lock` to .gitignore

* Link to pnpm installation docs

* Add a better comment for `transformIgnorePatterns`

* Make pattern for `shared` stories more specific

* Change `corepack enable pnpm` in readmes

* Run `pnpm import && pnpm dedupe` again
2024-07-19 09:53:32 +00:00

108 lines
1.2 KiB
Plaintext

# this file gets generated by make
gitref.go
.data
debug
!/lib/srv/debug
!/lib/client/debug
default.etcd
/darwin
# web asset directory
/lib/web/build
# usually release tarballs get in the way
*.gz
*.zip
# editors
.vscode
*.swp
.idea
# Compiled binaries, Object files, Static and Dynamic libs (Shared Objects)
out
build
!/web/packages/build
*.o
*.a
*.so
*.syso
# Folders
_obj
_test
tmp
target/
test-logs/
# Architecture specific extensions/prefixes
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
.bash_history
_testmain.go
*.exe
*.test
*.prof
*.tmp
flymake*
# mkdocs
docs/latest
docs/latest.yaml
# terraform
.terraform
terraform.tfstate
# macOS
**/.DS_Store
# ansible stuff
ssh.config
*.retry
# Code signing certificate for Windows binaries
/windows-signing-cert.pfx
# Build cache and tooling
/build.assets/.cache
/build.assets/tooling/bin/**
# Teleport binaries
/tctl
/teleport
/tsh
# Go workspace files
go.work
go.work.sum
# gogoproto side-effects
/gogogen
node_modules
.air.toml
webassets/
# jest --coverage
coverage
# vite
.swc
web/certs/
# Vagrant
.vagrant
# Files produced by tests
*.avi
# We have switched to pnpm, ignore Yarn lockfile
yarn.lock