mirror of
https://github.com/obra/superpowers.git
synced 2026-04-22 01:19:04 +08:00
Bundle brainstorm server dependencies instead of requiring npm install
Vendor node_modules into the repo so the brainstorm server works immediately on fresh plugin installs without needing npm at runtime.
This commit is contained in:
7
skills/brainstorming/scripts/node_modules/is-binary-path/index.js
generated
vendored
Normal file
7
skills/brainstorming/scripts/node_modules/is-binary-path/index.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
const path = require('path');
|
||||
const binaryExtensions = require('binary-extensions');
|
||||
|
||||
const extensions = new Set(binaryExtensions);
|
||||
|
||||
module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
|
||||
Reference in New Issue
Block a user