├── .eslintrc.cjs ├── .github ├── ISSUE_TEMPLATE │ ├── BUG_REPORT.yml │ └── FEATURE_REQUEST.yml └── actions │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bin └── depngn.cjs ├── jest.config.ts ├── package.json ├── scripts └── build.ts ├── src ├── cli │ ├── index.ts │ ├── log.ts │ ├── parse.ts │ ├── usage.ts │ └── validate.ts ├── core │ ├── getCompatData.ts │ ├── getDependencies.ts │ ├── getEngines.ts │ ├── getPackageData.ts │ ├── getPackageManager.ts │ └── index.ts ├── index.ts ├── report │ ├── html.ts │ ├── index.ts │ ├── json.ts │ └── table.ts ├── types │ └── index.ts └── utils │ └── index.ts ├── tests ├── integration │ ├── cwd-option.spec.ts │ ├── mocks │ │ └── compat-data.ts │ └── report.spec.ts └── unit │ ├── cli │ ├── usage.spec.ts │ └── validate.spec.ts │ ├── core │ ├── getDependencies │ │ ├── get-dependencies.spec.ts │ │ └── mocks │ │ │ ├── withPackageJson │ │ │ └── package.json │ │ │ └── withoutPackageJson │ │ │ └── notPackage.json │ ├── getEngines │ │ ├── get-engines.spec.ts │ │ └── mocks │ │ │ ├── npm │ │ │ ├── lockfileVersion1 │ │ │ │ ├── package-lock.json │ │ │ │ └── package.json │ │ │ └── lockfileVersion2 │ │ │ │ ├── package-lock.json │ │ │ │ └── package.json │ │ │ └── yarn │ │ │ ├── node_modules │ │ │ ├── test-package-1 │ │ │ │ └── package.json │ │ │ └── test-package-2 │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── yarn.lock │ ├── getPackageData │ │ └── get-package-data.spec.ts │ └── getPackageManager │ │ ├── get-package-manager.spec.ts │ │ └── mocks │ │ ├── npm │ │ └── package-lock.json │ │ └── yarn │ │ └── yarn.lock │ └── report │ └── create.spec.ts └── tsconfig.json /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG_REPORT.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/.github/ISSUE_TEMPLATE/BUG_REPORT.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml -------------------------------------------------------------------------------- /.github/actions/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/.github/actions/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/README.md -------------------------------------------------------------------------------- /bin/depngn.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/bin/depngn.cjs -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/jest.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/package.json -------------------------------------------------------------------------------- /scripts/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/scripts/build.ts -------------------------------------------------------------------------------- /src/cli/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/cli/index.ts -------------------------------------------------------------------------------- /src/cli/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/cli/log.ts -------------------------------------------------------------------------------- /src/cli/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/cli/parse.ts -------------------------------------------------------------------------------- /src/cli/usage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/cli/usage.ts -------------------------------------------------------------------------------- /src/cli/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/cli/validate.ts -------------------------------------------------------------------------------- /src/core/getCompatData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/core/getCompatData.ts -------------------------------------------------------------------------------- /src/core/getDependencies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/core/getDependencies.ts -------------------------------------------------------------------------------- /src/core/getEngines.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/core/getEngines.ts -------------------------------------------------------------------------------- /src/core/getPackageData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/core/getPackageData.ts -------------------------------------------------------------------------------- /src/core/getPackageManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/core/getPackageManager.ts -------------------------------------------------------------------------------- /src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/core/index.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/report/html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/report/html.ts -------------------------------------------------------------------------------- /src/report/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/report/index.ts -------------------------------------------------------------------------------- /src/report/json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/report/json.ts -------------------------------------------------------------------------------- /src/report/table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/report/table.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /tests/integration/cwd-option.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/integration/cwd-option.spec.ts -------------------------------------------------------------------------------- /tests/integration/mocks/compat-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/integration/mocks/compat-data.ts -------------------------------------------------------------------------------- /tests/integration/report.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/integration/report.spec.ts -------------------------------------------------------------------------------- /tests/unit/cli/usage.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/cli/usage.spec.ts -------------------------------------------------------------------------------- /tests/unit/cli/validate.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/cli/validate.spec.ts -------------------------------------------------------------------------------- /tests/unit/core/getDependencies/get-dependencies.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getDependencies/get-dependencies.spec.ts -------------------------------------------------------------------------------- /tests/unit/core/getDependencies/mocks/withPackageJson/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getDependencies/mocks/withPackageJson/package.json -------------------------------------------------------------------------------- /tests/unit/core/getDependencies/mocks/withoutPackageJson/notPackage.json: -------------------------------------------------------------------------------- 1 | { 2 | "field": "test file." 3 | } 4 | -------------------------------------------------------------------------------- /tests/unit/core/getEngines/get-engines.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/get-engines.spec.ts -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/npm/lockfileVersion1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/npm/lockfileVersion1/package-lock.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/npm/lockfileVersion1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/npm/lockfileVersion1/package.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/npm/lockfileVersion2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/npm/lockfileVersion2/package-lock.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/npm/lockfileVersion2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/npm/lockfileVersion2/package.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/yarn/node_modules/test-package-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/yarn/node_modules/test-package-1/package.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/yarn/node_modules/test-package-2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/yarn/node_modules/test-package-2/package.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/yarn/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getEngines/mocks/yarn/package.json -------------------------------------------------------------------------------- /tests/unit/core/getEngines/mocks/yarn/yarn.lock: -------------------------------------------------------------------------------- 1 | "get-engine-spec-yarn": 2 | version: 1.0.0 3 | -------------------------------------------------------------------------------- /tests/unit/core/getPackageData/get-package-data.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getPackageData/get-package-data.spec.ts -------------------------------------------------------------------------------- /tests/unit/core/getPackageManager/get-package-manager.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/core/getPackageManager/get-package-manager.spec.ts -------------------------------------------------------------------------------- /tests/unit/core/getPackageManager/mocks/npm/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get-package-manager-spec" 3 | } 4 | -------------------------------------------------------------------------------- /tests/unit/core/getPackageManager/mocks/yarn/yarn.lock: -------------------------------------------------------------------------------- 1 | "get-package-manager-spec": 2 | version: 1.0.0 -------------------------------------------------------------------------------- /tests/unit/report/create.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tests/unit/report/create.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upgradejs/depngn/HEAD/tsconfig.json --------------------------------------------------------------------------------