Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/libnpmorg
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a761478f75cd18f5728e7d28924e6f37c054db9
Choose a base ref
...
head repository: npm/libnpmorg
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 33e705e1e87f05fd5f68d7c0bfb96562c1050e34
Choose a head ref
  • 15 commits
  • 15 files changed
  • 4 contributors

Commits on Jul 16, 2019

  1. Copy the full SHA
    48a8a38 View commit details

Commits on Jan 20, 2020

  1. Copy the full SHA
    bb107d0 View commit details

Commits on Jan 21, 2020

  1. chore: remove pr template

    ruyadorno committed Jan 21, 2020
    Copy the full SHA
    d9ca35d View commit details

Commits on Feb 26, 2020

  1. fix: remove figgy-pudding

    claudiahdz committed Feb 26, 2020
    Copy the full SHA
    79b9c46 View commit details
  2. chore: basic project updates

    - Update dependencies
    - Use GitHub Actions instead of travis/appveyor
    claudiahdz committed Feb 26, 2020
    Copy the full SHA
    b25d703 View commit details

Commits on Feb 28, 2020

  1. Copy the full SHA
    8c4ac7f View commit details
  2. chore: small linting change

    Michael Perrotte committed Feb 28, 2020
    Copy the full SHA
    58081b5 View commit details
  3. Copy the full SHA
    3aaab1d View commit details
  4. fix: updated promise return logic; makes code a little easier to grok…

    …/read
    Michael Perrotte committed Feb 28, 2020
    Copy the full SHA
    4559df9 View commit details
  5. chore: updated README with GHA badge

    Michael 'afrolion' Perrotte committed Feb 28, 2020
    Copy the full SHA
    36c5330 View commit details

Commits on Mar 2, 2020

  1. fix: remove unneed promises; [PR feedback]

    Michael Perrotte committed Mar 2, 2020
    Copy the full SHA
    54620fb View commit details
  2. chore: added files property to package.json

    Michael Perrotte committed Mar 2, 2020
    Copy the full SHA
    5c9643f View commit details
  3. docs: updated CHANGELOG for v2.0.0

    Michael Perrotte committed Mar 2, 2020
    Copy the full SHA
    65ce432 View commit details
  4. chore: updated auto publish; removed stanard-version as dep

    Michael Perrotte committed Mar 2, 2020
    Copy the full SHA
    38716c0 View commit details
  5. 2.0.0

    Michael Perrotte committed Mar 2, 2020
    Copy the full SHA
    33e705e View commit details
Showing with 4,374 additions and 6,319 deletions.
  1. +2 −0 .github/settings.yml
  2. +95 −0 .github/workflows/ci.yml
  3. +4 −2 .gitignore
  4. +0 −7 .travis.yml
  5. +12 −0 CHANGELOG.md
  6. +0 −151 CODE_OF_CONDUCT.md
  7. +0 −256 CONTRIBUTING.md
  8. +0 −7 PULL_REQUEST_TEMPLATE
  9. +18 −13 README.md
  10. +0 −22 appveyor.yml
  11. +37 −44 index.js
  12. +4,111 −5,772 package-lock.json
  13. +22 −22 package.json
  14. +2 −0 test/{util → fixtures}/tnock.js
  15. +71 −23 test/index.js
2 changes: 2 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
_extends: 'open-source-project-boilerplate'
95 changes: 95 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
################################################################################
# Template - Node CI
#
# Description:
# This contains the basic information to: install dependencies, run tests,
# get coverage, and run linting on a nodejs project. This template will run
# over the MxN matrix of all operating systems, and all current LTS versions
# of NodeJS.
#
# Dependencies:
# This template assumes that your project is using the `tap` module for
# testing. If you're not using this module, then the step that runs your
# coverage will need to be adjusted.
#
################################################################################
name: Node CI

on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 13.x]
os: [ubuntu-latest, windows-latest, macOS-latest]

runs-on: ${{ matrix.os }}

steps:
# Checkout the repository
- uses: actions/checkout@v2
# Installs the specific version of Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

################################################################################
# Install Dependencies
#
# ASSUMPTIONS:
# - The project has a package-lock.json file
#
# Simply run the tests for the project.
################################################################################
- name: Install dependencies
run: npm ci

################################################################################
# Run Testing
#
# ASSUMPTIONS:
# - The project has `tap` as a devDependency
# - There is a script called "test" in the package.json
#
# Simply run the tests for the project.
################################################################################
- name: Run tests
if: github.event_name != 'push' || matrix.node-version != '12.x' || matrix.os != 'ubuntu-latest'
run: npm test -- --no-coverage

################################################################################
# Run coverage check
#
# ASSUMPTIONS:
# - The project has `tap` as a devDependency
# - There is a script called "coverage" in the package.json
#
# Coverage should only be posted once, we are choosing the latest LTS of
# node, and ubuntu as the matrix point to post coverage from. We limit
# to the 'push' event so that coverage ins't posted twice from the
# pull-request event, and push event (line 3).
################################################################################
- name: Run coverage report
if: github.event_name == 'push' && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest'
run: npm test
env:
# The environment variable name is leveraged by `tap`
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

################################################################################
# Run linting
#
# ASSUMPTIONS:
# - There is a script called "lint" in the package.json
#
# We run linting AFTER we run testing and coverage checks, because if a step
# fails in an GitHub Action, all other steps are not run. We don't want to
# fail to run tests or coverage because of linting. It should be the lowest
# priority of all the steps.
################################################################################
- name: Run linter
run: npm run lint
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.nyc_output
/node_modules
/.nyc_output
/test/cache
coverage/
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 2.0.0 (2020-03-02)

### BREAKING CHANGE
- Removed `figgy-pudding` as a dependecy
- Using native promises
- Require node >= v10

### Feature
- Updated stream interface to `minipass` type stream

---

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="1.0.1"></a>
151 changes: 0 additions & 151 deletions CODE_OF_CONDUCT.md

This file was deleted.

Loading