Skip to content

Commit

Permalink
Merge branch 'release/v1.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelBinpar committed May 4, 2021
2 parents adbb1ed + 62146ff commit d12f4a0
Show file tree
Hide file tree
Showing 7 changed files with 1,987 additions and 6,284 deletions.
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"airbnb",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
"prettier"
],
"settings": {
"react": {
Expand Down
4 changes: 0 additions & 4 deletions .snyk

This file was deleted.

1 change: 0 additions & 1 deletion jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"encoding": "utf8",
"destination": "docs/jsdocs/",
"readme": "./README.md",
"template": "node_modules/better-docs",
"recurse": true,
"verbose": true
}
Expand Down
8,212 changes: 1,963 additions & 6,249 deletions package-lock.json

Large diffs are not rendered by default.

41 changes: 18 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@a2r/fs",
"version": "1.4.1",
"version": "1.5.1",
"description": "A2R file system library",
"main": "./index.js",
"types": "./index.d.ts",
Expand All @@ -10,7 +10,7 @@
"scripts": {
"build": "tsc",
"dev": "NODE_ENV=development ts-node-dev --debug --respawn --transpileOnly ./index.ts",
"upload": "npm run build;cp .snyk ./dist/.snyk;cd dist;npm i;npm publish --access=public;",
"upload": "npm run build;cd dist;npm i;npm publish --access=public;",
"start": "node ./dist/index.js",
"lint": "npx eslint --config ./.eslintrc ./**/*.ts",
"test": "jest",
Expand All @@ -20,9 +20,7 @@
"test-coverage-dev": "NODE_ENV=development jest --coverage --watchAll",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"test-full": "npm run test-clear;npm run build;npm run test;npm run test-coverage;npm run lint;npm audit;npm run docs",
"docs": "jsdoc -c jsdoc.json",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
"docs": "jsdoc -c jsdoc.json"
},
"repository": {
"type": "git",
Expand All @@ -42,27 +40,24 @@
"rimraf": "^3.0.2"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.2",
"@types/jest": "^26.0.23",
"@types/node": "^15.0.1",
"@types/rimraf": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"babel-jest": "^26.3.0",
"better-docs": "^2.3.2",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-jest": "^26.6.3",
"coveralls": "^3.0.11",
"eslint": "^7.10.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.12.0",
"eslint": "^7.25.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.2",
"jest": "^26.4.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"jest": "^26.6.3",
"jsdoc": "^3.6.6",
"snyk": "^1.405.1",
"ts-jest": "^26.4.1",
"ts-node-dev": "^1.0.0-pre.63",
"typescript": "^4.0.3",
"ts-jest": "^26.5.5",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.4",
"wait-for-expect": "^3.0.2"
},
"snyk": true
}
}
8 changes: 4 additions & 4 deletions tools/fs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';
import util from 'util';
import path from 'path';
import * as fs from 'fs';
import * as util from 'util';
import * as path from 'path';
import originalRimraf from 'rimraf';

/**
Expand Down Expand Up @@ -84,7 +84,7 @@ export const ensureDir = async (
options?: fs.MakeDirectoryOptions,
recursive = true,
): Promise<void> => {
await new Promise((resolve, reject): void => {
await new Promise<void>((resolve, reject) => {
fs.mkdir(
folderPath,
{ ...(options || {}), recursive },
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"es2015",
"es2016"
],
"strict": false,
"strict": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"resolveJsonModule": true,
Expand Down

0 comments on commit d12f4a0

Please sign in to comment.