mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
refactor: bump minors package versions (#7356)
* refactor: bump minors package versions * fix: dtslint * fix: package install * chore: remove dts * chore: attempt to fix issues with 12 and 14 * chore: remove unneeded package * chore: remove unneeded package * chore: remove unneeded package * chore: try to install on older version * chore: remove build for 12 * fix: sponsors
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
|
||||
node-version: [14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
@@ -36,6 +36,10 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: npm
|
||||
- name: Install dependencies
|
||||
if: matrix.node-version == '14.x'
|
||||
run: npm i
|
||||
- name: Install dependencies
|
||||
if: matrix.node-version != '14.x'
|
||||
run: npm ci
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
@@ -49,12 +53,3 @@ jobs:
|
||||
- name: Dependency Review
|
||||
uses: actions/dependency-review-action@v4
|
||||
if: matrix.node-version == '24.x'
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v4
|
||||
with:
|
||||
languages: javascript
|
||||
queries: security-extended,security-and-quality
|
||||
if: matrix.node-version == '24.x'
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v4
|
||||
if: matrix.node-version == '24.x'
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
run: npm ci
|
||||
- name: Check if sponsors require updates
|
||||
id: sponsors-requires-update
|
||||
run: node ./bin/update-sponsors.js
|
||||
run: node ./bin/sponsors.js
|
||||
- name: Read sponsors.md file content
|
||||
run: |
|
||||
echo 'CONTENT<<EOF' >> $GITHUB_ENV
|
||||
|
||||
Generated
+7614
-33090
File diff suppressed because it is too large
Load Diff
+21
-63
@@ -49,9 +49,8 @@
|
||||
"test:node": "npm run test:mocha",
|
||||
"test:node:coverage": "c8 npm run test:mocha",
|
||||
"test:browser": "npm run test:karma",
|
||||
"test:package": "npm run test:eslint && npm run test:dtslint && npm run test:exports",
|
||||
"test:package": "npm run test:eslint && npm run test:exports",
|
||||
"test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
|
||||
"test:dtslint": "dtslint --localTs node_modules/typescript/lib",
|
||||
"test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
|
||||
"test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
|
||||
"test:karma": "node ./bin/run-karma-tests.js",
|
||||
@@ -67,14 +66,7 @@
|
||||
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
|
||||
"fix": "eslint --fix lib/**/*.js",
|
||||
"prepare": "husky install && npm run prepare:hooks",
|
||||
"prepare:hooks": "npx husky set .husky/commit-msg \"npx commitlint --edit $1\"",
|
||||
"release:dry": "release-it --dry-run --no-npm",
|
||||
"release:info": "release-it --release-version",
|
||||
"release:beta:no-npm": "release-it --preRelease=beta --no-npm",
|
||||
"release:beta": "release-it --preRelease=beta",
|
||||
"release:no-npm": "release-it --no-npm",
|
||||
"release:changelog:fix": "node ./bin/injectContributorsList.js && git add CHANGELOG.md",
|
||||
"release": "release-it"
|
||||
"prepare:hooks": "npx husky set .husky/commit-msg \"npx commitlint --edit $1\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -99,31 +91,29 @@
|
||||
},
|
||||
"homepage": "https://axios-http.com",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.23.9",
|
||||
"@babel/preset-env": "^7.23.9",
|
||||
"@commitlint/cli": "^17.8.1",
|
||||
"@commitlint/config-conventional": "^17.8.1",
|
||||
"@release-it/conventional-changelog": "^5.1.1",
|
||||
"@rollup/plugin-alias": "^5.1.0",
|
||||
"@babel/core": "^7.28.6",
|
||||
"@babel/preset-env": "^7.28.6",
|
||||
"@commitlint/cli": "^20.3.1",
|
||||
"@commitlint/config-conventional": "^20.3.1",
|
||||
"@rollup/plugin-alias": "^5.1.1",
|
||||
"@rollup/plugin-babel": "^5.3.1",
|
||||
"@rollup/plugin-commonjs": "^15.1.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-multi-entry": "^4.1.0",
|
||||
"@rollup/plugin-node-resolve": "^9.0.0",
|
||||
"abortcontroller-polyfill": "^1.7.5",
|
||||
"auto-changelog": "^2.4.0",
|
||||
"body-parser": "^1.20.2",
|
||||
"abortcontroller-polyfill": "^1.7.8",
|
||||
"auto-changelog": "^2.5.0",
|
||||
"body-parser": "^1.20.4",
|
||||
"c8": "^10.1.3",
|
||||
"chalk": "^5.3.0",
|
||||
"chalk": "^5.6.2",
|
||||
"coveralls": "^3.1.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"dev-null": "^0.1.1",
|
||||
"dtslint": "^4.2.1",
|
||||
"es6-promise": "^4.2.8",
|
||||
"eslint": "^8.56.0",
|
||||
"express": "^4.18.2",
|
||||
"eslint": "^8.57.1",
|
||||
"express": "^4.22.1",
|
||||
"formdata-node": "^5.0.1",
|
||||
"formidable": "^2.1.2",
|
||||
"formidable": "^2.1.5",
|
||||
"fs-extra": "^10.1.0",
|
||||
"get-stream": "^3.0.0",
|
||||
"gulp": "^4.0.2",
|
||||
@@ -131,9 +121,9 @@
|
||||
"husky": "^8.0.3",
|
||||
"istanbul-instrumenter-loader": "^3.0.1",
|
||||
"jasmine-core": "^2.99.1",
|
||||
"karma": "^6.3.17",
|
||||
"karma": "^6.4.4",
|
||||
"karma-chrome-launcher": "^3.2.0",
|
||||
"karma-firefox-launcher": "^2.1.2",
|
||||
"karma-firefox-launcher": "^2.1.3",
|
||||
"karma-jasmine": "^1.1.2",
|
||||
"karma-jasmine-ajax": "^0.1.13",
|
||||
"karma-rollup-preprocessor": "^7.0.8",
|
||||
@@ -141,14 +131,13 @@
|
||||
"karma-sauce-launcher": "^4.3.6",
|
||||
"karma-sinon": "^1.0.5",
|
||||
"karma-sourcemap-loader": "^0.3.8",
|
||||
"memoizee": "^0.4.15",
|
||||
"memoizee": "^0.4.17",
|
||||
"minimist": "^1.2.8",
|
||||
"mocha": "^10.3.0",
|
||||
"mocha": "^10.8.2",
|
||||
"multer": "^1.4.4",
|
||||
"pacote": "^20.0.0",
|
||||
"pretty-bytes": "^6.1.1",
|
||||
"release-it": "^15.11.0",
|
||||
"rollup": "^2.79.1",
|
||||
"rollup": "^2.79.2",
|
||||
"rollup-plugin-auto-external": "^2.0.0",
|
||||
"rollup-plugin-bundle-size": "^1.0.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
@@ -173,8 +162,8 @@
|
||||
"unpkg": "dist/axios.min.js",
|
||||
"typings": "./index.d.ts",
|
||||
"dependencies": {
|
||||
"follow-redirects": "^1.15.6",
|
||||
"form-data": "^4.0.4",
|
||||
"follow-redirects": "^1.15.11",
|
||||
"form-data": "^4.0.5",
|
||||
"proxy-from-env": "^1.1.0"
|
||||
},
|
||||
"bundlesize": [
|
||||
@@ -199,37 +188,6 @@
|
||||
"Ben Carp (https://github.com/carpben)"
|
||||
],
|
||||
"sideEffects": false,
|
||||
"release-it": {
|
||||
"git": {
|
||||
"commitMessage": "chore(release): v${version}",
|
||||
"push": true,
|
||||
"commit": true,
|
||||
"tag": true,
|
||||
"requireCommits": false,
|
||||
"requireCleanWorkingDir": false
|
||||
},
|
||||
"github": {
|
||||
"release": true,
|
||||
"draft": true
|
||||
},
|
||||
"npm": {
|
||||
"publish": false,
|
||||
"ignoreVersion": false
|
||||
},
|
||||
"plugins": {
|
||||
"@release-it/conventional-changelog": {
|
||||
"preset": "angular",
|
||||
"infile": "CHANGELOG.md",
|
||||
"header": "# Changelog"
|
||||
}
|
||||
},
|
||||
"hooks": {
|
||||
"before:init": "npm test",
|
||||
"after:bump": "gulp version --bump ${version} && npm run build && npm run test:build:version",
|
||||
"before:release": "npm run release:changelog:fix && git add ./package-lock.json",
|
||||
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
|
||||
}
|
||||
},
|
||||
"commitlint": {
|
||||
"rules": {
|
||||
"header-max-length": [
|
||||
|
||||
Reference in New Issue
Block a user