Package Registry: Not displaying my package

Hey gals and guys,

So, I’ve followed this guide to publish a private package, but the package is not being displayed in the Package Registry (however, the releases are being created).

Project path: https://gitlab.com/binnacle-online/uiux

.gitlab-ci.yml

default:

image: node:latest

before_script:

  • npm ci --cache .npm --prefer-offline

  • |

{

echo “@${CI_PROJECT_ROOT_NAMESPACE}:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/”

echo “${CI_API_V4_URL#https?}/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}”

} | tee -a .npmrc

cache:

key: ${CI_COMMIT_REF_SLUG}

paths:

  • .npm/

workflow:

rules:

  • if: $CI_COMMIT_BRANCH

variables:

NPM_TOKEN: ${CI_JOB_TOKEN}

stages:

  • release

publish:

stage: release

script:

  • npm run semantic-release

rules:

  • if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

package.json:

{

“name”: “@binnacle-online/uiux”,

“version”: “1.0.2”,

“private”: true,

“main”: “./index.tsx”,

“files”: [

“./index.tsx”

],

“repository”: {

“type”: “git”,

“url”: “https://gitlab.com/binnacle-online/uiux.git

},

“author”: “Diego Duarte diego.duarte@aztechnologies.mx”,

“dependencies”: {

@testing-library/jest-dom”: “^5.16.5”,

@testing-library/react”: “^13.4.0”,

@testing-library/user-event”: “^13.5.0”,

@types/jest”: “^27.5.2”,

@types/node”: “^16.11.60”,

@types/react”: “^18.0.21”,

@types/react-dom”: “^18.0.6”,

“clsx”: “^1.2.1”,

“daisyui”: “^2.31.0”,

“react”: “^18.2.0”,

“react-dom”: “^18.2.0”,

“react-scripts”: “5.0.1”,

“web-vitals”: “^2.1.4”

},

“scripts”: {

“start”: “react-scripts start”,

“build”: “react-scripts build”,

“test”: “react-scripts test”,

“eject”: “react-scripts eject”,

“storybook”: “start-storybook -p 6006 -s public”,

“build-storybook”: “build-storybook -s public”,

“semantic-release”: “semantic-release”

},

“eslintConfig”: {

“extends”: [

“react-app”,

“react-app/jest”

],

“overrides”: [

{

“files”: [

“**/.stories.

],

“rules”: {

“import/no-anonymous-default-export”: “off”

}

}

]

},

“browserslist”: {

“production”: [

“>0.2%”,

“not dead”,

“not op_mini all”

],

“development”: [

“last 1 chrome version”,

“last 1 firefox version”,

“last 1 safari version”

]

},

“devDependencies”: {

@semantic-release/git”: “^10.0.1”,

@semantic-release/gitlab”: “^9.4.2”,

@semantic-release/npm”: “^9.0.1”,

@storybook/addon-actions”: “^6.5.12”,

@storybook/addon-essentials”: “^6.5.12”,

@storybook/addon-interactions”: “^6.5.12”,

@storybook/addon-links”: “^6.5.12”,

@storybook/builder-webpack5”: “^6.5.12”,

@storybook/manager-webpack5”: “^6.5.12”,

@storybook/node-logger”: “^6.5.12”,

@storybook/preset-create-react-app”: “^4.1.2”,

@storybook/react”: “^6.5.12”,

@storybook/testing-library”: “^0.0.13”,

@typescript-eslint/eslint-plugin”: “^5.38.0”,

@typescript-eslint/parser”: “^5.38.0”,

“autoprefixer”: “^10.4.12”,

“babel-plugin-named-exports-order”: “^0.0.2”,

“postcss”: “^8.4.16”,

“prop-types”: “^15.8.1”,

“semantic-release”: “^19.0.5”,

“tailwindcss”: “^3.1.8”,

“tsconfig-paths-webpack-plugin”: “^4.0.0”,

“typescript”: “^4.8.3”,

“webpack”: “^5.74.0”

},

“publishConfig”: {

“access”: “restricted”

}

}

And you can see, the pipeline succeeds with no errors:

https://gitlab.com/binnacle-online/uiux/-/jobs/3081132053

Hope you can help me,

Regards.