Skip to content

Commit f814408

Browse files
authored
last step of #src -> @/ (#57664)
1 parent e667f51 commit f814408

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from 'fs'
22
import path from 'path'
33

44
import frontmatter from '@gr2m/gray-matter'
5-
import { getLogLevelNumber } from '#src/observability/logger/lib/log-levels.js'
5+
import { getLogLevelNumber } from './src/observability/logger/lib/log-levels.js'
66

77
// Replace imports with hardcoded values
88
const ROOT = process.env.ROOT || '.'

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
"url": "https://github.com/github/docs"
1010
},
1111
"type": "module",
12-
"imports": {
13-
"#src/*": {
14-
"default": "./src/*"
15-
}
16-
},
1712
"exports": "./src/frame/server.ts",
1813
"scripts": {
1914
"add-content-type": "tsx src/content-render/scripts/add-content-type.ts",

src/content-render/scripts/add-content-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import path from 'path'
88
import { program } from 'commander'
99
import frontmatter from '@/frame/lib/read-frontmatter'
1010
import walkFiles from '@/workflows/walk-files'
11-
import { contentTypesEnum } from '#src/frame/lib/frontmatter.js'
11+
import { contentTypesEnum } from '@/frame/lib/frontmatter'
1212
import type { MarkdownFrontmatter } from '@/types'
1313

1414
const RESPONSIBLE_USE_STRING = 'responsible-use'

src/content-render/tests/table-accessibility-labels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import cheerio from 'cheerio'
22
import { describe, expect, test } from 'vitest'
33

4-
import { renderContent } from '#src/content-render/index'
4+
import { renderContent } from '@/content-render/index'
55
import { EOL } from 'os'
66

77
// Use platform-specific line endings for realistic tests when templates have

0 commit comments

Comments
 (0)