├── .editorconfig ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .npmignore ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .releaserc ├── .travis.yml ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── src ├── Packer.ts ├── Taper.ts ├── adapter │ ├── Adapter.ts │ ├── Lerna.ts │ └── index.ts ├── bin │ ├── commands │ │ ├── analyze.ts │ │ ├── index.ts │ │ ├── pack.ts │ │ └── validate.ts │ └── monopacker-cli.ts ├── helper │ └── debug-hooks.ts ├── index.ts ├── types │ ├── Adapter.ts │ ├── Lerna.ts │ ├── Package.ts │ ├── Runtime.ts │ └── index.ts └── utils.ts ├── test ├── Packer.filter.test.ts ├── Packer.test.ts ├── __snapshots__ │ └── Packer.test.ts.snap ├── const.ts └── fixtures │ ├── basic │ ├── lerna.json │ ├── package-lock.json │ ├── package.json │ └── packages │ │ ├── main │ │ ├── package.json │ │ └── src │ │ │ └── test.js │ │ ├── sub │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ │ ├── subsub │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ │ └── subsubsub │ │ ├── package.json │ │ └── src │ │ └── index.js │ ├── circular │ ├── lerna.json │ ├── package.json │ └── packages │ │ ├── a │ │ └── package.json │ │ └── b │ │ └── package.json │ ├── duplicates │ ├── lerna.json │ ├── package.json │ └── packages │ │ ├── a-too │ │ └── package.json │ │ ├── a │ │ └── package.json │ │ └── main │ │ └── package.json │ ├── filter │ ├── lerna.json │ ├── package-lock.json │ ├── package.json │ └── packages │ │ └── main │ │ ├── .gitignore │ │ ├── package.json │ │ └── src │ │ ├── .next │ │ └── dll.js │ │ ├── coverage │ │ └── coverage.json │ │ ├── exclude.js │ │ ├── include.js │ │ └── nested │ │ ├── exclude.js │ │ ├── include.js │ │ └── include.test.js │ ├── multitree │ ├── lerna.json │ ├── package.json │ └── packages │ │ ├── a │ │ └── package.json │ │ ├── ab │ │ └── package.json │ │ ├── b │ │ └── package.json │ │ └── c │ │ └── package.json │ └── self │ ├── lerna.json │ ├── package.json │ └── packages │ └── main │ └── package.json ├── tsconfig.json └── tsconfig.test.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /* 2 | !build 3 | !LICENSE 4 | !package.json 5 | !README.md 6 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | save-exact=true -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | build 2 | .git 3 | __snapshots__ 4 | packed 5 | temp 6 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.prettierrc -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.releaserc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/package.json -------------------------------------------------------------------------------- /src/Packer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/Packer.ts -------------------------------------------------------------------------------- /src/Taper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/Taper.ts -------------------------------------------------------------------------------- /src/adapter/Adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/adapter/Adapter.ts -------------------------------------------------------------------------------- /src/adapter/Lerna.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/adapter/Lerna.ts -------------------------------------------------------------------------------- /src/adapter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/adapter/index.ts -------------------------------------------------------------------------------- /src/bin/commands/analyze.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/bin/commands/analyze.ts -------------------------------------------------------------------------------- /src/bin/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/bin/commands/index.ts -------------------------------------------------------------------------------- /src/bin/commands/pack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/bin/commands/pack.ts -------------------------------------------------------------------------------- /src/bin/commands/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/bin/commands/validate.ts -------------------------------------------------------------------------------- /src/bin/monopacker-cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/bin/monopacker-cli.ts -------------------------------------------------------------------------------- /src/helper/debug-hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/helper/debug-hooks.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types/Adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/types/Adapter.ts -------------------------------------------------------------------------------- /src/types/Lerna.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/types/Lerna.ts -------------------------------------------------------------------------------- /src/types/Package.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/types/Package.ts -------------------------------------------------------------------------------- /src/types/Runtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/types/Runtime.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/Packer.filter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/Packer.filter.test.ts -------------------------------------------------------------------------------- /test/Packer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/Packer.test.ts -------------------------------------------------------------------------------- /test/__snapshots__/Packer.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/__snapshots__/Packer.test.ts.snap -------------------------------------------------------------------------------- /test/const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/const.ts -------------------------------------------------------------------------------- /test/fixtures/basic/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/lerna.json -------------------------------------------------------------------------------- /test/fixtures/basic/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/package-lock.json -------------------------------------------------------------------------------- /test/fixtures/basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/package.json -------------------------------------------------------------------------------- /test/fixtures/basic/packages/main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/packages/main/package.json -------------------------------------------------------------------------------- /test/fixtures/basic/packages/main/src/test.js: -------------------------------------------------------------------------------- 1 | module.exports = 'Hello world'; 2 | -------------------------------------------------------------------------------- /test/fixtures/basic/packages/sub/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/packages/sub/package.json -------------------------------------------------------------------------------- /test/fixtures/basic/packages/sub/src/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'Hello from sub'; 2 | -------------------------------------------------------------------------------- /test/fixtures/basic/packages/subsub/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/packages/subsub/package.json -------------------------------------------------------------------------------- /test/fixtures/basic/packages/subsub/src/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'Hello from sub'; 2 | -------------------------------------------------------------------------------- /test/fixtures/basic/packages/subsubsub/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/basic/packages/subsubsub/package.json -------------------------------------------------------------------------------- /test/fixtures/basic/packages/subsubsub/src/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'Hello from sub'; 2 | -------------------------------------------------------------------------------- /test/fixtures/circular/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/circular/lerna.json -------------------------------------------------------------------------------- /test/fixtures/circular/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/circular/package.json -------------------------------------------------------------------------------- /test/fixtures/circular/packages/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/circular/packages/a/package.json -------------------------------------------------------------------------------- /test/fixtures/circular/packages/b/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/circular/packages/b/package.json -------------------------------------------------------------------------------- /test/fixtures/duplicates/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/duplicates/lerna.json -------------------------------------------------------------------------------- /test/fixtures/duplicates/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/duplicates/package.json -------------------------------------------------------------------------------- /test/fixtures/duplicates/packages/a-too/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/duplicates/packages/a-too/package.json -------------------------------------------------------------------------------- /test/fixtures/duplicates/packages/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/duplicates/packages/a/package.json -------------------------------------------------------------------------------- /test/fixtures/duplicates/packages/main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/duplicates/packages/main/package.json -------------------------------------------------------------------------------- /test/fixtures/filter/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/filter/lerna.json -------------------------------------------------------------------------------- /test/fixtures/filter/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/filter/package-lock.json -------------------------------------------------------------------------------- /test/fixtures/filter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/filter/package.json -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/.gitignore: -------------------------------------------------------------------------------- 1 | !coverage 2 | !.next 3 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/filter/packages/main/package.json -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/.next/dll.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/coverage/coverage.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/exclude.js: -------------------------------------------------------------------------------- 1 | module.exports = 'Hello world'; 2 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/include.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/nested/exclude.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/nested/include.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/filter/packages/main/src/nested/include.test.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/multitree/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/multitree/lerna.json -------------------------------------------------------------------------------- /test/fixtures/multitree/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/multitree/package.json -------------------------------------------------------------------------------- /test/fixtures/multitree/packages/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/multitree/packages/a/package.json -------------------------------------------------------------------------------- /test/fixtures/multitree/packages/ab/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/multitree/packages/ab/package.json -------------------------------------------------------------------------------- /test/fixtures/multitree/packages/b/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/multitree/packages/b/package.json -------------------------------------------------------------------------------- /test/fixtures/multitree/packages/c/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/multitree/packages/c/package.json -------------------------------------------------------------------------------- /test/fixtures/self/lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/self/lerna.json -------------------------------------------------------------------------------- /test/fixtures/self/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/self/package.json -------------------------------------------------------------------------------- /test/fixtures/self/packages/main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/test/fixtures/self/packages/main/package.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janbiasi/monopacker/HEAD/tsconfig.test.json --------------------------------------------------------------------------------