Skip to content

Commit 28df3b7

Browse files
committed
Disable yarn zero-install (#45)
This is mainly due to overall tooling support.
1 parent 30d1c71 commit 28df3b7

File tree

472 files changed

+171
-16182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

472 files changed

+171
-16182
lines changed

.dir-locals.el

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
((typescript-mode
2-
. (
3-
(eval . (let ((project-directory (car (dir-locals-find-file default-directory))))
4-
(setq jest-test-command-string "yarn %s jest %s %s")
5-
(setq lsp-eslint-node-path (concat project-directory ".yarn/sdks"))
6-
(setq lsp-clients-typescript-server-args `("--tsserver-path" ,(concat project-directory ".yarn/sdks/typescript/bin/tsserver") "--stdio")))))))
1+
((typescript-mode . ((jest-test-command-string "yarn %s jest %s %s"))))

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[*.{js,json,yml}]
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 2

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v3
14-
14+
- name: Install Dependencies
15+
run: yarn install --frozen-lockfile
1516
- name: Build
1617
run: yarn typedoc --out docs src/index.ts
17-
1818
- name: Deploy
1919
uses: JamesIves/github-pages-deploy-action@v4
2020
with:

.github/workflows/it-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v3
12+
- name: Install Dependencies
13+
run: yarn install --frozen-lockfile
1214
- name: Create k8s Kind Cluster
1315
uses: helm/[email protected]
1416
with:
@@ -19,6 +21,6 @@ jobs:
1921
run: kubectl wait --for=condition=ready pods -n trino-system --all --timeout=120s
2022
- name: Test
2123
run: |
22-
kubectl -n trino-system port-forward svc/trino 8080:8080 > /dev/null &
24+
kubectl -n trino-system port-forward svc/trino 8080:8080 > /dev/null &
2325
sleep 10 # give it a little bit more time to start
2426
yarn test:it --testTimeout=60000

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v3
11+
- name: Install Dependencies
12+
run: yarn install --frozen-lockfile
1113
- name: Lint
1214
run: yarn test:lint
1315
- name: Build

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ docs
1313

1414
# Swap the comments on the following lines if you don't wish to use zero-installs
1515
# Documentation here: https://yarnpkg.com/features/zero-installs
16-
!.yarn/cache
17-
#.pnp.*
16+
#!.yarn/cache
17+
.pnp.*
18+
19+
node_modules

.pnp.cjs

Lines changed: 0 additions & 15141 deletions
This file was deleted.

.pnp.loader.mjs

Lines changed: 0 additions & 271 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"recommendations": [
3-
"arcanis.vscode-zipfs",
43
"dbaeumer.vscode-eslint",
54
"esbenp.prettier-vscode"
65
]
7-
}
6+
}

.vscode/settings.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"search.exclude": {
33
"**/.yarn": true,
4-
"**/.pnp.*": true
54
},
6-
"eslint.nodePath": ".yarn/sdks",
7-
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
8-
"typescript.tsdk": ".yarn/sdks/typescript/lib",
95
"typescript.enablePromptUseWorkspaceTsdk": true,
106
"jest.jestCommandLine": "yarn test:it"
11-
}
7+
}

0 commit comments

Comments
 (0)