Compare commits

..

7 Commits

Author SHA1 Message Date
1730ad07fc fix(ci): upgrade node to v22 and update docs to reflect vitest usage (#55)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m13s
Test / Run Tests (push) Successful in 3m19s
Reviewed-on: #55
2026-01-03 22:25:44 +01:00
6d3fc8f737 feat: add coverage support for testing and update .gitignore 2026-01-03 22:25:26 +01:00
c04c144b33 Add testing script and vitest as a dev dependency in package.json 2026-01-03 22:21:17 +01:00
a14206d32c chore: enforce linux line endings (#57)
All checks were successful
Lint / pre-commit Linting (push) Successful in 54s
Add .gitattributes and .editorconfig to enforce LF line endings. Update devcontainer settings.

Reviewed-on: #57
2026-01-03 21:57:34 +01:00
8e305f9126 fix(deps): update dependency glob to v13 (#40)
All checks were successful
Lint / pre-commit Linting (push) Successful in 45s
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu>
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu>
2025-12-31 19:12:17 +01:00
a7552f74fa fix(deps): update dependency @actions/core to v2 (#41)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m3s
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu>
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu>
2025-12-31 19:05:31 +01:00
3f19a64809 fix: pre-commit hooks should now be installable in dev containers (#56)
All checks were successful
Lint / pre-commit Linting (push) Successful in 51s
Reviewed-on: #56
2025-12-31 18:55:42 +01:00
8 changed files with 48800 additions and 54688 deletions

View File

@@ -20,7 +20,8 @@
], ],
"settings": { "settings": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\n"
} }
} }
}, },

View File

@@ -5,7 +5,7 @@ git config --global --add safe.directory $(pwd)
# In your setup.sh or postCreateCommand # In your setup.sh or postCreateCommand
sudo chown -R node:node /home/node/.cache/ sudo chown -R node:node /home/node/.cache/
sudo chown -R node:node /workspaces/screeps-deploy-action/.git/hooks
# 2. Re-connect Git Hooks # 2. Re-connect Git Hooks
pre-commit install pre-commit install
pre-commit install-hooks pre-commit install-hooks

8
.editorconfig Normal file
View File

@@ -0,0 +1,8 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* text=auto eol=lf

1
.gitignore vendored
View File

@@ -1075,4 +1075,5 @@ FodyWeavers.xsd
*.vsix *.vsix
/node_modules/ /node_modules/
/node_modules/.cache/
/coverage/ /coverage/

45165
dist/index.js vendored

File diff suppressed because one or more lines are too long

860
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,8 +9,8 @@
"build": "ncc build index.js -o dist --external utf-8-validate --external bufferutil" "build": "ncc build index.js -o dist --external utf-8-validate --external bufferutil"
}, },
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^2.0.0",
"glob": "^11.0.1", "glob": "^13.0.0",
"screeps-api": "^1.7.2" "screeps-api": "^1.7.2"
}, },
"devDependencies": { "devDependencies": {