Skip to content

Commit 986661d

Browse files
committed
Move to 'support/' dir
1 parent a29fd85 commit 986661d

File tree

14 files changed

+10
-213
lines changed

14 files changed

+10
-213
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
22-
- name: npm install
23-
run: npm install
22+
- name: Compile
23+
run: npm install && npm run build
2424
- name: Run the linter
2525
run: ./lint

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Ignore hidden Mac OS directory files
22
**/.DS_Store
33
node_modules/
4+
support/dist/

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/dist/
1+
/support/dist/

dist/parse.js

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

dist/sourceLocation.js

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

dist/validateLinks.js

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

dist/watch.js

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

lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu
44

55
validate-links() {
66
echo "validate-links: RUN"
7-
if npm exec -- node dist/validateLinks.js ; then
7+
if npm exec -- node support/dist/validateLinks.js ; then
88
echo validate-links: PASS
99
else
1010
echo validate-links: FAIL

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
"typescript": "^5.8.3"
1111
},
1212
"scripts": {
13+
"build": "tsc -p support/tsconfig.json",
1314
"lint": "./lint",
1415
"lint:fix": "./lint --fix",
1516
"lint:validate-links": "./lint validate-links",
16-
"lint:validate-links:watch": "node dist/watch.js ./lint validate-links",
17-
"lint:watch": "node dist/watch.js ./lint"
17+
"lint:validate-links:watch": "node support/dist/watch.js ./lint validate-links",
18+
"lint:watch": "node support/dist/watch.js ./lint"
1819
}
1920
}
File renamed without changes.

0 commit comments

Comments
 (0)