fix(dependencies): Update dependencies, normalize package scopes to @push.rocks, bump mongodb to v6, adjust tests and add pnpm metadata

This commit is contained in:
2025-08-18 02:25:27 +00:00
parent a40bd67eba
commit 355b9c7aa6
10 changed files with 8290 additions and 4628 deletions

View File

@@ -1,140 +0,0 @@
# gitzone ci_default
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
cache:
paths:
- .npmci_cache/
key: '$CI_BUILD_STAGE'
stages:
- security
- test
- release
- metadata
before_script:
- npm install -g @shipzone/npmci
# ====================
# security stage
# ====================
mirror:
stage: security
script:
- npmci git mirror
only:
- tags
tags:
- lossless
- docker
- notpriv
auditProductionDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci npm prepare
- npmci command npm install --production --ignore-scripts
- npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high --only=prod --production
tags:
- docker
allow_failure: true
auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci npm prepare
- npmci command npm install --ignore-scripts
- npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high --only=dev
tags:
- docker
allow_failure: true
# ====================
# test stage
# ====================
testStable:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
release:
stage: release
script:
- npmci node install stable
- npmci npm publish
only:
- tags
tags:
- lossless
- docker
- notpriv
# ====================
# metadata stage
# ====================
codequality:
stage: metadata
allow_failure: true
only:
- tags
script:
- npmci command npm install -g typescript
- npmci npm prepare
- npmci npm install
tags:
- lossless
- docker
- priv
trigger:
stage: metadata
script:
- npmci trigger
only:
- tags
tags:
- lossless
- docker
- notpriv
pages:
stage: metadata
script:
- npmci node install lts
- npmci command npm install -g @gitzone/tsdoc
- npmci npm prepare
- npmci npm install
- npmci command tsdoc
tags:
- lossless
- docker
- notpriv
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public
allow_failure: true

27
changelog.md Normal file
View File

@@ -0,0 +1,27 @@
# Changelog
## 2025-08-18 - 1.0.9 - fix(dependencies)
Update dependencies, normalize package scopes to @push.rocks, bump mongodb to v6, adjust tests and add pnpm metadata
- Bump mongodb dependency from ^4.6.0 to ^6.18.0 (major upgrade — potential breaking changes)
- Normalize package scopes from @pushrocks/* to @push.rocks/* across code and dependencies
- Replace @gitzone dev tooling with @git.zone equivalents and add @git.zone/tsrun
- Change test script to use tstest with --verbose and update test imports to @git.zone/tstest; adjust sample data import paths
- Add packageManager field for pnpm@10.14.0 and add pnpm-workspace.yaml (onlyBuiltDependencies)
- Remove .gitlab-ci.yml (CI configuration removed)
- Update ts/00_commitinfo_data and mongodump.plugins to use @push.rocks naming
- Minor test harness change: export default tap.start() instead of tap.start()
## 2024-05-29 - 1.0.8 - release
Finalized 1.0.8 with packaging, configuration, and organization updates.
- Update package description.
- Update TypeScript configuration (tsconfig).
- Update npmextra.json githost entries to correct package hosting information.
- Switch to new organization scheme for the project.
## 2022-06-06 - 1.0.1 → 1.0.7 - maintenance
Series of maintenance releases and core fixes across multiple minor version bumps.
- Multiple "fix(core): update" changes applied across versions 1.0.1 through 1.0.7.
- Several version-only commits and routine package bumps. No notable user-facing API changes.

1016
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,16 +9,16 @@
"author": "Lossless GmbH",
"license": "MIT",
"scripts": {
"test": "(tstest test/ --web)",
"test": "(tstest test/ --verbose)",
"build": "(tsbuild --web --allowimplicitany)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^2.0.5",
"@gitzone/tstest": "^1.0.44",
"@pushrocks/smartdata": "^5.0.5",
"@pushrocks/smartmongo": "^2.0.3",
"@pushrocks/tapbundle": "^5.0.3",
"@git.zone/tsbuild": "^2.1.25",
"@git.zone/tsbundle": "^2.0.5",
"@git.zone/tsrun": "^1.3.3",
"@git.zone/tstest": "^2.3.4",
"@push.rocks/smartdata": "^5.0.5",
"@push.rocks/smartmongo": "^2.0.3",
"@types/node": "^17.0.40"
},
"browserslist": [
@@ -37,13 +37,13 @@
"readme.md"
],
"dependencies": {
"@pushrocks/lik": "^6.0.0",
"@pushrocks/smartfile": "^9.0.6",
"@pushrocks/smartjson": "^4.0.6",
"@pushrocks/smartpath": "^5.0.5",
"@pushrocks/smartpromise": "^3.1.7",
"@tsclass/tsclass": "^4.0.3",
"mongodb": "^4.6.0"
"@push.rocks/lik": "^6.0.0",
"@push.rocks/smartfile": "^11.2.7",
"@push.rocks/smartjson": "^5.0.6",
"@push.rocks/smartpath": "^6.0.0",
"@push.rocks/smartpromise": "^4.0.2",
"@tsclass/tsclass": "^9.2.0",
"mongodb": "^6.18.0"
},
"keywords": [
"mongodb",
@@ -61,5 +61,6 @@
"repository": {
"type": "git",
"url": "https://code.foss.global/push.rocks/mongodump.git"
}
},
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748"
}

11672
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

2
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,2 @@
onlyBuiltDependencies:
- esbuild

View File

@@ -1,4 +1,4 @@
import * as smartdata from '@pushrocks/smartdata';
import * as smartdata from '@push.rocks/smartdata';
let db: smartdata.SmartdataDb;

View File

@@ -1,5 +1,5 @@
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
import * as smartmongo from '@pushrocks/smartmongo';
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as smartmongo from '@push.rocks/smartmongo';
import * as mongodump from '../ts/index.js';
import * as sampledata from './sampledata.js';
@@ -36,4 +36,4 @@ tap.test('should stop the smartmongo instance', async () => {
await testSmartMongo.stop();
});
tap.start();
export default tap.start();

View File

@@ -1,8 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
* autocreated commitinfo by @push.rocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/mongodump',
version: '1.0.8',
description: 'a tool to handle dumps of mongodb databases'
name: '@push.rocks/mongodump',
version: '1.0.9',
description: 'A tool to create and manage dumps of MongoDB databases, supporting data export and import.'
}

View File

@@ -6,11 +6,11 @@ export {
}
// pushrocks scope
import * as lik from '@pushrocks/lik';
import * as smartfile from '@pushrocks/smartfile';
import * as smartjson from '@pushrocks/smartjson';
import * as smartpath from '@pushrocks/smartpath';
import * as smartpromise from '@pushrocks/smartpromise';
import * as lik from '@push.rocks/lik';
import * as smartfile from '@push.rocks/smartfile';
import * as smartjson from '@push.rocks/smartjson';
import * as smartpath from '@push.rocks/smartpath';
import * as smartpromise from '@push.rocks/smartpromise';
export {
lik,