<commit_before>const startVerdaccio = require(`verdaccio`).default
const path = require(`path`)
const fs = require(`fs-extra`)
const _ = require(`lodash`)

const {
  getMonorepoPackageJsonPath,
} = require(`../utils/get-monorepo-package-json-path`)
const { promisifiedSpawn } = require(`../utils/promisified-spawn`)
const { registerCleanupTask } = require(`./cleanup-tasks`)

let VerdaccioInitPromise = null

const verdaccioConfig = {
  storage: path.join(__dirname, `..`, `..`, `verdaccio`, `storage`),
  port: 4873, // default
  web: {
    enable: true,
    title: `gatsby-dev`,
  },
  logs: [{ type: `stdout`, format: `pretty-timestamped`, level: `warn` }],
  packages: {
    "**": {
      access: `$all`,
      publish: `$all`,
      proxy: `npmjs`,
    },
  },
  uplinks: {
    npmjs: {
      url: `https://registry.npmjs.org/`,
    },<commit_msg>fix(gatsby-dev-cli): Persist verdaccio stuff in os.tmpdir (#13251)<commit_after>const startVerdaccio = require(`verdaccio`).default
const path = require(`path`)
const fs = require(`fs-extra`)
const _ = require(`lodash`)
const os = require(`os`)

const {
  getMonorepoPackageJsonPath,
} = require(`../utils/get-monorepo-package-json-path`)
const { promisifiedSpawn } = require(`../utils/promisified-spawn`)
const { registerCleanupTask } = require(`./cleanup-tasks`)

let VerdaccioInitPromise = null

const verdaccioConfig = {
  storage: path.join(os.tmpdir(), `verdaccio`, `storage`),
  port: 4873, // default
  web: {
    enable: true,
    title: `gatsby-dev`,
  },
  logs: [{ type: `stdout`, format: `pretty-timestamped`, level: `warn` }],
  packages: {
    "**": {
      access: `$all`,
      publish: `$all`,
      proxy: `npmjs`,
    },
  },
  uplinks: {
    npmjs: {
      url: `https://registry.npmjs.org/`,
    },
{'fraction_non_alphanumeric': 0.18679458239277652, 'fraction_numerical': 0.007336343115124154, 'mean_word_length': 3.629242819843342, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4439392', 'n_tokens_mistral': 650, 'n_tokens_neox': 624, 'n_words': 119}