This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +8
-17
lines changed Expand file tree Collapse file tree 7 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 2
2
.DS_Store
3
3
node_modules
4
4
* .tgz
5
- scripts /postinstall.js
5
+ scripts /postinstall.js
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ CHANGELOG.md
5
5
* .tgz
6
6
scripts /webpack.config.js
7
7
scripts /installer.js
8
- scripts /winston-mock.js
8
+ scripts /winston-mock.js
Original file line number Diff line number Diff line change @@ -218,9 +218,5 @@ that is being updated otherwise it will seem as though your updates have no effe
218
218
#### Found play-services:9.0.0, but version 9.0.2 is needed..
219
219
Update your Android bits like the issue above and reinstall the android platform in your project.
220
220
221
- #### EEXIST: file already exists, symlink '../mkdirp/bin/cmd.js
222
- This is a race condition in a tool deep down the toolchain, so not the fault of this plugin.
223
- Just rerun the build, it only pops up sometimes.
224
-
225
221
## Credits
226
222
The starting point for this plugin was [ this great Gist] ( https://gist.github.com/jbristowe/c89a7bcae7fc9a035ee7 ) by [ John Bristowe] ( https://github.com/jbristowe ) .
Original file line number Diff line number Diff line change 11
11
}
12
12
},
13
13
"scripts" : {
14
- "bundle-installer" : " webpack --config scripts/webpack.config.js scripts/installer.js scripts/postinstall.js" ,
14
+ "bundle-installer" : " npm install --ignore-scripts && webpack --config scripts/webpack.config.js scripts/installer.js scripts/postinstall.js" ,
15
15
"prepublish" : " npm run bundle-installer" ,
16
- "postinstall" : " node scripts/postinstall.js"
17
16
"postinstall" : " node scripts/postinstall.js" ,
18
17
"config" : " node scripts/postinstall.js config"
19
18
},
46
45
},
47
46
"homepage" : " https://github.com/eddyverbruggen/nativescript-plugin-firebase" ,
48
47
"devDependencies" : {
49
- "prompt" : " ^1.0.0" ,
48
+ "prompt-lite" : " ^0.1.1" ,
49
+ "xcode" : " 0.8.0" ,
50
50
"webpack" : " ~2.1.0-beta.25"
51
- "dependencies" : {
52
- "app-root-path" : " ^2.0.1" ,
53
- "prompt-lite" : " 0.1.1"
54
51
}
55
52
}
Original file line number Diff line number Diff line change 1
1
var fs = require ( 'fs' ) ;
2
2
var path = require ( 'path' ) ;
3
3
var prompt = require ( 'prompt-lite' ) ;
4
- var path = require ( 'path' ) ;
5
- var prompt = require ( 'prompt' ) ;
6
4
7
5
// Default settings for using ios and android with Firebase
8
6
var usingiOS = false , usingAndroid = false ;
@@ -15,7 +13,7 @@ var directories = {
15
13
16
14
console . log ( 'NativeScript Firebase Plugin Installation' ) ;
17
15
18
- var appRoot = require ( 'app-root-path' ) . toString ( ) ;
16
+ var appRoot = "../../" ;
19
17
var pluginConfigPath = path . join ( appRoot , "firebase.nativescript.json" ) ;
20
18
21
19
var config = { } ;
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ module.exports = {
17
17
//pkginfo is unpackable too, but we can replace it with a simple expression
18
18
"pkginfo" : "function(){}"
19
19
}
20
- }
20
+ } ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module.exports.Logger.prototype = {
4
4
cli : function ( ) { } ,
5
5
help : function ( ) { } ,
6
6
input : function ( ) { } ,
7
- error : function ( ) { } ,
7
+ error : function ( ) { }
8
8
} ;
9
9
10
10
module . exports . transports = {
You can’t perform that action at this time.
0 commit comments