Skip to content

Commit 80e2e62

Browse files
Created resources folder
1 parent a2a79cb commit 80e2e62

130 files changed

Lines changed: 149 additions & 69 deletions

File tree

Some content is hidden

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

.github/actions/lint-lua-ls/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ runs:
99
- uses: DeterminateSystems/magic-nix-cache-action@v2
1010
- run: nix profile add --accept-flake-config .#lua-language-server
1111
shell: bash
12-
- run: scripts/lint-lua-ls.sh
12+
- run: resources/scripts/lint-lua-ls.sh
1313
shell: bash

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
git config commit.gpgsign true
9595
9696
- name: Push compiled files to cursorless.nvim plugin repo
97-
run: bash -x scripts/deploy-cursorless-nvim.sh ${{ env.STAGING_DIRECTORY }}
97+
run: bash -x resources/scripts/deploy-cursorless-nvim.sh ${{ env.STAGING_DIRECTORY }}
9898

9999
push-cursorless-talon:
100100
name: Push cursorless-talon subrepo
@@ -127,4 +127,4 @@ jobs:
127127
git config commit.gpgsign true
128128
129129
- name: Push cursorless-talon subrepo
130-
run: bash -x scripts/deploy-cursorless-talon.sh
130+
run: bash -x resources/scripts/deploy-cursorless-talon.sh

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: pnpm --color lint
3232

3333
- name: Forbid TODO
34-
run: ./scripts/forbid-todo.sh
34+
run: ./resources/scripts/forbid-todo.sh
3535

3636
build-website:
3737
name: Build Website
@@ -44,7 +44,7 @@ jobs:
4444
uses: ./.github/actions/setup-node
4545

4646
- name: Build website
47-
run: bash -x scripts/build-and-assemble-website.sh
47+
run: bash -x resources/scripts/build-and-assemble-website.sh
4848

4949
test-main:
5050
name: Test
@@ -164,7 +164,7 @@ jobs:
164164
run: pnpm --color -F '!@cursorless/app-web' -F '!@cursorless/app-web-docs' build
165165

166166
- name: Install neovim dependencies
167-
run: bash -x scripts/install-neovim-dependencies.sh
167+
run: bash -x resources/scripts/install-neovim-dependencies.sh
168168

169169
- name: Setup neovim
170170
uses: rhysd/action-setup-vim@v1

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
- id: detect-private-key
3434
- id: end-of-file-fixer
3535
exclude_types: [svg]
36-
exclude: ^patches/.*\.patch$|\.scope$
36+
exclude: ^resources/patches/.*\.patch$|\.scope$
3737
- id: fix-byte-order-marker
3838
- id: forbid-submodules
3939
- id: mixed-line-ending
@@ -43,7 +43,7 @@ repos:
4343
# tests use strings with trailing white space to represent the final
4444
# document contents. For example
4545
# data/fixtures/recorded/languages/ruby/changeCondition.yml
46-
exclude: ^data/fixtures/recorded/.*/[^/]*\.yml$|\.scope$|/generated/|^patches/
46+
exclude: ^data/fixtures/recorded/.*/[^/]*\.yml$|\.scope$|/generated/|^resources/patches/
4747

4848
- repo: local
4949
hooks:

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- Main extension code is in `/packages/app-vscode/`
1212
- Engine code is in `/packages/lib-engine/`
1313
- Tests are in `data/fixtures/recorded/`
14-
- Language-specific parsing is defined in the `queries/*.scm` files
14+
- Language-specific parsing is defined in the `resources/queries/*.scm` files
1515

1616
## Build and Test
1717

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Checkout the [docs](https://www.cursorless.org/docs/) and [videos](https://www.y
2424

2525
And I heard you like GIFs?
2626

27-
![Curly repack ox](assets/images/curlyRepackOx.gif)
28-
![Move arg air and each to after drum](assets/images/moveArgAirAndEachToAfterDrum.gif)
29-
![Chuck tail red pipe slice past end of file](assets/images/chuckTailRedPipeSlicePastEndOfFile.gif)
27+
![Curly repack ox](resources/images/curlyRepackOx.gif)
28+
![Move arg air and each to after drum](resources/images/moveArgAirAndEachToAfterDrum.gif)
29+
![Chuck tail red pipe slice past end of file](resources/images/chuckTailRedPipeSlicePastEndOfFile.gif)
3030

3131
## Installation
3232

eslint.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const disabledTypeCheckConfig: ConfigWithExtends = {
145145
"**/vite.config.ts",
146146
"eslint.config.mts",
147147
"prettier.config.cjs",
148-
"typings/**",
148+
"resources/typings/**",
149149
"**/*.js",
150150
"**/*.mjs",
151151
],

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# https://app.netlify.com/projects/cursorless/deploys
44

55
[build]
6-
command = "./scripts/build-and-assemble-website.sh"
6+
command = "./resources/scripts/build-and-assemble-website.sh"
77
publish = "dist/app-web"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
},
5959
"pnpm": {
6060
"patchedDependencies": {
61-
"@types/nearley@2.11.5": "patches/@types__nearley@2.11.5.patch",
62-
"nearley@2.20.1": "patches/nearley@2.20.1.patch"
61+
"@types/nearley@2.11.5": "resources/patches/@types__nearley@2.11.5.patch",
62+
"nearley@2.20.1": "resources/patches/nearley@2.20.1.patch"
6363
},
6464
"overrides": {
6565
"@swc/helpers": "^0.5.17",

packages/app-neovim/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
22
"extends": "../../tsconfig.base.json",
3-
"include": ["src/**/*.ts", "src/**/*.json", "../../typings/**/*.d.ts"]
3+
"include": [
4+
"src/**/*.ts",
5+
"src/**/*.json",
6+
"../../resources/typings/**/*.d.ts"
7+
]
48
}

0 commit comments

Comments
 (0)