mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +09:00
Move the contents of node_modules/_app into lib/ as there shouldn't be any content in node_modules. This directory is automatically managed and pruned by npm. Add lib/ as a local package in package.json, this allows scripts everywhere to require it's content as "lib/path" instead of relying on local paths. This shadows the StdLib Node.js Bindings package, but I could care less. Change all requires with lib as a local path and _app to use just lib.
69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
|
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
lib-cov
|
|
|
|
# Coverage directory used by tools like istanbul
|
|
coverage
|
|
|
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
.grunt
|
|
|
|
# node-waf configuration
|
|
.lock-wscript
|
|
|
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
|
build/Release
|
|
dist/
|
|
|
|
node_modules/*
|
|
|
|
Factorio*
|
|
/factorio
|
|
/instances
|
|
/sharedMods
|
|
/database
|
|
database/items.db
|
|
config.json
|
|
package-lock.json
|
|
secret-api-token.txt
|
|
mod_cache.json
|
|
static/pictures/spritesheet.js
|
|
static/pictures/spritesheet.png
|
|
static/external
|
|
saves
|
|
|
|
# weird pattern to ignore sharedPlugins except not ignore some core modules
|
|
!sharedPlugins/
|
|
sharedPlugins/*
|
|
!sharedPlugins/inventoryImports/
|
|
!sharedPlugins/UPSdisplay/
|
|
!sharedPlugins/remoteMap/
|
|
!sharedPlugins/remoteCommands/
|
|
!sharedPlugins/researchSync/
|
|
!sharedPlugins/globalChat/
|
|
!sharedPlugins/clusterioMod/
|
|
!sharedPlugins/serverManager/
|
|
sharedPlugins/serverManager/database/*
|
|
sharedPlugins/serverManager/config.json
|
|
sharedPlugins/serverManager/secret-api-token.txt
|
|
!sharedPlugins/scenario_loader/
|
|
sharedPlugins/scenario_loader/scenarios
|
|
!sharedPlugins/statisticsExporter/
|
|
|
|
# File used for marking plugins as disabled
|
|
sharedPlugins/*/DISABLED
|
|
|
|
\.cache-require-paths\.json
|
|
|
|
# IDE
|
|
.idea/
|