1
0
mirror of synced 2025-12-19 18:10:59 -05:00

last step of #src -> @/ (#57664)

This commit is contained in:
Evan Bonsignori
2025-09-23 12:08:41 -07:00
committed by GitHub
parent e667f51b96
commit f8144087b9
4 changed files with 3 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ import fs from 'fs'
import path from 'path'
import frontmatter from '@gr2m/gray-matter'
import { getLogLevelNumber } from '#src/observability/logger/lib/log-levels.js'
import { getLogLevelNumber } from './src/observability/logger/lib/log-levels.js'
// Replace imports with hardcoded values
const ROOT = process.env.ROOT || '.'

View File

@@ -9,11 +9,6 @@
"url": "https://github.com/github/docs"
},
"type": "module",
"imports": {
"#src/*": {
"default": "./src/*"
}
},
"exports": "./src/frame/server.ts",
"scripts": {
"add-content-type": "tsx src/content-render/scripts/add-content-type.ts",

View File

@@ -8,7 +8,7 @@ import path from 'path'
import { program } from 'commander'
import frontmatter from '@/frame/lib/read-frontmatter'
import walkFiles from '@/workflows/walk-files'
import { contentTypesEnum } from '#src/frame/lib/frontmatter.js'
import { contentTypesEnum } from '@/frame/lib/frontmatter'
import type { MarkdownFrontmatter } from '@/types'
const RESPONSIBLE_USE_STRING = 'responsible-use'

View File

@@ -1,7 +1,7 @@
import cheerio from 'cheerio'
import { describe, expect, test } from 'vitest'
import { renderContent } from '#src/content-render/index'
import { renderContent } from '@/content-render/index'
import { EOL } from 'os'
// Use platform-specific line endings for realistic tests when templates have