Skip to content

Commit

Permalink
deps: update
Browse files Browse the repository at this point in the history
  • Loading branch information
3v0k4 committed Sep 19, 2023
1 parent 46826f2 commit e51f204
Show file tree
Hide file tree
Showing 19 changed files with 13,851 additions and 28,945 deletions.
42,481 changes: 13,752 additions & 28,729 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@
"test:jest": "npm run build && npm run test:ks -w packages/jest-example-test-suite",
"test:cypress": "npm run build && npm run test:ks -w packages/cypress-example-test-suite",
"test:cra": "cd packages/create-react-app-example && npm install && npm run test:ks"
},
"devDependencies": {
"@changesets/cli": "^2.26.1"
}
}
9 changes: 9 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## Unreleased

- Replace `gulp` (and `babel`) with `tsc`
- Update `tsconfig` to target node 18
- Bump `axios` from `^0.27.2` to `^1.5.0`
- Bump `axios-retry` from `^3.2.5` to `^3.7.0`
- Bump `winston` from `^3.7.2` to `^3.10.0`
- Bump `typescript` from `^4.7.3` to `^5.2.2`

## 6.4.0

### Minor Changes
Expand Down
28 changes: 0 additions & 28 deletions packages/core/gulpfile.babel.js

This file was deleted.

42 changes: 18 additions & 24 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"license": "MIT",
"main": "lib/index.js",
"scripts": {
"start": "gulp",
"build": "gulp build",
"start": "tsc --watch",
"build": "rm -rf lib && tsc",
"lint": "npm run eslint:check && npm run prettier:check",
"eslint:check": "eslint . --ext .ts",
"eslint:format": "eslint . --ext .ts --fix",
Expand All @@ -49,30 +49,24 @@
"url": "https://github.com/KnapsackPro/knapsack-pro-js/issues"
},
"dependencies": {
"axios": "^0.27.2",
"axios-retry": "^3.2.5",
"winston": "^3.7.2"
"axios": "^1.5.0",
"axios-retry": "^3.7.0",
"winston": "^3.10.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.10",
"@babel/register": "^7.22.5",
"@types/jest": "^28.1.1",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"del": "^6.1.1",
"eslint": "^7.32.0",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.0.0",
"gulp": "^4.0.2",
"gulp-typescript": "^5.0.1",
"jest": "^28.1.0",
"prettier": "^2.6.2",
"ts-jest": "^28.0.4",
"typescript": "^4.7.3"
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
}
4 changes: 1 addition & 3 deletions packages/core/src/knapsack-pro-api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import axios, { AxiosError, AxiosInstance, AxiosPromise } from 'axios';
import axiosRetry from 'axios-retry';

import {
KnapsackProEnvConfig,
Expand All @@ -9,9 +10,6 @@ import {
import { KnapsackProLogger } from './knapsack-pro-logger';
import { TestFile } from './models';

// eslint-disable-next-line @typescript-eslint/no-var-requires
const axiosRetry = require('axios-retry');

export const getHeaders = ({
clientName,
clientVersion,
Expand Down
10 changes: 3 additions & 7 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"noImplicitAny": true,
"outDir": "lib",
"removeComments": true,
"target": "es5",
"lib": ["es2015", "es2016.array.include"],
"types": ["jest"]
"outDir": "lib"
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
"extends": "../../tsconfig.base.json"
}
2 changes: 1 addition & 1 deletion packages/cypress-example-test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"devDependencies": {
"@knapsack-pro/cypress": "^7.4.0",
"cypress": "^12.15.0"
"cypress": "^13.2.0"
},
"scripts": {
"test": "cypress run",
Expand Down
8 changes: 8 additions & 0 deletions packages/cypress/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

- Replace `gulp` (and `babel`) with `tsc`
- Update `tsconfig` to target node 18
- Bump `glob` from `^8.0.3` to `^10.3.4`
- Bump `minimatch` from `^5.1.0` to `^9.0.3`
- Bump `typescript` from `^4.7.3` to `^5.2.2`

## 7.4.0

- Update @knapsack-pro/core to 6.4.0
Expand Down
41 changes: 0 additions & 41 deletions packages/cypress/gulpfile.babel.js

This file was deleted.

39 changes: 15 additions & 24 deletions packages/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
],
"license": "MIT",
"scripts": {
"start": "gulp",
"build": "gulp build",
"start": "nodemon --ext ts --watch src/ --exec \"npm run build\"",
"build": "rm -rf lib && tsc && chmod u+w lib/knapsack-pro-cypress.js",
"lint": "npm run eslint:check && npm run prettier:check",
"eslint:check": "eslint . --ext .ts",
"eslint:format": "eslint . --ext .ts --fix",
Expand All @@ -59,35 +59,26 @@
},
"dependencies": {
"@knapsack-pro/core": "^6.4.0",
"glob": "^8.1.0",
"minimatch": "^5.1.4",
"glob": "^10.3.4",
"minimatch": "^9.0.3",
"minimist": "^1.2.6",
"uuid": "^9.0.0"
"uuid": "^9.0.1"
},
"peerDependencies": {
"cypress": ">=10.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.10",
"@babel/register": "^7.22.5",
"@types/glob": "^8.0.0",
"@types/jquery": "^3.5.14",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"cypress": "12.15.0",
"del": "^6.1.1",
"eslint": "^7.32.0",
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"cypress": "^13.2.0",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"gulp": "^4.0.2",
"gulp-chmod": "^3.0.0",
"gulp-filter": "^7.0.0",
"gulp-typescript": "^5.0.1",
"prettier": "^2.6.2",
"typescript": "^4.7.3"
"eslint-plugin-prettier": "^5.0.0",
"nodemon": "^3.0.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
}
4 changes: 2 additions & 2 deletions packages/cypress/src/test-files-finder.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import glob = require('glob');
import minimatch = require('minimatch');
import { glob } from 'glob';
import { minimatch } from 'minimatch';

import { KnapsackProLogger, TestFile } from '@knapsack-pro/core';
import { EnvConfig } from './env-config';
Expand Down
10 changes: 3 additions & 7 deletions packages/cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"noImplicitAny": true,
"outDir": "lib",
"removeComments": true,
"target": "es5",
"lib": ["es2015", "es2016.array.include"],
"types": []
"outDir": "lib"
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts"],
"extends": "../../tsconfig.base.json"
}
8 changes: 8 additions & 0 deletions packages/jest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

- Replace `gulp` (and `babel`) with `tsc`
- Update `tsconfig` to target node 18
- Bump `glob` from `^8.0.3` to `^10.3.4`
- Bump `minimatch` from `^5.1.0` to `^9.0.3`
- Bump `typescript` from `^4.7.3` to `^5.2.2`

## 7.4.0

- Update @knapsack-pro/core to 6.4.0
Expand Down
41 changes: 0 additions & 41 deletions packages/jest/gulpfile.babel.js

This file was deleted.

Loading

0 comments on commit e51f204

Please sign in to comment.