Skip to content

Commit 8b509f7

Browse files
committed
chore: cleanup import specifiers etc
1 parent 63e101b commit 8b509f7

File tree

16 files changed

+16
-40
lines changed

16 files changed

+16
-40
lines changed

packages/@repo/package.bundle/.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const path = require('path')
1+
const path = require('node:path')
22

33
const ROOT_PATH = path.resolve(__dirname, '../../..')
44

packages/@repo/package.config/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/block-tools/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/cli/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/codegen/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/diff/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/mutator/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/schema/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/types/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/util/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/@sanity/vision/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../../..')
64

packages/create-sanity/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
2-
const childProcess = require('child_process')
3-
const path = require('path')
2+
const childProcess = require('node:child_process')
3+
const path = require('node:path')
44
const resolvePkg = require('resolve-pkg')
55

66
const args = process.argv.slice(2)

packages/groq/.eslintrc.cjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict'
2-
3-
const path = require('path')
1+
const path = require('node:path')
42

53
const ROOT_PATH = path.resolve(__dirname, '../..')
64

packages/groq/test/define.test.cjs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict'
21
// Integration test for the Node.js CJS runtime
32

43
const {strict: assert} = require('node:assert')

packages/groq/test/groq.test.cjs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
'use strict'
21
// Integration test for the Node.js CJS runtime
32

43
const {strict: assert} = require('node:assert')

scripts/symlinkDependencies.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
**/
99
'use strict'
1010

11-
const fs = require('fs')
12-
const path = require('path')
11+
const fs = require('node:fs')
12+
const path = require('node:path')
1313
const minimist = require('minimist')
1414
const rimraf = require('rimraf')
1515

0 commit comments

Comments
 (0)