File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ import { name as appName } from '../package.json';
20
20
import { name as analyticsName } from '../../../packages/analytics/package.json' ;
21
21
import { name as authName } from '../../../packages/auth/package.json' ;
22
22
import { name as databaseName } from '../../../packages/database/package.json' ;
23
- import { name as functionsName } from '../../../packages/functions/package.json' ;
23
+ import { name as functionsName } from '../../../packages-exp /functions-exp /package.json' ;
24
24
import { name as installationsName } from '../../../packages/installations/package.json' ;
25
25
import { name as messagingName } from '../../../packages/messaging/package.json' ;
26
26
import { name as performanceName } from '../../../packages/performance/package.json' ;
27
27
import { name as remoteConfigName } from '../../../packages/remote-config/package.json' ;
28
28
import { name as storageName } from '../../../packages/storage/package.json' ;
29
29
import { name as firestoreName } from '../../../packages/firestore/package.json' ;
30
- import { name as packageName } from '../../../packages/firebase/package.json' ;
30
+ import { name as packageName } from '../../../packages-exp /firebase-exp /package.json' ;
31
31
32
32
export const PLATFORM_LOG_STRING = {
33
33
[ appName ] : 'fire-core' ,
Original file line number Diff line number Diff line change 15
15
* See the License for the specific language governing permissions and
16
16
* limitations under the License.
17
17
*/
18
+ const path = require ( 'path' ) ;
18
19
19
20
module . exports = {
20
21
extends : '../../config/.eslintrc.js' ,
@@ -23,5 +24,15 @@ module.exports = {
23
24
// to make vscode-eslint work with monorepo
24
25
// https://github.com/typescript-eslint/typescript-eslint/issues/251#issuecomment-463943250
25
26
tsconfigRootDir : __dirname
27
+ } ,
28
+ rules : {
29
+ 'import/no-extraneous-dependencies' : [
30
+ 'error' ,
31
+ {
32
+ 'packageDir' : [ path . resolve ( __dirname , '../../' ) , './' ] ,
33
+ devDependencies : true ,
34
+ peerDependencies : true
35
+ }
36
+ ]
26
37
}
27
38
} ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { _registerComponent } from '@firebase/app-exp' ;
19
- import * as functionsTypes from '@firebase/functions-types-exp' ;
20
19
import { FunctionsService } from './service' ;
21
20
import {
22
21
Component ,
You can’t perform that action at this time.
0 commit comments