From b7404e44bd4c318f171e486d8774a9ab2bf12b1c Mon Sep 17 00:00:00 2001 From: Tomislav Ivanov <78173711+TIVMOF@users.noreply.github.com> Date: Wed, 15 Apr 2026 16:52:43 +0300 Subject: [PATCH 1/3] Update .npmrc --- codbex-number-generator-data/.npmrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/codbex-number-generator-data/.npmrc b/codbex-number-generator-data/.npmrc index a822756..3bdca56 100644 --- a/codbex-number-generator-data/.npmrc +++ b/codbex-number-generator-data/.npmrc @@ -1,3 +1,2 @@ -registry=https://registry.npmjs.org/ - @codbex:registry=https://npm.pkg.github.com +//npm.pkg.github.com/:_authToken=${NPM_TOKEN} From f1918c465cab5e1cbd49766f2e1ee87b2d8f85c5 Mon Sep 17 00:00:00 2001 From: Nikol Georgieva Date: Wed, 15 Apr 2026 18:59:01 +0300 Subject: [PATCH 2/3] Create README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..255516e --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +#### codbex-number-generator-data + +## Local Development with Docker + +When running this project inside the codbex Atlas Docker image, you must provide authentication for installing dependencies from GitHub Packages. +1. Create a GitHub Personal Access Token (PAT) with `read:packages` scope. +2. Pass `NPM_TOKEN` to the Docker container: + + ``` + docker run \ + -e NPM_TOKEN= \ + --rm -p 80:80 \ + ghcr.io/codbex/codbex-atlas:latest + ``` + +⚠️ **Notes** +- The `NPM_TOKEN` must be available at container runtime. +- This is required even for public packages hosted on GitHub Packages. +- Never bake the token into the Docker image or commit it to source control. From 6a5a29fdd6c606d2c01dcff25b220ebe62918904 Mon Sep 17 00:00:00 2001 From: Nikol Georgieva Date: Wed, 15 Apr 2026 18:59:15 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 255516e..dd28f08 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -#### codbex-number-generator-data - ## Local Development with Docker When running this project inside the codbex Atlas Docker image, you must provide authentication for installing dependencies from GitHub Packages.