Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 85cfff4

Browse files
committedMar 25, 2020
chore: update project settings, add deprecation to readme
1 parent ed2d735 commit 85cfff4

11 files changed

+146
-771
lines changed
 

‎.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @npm/cli-team

‎.github/settings.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
_extends: 'open-source-project-boilerplate'

‎.github/workflows/ci.yml

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
################################################################################
3+
# Template - Node CI
4+
#
5+
# Description:
6+
# This contains the basic information to: install dependencies, run tests,
7+
# get coverage, and run linting on a nodejs project. This template will run
8+
# over the MxN matrix of all operating systems, and all current LTS versions
9+
# of NodeJS.
10+
#
11+
# Dependencies:
12+
# This template assumes that your project is using the `tap` module for
13+
# testing. If you're not using this module, then the step that runs your
14+
# coverage will need to be adjusted.
15+
#
16+
################################################################################
17+
name: Node CI
18+
19+
on: [push, pull_request]
20+
21+
jobs:
22+
build:
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
node-version: [10.x, 12.x, 13.x]
27+
os: [ubuntu-latest, windows-latest, macOS-latest]
28+
29+
runs-on: ${{ matrix.os }}
30+
31+
steps:
32+
# Checkout the repository
33+
- uses: actions/checkout@v2
34+
# Installs the specific version of Node.js
35+
- name: Use Node.js ${{ matrix.node-version }}
36+
uses: actions/setup-node@v1
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
40+
################################################################################
41+
# Install Dependencies
42+
#
43+
# ASSUMPTIONS:
44+
# - The project has a package-lock.json file
45+
#
46+
# Simply run the tests for the project.
47+
################################################################################
48+
- name: Install dependencies
49+
run: npm ci
50+
51+
################################################################################
52+
# Run Testing
53+
#
54+
# ASSUMPTIONS:
55+
# - The project has `tap` as a devDependency
56+
# - There is a script called "test" in the package.json
57+
#
58+
# Simply run the tests for the project.
59+
################################################################################
60+
- name: Run tests
61+
run: npm test
62+
63+
################################################################################
64+
# Run coverage check
65+
#
66+
# ASSUMPTIONS:
67+
# - The project has `tap` as a devDependency
68+
# - There is a script called "coverage" in the package.json
69+
#
70+
# Coverage should only be posted once, we are choosing the latest LTS of
71+
# node, and ubuntu as the matrix point to post coverage from. We limit
72+
# to the 'push' event so that coverage ins't posted twice from the
73+
# pull-request event, and push event (line 3).
74+
################################################################################
75+
- name: Run coverage report
76+
if: github.event_name == 'push' && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest'
77+
run: npm run coverage
78+
env:
79+
# The environment variable name is leveraged by `tap`
80+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
81+
82+
################################################################################
83+
# Run linting
84+
#
85+
# ASSUMPTIONS:
86+
# - There is a script called "lint" in the package.json
87+
#
88+
# We run linting AFTER we run testing and coverage checks, because if a step
89+
# fails in an GitHub Action, all other steps are not run. We don't want to
90+
# fail to run tests or coverage because of linting. It should be the lowest
91+
# priority of all the steps.
92+
################################################################################
93+
- name: Run linter
94+
run: npm run lint

‎CODE_OF_CONDUCT.md

-151
This file was deleted.

‎CONTRIBUTING.md

-256
This file was deleted.

‎ISSUE_TEMPLATE

-7
This file was deleted.

‎PULL_REQUEST_TEMPLATE

-7
This file was deleted.

‎README.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
[![npm](https://img.shields.io/npm/v/libcipm.svg)](https://npm.im/libcipm) [![license](https://img.shields.io/npm/l/libcipm.svg)](https://npm.im/libcipm) [![Travis](https://img.shields.io/travis/npm/libcipm.svg)](https://travis-ci.org/npm/libcipm) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/npm/libcipm?svg=true)](https://ci.appveyor.com/project/npm/libcipm) [![Coverage Status](https://coveralls.io/repos/github/npm/libcipm/badge.svg?branch=latest)](https://coveralls.io/github/npm/libcipm?branch=latest)
1+
# Note: pending imminent deprecation
2+
3+
**This module will be deprecated once npm v7 is released. Please do not rely
4+
on it more than absolutely necessary.**
5+
6+
----
27

38
[`libcipm`](https://github.com/npm/libcipm) installs npm projects in a way that's
49
optimized for continuous integration/deployment/etc scenarios. It gives up
@@ -16,7 +21,6 @@ For documentation about the associated command-line tool, see
1621
## Table of Contents
1722

1823
* [Features](#features)
19-
* [Contributing](#contributing)
2024
* [API](#api)
2125

2226
### Features
@@ -26,12 +30,3 @@ For documentation about the associated command-line tool, see
2630
* blazing fast
2731
* npm-compatible caching
2832
* errors if `package.json` and `package-lock.json` are out of sync, instead of fixing it like npm does. Essentially provides a `--frozen` install.
29-
30-
### Contributing
31-
32-
The libcipm team enthusiastically welcomes contributions and project
33-
participation! There's a bunch of things you can do if you want to contribute!
34-
The [Contributor Guide](CONTRIBUTING.md) has all the information you need for
35-
everything from reporting bugs to contributing entire new features. Please don't
36-
hesitate to jump in if you'd like to, or even ask us questions if something
37-
isn't clear.

‎appveyor.yml

-23
This file was deleted.

‎package-lock.json

+40-309
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
"postrelease": "npm publish && git push --follow-tags",
1313
"pretest": "standard",
1414
"release": "standard-version -s",
15-
"test": "tap -J --nyc-arg=--all --coverage test/specs",
16-
"update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'",
17-
"update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"
15+
"test": "tap -J --nyc-arg=--all --coverage test/specs"
1816
},
1917
"repository": "https://github.com/npm/libcipm",
2018
"keywords": [
@@ -36,7 +34,7 @@
3634
"find-npm-prefix": "^1.0.2",
3735
"graceful-fs": "^4.1.11",
3836
"ini": "^1.3.5",
39-
"lock-verify": "^2.0.2",
37+
"lock-verify": "^2.1.0",
4038
"mkdirp": "^0.5.1",
4139
"npm-lifecycle": "^3.0.0",
4240
"npm-logical-tree": "^1.2.1",
@@ -53,9 +51,7 @@
5351
"standard": "^11.0.1",
5452
"standard-version": "^4.4.0",
5553
"tacks": "^1.2.6",
56-
"tap": "^12.0.1",
57-
"weallbehave": "^1.2.0",
58-
"weallcontribute": "^1.0.8"
54+
"tap": "^12.0.1"
5955
},
6056
"config": {
6157
"nyc": {

0 commit comments

Comments
 (0)
This repository has been archived.