Skip to content

Commit 6be59df

Browse files
committed
chore(ci): fix lint issues
1 parent d4ab173 commit 6be59df

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build:ts": "run-p build:ts:*",
1919
"build:ts:cjs": "tsc --target es5 --outDir build/cjs --module commonjs",
2020
"build:ts:esm": "tsc --target es5 --outDir build/esm --module esnext",
21-
"build:pkg": "ts-node src/make-pkg.ts > build/package.json",
21+
"build:pkg": "ts-node -T src/make-pkg.ts > build/package.json",
2222
"build": "run-s build:{clean,ts,pkg}",
2323
"docs:clean": "rimraf docs",
2424
"docs:gen": "typedoc --out docs --module esnext --ignoreCompilerErrors --excludePrivate --excludeExternals --theme markdown --mode file --entrypoint Analytics --gitRevision master",

packages/core/src/make-pkg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const { version } = require('../package.json')
1+
import { version } from '../package.json'
22

33
console.log(JSON.stringify({ version }))

packages/core/src/modules.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
declare module '*.json'
12
declare module 'react-native' {
23
export namespace NativeModules.RNAnalytics {
34
export interface Configuration {

0 commit comments

Comments
 (0)