├── .eslintrc.json ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .npmrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bin └── support ├── doc └── command-line-usage.md ├── examples ├── basic.json ├── complex.json └── minimum.json ├── index.js ├── lib └── cli │ ├── commands │ ├── badges.js │ ├── create.js │ ├── show.js │ └── validate.js │ ├── create │ ├── create-support-template.json │ └── index.js │ └── index.js ├── package-support.json ├── package.json ├── schema.json ├── support-element-schema.json └── test ├── cli ├── create-on-existed-support │ ├── command │ ├── expected │ ├── expected-errors │ ├── package-support.json │ └── package.json ├── show-local-circular-dependency │ ├── command │ ├── expected │ ├── exptected │ ├── node_modules │ │ ├── dep1 │ │ │ ├── package-support.json │ │ │ └── package.json │ │ ├── dep2 │ │ │ ├── package-support.json │ │ │ └── package.json │ │ └── dep3 │ │ │ ├── package-support.json │ │ │ └── package.json │ ├── package-support.json │ └── package.json ├── show-local-escape-ok │ ├── command │ ├── expected │ └── package.json ├── show-local-escape │ ├── command │ ├── expected │ └── package.json ├── show-local-path1 │ ├── command │ ├── expected │ ├── my-support-info.json │ └── package.json ├── show-local-path2 │ ├── command │ ├── expected │ ├── package.json │ └── subdir1 │ │ └── my-support-info.json ├── show-local-tree-flat │ ├── command │ ├── expected │ ├── exptected │ ├── node_modules │ │ ├── dep1 │ │ │ ├── package-support.json │ │ │ └── package.json │ │ ├── dep2 │ │ │ ├── package-support.json │ │ │ └── package.json │ │ └── dep3 │ │ │ ├── package-support.json │ │ │ └── package.json │ ├── package-support.json │ └── package.json ├── show-local-tree │ ├── command │ ├── expected │ ├── exptected │ ├── node_modules │ │ ├── dep1 │ │ │ ├── package-support.json │ │ │ └── package.json │ │ └── dep2 │ │ │ ├── node_modules │ │ │ └── dep3 │ │ │ │ ├── package-support.json │ │ │ │ └── package.json │ │ │ ├── package-support.json │ │ │ └── package.json │ ├── package-support.json │ └── package.json ├── show-local │ ├── command │ ├── expected │ ├── package-support.json │ └── package.json ├── show-separate-repo-directory1 │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo-directory2 │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo-directory3 │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo-fetch-missing │ ├── command │ ├── expected-errors │ └── package.json ├── show-separate-repo-fetch │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo-path-escape │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo-path1 │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo-path2 │ ├── command │ ├── expected │ └── package.json ├── show-separate-repo │ ├── command │ ├── expected │ ├── package-support.json │ └── package.json ├── validate-invalid-json │ ├── command │ ├── expected-errors │ ├── package-support.json │ └── package.json ├── validate-local-bad-element1 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-bad-element2 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-bad-element3 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-escape-ok │ ├── command │ ├── expected │ └── package.json ├── validate-local-no-data │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-repository-bad1 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-repository-bad2 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-repository-bad3 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-repository-bad4 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-repository-bad5 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-repository1 │ ├── command │ ├── expected-errors │ └── package.json ├── validate-local-support-json-bad │ ├── command │ ├── expected-errors │ ├── package-support.json │ └── package.json ├── validate-local-support-json-bad2 │ ├── command │ ├── expected-errors │ ├── package-support.json │ └── package.json ├── validate-local-support-json-bad3 │ ├── command │ ├── expected-errors │ ├── package-support.json │ └── package.json ├── validate-local │ ├── command │ ├── expected │ ├── package-support.json │ └── package.json ├── validate-multiple-backing │ ├── command │ ├── expected │ ├── package-support.json │ └── package.json ├── validate-multiple-backing2 │ ├── command │ ├── expected │ ├── package-support.json │ └── package.json ├── validate-non-resolved │ ├── command │ ├── expected-errors │ └── package.json └── validate-separate-repo-fetch │ ├── command │ ├── expected │ └── package.json ├── create.js ├── fixtures ├── create │ ├── create-with-default-values │ │ ├── default-package.json │ │ ├── expected-package.json │ │ └── expexted-package-support.json │ ├── create-with-funding-yml-no-file │ │ └── default-package.json │ ├── create-with-funding-yml-positive │ │ ├── .github │ │ │ └── FUNDING.yml │ │ ├── default-package.json │ │ ├── expected-package.json │ │ └── expexted-package-support.json │ ├── create-with-package-json-funding-positive │ │ ├── default-package.json │ │ ├── expected-package.json │ │ └── expexted-package-support.json │ ├── create-with-package-json-funding-string-positive │ │ ├── default-package.json │ │ ├── expected-package.json │ │ └── expexted-package-support.json │ └── create-with-package-json-funding │ │ └── default-package.json └── my-support-info.json └── index.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | {"extends": "semistandard"} 2 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/README.md -------------------------------------------------------------------------------- /bin/support: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | require('../lib/cli')()(process.argv.slice(2)); 3 | -------------------------------------------------------------------------------- /doc/command-line-usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/doc/command-line-usage.md -------------------------------------------------------------------------------- /examples/basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/examples/basic.json -------------------------------------------------------------------------------- /examples/complex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/examples/complex.json -------------------------------------------------------------------------------- /examples/minimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/examples/minimum.json -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/index.js -------------------------------------------------------------------------------- /lib/cli/commands/badges.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/commands/badges.js -------------------------------------------------------------------------------- /lib/cli/commands/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/commands/create.js -------------------------------------------------------------------------------- /lib/cli/commands/show.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/commands/show.js -------------------------------------------------------------------------------- /lib/cli/commands/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/commands/validate.js -------------------------------------------------------------------------------- /lib/cli/create/create-support-template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/create/create-support-template.json -------------------------------------------------------------------------------- /lib/cli/create/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/create/index.js -------------------------------------------------------------------------------- /lib/cli/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/lib/cli/index.js -------------------------------------------------------------------------------- /package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/package-support.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/package.json -------------------------------------------------------------------------------- /schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/schema.json -------------------------------------------------------------------------------- /support-element-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/support-element-schema.json -------------------------------------------------------------------------------- /test/cli/create-on-existed-support/command: -------------------------------------------------------------------------------- 1 | create 2 | -------------------------------------------------------------------------------- /test/cli/create-on-existed-support/expected: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/cli/create-on-existed-support/expected-errors: -------------------------------------------------------------------------------- 1 | Support info already present in package.json 2 | -------------------------------------------------------------------------------- /test/cli/create-on-existed-support/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/create-on-existed-support/package-support.json -------------------------------------------------------------------------------- /test/cli/create-on-existed-support/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/create-on-existed-support/package.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/expected -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/exptected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/exptected -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/node_modules/dep1/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/node_modules/dep1/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/node_modules/dep1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/node_modules/dep1/package.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/node_modules/dep2/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/node_modules/dep2/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/node_modules/dep2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/node_modules/dep2/package.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/node_modules/dep3/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/node_modules/dep3/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/node_modules/dep3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/node_modules/dep3/package.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-circular-dependency/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-circular-dependency/package.json -------------------------------------------------------------------------------- /test/cli/show-local-escape-ok/command: -------------------------------------------------------------------------------- 1 | show --base-path=${cwd}/../.. 2 | -------------------------------------------------------------------------------- /test/cli/show-local-escape-ok/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-escape-ok/expected -------------------------------------------------------------------------------- /test/cli/show-local-escape-ok/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-escape-ok/package.json -------------------------------------------------------------------------------- /test/cli/show-local-escape/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local-escape/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-escape/expected -------------------------------------------------------------------------------- /test/cli/show-local-escape/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-escape/package.json -------------------------------------------------------------------------------- /test/cli/show-local-path1/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local-path1/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-path1/expected -------------------------------------------------------------------------------- /test/cli/show-local-path1/my-support-info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-path1/my-support-info.json -------------------------------------------------------------------------------- /test/cli/show-local-path1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-path1/package.json -------------------------------------------------------------------------------- /test/cli/show-local-path2/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local-path2/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-path2/expected -------------------------------------------------------------------------------- /test/cli/show-local-path2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-path2/package.json -------------------------------------------------------------------------------- /test/cli/show-local-path2/subdir1/my-support-info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-path2/subdir1/my-support-info.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/expected -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/exptected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/exptected -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/node_modules/dep1/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/node_modules/dep1/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/node_modules/dep1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/node_modules/dep1/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/node_modules/dep2/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/node_modules/dep2/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/node_modules/dep2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/node_modules/dep2/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/node_modules/dep3/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/node_modules/dep3/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/node_modules/dep3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/node_modules/dep3/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree-flat/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree-flat/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local-tree/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/expected -------------------------------------------------------------------------------- /test/cli/show-local-tree/exptected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/exptected -------------------------------------------------------------------------------- /test/cli/show-local-tree/node_modules/dep1/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/node_modules/dep1/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/node_modules/dep1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/node_modules/dep1/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/node_modules/dep2/node_modules/dep3/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/node_modules/dep2/node_modules/dep3/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/node_modules/dep2/node_modules/dep3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/node_modules/dep2/node_modules/dep3/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/node_modules/dep2/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/node_modules/dep2/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/node_modules/dep2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/node_modules/dep2/package.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local-tree/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local-tree/package.json -------------------------------------------------------------------------------- /test/cli/show-local/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-local/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local/expected -------------------------------------------------------------------------------- /test/cli/show-local/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local/package-support.json -------------------------------------------------------------------------------- /test/cli/show-local/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-local/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory1/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory1/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-directory1/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-directory1/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory2/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory2/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-directory2/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-directory2/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory3/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory3/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-directory3/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-directory3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-directory3/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-fetch-missing/command: -------------------------------------------------------------------------------- 1 | show --fetch 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-fetch-missing/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-fetch-missing/expected-errors -------------------------------------------------------------------------------- /test/cli/show-separate-repo-fetch-missing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-fetch-missing/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-fetch/command: -------------------------------------------------------------------------------- 1 | show --fetch 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-fetch/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-fetch/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-fetch/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-fetch/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path-escape/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path-escape/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-path-escape/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path-escape/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-path-escape/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path1/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path1/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-path1/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-path1/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path2/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path2/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-path2/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo-path2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo-path2/package.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo/command: -------------------------------------------------------------------------------- 1 | show 2 | -------------------------------------------------------------------------------- /test/cli/show-separate-repo/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo/expected -------------------------------------------------------------------------------- /test/cli/show-separate-repo/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo/package-support.json -------------------------------------------------------------------------------- /test/cli/show-separate-repo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/show-separate-repo/package.json -------------------------------------------------------------------------------- /test/cli/validate-invalid-json/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-invalid-json/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-invalid-json/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-invalid-json/package-support.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/cli/validate-invalid-json/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-invalid-json/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element1/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element1/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-bad-element1/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-bad-element1/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element2/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element2/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-bad-element2/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-bad-element2/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element3/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element3/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-bad-element3/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-bad-element3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-bad-element3/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-escape-ok/command: -------------------------------------------------------------------------------- 1 | validate --base-path=${cwd}/../.. 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-escape-ok/expected: -------------------------------------------------------------------------------- 1 | Your support information is valid! 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-escape-ok/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-escape-ok/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-no-data/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-no-data/expected-errors: -------------------------------------------------------------------------------- 1 | no support info 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-no-data/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-no-data/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad1/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad1/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad1/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad1/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad2/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad2/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad2/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad2/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad3/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad3/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad3/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad3/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad4/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad4/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad4/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad4/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad5/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad5/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad5/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-repository-bad5/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository-bad5/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-repository1/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-repository1/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository1/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-repository1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-repository1/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad/package-support.json -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad2/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad2/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad2/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad2/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad2/package-support.json -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad2/package.json -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad3/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad3/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad3/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad3/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad3/package-support.json -------------------------------------------------------------------------------- /test/cli/validate-local-support-json-bad3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local-support-json-bad3/package.json -------------------------------------------------------------------------------- /test/cli/validate-local/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-local/expected: -------------------------------------------------------------------------------- 1 | Your support information is valid! 2 | -------------------------------------------------------------------------------- /test/cli/validate-local/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local/package-support.json -------------------------------------------------------------------------------- /test/cli/validate-local/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-local/package.json -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing/expected: -------------------------------------------------------------------------------- 1 | Your support information is valid! 2 | -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-multiple-backing/package-support.json -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-multiple-backing/package.json -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing2/command: -------------------------------------------------------------------------------- 1 | validate 2 | -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing2/expected: -------------------------------------------------------------------------------- 1 | Your support information is valid! 2 | -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing2/package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-multiple-backing2/package-support.json -------------------------------------------------------------------------------- /test/cli/validate-multiple-backing2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-multiple-backing2/package.json -------------------------------------------------------------------------------- /test/cli/validate-non-resolved/command: -------------------------------------------------------------------------------- 1 | validate --canonical 2 | -------------------------------------------------------------------------------- /test/cli/validate-non-resolved/expected-errors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-non-resolved/expected-errors -------------------------------------------------------------------------------- /test/cli/validate-non-resolved/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-non-resolved/package.json -------------------------------------------------------------------------------- /test/cli/validate-separate-repo-fetch/command: -------------------------------------------------------------------------------- 1 | validate --fetch 2 | -------------------------------------------------------------------------------- /test/cli/validate-separate-repo-fetch/expected: -------------------------------------------------------------------------------- 1 | Your support information is valid! 2 | -------------------------------------------------------------------------------- /test/cli/validate-separate-repo-fetch/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/cli/validate-separate-repo-fetch/package.json -------------------------------------------------------------------------------- /test/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/create.js -------------------------------------------------------------------------------- /test/fixtures/create/create-with-default-values/default-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-default-values/default-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-default-values/expected-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-default-values/expected-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-default-values/expexted-package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-default-values/expexted-package-support.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-funding-yml-no-file/default-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-funding-yml-no-file/default-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-funding-yml-positive/.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-funding-yml-positive/.github/FUNDING.yml -------------------------------------------------------------------------------- /test/fixtures/create/create-with-funding-yml-positive/default-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-funding-yml-positive/default-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-funding-yml-positive/expected-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-funding-yml-positive/expected-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-funding-yml-positive/expexted-package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-funding-yml-positive/expexted-package-support.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding-positive/default-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding-positive/default-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding-positive/expected-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding-positive/expected-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding-positive/expexted-package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding-positive/expexted-package-support.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding-string-positive/default-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding-string-positive/default-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding-string-positive/expected-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding-string-positive/expected-package.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding-string-positive/expexted-package-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding-string-positive/expexted-package-support.json -------------------------------------------------------------------------------- /test/fixtures/create/create-with-package-json-funding/default-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/create/create-with-package-json-funding/default-package.json -------------------------------------------------------------------------------- /test/fixtures/my-support-info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/fixtures/my-support-info.json -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/support/HEAD/test/index.js --------------------------------------------------------------------------------