Compare commits

...

10 Commits

Author SHA1 Message Date
cf73ff4a54 10.0.16 2023-06-24 11:20:50 +02:00
788897e765 fix(core): update 2023-06-24 11:20:50 +02:00
7fa3894f6e 10.0.15 2023-06-24 01:26:08 +02:00
afdd654664 fix(core): update 2023-06-24 01:26:08 +02:00
8277e0ca6d 10.0.14 2023-06-23 18:49:56 +02:00
0892c87a68 fix(core): update 2023-06-23 18:49:56 +02:00
841ba2e14d 10.0.13 2023-06-23 18:46:43 +02:00
5b2953bf02 fix(core): update 2023-06-23 18:46:42 +02:00
d3457fd65b 10.0.12 2023-06-23 18:43:50 +02:00
3bf1eafe6b fix(core): update 2023-06-23 18:43:49 +02:00
4 changed files with 13 additions and 8 deletions

View File

@ -4,6 +4,8 @@ on: push
env: env:
IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci
NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}
jobs: jobs:
@ -11,7 +13,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
container: container:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: ${{ env.IMAGE }}
outputs:
dummy: ${{ true }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -28,17 +32,19 @@ jobs:
run: | run: |
npmci command npm config set registry https://registry.npmjs.org npmci command npm config set registry https://registry.npmjs.org
npmci command pnpm audit --audit-level=high --prod npmci command pnpm audit --audit-level=high --prod
continue-on-error: true
- name: Audit development dependencies - name: Audit development dependencies
run: | run: |
npmci command npm config set registry https://registry.npmjs.org npmci command npm config set registry https://registry.npmjs.org
npmci command pnpm audit --audit-level=high --dev npmci command pnpm audit --audit-level=high --dev
continue-on-error: true
test: test:
needs: security needs: security
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: ${{ env.IMAGE }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -60,7 +66,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: ${{ env.IMAGE }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -75,7 +81,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: ${{ env.IMAGE }}
continue-on-error: true continue-on-error: true
steps: steps:

View File

@ -1,7 +1,7 @@
{ {
"name": "@pushrocks/smartfile", "name": "@pushrocks/smartfile",
"private": false, "private": false,
"version": "10.0.11", "version": "10.0.16",
"description": "offers smart ways to work with files in nodejs", "description": "offers smart ways to work with files in nodejs",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartfile', name: '@pushrocks/smartfile',
version: '10.0.11', version: '10.0.16',
description: 'offers smart ways to work with files in nodejs' description: 'offers smart ways to work with files in nodejs'
} }

View File

@ -355,8 +355,7 @@ export const listFileTree = async (
dot: true, dot: true,
}; };
let fileList = await plugins.glob.glob(miniMatchFilter, options);
let fileList = await plugins.glob.glob(miniMatchFilter, options)
if (absolutePathsBool) { if (absolutePathsBool) {
fileList = fileList.map((filePath) => { fileList = fileList.map((filePath) => {
return plugins.path.resolve(plugins.path.join(dirPath, filePath)); return plugins.path.resolve(plugins.path.join(dirPath, filePath));