@makano/rew 1.0.1 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/rew +3 -3
- package/lib/rew/cli/utils.js +1 -1
- package/package.json +1 -1
package/bin/rew
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
const path = require('path');
|
3
3
|
const fs = require('fs');
|
4
|
-
const rew_mod = path.resolve(process.cwd(), 'node_modules/rew');
|
4
|
+
const rew_mod = path.resolve(process.cwd(), 'node_modules/@makano/rew');
|
5
5
|
if(fs.existsSync(rew_mod)){
|
6
|
-
require(
|
6
|
+
require(path.join(rew_mod, 'lib/rew/cli/cli.js'));
|
7
7
|
} else {
|
8
8
|
require('../lib/rew/cli/cli.js');
|
9
|
-
}
|
9
|
+
}
|
package/lib/rew/cli/utils.js
CHANGED
@@ -7,7 +7,7 @@ const { log, logget } = require('./log');
|
|
7
7
|
const { execSync } = require('child_process');
|
8
8
|
const { run } = require('../main');
|
9
9
|
|
10
|
-
const npm_package_name = '@
|
10
|
+
const npm_package_name = '@makano/rew';
|
11
11
|
|
12
12
|
module.exports = {
|
13
13
|
conf(command, fullPath, key, value){
|