Skip to content

Commit 879668c

Browse files
Move files from workspace root into resources folder (#3241)
1 parent 7dd0605 commit 879668c

7,218 files changed

Lines changed: 223 additions & 179 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.

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ insert_final_newline = false
2424
# with a line that has trailing white space. Many of our recorded
2525
# tests use strings with trailing white space to represent the final
2626
# document contents. For example
27-
# data/fixtures/recorded/languages/ruby/changeCondition.yml
27+
# resources/fixtures/recorded/languages/ruby/changeCondition.yml
2828
trim_trailing_whitespace = false
2929

3030
[Makefile]

.git-blame-ignore-revs

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

.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

.luarc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
"runtime.version": "Lua 5.1",
33
"diagnostics.ignoredFiles": "Disable",
44
"diagnostics.globals": ["vim", "talon", "it", "describe"],
5-
"workspace.ignoreDir": ["data/playground/lua/", ".luarocks", ".lua", "dist"]
5+
"workspace.ignoreDir": [
6+
"resources/playground/lua/",
7+
".luarocks",
8+
".lua",
9+
"dist"
10+
]
611
}

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
minimum_pre_commit_version: "3.2.0"
22
ci:
33
autoupdate_schedule: monthly
4-
exclude: /vendor/|^data/playground/
4+
exclude: /vendor/|^resources/playground/
55
repos:
66
- repo: meta
77
hooks:
@@ -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
@@ -42,8 +42,8 @@ repos:
4242
# with a line that has trailing white space. Many of our recorded
4343
# tests use strings with trailing white space to represent the final
4444
# document contents. For example
45-
# data/fixtures/recorded/languages/ruby/changeCondition.yml
46-
exclude: ^data/fixtures/recorded/.*/[^/]*\.yml$|\.scope$|/generated/|^patches/
45+
# resources/fixtures/recorded/languages/ruby/changeCondition.yml
46+
exclude: ^resources/fixtures/recorded/.*/[^/]*\.yml$|\.scope$|/generated/|^resources/patches/
4747

4848
- repo: local
4949
hooks:
@@ -67,15 +67,15 @@ repos:
6767
hooks:
6868
- id: format-recorded-tests
6969
name: format-recorded-tests
70-
files: ^data/fixtures/recorded/.*/[^/]*\.yml$
70+
files: ^resources/fixtures/recorded/.*/[^/]*\.yml$
7171
language: system
7272
entry: pnpm transform-recorded-tests
7373

7474
- repo: local
7575
hooks:
7676
- id: check-recorded-test-marks
7777
name: check-recorded-test-marks
78-
files: ^data/fixtures/recorded/.*/[^/]*\.yml$
78+
files: ^resources/fixtures/recorded/.*/[^/]*\.yml$
7979
language: system
8080
entry: pnpm transform-recorded-tests --check-marks
8181

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/packages/lib-engine/src/snippets/vendor/
1313

1414
# We use our own format for our recorded yaml tests to keep them compact
15-
/data/fixtures/recorded/**/*.yml
15+
/resources/fixtures/recorded/**/*.yml
1616

1717
# Anywhere
1818
node_modules/

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
- Main extension code is in `/packages/app-vscode/`
1212
- Engine code is in `/packages/lib-engine/`
13-
- Tests are in `data/fixtures/recorded/`
14-
- Language-specific parsing is defined in the `queries/*.scm` files
13+
- Tests are in `resources/fixtures/recorded` and `resources/fixtures/scopes`
14+
- Language-specific parsing is defined in the `resources/queries/*.scm` files
1515

1616
## Build and Test
1717

@@ -33,7 +33,7 @@ When documenting actions or modifiers:
3333
## Implementation Notes
3434

3535
- Many actions (`drop`, `float`, `puff`) work with both line and non-line targets
36-
- Always check test fixtures in `/data/fixtures/recorded/` to understand behavior
36+
- Always check test fixtures in `/resources/fixtures/recorded` to understand behavior
3737
- Implementation for many actions is in `/packages/lib-engine/src/actions/`
3838
- After running Python scripts or tests, delete any `__pycache__` directories and `.pyc` files created under the repository root.
3939

NOTICE.md

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

0 commit comments

Comments
 (0)