Skip to content

Update dependencies #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
npx --no-install lint-staged
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test
on: [push, pull_request]
jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- name: Test
run: yarn test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# immutable-array-prototype [![Build Status](https://travis-ci.org/azu/immutable-array-prototype.svg?branch=master)](https://travis-ci.org/azu/immutable-array-prototype)
# immutable-array-prototype [![Actions Status: test](https://github.com/azu/immutable-array-prototype/workflows/test/badge.svg)](https://github.com/azu/immutable-array-prototype/actions?query=workflow%3A"test")

Immutable Array prototype methods.

Expand Down
34 changes: 19 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
"description": "Immutable Array prototype methods.",
"main": "lib/immutable-array-prototype.js",
"scripts": {
"prettier": "prettier \"packages/**/{src,test}/*.{js,ts,tsx}\"",
"publish": "lerna publish --conventional-commits --concurrency 1",
"publish:beta": "lerna publish --npm-tag=beta --conventional-commits --concurrency 1",
"bootstrap": "lerna bootstrap",
"test": "yarn run build && jest",
"build": "lerna run build"
"build": "lerna run build",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"workspaces": [
"packages/*"
],
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --write",
"git add"
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"jest": {
Expand All @@ -46,21 +46,25 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lerna": "^3.18.3",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"lerna": "^6.4.0",
"lint-staged": "^13.1.0",
"prettier": "^2.8.2",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
}
}
8 changes: 4 additions & 4 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"license": "MIT",
"devDependencies": {
"@immutable-array/prototype": "^1.0.4",
"@types/jest": "^24.0.19",
"jest": "^24.9.0",
"nanobench": "^2.1.0",
"ts-jest": "^24.1.0"
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"nanobench": "^3.0.0",
"ts-jest": "^29.0.3"
}
}
13 changes: 6 additions & 7 deletions packages/copy-within/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/copy-within.js",
"types": "lib/copy-within.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/copy-within/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/fill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/fill.js",
"types": "lib/fill.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/fill/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/pop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/pop.js",
"types": "lib/pop.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/pop/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/prototype/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/prototype.js",
"types": "lib/prototype.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand Down Expand Up @@ -51,11 +51,10 @@
"@immutable-array/unshift": "^1.0.4"
},
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/push/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/push.js",
"types": "lib/push.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/push/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/reverse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/reverse.js",
"types": "lib/reverse.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/reverse/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/shift/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/shift.js",
"types": "lib/shift.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/shift/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/sort/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/sort.js",
"types": "lib/sort.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/sort/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/splice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/splice.js",
"types": "lib/splice.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/splice/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
13 changes: 6 additions & 7 deletions packages/unshift/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/unshift.js",
"types": "lib/unshift.d.ts",
"scripts": {
"build": "cross-env NODE_ENV=production tsc -p .",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"prepublish": "npm run --if-present build",
"test": "jest"
Expand All @@ -37,11 +37,10 @@
},
"homepage": "https://github.com/azu/immutable-array-prototype/tree/master/packages/unshift/",
"devDependencies": {
"@types/jest": "^24.0.19",
"@types/node": "^12.11.7",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}
Loading