isaacscript 2.15.0 → 2.15.1
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/file-templates/static/.vscode/settings.json +2 -10
- package/file-templates/static/check-orphaned-words.sh +5 -1
- package/file-templates/static/cspell.json.template +5 -1
- package/file-templates/static/gitattributes +6 -2
- package/file-templates/static-alt/check-file-updates.sh +3 -1
- package/package.json +2 -2
|
@@ -20,19 +20,11 @@
|
|
|
20
20
|
"files.trimTrailingWhitespace": true,
|
|
21
21
|
|
|
22
22
|
// Configure glob patterns for excluding files and folders in full text searches and quick open.
|
|
23
|
-
// (File extensions must be specified or the glob won't work properly.)
|
|
24
23
|
"search.exclude": {
|
|
25
24
|
"**/*.png": true,
|
|
26
25
|
"**/*.wav": true,
|
|
27
|
-
"dist
|
|
28
|
-
"
|
|
29
|
-
"dist/**/*.map": true,
|
|
30
|
-
"dist/**/*.json": true,
|
|
31
|
-
"dist/**/*.lua": true,
|
|
32
|
-
"node_modules/**/*.ts": true,
|
|
33
|
-
"node_modules/**/*.js": true,
|
|
34
|
-
"node_modules/**/*.json": true,
|
|
35
|
-
"node_modules/**/*.lua": true,
|
|
26
|
+
"**/dist/": true,
|
|
27
|
+
"**/node_modules/": true,
|
|
36
28
|
},
|
|
37
29
|
|
|
38
30
|
// -----------------
|
|
@@ -41,7 +41,11 @@ ONE_OR_MORE_FAILURES=0
|
|
|
41
41
|
set +e
|
|
42
42
|
for LINE in $CSPELL_CONFIG_WORDS; do
|
|
43
43
|
LINE_TRIMMED=$(echo "$LINE" | xargs)
|
|
44
|
-
|
|
44
|
+
grep --line-regexp "$LINE_TRIMMED" "$MISSPELLED_WORDS_PATH" --ignore-case --quiet
|
|
45
|
+
MATCH1=$?
|
|
46
|
+
grep --line-regexp "$LINE_TRIMMED's" "$MISSPELLED_WORDS_PATH" --ignore-case --quiet
|
|
47
|
+
MATCH2=$?
|
|
48
|
+
if [ $MATCH1 != 0 ] && [ $MATCH2 != 0 ]; then
|
|
45
49
|
echo "The following word in the CSpell config is not being used: $LINE_TRIMMED"
|
|
46
50
|
ONE_OR_MORE_FAILURES=1
|
|
47
51
|
fi
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
"files": [
|
|
8
8
|
"**"
|
|
9
9
|
],
|
|
10
|
+
"enableFiletypes": [
|
|
11
|
+
"*"
|
|
12
|
+
],
|
|
13
|
+
"enableGlobDot": true,
|
|
10
14
|
"ignorePaths": [
|
|
11
15
|
"*.anm2",
|
|
12
16
|
"*.pyc",
|
|
@@ -14,8 +18,8 @@
|
|
|
14
18
|
".git/**",
|
|
15
19
|
"dist/**",
|
|
16
20
|
"node_modules/**",
|
|
17
|
-
"mod/**/*.anm2",
|
|
18
21
|
"mod/main.lua",
|
|
22
|
+
"mod/content/rooms/**",
|
|
19
23
|
"mod/resources/rooms/**"
|
|
20
24
|
],
|
|
21
25
|
"words": []
|
|
@@ -8,10 +8,14 @@ pull.rebase=true
|
|
|
8
8
|
# Convert all files to use "\n" line endings.
|
|
9
9
|
* text=auto eol=lf
|
|
10
10
|
|
|
11
|
+
# Specify the file type for some binary files to prevent Git from changing the line endings upon
|
|
12
|
+
# cloning the repository.
|
|
13
|
+
*.png binary
|
|
14
|
+
*.wav binary
|
|
15
|
+
|
|
11
16
|
# Specify the file type for VSCode/TypeScript files.
|
|
17
|
+
# https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
|
|
12
18
|
.vscode/extensions.json linguist-language=JSON-with-Comments
|
|
13
19
|
.vscode/settings.json linguist-language=JSON-with-Comments
|
|
14
|
-
api-extractor.json linguist-language=JSON-with-Comments
|
|
15
20
|
tsconfig.*.json linguist-language=JSON-with-Comments
|
|
16
21
|
tsconfig.json linguist-language=JSON-with-Comments
|
|
17
|
-
typedoc.json linguist-language=JSON-with-Comments
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
|
+
REMOTE_FILE_TEMPLATES_URL="https://raw.githubusercontent.com/IsaacScript/isaacscript/main/packages/isaacscript-cli/file-templates"
|
|
4
|
+
|
|
3
5
|
set -e # Exit on any errors
|
|
4
6
|
|
|
5
7
|
# Get the directory of this script:
|
|
@@ -29,7 +31,7 @@ for FILE_SPECIFICATION in $(cat "$TEMPLATE_FILES_PATH"); do
|
|
|
29
31
|
|
|
30
32
|
echo "Checking for an updated version of: $LOCAL_FILE"
|
|
31
33
|
TMP_FILE_PATH="/tmp/base-file"
|
|
32
|
-
URL="
|
|
34
|
+
URL="$REMOTE_FILE_TEMPLATES_URL/$STATIC_DIRECTORY/$REMOTE_FILE"
|
|
33
35
|
curl "$URL" --output "$TMP_FILE_PATH" --silent --show-error
|
|
34
36
|
if grep "^404: Not Found" "$TMP_FILE_PATH" --silent; then
|
|
35
37
|
echo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.1",
|
|
4
4
|
"description": "A command line tool for managing Isaac mods written in TypeScript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"source-map-support": "^0.5.21",
|
|
43
43
|
"sync-directory": "^5.1.7",
|
|
44
44
|
"tslib": "^2.4.0",
|
|
45
|
-
"typescript-to-lua": "^1.
|
|
45
|
+
"typescript-to-lua": "^1.8.2",
|
|
46
46
|
"update-notifier": "5.1.0",
|
|
47
47
|
"xml2js": "^0.4.23",
|
|
48
48
|
"yaml": "^2.1.1",
|