Skip to content

Commit

Permalink
refactor: next
Browse files Browse the repository at this point in the history
BREAKING CHANGE: yes
  • Loading branch information
alexander-akait authored Nov 16, 2021
1 parent 5bdb033 commit 131369b
Show file tree
Hide file tree
Showing 13 changed files with 2,721 additions and 1,916 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10.x, 12.x, 14.x, 16.x, 17.x]
node-version: [12.x, 14.x, 16.x, 17.x]

runs-on: ${{ matrix.os }}

Expand All @@ -79,14 +79,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"

# - name: Use latest NPM on ubuntu/macos
# if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
# run: sudo npm i -g npm
#
# - name: Use latest NPM on windows
# if: matrix.os == 'windows-latest'
# run: npm i -g npm

- name: Install dependencies
run: npm ci

Expand Down
5 changes: 3 additions & 2 deletions declarations/keywords/absolutePath.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export default addAbsolutePathKeyword;
export type Ajv = import("ajv").Ajv;
export type ValidateFunction = import("ajv").ValidateFunction;
export type Ajv = import("ajv").default;
export type SchemaValidateFunction = import("ajv").SchemaValidateFunction;
export type AnySchemaObject = import("ajv").AnySchemaObject;
export type SchemaUtilErrorObject = import("../validate").SchemaUtilErrorObject;
/**
*
Expand Down
8 changes: 4 additions & 4 deletions declarations/validate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ export type JSONSchema6 = import("json-schema").JSONSchema6;
export type JSONSchema7 = import("json-schema").JSONSchema7;
export type ErrorObject = import("ajv").ErrorObject;
export type Extend = {
formatMinimum?: number | undefined;
formatMaximum?: number | undefined;
formatExclusiveMinimum?: boolean | undefined;
formatExclusiveMaximum?: boolean | undefined;
formatMinimum?: string | undefined;
formatMaximum?: string | undefined;
formatExclusiveMinimum?: string | undefined;
formatExclusiveMaximum?: string | undefined;
link?: string | undefined;
};
export type Schema = (JSONSchema4 | JSONSchema6 | JSONSchema7) & Extend;
Expand Down
4,252 changes: 2,507 additions & 1,745 deletions package-lock.json

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"main": "dist/index.js",
"types": "declarations/index.d.ts",
"engines": {
"node": ">= 10.13.0"
"node": ">= 12.13.0"
},
"scripts": {
"start": "npm run build -- -w",
Expand Down Expand Up @@ -45,32 +45,33 @@
"declarations"
],
"dependencies": {
"@types/json-schema": "^7.0.8",
"ajv": "^6.12.5",
"ajv-keywords": "^3.5.2"
"@types/json-schema": "^7.0.9",
"ajv": "^8.8.0",
"ajv-keywords": "^5.0.0",
"ajv-formats": "^2.1.1"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-jest": "^27.3.1",
"cross-env": "^7.0.3",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"del-cli": "^4.0.1",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-import": "^2.25.3",
"husky": "^7.0.4",
"jest": "^27.3.1",
"lint-staged": "^11.2.3",
"lint-staged": "^12.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"standard-version": "^9.3.2",
"typescript": "^4.3.5",
"webpack": "^5.59.1"
"webpack": "^5.64.1"
},
"keywords": [
"webpack"
Expand Down
Loading

0 comments on commit 131369b

Please sign in to comment.