Skip to content

Commit e60751d

Browse files
committed
Add EMPTY_VALUE constant
1 parent a9ce0e5 commit e60751d

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare const EMPTY_VALUE: '<value>'
2+
export = EMPTY_VALUE
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
'use strict'
2+
3+
module.exports = '<value>'

registry/lib/constants/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const props = {
1818
DOT_PACKAGE_LOCK_JSON: '.package-lock.json',
1919
DOT_SOCKET_DIR: '.socket',
2020
EMPTY_FILE: '/* empty */\n',
21+
EMPTY_VALUE: '<value>',
2122
ENV: undefined,
2223
ESLINT_CONFIG_JS: 'eslint.config.js',
2324
ESNEXT: 'esnext',
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare const pnpmExecPath: string | null
2+
export = pnpmExecPath

registry/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@
172172
"types": "./lib/constants/empty-file.d.ts",
173173
"default": "./lib/constants/empty-file.js"
174174
},
175+
"./lib/constants/empty-value": {
176+
"types": "./lib/constants/empty-value.d.ts",
177+
"default": "./lib/constants/empty-value.js"
178+
},
175179
"./lib/constants/env": {
176180
"types": "./lib/constants/env.d.ts",
177181
"default": "./lib/constants/env.js"

0 commit comments

Comments
 (0)