mirror of
https://github.com/hanzo-studio/studio-desktop.git
synced 2026-10-30 18:54:12 +00:00
* Ignore shims script (hard forked) * Format scripts * Remove redundant code * [Refactor] Remove ternary statement * Add ESM top-level await * Add TS types, clean up * Ignore ESLint warnings in scripts * Remove redundant code * Lint tests * Remove stylistic ESLint rule !array.length is acceptable here. * Ignore ESLint errors on yaml parsing No easy solution here; this is already in the wild. Needs proper reimplementation at some point. * nit * [Refactor] if-else => switch * [Refactor] Remove redundant code * Remove unnecessary use of static class * Annotate remaining low-priority ESLint items * Lint configs * Lint playwright config * nit
9 lines
285 B
JavaScript
9 lines
285 B
JavaScript
// Read the main package.json
|
|
import { createRequire } from 'node:module';
|
|
|
|
/** @type {import('../package.json')} */
|
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
const packageJson = createRequire(import.meta.url)('../package.json');
|
|
|
|
export default packageJson;
|