This is an automated email from the ASF dual-hosted git repository.

robinv8 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-website.git


The following commit(s) were added to refs/heads/main by this push:
     new c9144d933 chore: remove stray "-" dependency (#361)
c9144d933 is described below

commit c9144d9330ea3028eca6ebac4ca65551b7f01edf
Author: Rich Bowen <[email protected]>
AuthorDate: Mon Nov 16 02:31:48 2026 -0500

    chore: remove stray "-" dependency (#361)
    
    Closes #357
    
    `package.json` listed a dependency named `-` (`"-": "^0.0.1"`), most
    likely
    added by accident. Nothing in the site imports it.
    
    Newer pnpm releases reject `-` as a dependency name
    (`ERR_PNPM_INVALID_DEPENDENCY_NAME`), so `pnpm install` fails for anyone
    not
    on pnpm 9.
    
    This PR:
    
    - Removes `"-"` from `package.json`
    - Removes the three corresponding `-` / `[email protected]` entries from
    `pnpm-lock.yaml`, edited by hand so that no other lockfile entries
    change
    
    Tested:
    
    - `npx pnpm@9 install --frozen-lockfile` succeeds and leaves the
    lockfile unchanged
    - `npx pnpm@9 build` succeeds (en and zh-CN)
---
 package.json   | 1 -
 pnpm-lock.yaml | 8 --------
 2 files changed, 9 deletions(-)

diff --git a/package.json b/package.json
index 30aaee092..d0a9ea38d 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,6 @@
     "contributors": "node ./scripts/contributor.js"
   },
   "dependencies": {
-    "-": "^0.0.1",
     "@crowdin/cli": "3",
     "@docusaurus/core": "3.1.1",
     "@docusaurus/plugin-client-redirects": "^3.1.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 07b80c619..1b877b22c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,9 +8,6 @@ importers:
 
   .:
     dependencies:
-      '-':
-        specifier: ^0.0.1
-        version: 0.0.1
       '@crowdin/cli':
         specifier: '3'
         version: 3.15.0
@@ -126,9 +123,6 @@ importers:
 
 packages:
 
-  '[email protected]':
-    resolution: {integrity: 
sha512-3HfneK3DGAm05fpyj20sT3apkNcvPpCuccOThOPdzz8sY7GgQGe0l93XH9bt+YzibcTIgUAIMoyVJI740RtgyQ==}
-
   '@aashutoshrathi/[email protected]':
     resolution: {integrity: 
sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==}
     engines: {node: '>=0.10.0'}
@@ -5553,8 +5547,6 @@ packages:
 
 snapshots:
 
-  '[email protected]': {}
-
   '@aashutoshrathi/[email protected]': {}
 
   
'@algolia/[email protected](@algolia/[email protected])([email protected])([email protected])':

Reply via email to