Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/move-to-turso-drizzle' into move…
Browse files Browse the repository at this point in the history
…-to-turso-drizzle
  • Loading branch information
FleetAdmiralJakob committed Apr 6, 2024
2 parents c9ada28 + 6c72588 commit 0e47891
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import createJiti from "jiti";
import {fileURLToPath} from "node:url";
import createJiti from 'jiti'
import { fileURLToPath } from 'node:url'
import withBundleAnalyzer from '@next/bundle-analyzer'
import withPWAInit from '@ducanh2912/next-pwa'
import {withAxiom} from 'next-axiom'
import { withAxiom } from 'next-axiom'

const withPWA = withPWAInit({
dest: 'public',
Expand All @@ -16,15 +16,15 @@ const withMyBundleAnalyzer = withBundleAnalyzer({
enabled: process.env.ANALYZE === 'true'
})

const jiti = createJiti(fileURLToPath(import.meta.url));
const jiti = createJiti(fileURLToPath(import.meta.url))

/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
* Importing env files here to validate on build
*/
jiti("./src/env.ts");
jiti("@weatherio/api/env")
jiti('./src/env.ts')
jiti('@weatherio/api/env')

/** @type {import("next").NextConfig} */
const config = withMyBundleAnalyzer(withPWA(
Expand Down
8 changes: 4 additions & 4 deletions tooling/eslint/drizzle.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('eslint').Linter.Config} */
const config = {
extends: ["plugin:drizzle/all"],
plugins: ["drizzle"],
};
extends: ['plugin:drizzle/all'],
plugins: ['drizzle']
}

module.exports = config;
module.exports = config

0 comments on commit 0e47891

Please sign in to comment.