Skip to content

Commit

Permalink
Merge pull request #67 from Kibibit/feature/update-deps
Browse files Browse the repository at this point in the history
Feature/update deps
  • Loading branch information
thatkookooguy authored Nov 17, 2024
2 parents 44699a6 + 5df26ad commit 30edde4
Show file tree
Hide file tree
Showing 12 changed files with 8,819 additions and 6,660 deletions.
11,180 changes: 4,578 additions & 6,602 deletions package-lock.json

Large diffs are not rendered by default.

64 changes: 30 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,55 +35,51 @@
"homepage": "https://github.com/Kibibit/kb-hologram#readme",
"dependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"file-type": "^12.4.2",
"fs-extra": "^8.1.0",
"jsdom": "^22.1.0",
"class-validator": "^0.14.1",
"file-type": "^16.5.4",
"fs-extra": "^11.2.0",
"jsdom": "^25.0.1",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"puppeteer": "^21.3.8",
"moment": "^2.30.1",
"puppeteer": "^23.8.0",
"svg2png": "^4.1.1"
},
"devDependencies": {
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@kibibit/test-report-now": "^1.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.0.0",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.1",
"@semantic-release/npm": "^11.0.0",
"@semantic-release/release-notes-generator": "^12.0.0",
"@types/file-type": "^10.9.1",
"@types/fs-extra": "^8.0.1",
"@types/handlebars": "^4.1.0",
"@types/jest-image-snapshot": "^6.2.2",
"@types/jsdom": "^21.1.4",
"@types/lodash": "^4.14.200",
"@types/moment": "^2.13.0",
"@types/node": "^20.8.7",
"@types/puppeteer": "^5.4.7",
"@types/semantic-release": "^20.0.4",
"@types/svg2png": "^4.1.4",
"@semantic-release/github": "^11.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"@types/fs-extra": "^11.0.4",
"@types/jest-image-snapshot": "^6.4.0",
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.17.13",
"@types/node": "^22.9.0",
"@types/semantic-release": "^20.0.6",
"@types/svg2png": "^4.1.5",
"barrelsby": "^2.8.1",
"commitizen": "^4.3.0",
"commitizen": "^4.3.1",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"depcheck": "^1.4.7",
"husky": "^8.0.3",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-github-reporter": "^1.1.1",
"jest-image-snapshot": "^6.2.0",
"jest-stare": "^2.5.1",
"semantic-release": "22.0.5",
"semantic-release-cli": "^5.4.4",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"jest-image-snapshot": "^6.4.0",
"jest-stare": "^2.5.2",
"semantic-release": "24.2.0",
"semantic-release-cli": "^5.4.6",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
"typescript": "^5.6.3"
},
"jest": {
"coverageReporters": [
Expand Down
1 change: 1 addition & 0 deletions simple-server/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Binary file added simple-server/Comfortaa-Regular.ttf
Binary file not shown.
40 changes: 40 additions & 0 deletions simple-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Use a Node.js base image
FROM node:20

# Set the working directory inside the container
WORKDIR /usr/src/app

# Install Chromium dependencies
RUN apt-get update && apt-get install -y \
ca-certificates \
fonts-liberation \
libappindicator3-1 \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libcups2 \
libdbus-1-3 \
libgbm1 \
libnspr4 \
libnss3 \
libxcomposite1 \
libxrandr2 \
xdg-utils \
--no-install-recommends && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Install Puppeteer and its dependencies
RUN npm install puppeteer

# Copy the application files to the container
COPY package*.json ./
COPY . .

# Install application dependencies
RUN npm install

# Expose the API port
EXPOSE 3000

# Run the server
CMD ["node", "dist/simple-server.js"]
Loading

0 comments on commit 30edde4

Please sign in to comment.