From 8586801c3c3ec8bf729b22c06f1711c7beff29c8 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 23 May 2024 13:37:10 -0700 Subject: [PATCH] [meta] rename package and URLs --- LICENSE | 2 +- README.md | 31 ++++++++++++++++--------------- package.json | 17 +++++------------ 3 files changed, 22 insertions(+), 28 deletions(-) diff --git a/LICENSE b/LICENSE index 87081c1..9cfe435 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016 Airbnb +Copyright (c) 2016 Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 420ef53..0dce7da 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # prop-types [![Version Badge][npm-version-svg]][package-url] -[![Build Status][travis-svg]][travis-url] -[![dependency status][deps-svg]][deps-url] -[![dev dependency status][dev-deps-svg]][dev-deps-url] +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] @@ -97,16 +96,18 @@ Since `PropTypes` are typically not included in production builds of React, this ## Tests Clone the repo, `npm install`, `npm run react`, and run `npm test` -[package-url]: https://npmjs.org/package/airbnb-prop-types -[npm-version-svg]: http://versionbadg.es/airbnb/prop-types.svg -[travis-svg]: https://travis-ci.org/airbnb/prop-types.svg -[travis-url]: https://travis-ci.org/airbnb/prop-types -[deps-svg]: https://david-dm.org/airbnb/prop-types.svg -[deps-url]: https://david-dm.org/airbnb/prop-types -[dev-deps-svg]: https://david-dm.org/airbnb/prop-types/dev-status.svg -[dev-deps-url]: https://david-dm.org/airbnb/prop-types#info=devDependencies -[npm-badge-png]: https://nodei.co/npm/airbnb-prop-types.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/airbnb-prop-types.svg +[package-url]: https://npmjs.org/package/prop-types-tools +[npm-version-svg]: http://versionbadg.es/ljharb/prop-types-tools.svg +[deps-svg]: https://david-dm.org/ljharb/prop-types-tools.svg +[deps-url]: https://david-dm.org/ljharb/prop-types-tools +[dev-deps-svg]: https://david-dm.org/ljharb/prop-types-tools/dev-status.svg +[dev-deps-url]: https://david-dm.org/ljharb/prop-types-tools#info=devDependencies +[npm-badge-png]: https://nodei.co/npm/prop-types-tools.png?downloads=true&stars=true +[license-image]: http://img.shields.io/npm/l/prop-types-tools.svg [license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/airbnb-prop-types.svg -[downloads-url]: http://npm-stat.com/charts.html?package=airbnb-prop-types +[downloads-image]: http://img.shields.io/npm/dm/prop-types-tools.svg +[downloads-url]: http://npm-stat.com/charts.html?package=prop-types-tools +[codecov-image]: https://codecov.io/gh/ljharb/prop-types-tools/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/ljharb/prop-types-tools/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/prop-types-tools +[actions-url]: https://github.com/ljharb/prop-types-tools \ No newline at end of file diff --git a/package.json b/package.json index fc952b8..3c47f64 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "airbnb-prop-types", + "name": "prop-types-tools", "version": "2.16.0", - "description": "Custom React PropType validators that we use at Airbnb.", + "description": "Custom React PropType validators", "main": "index.js", "dependencies": { "array.prototype.find": "^2.2.3", @@ -73,7 +73,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/airbnb/prop-types.git" + "url": "git+https://github.com/ljharb/prop-types-tools.git" }, "keywords": [ "react", @@ -90,16 +90,9 @@ }, "license": "MIT", "bugs": { - "url": "https://github.com/airbnb/prop-types/issues" - }, - "homepage": "https://github.com/airbnb/prop-types#readme", - "greenkeeper": { - "//": "nyc and mocha are ignored because they requires node 4+, and we support older than that", - "ignore": [ - "nyc", - "mocha" - ] + "url": "https://github.com/ljharb/prop-types-tools/issues" }, + "homepage": "https://github.com/ljharb/prop-types-tools#readme", "engines": { "node": ">= 0.10" }