├── .clean-publish ├── .editorconfig ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .npmignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── clean-publish.js ├── clear-package-json.js ├── core.js ├── eslint.config.js ├── exception ├── ignore-fields.js ├── ignore-files.js └── npm-scripts.js ├── get-config.js ├── img └── logo.svg ├── package.json ├── pnpm-lock.yaml ├── schema.json ├── test ├── clean-package.json ├── clean-publish-config.json ├── clean-publish.test.js ├── clear-package-json.test.js ├── core.test.js ├── package │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── TestUtils.js │ ├── appveyor.yml │ ├── crowdin.yaml │ ├── eslintImportResolver.js │ ├── flow-typed │ │ ├── co.js │ │ ├── console.js │ │ ├── graceful-fs.js │ │ ├── is-generator-fn.js │ │ ├── npm │ │ │ └── chalk_v1.x.x.js │ │ ├── resolve.js │ │ └── stack-utils.js │ ├── jsconfig.json │ ├── karma.conf.js │ ├── lerna.json │ ├── package.json │ ├── pnpm-lock.yaml │ ├── scripts │ │ ├── ConditionalTest.js │ │ ├── browserBuild.js │ │ ├── build.js │ │ ├── getPackages.js │ │ ├── mapCoverage.js │ │ └── watch.js │ ├── testSetupFile.js │ └── types │ │ ├── Argv.js │ │ ├── ChangedFiles.js │ │ ├── Circus.js │ │ ├── Config.js │ │ ├── Console.js │ │ ├── Context.js │ │ ├── Environment.js │ │ ├── Errors.js │ │ ├── Global.js │ │ ├── HasteMap.js │ │ ├── Jasmine.js │ │ ├── Jest.js │ │ ├── JestHooks.js │ │ ├── Matchers.js │ │ ├── Mock.js │ │ ├── PrettyFormat.js │ │ ├── Process.js │ │ ├── Reporters.js │ │ ├── Resolve.js │ │ ├── SourceMaps.js │ │ ├── TestResult.js │ │ ├── TestRunner.js │ │ ├── Transform.js │ │ └── Watch.js ├── utils.js └── utils.test.js ├── types.d.ts └── utils.js /.clean-publish: -------------------------------------------------------------------------------- 1 | { 2 | "cleanDocs": true 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/README.md -------------------------------------------------------------------------------- /clean-publish.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/clean-publish.js -------------------------------------------------------------------------------- /clear-package-json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/clear-package-json.js -------------------------------------------------------------------------------- /core.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/core.js -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/eslint.config.js -------------------------------------------------------------------------------- /exception/ignore-fields.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/exception/ignore-fields.js -------------------------------------------------------------------------------- /exception/ignore-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/exception/ignore-files.js -------------------------------------------------------------------------------- /exception/npm-scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/exception/npm-scripts.js -------------------------------------------------------------------------------- /get-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/get-config.js -------------------------------------------------------------------------------- /img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/img/logo.svg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/schema.json -------------------------------------------------------------------------------- /test/clean-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/clean-package.json -------------------------------------------------------------------------------- /test/clean-publish-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "fields": ["collective"] 3 | } 4 | -------------------------------------------------------------------------------- /test/clean-publish.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/clean-publish.test.js -------------------------------------------------------------------------------- /test/clear-package-json.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/clear-package-json.test.js -------------------------------------------------------------------------------- /test/core.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/core.test.js -------------------------------------------------------------------------------- /test/package/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # ChangeLog 2 | -------------------------------------------------------------------------------- /test/package/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/LICENSE -------------------------------------------------------------------------------- /test/package/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/README.md -------------------------------------------------------------------------------- /test/package/TestUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/TestUtils.js -------------------------------------------------------------------------------- /test/package/appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/appveyor.yml -------------------------------------------------------------------------------- /test/package/crowdin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/crowdin.yaml -------------------------------------------------------------------------------- /test/package/eslintImportResolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/eslintImportResolver.js -------------------------------------------------------------------------------- /test/package/flow-typed/co.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/co.js -------------------------------------------------------------------------------- /test/package/flow-typed/console.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/console.js -------------------------------------------------------------------------------- /test/package/flow-typed/graceful-fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/graceful-fs.js -------------------------------------------------------------------------------- /test/package/flow-typed/is-generator-fn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/is-generator-fn.js -------------------------------------------------------------------------------- /test/package/flow-typed/npm/chalk_v1.x.x.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/npm/chalk_v1.x.x.js -------------------------------------------------------------------------------- /test/package/flow-typed/resolve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/resolve.js -------------------------------------------------------------------------------- /test/package/flow-typed/stack-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/flow-typed/stack-utils.js -------------------------------------------------------------------------------- /test/package/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/jsconfig.json -------------------------------------------------------------------------------- /test/package/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/karma.conf.js -------------------------------------------------------------------------------- /test/package/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/lerna.json -------------------------------------------------------------------------------- /test/package/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/package.json -------------------------------------------------------------------------------- /test/package/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/pnpm-lock.yaml -------------------------------------------------------------------------------- /test/package/scripts/ConditionalTest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/scripts/ConditionalTest.js -------------------------------------------------------------------------------- /test/package/scripts/browserBuild.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/scripts/browserBuild.js -------------------------------------------------------------------------------- /test/package/scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/scripts/build.js -------------------------------------------------------------------------------- /test/package/scripts/getPackages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/scripts/getPackages.js -------------------------------------------------------------------------------- /test/package/scripts/mapCoverage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/scripts/mapCoverage.js -------------------------------------------------------------------------------- /test/package/scripts/watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/scripts/watch.js -------------------------------------------------------------------------------- /test/package/testSetupFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/testSetupFile.js -------------------------------------------------------------------------------- /test/package/types/Argv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Argv.js -------------------------------------------------------------------------------- /test/package/types/ChangedFiles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/ChangedFiles.js -------------------------------------------------------------------------------- /test/package/types/Circus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Circus.js -------------------------------------------------------------------------------- /test/package/types/Config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Config.js -------------------------------------------------------------------------------- /test/package/types/Console.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Console.js -------------------------------------------------------------------------------- /test/package/types/Context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Context.js -------------------------------------------------------------------------------- /test/package/types/Environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Environment.js -------------------------------------------------------------------------------- /test/package/types/Errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Errors.js -------------------------------------------------------------------------------- /test/package/types/Global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Global.js -------------------------------------------------------------------------------- /test/package/types/HasteMap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/HasteMap.js -------------------------------------------------------------------------------- /test/package/types/Jasmine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Jasmine.js -------------------------------------------------------------------------------- /test/package/types/Jest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Jest.js -------------------------------------------------------------------------------- /test/package/types/JestHooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/JestHooks.js -------------------------------------------------------------------------------- /test/package/types/Matchers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Matchers.js -------------------------------------------------------------------------------- /test/package/types/Mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Mock.js -------------------------------------------------------------------------------- /test/package/types/PrettyFormat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/PrettyFormat.js -------------------------------------------------------------------------------- /test/package/types/Process.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Process.js -------------------------------------------------------------------------------- /test/package/types/Reporters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Reporters.js -------------------------------------------------------------------------------- /test/package/types/Resolve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Resolve.js -------------------------------------------------------------------------------- /test/package/types/SourceMaps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/SourceMaps.js -------------------------------------------------------------------------------- /test/package/types/TestResult.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/TestResult.js -------------------------------------------------------------------------------- /test/package/types/TestRunner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/TestRunner.js -------------------------------------------------------------------------------- /test/package/types/Transform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Transform.js -------------------------------------------------------------------------------- /test/package/types/Watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/package/types/Watch.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/utils.js -------------------------------------------------------------------------------- /test/utils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/test/utils.test.js -------------------------------------------------------------------------------- /types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/types.d.ts -------------------------------------------------------------------------------- /utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shashkovdanil/clean-publish/HEAD/utils.js --------------------------------------------------------------------------------