Skip to content

Commit

Permalink
Merge branch 'issue-538' into asdadsfljkadsflkjadlk
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Jan 17, 2024
2 parents 1d3e9e6 + 0d2e51f commit 59e7be7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions test/test-project/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM verdaccio/verdaccio:5

# Copy your Verdaccio configuration file to the container
ADD ./verdaccio/conf /verdaccio/conf:z

# Change ownership of the directory without using sudo
USER root
RUN chown -R 100:101 /opt/verdaccio
RUN chmod -R 777 /verdaccio
USER $VERDACCIO_USER_UID
2 changes: 1 addition & 1 deletion test/test-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"^nimma/(.*)": "<rootDir>/../../node_modules/nimma/dist/cjs/$1"
}
}
}
}
2 changes: 1 addition & 1 deletion test/test-project/test-registry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ describe('Integration testing generateFromFile() to make sure the template can b
expect(file).toContain('Dummy example with all spec features included');
expect(console.log).toHaveBeenCalledWith('Using npm registry http://verdaccio:4873 and authorization type //verdaccio:4873:_auth to handle template installation.');
});
});
});
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
storage: ./storage
storage: ../storage
auth:
htpasswd:
file: ./htpasswd
Expand All @@ -10,4 +10,4 @@ packages:
"**":
access: admin
proxy: npmjs
log: { type: stdout, format: pretty, level: debug }
log: { type: stdout, format: pretty, level: debug }
File renamed without changes.

0 comments on commit 59e7be7

Please sign in to comment.