Skip to content

Commit 787aa48

Browse files
feat(testing): add sandbox script for safe commit testing
- Add labcommitr-sandbox.sh script for isolated testing - Update sandbox directory from .test-temp to .sandbox - Add npm scripts for sandbox management - Update gitignore and tsconfig to exclude sandbox directory
1 parent 64f10a4 commit 787aa48

File tree

4 files changed

+476
-5
lines changed

4 files changed

+476
-5
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ coverage/
3636
*.lcov
3737

3838
# Testing
39-
.test-temp/
39+
.sandbox/
4040
test-results/
41-
scripts/
4241

4342
# npm/yarn/pnpm
4443
npm-debug.log*

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
"format:ci": "pnpm run format:code",
1111
"format:code": "prettier -w \"**/*\" --ignore-unknown --cache",
1212
"version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format",
13-
"test:commit:sandbox": "bash scripts/test-commit-sandbox.sh",
14-
"test:commit:reset": "bash scripts/reset-sandbox.sh"
13+
"test:sandbox": "bash scripts/labcommitr-sandbox.sh",
14+
"test:sandbox:bare": "bash scripts/labcommitr-sandbox.sh --no-config",
15+
"test:sandbox:reset": "bash scripts/labcommitr-sandbox.sh --reset",
16+
"test:sandbox:clean": "bash scripts/labcommitr-sandbox.sh --clean"
1517
},
1618
"type": "module",
1719
"bin": {

0 commit comments

Comments
 (0)