Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lunaria/lunaria.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import { createLunaria } from '@lunariajs/core'
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'
import { Page } from './components.ts'
Expand Down
1 change: 1 addition & 0 deletions modules/build-env.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import type { BuildInfo, EnvType } from '../shared/types'
import { createResolver, defineNuxtModule } from 'nuxt/kit'
import { isCI } from 'std-env'
Expand Down
1 change: 1 addition & 0 deletions modules/security-headers.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import { defineNuxtModule, useNuxt } from 'nuxt/kit'
import { BLUESKY_API } from '#shared/utils/constants'
import { ALL_KNOWN_GIT_API_ORIGINS } from '#shared/utils/git-providers'
Expand Down
1 change: 1 addition & 0 deletions scripts/find-invalid-translations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* eslint-disable no-console */
import process from 'node:process'
import { join } from 'node:path'
import { createI18NReport, type I18NItem } from 'vue-i18n-extract'
import { colors } from './utils/colors.ts'
Expand Down
1 change: 1 addition & 0 deletions scripts/generate-file-tree-sprite.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import type { IconifyJSON } from '@iconify-json/lucide'
import { promises as fs } from 'node:fs'
import { fileURLToPath } from 'node:url'
Expand Down
1 change: 1 addition & 0 deletions scripts/next-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

import { execFileSync } from 'node:child_process'
import process from 'node:process'

function git(...args: string[]): string {
return execFileSync('git', args, { encoding: 'utf-8', stdio: ['pipe', 'pipe', 'pipe'] }).trim()
Expand Down
1 change: 1 addition & 0 deletions scripts/remove-unused-translations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* eslint-disable no-console */
import process from 'node:process'
import { join } from 'node:path'
import { createI18NReport, type I18NItem } from 'vue-i18n-extract'
import { colors } from './utils/colors.ts'
Expand Down
1 change: 1 addition & 0 deletions scripts/unocss-checker.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import type { Dirent } from 'node:fs'
import { glob, readFile } from 'node:fs/promises'
import { resolve } from 'node:path'
Expand Down
1 change: 1 addition & 0 deletions test/unit/modules/security-headers.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import { beforeEach, describe, expect, it, vi } from 'vitest'

const { useNuxt } = vi.hoisted(() => ({
Expand Down
1 change: 1 addition & 0 deletions uno.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import process from 'node:process'
import {
defineConfig,
presetIcons,
Expand Down
Loading