diff --git a/packages/cli/.eslintignore b/packages/cli/.eslintignore deleted file mode 100644 index 9b1c8b13..00000000 --- a/packages/cli/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -/dist diff --git a/packages/cli/.eslintrc.json b/packages/cli/.eslintrc.json index 1dfcfc41..6c6b693b 100644 --- a/packages/cli/.eslintrc.json +++ b/packages/cli/.eslintrc.json @@ -1,3 +1,4 @@ { - "extends": ["oclif", "oclif-typescript", "prettier"] + "extends": ["oclif", "oclif-typescript", "prettier"], + "ignorePatterns": ["./dist"] } diff --git a/packages/cli/src/commands/apps/get.ts b/packages/cli/src/commands/apps/get.ts index 3a7d8b48..011e999c 100644 --- a/packages/cli/src/commands/apps/get.ts +++ b/packages/cli/src/commands/apps/get.ts @@ -1,7 +1,7 @@ import { getFirestoreApplicationTransporter, getLocalApplicationTransporter } from '@ensembleui/js-commons' import {Args, Command, Flags} from '@oclif/core' import { get } from 'lodash-es' -import { join } from 'node:path' +import * as path from 'node:path' import { db } from '../../firebase.js' import { getStoredToken, signInWithEmailPassword } from '../../utils.js' @@ -32,7 +32,7 @@ export default class AppsGet extends Command { await signInWithEmailPassword(email, password); const appId = args.id; - const dir = join(process.cwd(), flags.dir ?? appId); + const dir = path.join(process.cwd(), flags.dir ?? appId); try { const firestoreAppTransporter = getFirestoreApplicationTransporter(db); diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 5f589e0d..264d4b2e 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -7,7 +7,8 @@ "strict": true, "target": "es2022", "moduleResolution": "node16", - "skipLibCheck": true + "skipLibCheck": true, + "composite": true }, "include": ["./src/**/*"], "ts-node": { diff --git a/packages/js-commons/.eslintrc.js b/packages/js-commons/.eslintrc.js index 87cfb66d..31c9a167 100644 --- a/packages/js-commons/.eslintrc.js +++ b/packages/js-commons/.eslintrc.js @@ -1,4 +1,4 @@ module.exports = { extends: ["custom/library"], - ignorePatterns: ["tsup.config.ts"], + ignores: ["tsup.config.ts"], };