Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/actions/configure-yarn/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# For more information see:
# - https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
# - https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_id

# The action can be referenced in workflows like:
# ./.github/actions/configure-yarn

name: configure-yarn
description: Configures yarn to use the correct version.

runs:
using: 'composite'
steps:
- name: Configure yarn
shell: bash
run: |
npm i -g yarn@1.22.22 corepack
corepack enable
corepack prepare yarn@4.12.0 --activate
yarn --version
yarn config
5 changes: 4 additions & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ jobs:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Configure yarn
uses: ./.github/actions/configure-yarn

- name: Install project dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Validate the commit messages
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "mongo-images",
"version": "1.7.3",
"version": "2.0.0",
"private": true,
"description": "MongoDB docker container image with automation utilities.",
"bugs": "https://github.com/rfprod/mongo/issues",
"repository": "https://github.com/rfprod/mongo",
"license": "MIT",
"author": "rfprod <zoidenmacht@zoho.com> (https://github.com/rfprod)",
"scripts": {
"audit:fix": "rm -rf ./node_module && yarn install --ignore-scripts; npm i --package-lock-only; rm ./yarn.lock; npm audit fix; yarn import; rm -rf ./node_modules ./package-lock.json; yarn install",
"audit:fix": "rm -rf ./node_module && ARN_ENABLE_SCRIPTS=0 yarn install; npm i --package-lock-only; rm ./yarn.lock; npm audit fix; yarn import; rm -rf ./node_modules ./package-lock.json; yarn install",
"docker:build:mongo": "sudo docker build -t webappdb -f .docker/mongo.Dockerfile .",
"docker:debug:mongo": "echo \"CONTAINER_ID environment variable value is $CONTAINER_ID\" & sudo docker exec -it $CONTAINER_ID bash",
"docker:run:mongo": "sudo docker run --rm --name webappdb -it -p 127.0.0.1:27017:27017 webappdb",
Expand Down Expand Up @@ -39,40 +39,40 @@
}
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.33.0",
"@commitlint/cli": "20.2.0",
"@commitlint/config-conventional": "20.2.0",
"@eslint/eslintrc": "3.3.3",
"@eslint/js": "9.39.1",
"@smarttools/eslint-plugin-rxjs": "1.0.22",
"@stylistic/eslint-plugin": "5.2.3",
"@types/node": "24.3.0",
"@types/yargs": "17.0.33",
"@typescript-eslint/eslint-plugin": "8.39.1",
"@typescript-eslint/parser": "8.39.1",
"@stylistic/eslint-plugin": "5.6.1",
"@types/node": "24.10.1",
"@types/yargs": "17.0.35",
"@typescript-eslint/eslint-plugin": "8.48.1",
"@typescript-eslint/parser": "8.48.1",
"commitizen": "4.3.1",
"dotenv": "17.2.1",
"eslint": "9.33.0",
"dotenv": "17.2.3",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jsonc": "2.20.1",
"eslint-plugin-jsonc": "2.21.0",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-unicorn": "60.0.0",
"globals": "16.3.0",
"eslint-plugin-unicorn": "62.0.0",
"globals": "16.5.0",
"husky": "9.1.7",
"jsonc-eslint-parser": "2.4.0",
"mongodb": "6.18.0",
"prettier": "3.6.2",
"jsonc-eslint-parser": "2.4.1",
"mongodb": "7.0.0",
"prettier": "3.7.4",
"rxjs": "7.8.2",
"sort-json": "2.0.1",
"sort-package-json": "3.4.0",
"sort-package-json": "3.5.0",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.9.2",
"typescript-eslint": "8.39.1",
"typescript": "5.9.3",
"typescript-eslint": "8.48.1",
"yargs": "18.0.0"
},
"packageManager": "yarn@1.22.22",
"packageManager": "yarn@4.12.0",
"engines": {
"node": ">=22.18.0",
"npm": ">=10.4.0"
Expand Down
Loading