Skip to content

Commit

Permalink
Merge branch 'main' into add-cssnano
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen authored May 6, 2024
2 parents b3ad0c9 + 11b4d95 commit 233a249
Show file tree
Hide file tree
Showing 26 changed files with 960 additions and 1,212 deletions.
19 changes: 19 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,25 @@
"bug",
"code"
]
},
{
"login": "rishabh3112",
"name": "Rishabh Chawla",
"avatar_url": "https://avatars.githubusercontent.com/u/15812317?v=4",
"profile": "https://rishabhchawla.co",
"contributions": [
"bug",
"code"
]
},
{
"login": "Nthalk",
"name": "Carl Taylor",
"avatar_url": "https://avatars.githubusercontent.com/u/174297?v=4",
"profile": "https://github.com/Nthalk",
"contributions": [
"code"
]
}
]
}
98 changes: 0 additions & 98 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
55 changes: 31 additions & 24 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,47 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:

build-windows:
runs-on: windows-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: node --unhandled-rejections=strict src/cli.js
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn
- run: node --unhandled-rejections=strict src/cli.js

build-ubuntu:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: node --unhandled-rejections=strict src/cli.js
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
- run: node --unhandled-rejections=strict src/cli.js

build-macOS:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn
- run: yarn build
- run: node --unhandled-rejections=strict src/cli.js
28 changes: 28 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- main

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: node
package-name: envinfo
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: yarn && yarn build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
!__tests__/packages/**/node_modules
.DS_Store
.idea/
dist/
11 changes: 11 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

tasks:
- init: yarn install && yarn run build
command: yarn run start


10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Changelog

## [7.13.0](https://www.github.com/tabrindle/envinfo/compare/v7.12.0...v7.13.0) (2024-04-29)


### Features

