isaacscript 1.1.58 → 1.1.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript",
5
5
  "homepage": "https://isaacscript.github.io/",
6
6
  "bugs": {
@@ -38,7 +38,7 @@
38
38
  "@types/command-exists": "^1.2.0",
39
39
  "@types/figlet": "^1.5.4",
40
40
  "@types/fs-extra": "^9.0.13",
41
- "@types/node": "^16.11.12",
41
+ "@types/node": "^16.11.13",
42
42
  "@types/prompt": "^1.1.2",
43
43
  "@types/source-map-support": "^0.5.4",
44
44
  "@types/update-notifier": "^5.1.0",
@@ -6,6 +6,9 @@ jobs:
6
6
  build_and_lint:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
+ - name: Install xmllint (which the "lint.sh" script uses)
10
+ run: sudo apt-get install libxml2-utils -y
11
+
9
12
  - name: Checkout the repository
10
13
  uses: actions/checkout@v2
11
14
 
@@ -23,9 +23,15 @@ npx eslint --max-warnings 0 src
23
23
  npx cspell --no-progress --no-summary "src/**/*.ts"
24
24
  npx cspell --no-progress --no-summary "mod/metadata.xml"
25
25
 
26
+ # Step 4 - Check for incorrectly formatted XML files
27
+ # (and skip this step if xmllint is not currently installed for whatever reason)
28
+ if ! command -v xmllint &> /dev/null; then
29
+ find "$DIR/mod" -name "*.xml" -print0 | xargs -0 xmllint --noout
30
+ fi
31
+
26
32
  # Step 4 - Check for unused imports
27
33
  # The "--error" flag makes it return an error code of 1 if unused exports are found
28
- # (this starts out disabled by default, but you can uncomment it to find dead code)
34
+ # (this starts out disabled by default, but you can uncomment the following line to find dead code)
29
35
  # npx ts-prune -error
30
36
 
31
37
  echo "Successfully linted in $SECONDS seconds."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript",
5
5
  "homepage": "https://isaacscript.github.io/",
6
6
  "bugs": {
@@ -38,7 +38,7 @@
38
38
  "@types/command-exists": "^1.2.0",
39
39
  "@types/figlet": "^1.5.4",
40
40
  "@types/fs-extra": "^9.0.13",
41
- "@types/node": "^16.11.12",
41
+ "@types/node": "^16.11.13",
42
42
  "@types/prompt": "^1.1.2",
43
43
  "@types/source-map-support": "^0.5.4",
44
44
  "@types/update-notifier": "^5.1.0",