mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-01-24 20:04:40 +00:00
Compare commits
3 Commits
tm-http-re
...
apply-pret
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19c052d138 | ||
|
|
169a36a5cb | ||
|
|
d203239f6f |
@@ -6,3 +6,6 @@
|
|||||||
/core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js
|
/core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js
|
||||||
/core/modules/utils/dom/csscolorparser.js
|
/core/modules/utils/dom/csscolorparser.js
|
||||||
/plugins/tiddlywiki/*/files/
|
/plugins/tiddlywiki/*/files/
|
||||||
|
/tmp/
|
||||||
|
/output/
|
||||||
|
|
||||||
10
.prettierignore
Normal file
10
.prettierignore
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Ignore "third party" code whose style we will not change.
|
||||||
|
/boot/sjcl.js
|
||||||
|
/core/modules/utils/base64-utf8/base64-utf8.module.js
|
||||||
|
/core/modules/utils/base64-utf8/base64-utf8.module.min.js
|
||||||
|
/core/modules/utils/diff-match-patch/diff_match_patch.js
|
||||||
|
/core/modules/utils/diff-match-patch/diff_match_patch_uncompressed.js
|
||||||
|
/core/modules/utils/dom/csscolorparser.js
|
||||||
|
/plugins/tiddlywiki/*/files/
|
||||||
|
/tmp/
|
||||||
|
/output/
|
||||||
1
.prettierrc.json
Normal file
1
.prettierrc.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
# test TiddlyWiki5 for tiddlywiki.com
|
# test TiddlyWiki5 for tiddlywiki.com
|
||||||
|
|
||||||
|
# Let Prettier check formatting
|
||||||
|
|
||||||
|
npm run prettier-check || exit 1
|
||||||
|
|
||||||
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
|
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
|
||||||
|
|
||||||
node ./tiddlywiki.js \
|
node ./tiddlywiki.js \
|
||||||
|
|||||||
1882
package-lock.json
generated
Normal file
1882
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,8 @@
|
|||||||
"wiki"
|
"wiki"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^7.32.0"
|
"eslint": "^8.37.0",
|
||||||
|
"prettier": "^2.8.7"
|
||||||
},
|
},
|
||||||
"bundleDependencies": [],
|
"bundleDependencies": [],
|
||||||
"license": "BSD",
|
"license": "BSD",
|
||||||
@@ -32,6 +33,10 @@
|
|||||||
"node": ">=0.8.2"
|
"node": ">=0.8.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ."
|
"lint": "eslint .",
|
||||||
|
"prettier-check": "npx prettier --check .",
|
||||||
|
"prettier-write": "npx prettier --write ."
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user