* add openssl support ([#255](https://www.github.com/tabrindle/envinfo/issues/255)) ([299bd3f](https://www.github.com/tabrindle/envinfo/commit/299bd3f6b365103651e2323351247d3fed583162))


### Bug Fixes

* be more tolerant when detecting Android Studio IDE on OSX ([#252](https://www.github.com/tabrindle/envinfo/issues/252)) ([eb9e5de](https://www.github.com/tabrindle/envinfo/commit/eb9e5de59310a78ccb24daa088e2695b32e48c28))

## [7.12.0](https://www.github.com/tabrindle/envinfo/compare/v7.11.1...v7.12.0) (2024-04-06)


### Features

* add docker-compose ([#253](https://www.github.com/tabrindle/envinfo/issues/253)) ([d1861f0](https://www.github.com/tabrindle/envinfo/commit/d1861f07991e8c4a154e9e0d4dc200be9ff36f79))
* update to webpack5 ([#248](https://www.github.com/tabrindle/envinfo/issues/248)) ([4715340](https://www.github.com/tabrindle/envinfo/commit/4715340388023be122c52a395def8b01815e5e4f))


### Bug Fixes

* delete old CI ([#247](https://www.github.com/tabrindle/envinfo/issues/247)) ([6ae3cda](https://www.github.com/tabrindle/envinfo/commit/6ae3cda9744342182f4e74fd7284bcc0d5536d20))

### [7.11.1](https://www.github.com/tabrindle/envinfo/compare/v7.11.0...v7.11.1) (2024-02-02)


### Bug Fixes

* add @playwright/ to playwright preset ([#245](https://www.github.com/tabrindle/envinfo/issues/245)) ([08802a0](https://www.github.com/tabrindle/envinfo/commit/08802a080675d33f45d7a9f7712d348600f8e257))

## [7.11.0](https://www.github.com/tabrindle/envinfo/compare/v7.10.0...v7.11.0) (2023-11-01)


### Features

* add bun in binaries ([#240](https://www.github.com/tabrindle/envinfo/issues/240)) ([d7db2a3](https://www.github.com/tabrindle/envinfo/commit/d7db2a3504d4e0fa66c9fda028e895c088cb864b))


### Bug Fixes

* Windows 11 information ([#242](https://www.github.com/tabrindle/envinfo/issues/242)) ([5330fb2](https://www.github.com/tabrindle/envinfo/commit/5330fb2b970e52de8875824fcd739da1be5e2b11))

## [7.10.0](https://www.github.com/tabrindle/envinfo/compare/v7.9.0...v7.10.0) (2023-06-27)


### Features

* add auto release ([#207](https://www.github.com/tabrindle/envinfo/issues/207)) ([fc7585c](https://www.github.com/tabrindle/envinfo/commit/fc7585cf8c7046a03efc056c931ca13561801544))
* add pnpm function in binaries ([#224](https://www.github.com/tabrindle/envinfo/issues/224)) ([60c8db7](https://www.github.com/tabrindle/envinfo/commit/60c8db76804226a057ba3541d31d275c9ac35474))
* add podman to virtualization ([#236](https://www.github.com/tabrindle/envinfo/issues/236)) ([b744694](https://www.github.com/tabrindle/envinfo/commit/b74469472883451dd466a892d92842f3ade5528c))
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<p align="center">
<img src="https://raw.githubusercontent.com/tabrindle/envinfo/master/logo.png" align="center" width="700px"/>
<h3 align="center">envinfo generates a report of the common details needed when troubleshooting software issues, such as your operating system, binary versions, browsers, installed languages, and more</h3>
<h3 align="center">envinfo generates a report of the common details needed when troubleshooting software issues, such as your operating system, binary versions, browsers, installed languages, and more</h3>
<hr/>
</p>

[![CircleCI](https://circleci.com/gh/tabrindle/envinfo/tree/master.svg?style=svg)](https://circleci.com/gh/tabrindle/envinfo/tree/master) [![Build Status](https://travis-ci.org/tabrindle/envinfo.svg?branch=master)](https://travis-ci.org/tabrindle/envinfo) [![npm version](https://badge.fury.io/js/envinfo.svg)](https://badge.fury.io/js/envinfo) [![npm downloads per month](https://img.shields.io/npm/dm/envinfo.svg?maxAge=86400)](https://www.npmjs.com/package/envinfo) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors)
[![npm version](https://badge.fury.io/js/envinfo.svg)](https://badge.fury.io/js/envinfo) [![npm downloads per month](https://img.shields.io/npm/dm/envinfo.svg?maxAge=86400)](https://www.npmjs.com/package/envinfo) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![All Contributors](https://img.shields.io/badge/all_contributors-12-orange.svg?style=flat-square)](#contributors)

## The problem

Expand Down Expand Up @@ -54,6 +54,8 @@ npm install envinfo || yarn add envinfo
Node: 8.16.0 - ~/.nvm/versions/node/v8.16.0/bin/node
Yarn: 1.15.2 - ~/.yarn/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v8.16.0/bin/npm
pnpm: 8.7.6 - /usr/local/bin/pnpm
bun: 1.0.2 - /usr/local/bin/bun
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
Cargo: 1.31.0 - ~/.cargo/bin/cargo
Expand Down Expand Up @@ -242,7 +244,7 @@ envinfo is live in:

- [React Native](https://github.com/facebook/react-native) (`react-native info`)
- [Create React App](https://github.com/facebook/create-react-app) (`create-react-app --info`)
- [Expo CLI](https://github.com/expo/expo-cli) (`expo diagnostics`)
- [Expo Environment Info](https://github.com/expo/expo-cli/tree/main/packages/expo-env-info) (`npx expo-env-info`)
- [Webpack](https://github.com/webpack/webpack-cli) (`webpack-cli info`)
- [Solidarity](https://github.com/infinitered/solidarity) (`solidarity report`)
- [Gatsby](https://github.com/gatsbyjs/gatsby) (`gatsby info`)
Expand All @@ -256,7 +258,6 @@ envinfo is used in the ISSUE_TEMPLATE of:
## Alternatives

- type `command -v` until you smash your computer
- [specs](https://github.com/mcandre/specs) - an excellent ruby gem that runs `command -v` for you on :all-the-things: Great for raw info.
- [screenfetch](https://github.com/KittyKatt/screenFetch) - fetch system and terminal information, and display a pretty ascii logo
- [Solidarity](https://github.com/infinitered/solidarity) - a project based environment checker
- write your own
Expand All @@ -279,7 +280,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
<!-- prettier-ignore -->
| [<img src="https://avatars1.githubusercontent.com/u/2925048?v=4" width="100px;"/><br /><sub><b>Trevor Brindle</b></sub>](http://trevorbrindle.com)<br />[💬](#question-tabrindle "Answering Questions") [📝](#blog-tabrindle "Blogposts") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Atabrindle "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=tabrindle "Code") [📖](https://github.com/tabrindle/envinfo/commits?author=tabrindle "Documentation") [💡](#example-tabrindle "Examples") [🤔](#ideas-tabrindle "Ideas, Planning, & Feedback") [👀](#review-tabrindle "Reviewed Pull Requests") [📢](#talk-tabrindle "Talks") [⚠️](https://github.com/tabrindle/envinfo/commits?author=tabrindle "Tests") | [<img src="https://avatars0.githubusercontent.com/u/997157?v=4" width="100px;"/><br /><sub><b>Gant Laborde</b></sub>](http://gantlaborde.com/)<br />[📝](#blog-GantMan "Blogposts") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3AGantMan "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=GantMan "Code") [🤔](#ideas-GantMan "Ideas, Planning, & Feedback") | [<img src="https://avatars1.githubusercontent.com/u/599352?v=4" width="100px;"/><br /><sub><b>Anton Fisher</b></sub>](http://antonfisher.com)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aantonfisher "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=antonfisher "Code") | [<img src="https://avatars1.githubusercontent.com/u/960133?v=4" width="100px;"/><br /><sub><b>Ahmad Awais ⚡️</b></sub>](https://AhmadAwais.com/)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aahmadawais "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=ahmadawais "Code") | [<img src="https://avatars2.githubusercontent.com/u/9251453?v=4" width="100px;"/><br /><sub><b>Hasan</b></sub>](https://github.com/LEQADA)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3ALEQADA "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=LEQADA "Code") | [<img src="https://avatars3.githubusercontent.com/u/1232725?v=4" width="100px;"/><br /><sub><b>Ernesto Ramírez</b></sub>](http://twitter.com/_ErnestoR)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3AErnestoR "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=ErnestoR "Code") | [<img src="https://avatars1.githubusercontent.com/u/3759816?v=4" width="100px;"/><br /><sub><b>Jiawen Geng</b></sub>](https://www.gengjiawen.com)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Agengjiawen "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=gengjiawen "Code") [🤔](#ideas-gengjiawen "Ideas, Planning, & Feedback") [⚠️](https://github.com/tabrindle/envinfo/commits?author=gengjiawen "Tests") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars3.githubusercontent.com/u/12520493?v=4" width="100px;"/><br /><sub><b>Zac Anger</b></sub>](https://zacanger.com)<br />[💻](https://github.com/tabrindle/envinfo/commits?author=zacanger "Code") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Azacanger "Bug reports") | [<img src="https://avatars3.githubusercontent.com/u/497214?v=4" width="100px;"/><br /><sub><b>Ville Immonen</b></sub>](https://twitter.com/VilleImmonen)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Afson "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=fson "Code") | [<img src="https://avatars2.githubusercontent.com/u/27246?v=4" width="100px;"/><br /><sub><b>Olmo Maldonado</b></sub>](http://ibolmo.com)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aibolmo "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=ibolmo "Code") |
| [<img src="https://avatars3.githubusercontent.com/u/12520493?v=4" width="100px;"/><br /><sub><b>Zac Anger</b></sub>](https://zacanger.com)<br />[💻](https://github.com/tabrindle/envinfo/commits?author=zacanger "Code") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Azacanger "Bug reports") | [<img src="https://avatars3.githubusercontent.com/u/497214?v=4" width="100px;"/><br /><sub><b>Ville Immonen</b></sub>](https://twitter.com/VilleImmonen)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Afson "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=fson "Code") | [<img src="https://avatars2.githubusercontent.com/u/27246?v=4" width="100px;"/><br /><sub><b>Olmo Maldonado</b></sub>](http://ibolmo.com)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aibolmo "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=ibolmo "Code") | [<img src="https://avatars.githubusercontent.com/u/15812317?v=4" width="100px;"/><br /><sub><b>Rishabh Chawla</b></sub>](https://rishabhchawla.co)<br />[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Arishabh3112 "Bug reports") [💻](https://github.com/tabrindle/envinfo/commits?author=rishabh3112 "Code") | [<img src="https://avatars.githubusercontent.com/u/174297?v=4" width="100px;"/><br /><sub><b>Carl Taylor</b></sub>](https://github.com/Nthalk)<br />[💻](https://github.com/tabrindle/envinfo/commits?author=Nthalk "Code") |
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
4 changes: 4 additions & 0 deletions __tests__/__snapshots__/envinfo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ exports[`Running the cli interface returns expected formatted yaml value 1`] = `
Node: 10.0.0 - /usr/local/bin/node
Yarn: 10.0.0 - /usr/local/bin/yarn
npm: 10.0.0 - /usr/local/bin/npm
pnpm: 10.0.0 - /usr/local/bin/pnpm
bun: 10.0.0 - /usr/local/bin/bun
Watchman: 10.0.0 - /usr/local/bin/watchman
"
`;
Expand All @@ -16,6 +18,8 @@ exports[`Running the cli interface returns expected unformatted yaml value 1`] =
Node: 10.0.0 - /usr/local/bin/node
Yarn: 10.0.0 - /usr/local/bin/yarn
npm: 10.0.0 - /usr/local/bin/npm
pnpm: 10.0.0 - /usr/local/bin/pnpm
bun: 10.0.0 - /usr/local/bin/bun
Watchman: 10.0.0 - /usr/local/bin/watchman
"
`;
Expand Down
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
environment:
nodejs_version: '8'
nodejs_version: '16'

install:
- ps: Install-Product node $env:nodejs_version x64
- npm install
- yarn

test_script:
- node --version
- npm --version
- choco install ffmpeg
- choco install r.project -version 3.6.0
- set RPATH=C:\Program Files\R\R-3.6.0\bin\x64
Expand Down
Loading

0 comments on commit 233a249

Please sign in to comment.