Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 185c751

Browse files
committed
fix: anycli rename
1 parent ad33c1f commit 185c751

11 files changed

+69
-752
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
workflows:
4242
version: 2
43-
"@dxcli/parser":
43+
"@anycli/parser":
4444
jobs:
4545
- node-latest
4646
- node-8

.circleci/release

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ set -ex
66

77
PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
88

9-
yarn global add @dxcli/semantic-release@1 semantic-release@12
9+
yarn global add @anycli/semantic-release@1 semantic-release@12
1010
yarn install --frozen-lockfile
11-
semantic-release -e @dxcli/semantic-release
11+
semantic-release -e @anycli/semantic-release

.circleci/test

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ "$CLI_ENGINE_GREENKEEPER_BRANCH" == 1 ]]; then
2323
greenkeeper-lockfile-upload
2424
fi
2525

26-
yarn add -D nyc @dxcli/nyc-config
26+
yarn add -D nyc @anycli/nyc-config
2727
yarn test
2828

2929
curl -s https://codecov.io/bash | bash

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "dxcli"
2+
"extends": "anycli"
33
}

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
@dxcli/parser
1+
@anycli/parser
22
=============
33

4-
arg and flag parser for dxcli
4+
arg and flag parser for anycli
55

6-
[![Version](https://img.shields.io/npm/v/@dxcli/parser.svg)](https://npmjs.org/package/@dxcli/parser)
7-
[![CircleCI](https://circleci.com/gh/dxcli/parser/tree/master.svg?style=svg)](https://circleci.com/gh/dxcli/parser/tree/master)
8-
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/dxcli/parser?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/parser/branch/master)
9-
[![Codecov](https://codecov.io/gh/dxcli/parser/branch/master/graph/badge.svg)](https://codecov.io/gh/dxcli/parser)
10-
[![Greenkeeper](https://badges.greenkeeper.io/dxcli/parser.svg)](https://greenkeeper.io/)
11-
[![Known Vulnerabilities](https://snyk.io/test/npm/@dxcli/parser/badge.svg)](https://snyk.io/test/npm/@dxcli/parser)
12-
[![Downloads/week](https://img.shields.io/npm/dw/@dxcli/parser.svg)](https://npmjs.org/package/@dxcli/parser)
13-
[![License](https://img.shields.io/npm/l/@dxcli/parser.svg)](https://github.com/dxcli/parser/blob/master/package.json)
6+
[![Version](https://img.shields.io/npm/v/@anycli/parser.svg)](https://npmjs.org/package/@anycli/parser)
7+
[![CircleCI](https://circleci.com/gh/anycli/parser/tree/master.svg?style=svg)](https://circleci.com/gh/anycli/parser/tree/master)
8+
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/anycli/parser?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/parser/branch/master)
9+
[![Codecov](https://codecov.io/gh/anycli/parser/branch/master/graph/badge.svg)](https://codecov.io/gh/anycli/parser)
10+
[![Greenkeeper](https://badges.greenkeeper.io/anycli/parser.svg)](https://greenkeeper.io/)
11+
[![Known Vulnerabilities](https://snyk.io/test/npm/@anycli/parser/badge.svg)](https://snyk.io/test/npm/@anycli/parser)
12+
[![Downloads/week](https://img.shields.io/npm/dw/@anycli/parser.svg)](https://npmjs.org/package/@anycli/parser)
13+
[![License](https://img.shields.io/npm/l/@anycli/parser.svg)](https://github.com/anycli/parser/blob/master/package.json)
1414

1515
CLI flag parser.
1616

appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ install:
88
- ps: Install-Product node $env:nodejs_version x64
99
- git submodule sync
1010
- git submodule update --init --recursive
11-
- git config --global user.email "dxcli@example.com"
12-
- git config --global user.name "dxcli"
13-
- yarn add -D nyc @dxcli/nyc-config
11+
- git config --global user.email "anycli@example.com"
12+
- git config --global user.name "anycli"
13+
- yarn add -D nyc @anycli/nyc-config
1414
test_script:
1515
- yarn test
1616
after_test:

package-scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if (process.env.CI) {
3030
linters.tslint.script = `${linters.tslint.script} --format junit > reports/tslint.xml`
3131
}
3232
// add code coverage reporting with nyc
33-
const nyc = 'nyc --nycrc-path node_modules/@dxcli/nyc-config/.nycrc'
33+
const nyc = 'nyc --nycrc-path node_modules/@anycli/nyc-config/.nycrc'
3434
const nycReport = `${nyc} report --reporter text-lcov > coverage.lcov`
3535
mocha = series(`${nyc} ${mocha}`, nycReport)
3636
}

package.json

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
{
2-
"name": "@dxcli/parser",
3-
"description": "arg and flag parser for dxcli",
2+
"name": "@anycli/parser",
3+
"description": "arg and flag parser for anycli",
44
"version": "0.1.1",
55
"author": "Jeff Dickey @jdxcode",
6-
"bugs": "https://github.com/dxcli/parser/issues",
6+
"bugs": "https://github.com/anycli/parser/issues",
77
"dependencies": {
8-
"@dxcli/screen": "^0.0.2",
8+
"@anycli/screen": "^0.0.2",
99
"chalk": "^2.3.0",
1010
"lodash": "^4.17.4"
1111
},
1212
"devDependencies": {
1313
"@commitlint/cli": "^6.0.2",
1414
"@commitlint/config-conventional": "^6.0.2",
15-
"@dxcli/dev": "^2.0.16",
16-
"@dxcli/nyc-config": "^0.0.4",
17-
"@dxcli/tslint": "^0.1.3",
15+
"@anycli/tslint": "^0.1.3",
1816
"@heroku/linewrap": "^1.0.0",
1917
"@types/chai": "^4.1.2",
2018
"@types/lodash": "^4.14.98",
@@ -25,13 +23,12 @@
2523
"@types/read-pkg": "^3.0.0",
2624
"chai": "^4.1.2",
2725
"eslint": "^4.16.0",
28-
"eslint-config-dxcli": "^1.2.1",
26+
"eslint-config-anycli": "^1.2.1",
2927
"husky": "^0.14.3",
3028
"mocha": "^5.0.0",
3129
"mocha-junit-reporter": "^1.17.0",
3230
"nps": "^5.7.1",
3331
"nps-utils": "^1.5.0",
34-
"nyc": "^11.4.1",
3532
"ts-node": "^4.1.0",
3633
"typescript": "^2.6.2"
3734
},
@@ -41,13 +38,13 @@
4138
"files": [
4239
"/lib"
4340
],
44-
"homepage": "https://github.com/dxcli/parser",
41+
"homepage": "https://github.com/anycli/parser",
4542
"keywords": [
46-
"dxcli"
43+
"anycli"
4744
],
4845
"license": "MIT",
4946
"main": "lib/index.js",
50-
"repository": "dxcli/parser",
47+
"repository": "anycli/parser",
5148
"scripts": {
5249
"commitmsg": "commitlint -x @commitlint/config-conventional -e $GIT_PARAMS",
5350
"precommit": "nps lint -l warn",

src/deps.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import screen = require('@dxcli/screen')
1+
import screen = require('@anycli/screen')
22
import chalk = require('chalk')
33

44
import args = require('./args')
@@ -14,7 +14,7 @@ export const deps = {
1414
get flags(): typeof flags { return fetch('./flags') },
1515
get parse(): typeof parse { return fetch('./parse') },
1616
get validate(): typeof validate { return fetch('./validate') },
17-
get screen(): typeof screen { return fetch('@dxcli/screen')},
17+
get screen(): typeof screen { return fetch('@anycli/screen')},
1818
get renderList(): typeof list.renderList { return fetch('./list').renderList },
1919
get errors(): typeof errors { return fetch('./errors') },
2020

tslint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "@dxcli/tslint"
2+
"extends": "@anycli/tslint"
33
}

0 commit comments

Comments
 (0)