├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .husky └── pre-commit ├── .prettierignore ├── README.md ├── docs ├── app │ ├── globals.css │ ├── layout.tsx │ ├── opengraph-image.png │ ├── page.tsx │ ├── reset.css │ ├── slot-machine-text.tsx │ └── terminal-animation.tsx ├── next-env.d.ts ├── package.json ├── postcss.config.mjs ├── public │ └── llms.txt └── tsconfig.json ├── examples ├── basic-ts │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── react.tsx │ └── tsconfig.json ├── basic │ ├── package.json │ └── src │ │ └── index.js ├── custom-jsx │ ├── package.json │ ├── src │ │ └── index.tsx │ └── tsconfig.json ├── esm │ ├── package.json │ └── src │ │ └── index.js └── server-actions │ ├── package.json │ ├── src │ ├── action.ts │ ├── client.tsx │ └── inline.tsx │ └── tsconfig.json ├── package.json ├── pnpm-lock.yaml ├── scripts └── new-test.js ├── src ├── bin │ └── index.ts ├── build-config.ts ├── bundle.ts ├── constants.ts ├── entries.ts ├── env.ts ├── exports.ts ├── index.ts ├── lib │ ├── file-match.test.ts │ ├── file-match.ts │ ├── format.ts │ ├── memoize.test.ts │ ├── memoize.ts │ └── normalize-error.ts ├── lint.ts ├── logger.ts ├── plugins │ ├── alias-plugin.ts │ ├── esm-shim.test.ts │ ├── esm-shim.ts │ ├── inline-css.ts │ ├── output-state-plugin.ts │ ├── prepend-shebang.ts │ └── raw-plugin.ts ├── prepare │ ├── index.ts │ └── prepare-entries.ts ├── rollup-job.ts ├── rollup │ ├── input.ts │ ├── output.ts │ └── split-chunks.ts ├── types.ts ├── typescript.ts ├── typing.test.ts ├── util │ ├── file-path.test.ts │ └── file-path.ts └── utils.ts ├── test ├── cli │ ├── basic │ │ ├── hello.js │ │ └── index.test.ts │ ├── cjs-relative-imports │ │ ├── cjs-dep.cjs │ │ ├── index.js │ │ ├── index.test.ts │ │ └── js-dep.js │ ├── dts-bundle │ │ ├── .gitignore │ │ ├── base.ts │ │ ├── index.test.ts │ │ └── tsconfig.json │ ├── dts │ │ ├── index.test.ts │ │ └── input.ts │ ├── env-var │ │ ├── index.js │ │ └── index.test.ts │ ├── externals │ │ ├── index.test.ts │ │ └── with-externals.js │ ├── no-dts │ │ ├── base.ts │ │ └── index.test.ts │ ├── no-entry │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── no-entry.txt │ ├── output-in-watch │ │ ├── hello.js │ │ └── index.test.ts │ ├── single-entry-js │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── target │ │ ├── es2020.ts │ │ └── index.test.ts │ └── workspace │ │ ├── index.test.ts │ │ ├── index.ts │ │ └── package.json ├── compile.test.ts ├── compile │ ├── es-advance │ │ ├── __snapshot__ │ │ │ ├── es-advance.js.snapshot │ │ │ └── es-advance.min.js.snapshot │ │ └── input.js │ ├── es-basic │ │ ├── __snapshot__ │ │ │ ├── es-basic.js.snapshot │ │ │ └── es-basic.min.js.snapshot │ │ └── input.js │ ├── jsx-preserve │ │ ├── __snapshot__ │ │ │ ├── jsx-preserve.d.ts.snapshot │ │ │ ├── jsx-preserve.js.snapshot │ │ │ ├── jsx-preserve.min.d.ts.snapshot │ │ │ └── jsx-preserve.min.js.snapshot │ │ ├── input.tsx │ │ └── tsconfig.json │ ├── jsx-react-automatic │ │ ├── __snapshot__ │ │ │ ├── jsx-react-automatic.d.ts.snapshot │ │ │ ├── jsx-react-automatic.js.snapshot │ │ │ ├── jsx-react-automatic.min.d.ts.snapshot │ │ │ └── jsx-react-automatic.min.js.snapshot │ │ ├── input.tsx │ │ ├── package.json │ │ └── tsconfig.json │ ├── jsx │ │ ├── __snapshot__ │ │ │ ├── jsx.js.snapshot │ │ │ └── jsx.min.js.snapshot │ │ └── input.jsx │ ├── module │ │ ├── __snapshot__ │ │ │ ├── module.js.snapshot │ │ │ └── module.min.js.snapshot │ │ ├── a.js │ │ ├── b.js │ │ └── input.js │ ├── shebang │ │ ├── __snapshot__ │ │ │ ├── shebang.js.snapshot │ │ │ └── shebang.min.js.snapshot │ │ └── input.js │ ├── sub-folder-import │ │ ├── __snapshot__ │ │ │ ├── sub-folder-import.js.snapshot │ │ │ └── sub-folder-import.min.js.snapshot │ │ ├── input.js │ │ └── package.json │ ├── treeshake │ │ ├── __snapshot__ │ │ │ ├── treeshake.js.snapshot │ │ │ └── treeshake.min.js.snapshot │ │ └── input.js │ ├── ts-basic │ │ ├── __snapshot__ │ │ │ ├── ts-basic.d.ts.snapshot │ │ │ ├── ts-basic.js.snapshot │ │ │ ├── ts-basic.min.d.ts.snapshot │ │ │ └── ts-basic.min.js.snapshot │ │ ├── input.ts │ │ ├── math.ts │ │ └── tsconfig.json │ ├── ts-interop │ │ ├── __snapshot__ │ │ │ ├── ts-interop.d.ts.snapshot │ │ │ ├── ts-interop.js.snapshot │ │ │ ├── ts-interop.min.d.ts.snapshot │ │ │ └── ts-interop.min.js.snapshot │ │ ├── input.ts │ │ ├── package.json │ │ ├── tsconfig.base.json │ │ └── tsconfig.json │ ├── ts-target-es2018 │ │ ├── __snapshot__ │ │ │ ├── ts-target-es2018.d.ts.snapshot │ │ │ ├── ts-target-es2018.js.snapshot │ │ │ ├── ts-target-es2018.min.d.ts.snapshot │ │ │ └── ts-target-es2018.min.js.snapshot │ │ ├── input.ts │ │ └── tsconfig.json │ ├── tsx-css-global │ │ ├── __snapshot__ │ │ │ ├── tsx-css-global.d.ts.snapshot │ │ │ ├── tsx-css-global.js.snapshot │ │ │ ├── tsx-css-global.min.d.ts.snapshot │ │ │ └── tsx-css-global.min.js.snapshot │ │ ├── input.tsx │ │ ├── style.css │ │ └── tsconfig.json │ ├── tsx │ │ ├── __snapshot__ │ │ │ ├── env.d.ts │ │ │ ├── tsx.d.ts.snapshot │ │ │ ├── tsx.js.snapshot │ │ │ ├── tsx.min.d.ts.snapshot │ │ │ └── tsx.min.js.snapshot │ │ ├── env.d.ts │ │ ├── foo.tsx │ │ ├── input.tsx │ │ ├── package.json │ │ └── tsconfig.json │ └── use-client │ │ ├── __snapshot__ │ │ ├── use-client.js.snapshot │ │ └── use-client.min.js.snapshot │ │ ├── client.js │ │ └── input.js ├── fixtures │ └── integration-test-template │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ └── index.js ├── integration │ ├── basic-jsx │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── bin │ │ ├── cts │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── bin │ │ │ │ └── index.cts │ │ ├── multi-path │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── bin │ │ │ │ ├── a.ts │ │ │ │ └── b.ts │ │ ├── patch-binary │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── bin │ │ │ │ └── index.ts │ │ └── single-path │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ └── bin │ │ │ └── index.ts │ ├── browserslist │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── conflicted-entry │ │ ├── conflicted-entry.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── foo.ts │ │ │ └── foo │ │ │ └── index.jsx │ ├── declaration-map │ │ ├── .gitignore │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── default-default-export-different-ext │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── a.ts │ │ │ ├── b.ts │ │ │ └── c.ts │ ├── default-default-export │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── a.ts │ │ │ ├── b.ts │ │ │ └── c.ts │ ├── default-node-mjs │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── dev-prod-convention-reexport │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── core.ts │ │ │ └── index.ts │ ├── dev-prod-convention │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── dev-prod-nested-convention │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── core.development.ts │ │ │ ├── core.production.ts │ │ │ ├── core.ts │ │ │ ├── index.development.ts │ │ │ ├── index.production.ts │ │ │ └── index.ts │ ├── dev-prod-special-convention │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── index.react-server.ts │ │ │ └── index.ts │ ├── duplicate-entries-partial-specified │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── a.ts │ │ │ ├── a.workerd.ts │ │ │ └── a │ │ │ └── shared.ts │ ├── dynamic-require │ │ ├── dynamic-require.test.ts │ │ ├── node_modules │ │ │ └── external-lib │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── src │ │ │ ├── foo.js │ │ │ ├── index.js │ │ │ └── required-module.js │ ├── edge-variable │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── entry-index-index │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index │ │ │ ├── index.js │ │ │ └── index.react-server.js │ ├── errors │ │ └── compile-error │ │ │ ├── package.json │ │ │ └── src │ │ │ └── index.tsx │ ├── esm-pkg-cjs-main-field │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── esm-shims │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── custom-require.js │ │ │ ├── dirname.js │ │ │ ├── filename.js │ │ │ └── require.js │ ├── exports-order │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── a.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ ├── externals │ │ ├── index.test.ts │ │ ├── node_modules │ │ │ ├── .modules.yaml │ │ │ ├── peer-dep-meta │ │ │ │ └── index.js │ │ │ └── peer-dep │ │ │ │ └── index.js │ │ ├── package.json │ │ ├── src │ │ │ └── index.js │ │ └── sub-export.js │ ├── import-fallback │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── a │ │ │ └── index.edge-light.js │ │ │ └── b.js │ ├── js-bad-configured-types │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── js-only │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── lint │ │ ├── cjs-pkg-esm-main-field │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── index.js │ │ ├── invalid-exports-cjs │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── foo.js │ │ │ │ └── index.js │ │ ├── invalid-exports-esm │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── foo.js │ │ │ │ └── index.js │ │ ├── missing-files-exports │ │ │ ├── foo │ │ │ │ └── index.js │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── foo.js │ │ │ │ └── index.js │ │ ├── missing-files-main │ │ │ ├── index.js │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── index.js │ │ └── single-entry │ │ │ ├── .gitignore │ │ │ ├── index.test.ts │ │ │ ├── package.json │ │ │ └── src │ │ │ └── index.ts │ ├── missing-entry-file │ │ ├── missing-entry-file.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── bar.js.missing │ │ │ ├── foo.js.missing │ │ │ └── index.js │ ├── mixed-directives │ │ ├── .gitignore │ │ ├── mixed-directives.test.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── action.ts │ │ │ ├── client.tsx │ │ │ └── inline.tsx │ │ └── tsconfig.json │ ├── monorepo-composite-no-incremental │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── packages │ │ │ └── a │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ └── tsconfig.json │ ├── monorepo-composite │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── packages │ │ │ └── a │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ └── tsconfig.json │ ├── multi-entries │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── client.ts │ │ │ ├── index.ts │ │ │ ├── lite.ts │ │ │ ├── server │ │ │ ├── index.edge-light.ts │ │ │ ├── index.react-server.ts │ │ │ └── index.ts │ │ │ ├── shared.edge-light.ts │ │ │ └── shared.ts │ ├── multi-exports-ts │ │ ├── .gitignore │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── foo.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ ├── multi-types │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── nested-exports │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── foo │ │ │ └── bar.js │ ├── no-clean │ │ ├── .gitignore │ │ ├── index.test.ts │ │ ├── no-clean.json │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── no-entry │ │ └── src │ │ │ ├── no-entry.txt │ │ │ └── style.css │ ├── node-mixed-legacy-modern-entries │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── output-short │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── output │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── bin │ │ │ └── cli.js │ │ │ ├── foo.js │ │ │ ├── index.js │ │ │ └── index.react-server.js │ ├── pkg-exports-default │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── pkg-exports-js │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── pkg-exports-ts-rsc │ │ ├── .gitignore │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── api │ │ │ ├── index.react-server.ts │ │ │ └── index.ts │ │ │ ├── index.react-native.ts │ │ │ ├── index.react-server.ts │ │ │ └── index.ts │ ├── prepare-js │ │ ├── .gitignore │ │ ├── index.test.ts │ │ └── src │ │ │ ├── bin.js │ │ │ ├── foo.js │ │ │ └── index.js │ ├── prepare-ts-with-pkg-json │ │ ├── .gitignore │ │ ├── index.test.ts │ │ └── src │ │ │ └── index.ts │ ├── prepare-ts-with-test-file │ │ ├── .gitignore │ │ ├── index.test.ts │ │ └── src │ │ │ ├── foo.spec.ts │ │ │ ├── index.test.ts │ │ │ └── index.ts │ ├── prepare-ts │ │ ├── .gitignore │ │ ├── index.test.ts │ │ └── src │ │ │ ├── bin │ │ │ ├── cli.ts │ │ │ └── cmd.ts │ │ │ ├── foo.ts │ │ │ ├── index.react-server.ts │ │ │ └── index.ts │ ├── raw-data │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── content.txt │ │ │ ├── index.js │ │ │ └── readme.md │ ├── relative-entry │ │ ├── package.json │ │ ├── relative-entry.test.ts │ │ └── src │ │ │ ├── index.js │ │ │ └── relative.js │ ├── server-components-same-layer │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── _client.js │ │ │ └── index.js │ ├── server-components │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── index.js │ │ │ ├── mod_actions.js │ │ │ ├── mod_asset.js │ │ │ ├── mod_client.js │ │ │ └── ui.js │ ├── shared-any-module │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── _internal │ │ │ ├── __mocks__ │ │ │ │ └── a.mock.js │ │ │ ├── run-tests.spec.js │ │ │ ├── util-a.ts │ │ │ └── util-b.ts │ │ │ ├── export-a.js │ │ │ ├── export-b.js │ │ │ ├── export-c.js │ │ │ └── private │ │ │ └── _nested │ │ │ └── util-c.ts │ ├── shared-entry │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── script.js │ │ └── src │ │ │ ├── index.js │ │ │ ├── shared.js │ │ │ └── sub │ │ │ └── foo.js │ ├── shared-module-special-condition │ │ ├── package.json │ │ ├── shared-module-special-condition.test.ts │ │ └── src │ │ │ ├── _util.ts │ │ │ └── index.ts │ ├── shared-module-ts-esm │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── _util.ts │ │ │ └── index.ts │ ├── shared-module-ts │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── another.ts │ │ │ ├── index.react-server.ts │ │ │ ├── index.ts │ │ │ └── lib │ │ │ ├── _app-context.ts │ │ │ └── _util.ts │ ├── shared-module-with-suffix │ │ ├── package.json │ │ ├── shared-module-with-suffix.test.ts │ │ └── src │ │ │ ├── _private │ │ │ └── util.browser.ts │ │ │ └── client │ │ │ └── index.ts │ ├── shared-module │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── _internal │ │ │ ├── index.js │ │ │ └── index.react-server.js │ │ │ ├── another.js │ │ │ ├── client.js │ │ │ ├── index.js │ │ │ ├── index.react-server.js │ │ │ └── lib │ │ │ ├── _app-context.js │ │ │ └── _util.js │ ├── sourcemap-dts │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── split-common-chunks │ │ ├── .gitignore │ │ ├── package.json │ │ ├── split-common-chunks.test.ts │ │ ├── src │ │ │ ├── bar.ts │ │ │ ├── foo.ts │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── stage3-decorator │ │ ├── .gitignore │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── subpath-imports │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── index.js │ │ │ └── lib │ │ │ └── polyfill.js │ ├── success-cmd │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.js │ ├── ts-allow-js │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.js │ │ └── tsconfig.json │ ├── ts-dual-package-module │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── ts-dual-package-type-cjs │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── ts-error │ │ ├── index.test.ts │ │ ├── node_modules │ │ │ └── typescript │ │ │ │ └── index.js │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── ts-exports-multiple-conditions │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ ├── index.browser.ts │ │ │ ├── index.edge-light.ts │ │ │ ├── index.ts │ │ │ └── index.workerd.ts │ ├── ts-exports-types │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── ts-import-json-exports-condition │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── ts-import-json-exports-string │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ │ └── index.ts │ ├── ts-incremental-with-buildinfofile │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── ts-incremental │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── ts-no-emit │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── tsconfig-override │ │ ├── .gitignore │ │ ├── index.test.ts │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json │ └── unspecified-types-paths │ │ ├── index.test.ts │ │ ├── package.json │ │ └── src │ │ └── subpath │ │ └── nested.ts ├── testing-utils │ ├── cli.ts │ ├── debug.ts │ ├── helpers.ts │ ├── index.ts │ ├── integration.ts │ └── shared.ts └── tsconfig.json ├── tsconfig.json └── vitest.config.js /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | pnpm lint-staged 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | README.md 3 | test/integration/errors 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/README.md -------------------------------------------------------------------------------- /docs/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/globals.css -------------------------------------------------------------------------------- /docs/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/layout.tsx -------------------------------------------------------------------------------- /docs/app/opengraph-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/opengraph-image.png -------------------------------------------------------------------------------- /docs/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/page.tsx -------------------------------------------------------------------------------- /docs/app/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/reset.css -------------------------------------------------------------------------------- /docs/app/slot-machine-text.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/slot-machine-text.tsx -------------------------------------------------------------------------------- /docs/app/terminal-animation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/app/terminal-animation.tsx -------------------------------------------------------------------------------- /docs/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/next-env.d.ts -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/postcss.config.mjs -------------------------------------------------------------------------------- /docs/public/llms.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/public/llms.txt -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /examples/basic-ts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/basic-ts/package.json -------------------------------------------------------------------------------- /examples/basic-ts/src/index.ts: -------------------------------------------------------------------------------- 1 | export function foo(): string { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /examples/basic-ts/src/react.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/basic-ts/src/react.tsx -------------------------------------------------------------------------------- /examples/basic-ts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/basic-ts/tsconfig.json -------------------------------------------------------------------------------- /examples/basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/basic/package.json -------------------------------------------------------------------------------- /examples/basic/src/index.js: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /examples/custom-jsx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/custom-jsx/package.json -------------------------------------------------------------------------------- /examples/custom-jsx/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/custom-jsx/src/index.tsx -------------------------------------------------------------------------------- /examples/custom-jsx/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/custom-jsx/tsconfig.json -------------------------------------------------------------------------------- /examples/esm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/esm/package.json -------------------------------------------------------------------------------- /examples/esm/src/index.js: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /examples/server-actions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/server-actions/package.json -------------------------------------------------------------------------------- /examples/server-actions/src/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/server-actions/src/action.ts -------------------------------------------------------------------------------- /examples/server-actions/src/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/server-actions/src/client.tsx -------------------------------------------------------------------------------- /examples/server-actions/src/inline.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/server-actions/src/inline.tsx -------------------------------------------------------------------------------- /examples/server-actions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/examples/server-actions/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/new-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/scripts/new-test.js -------------------------------------------------------------------------------- /src/bin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/bin/index.ts -------------------------------------------------------------------------------- /src/build-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/build-config.ts -------------------------------------------------------------------------------- /src/bundle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/bundle.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/entries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/entries.ts -------------------------------------------------------------------------------- /src/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/env.ts -------------------------------------------------------------------------------- /src/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/exports.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lib/file-match.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lib/file-match.test.ts -------------------------------------------------------------------------------- /src/lib/file-match.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lib/file-match.ts -------------------------------------------------------------------------------- /src/lib/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lib/format.ts -------------------------------------------------------------------------------- /src/lib/memoize.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lib/memoize.test.ts -------------------------------------------------------------------------------- /src/lib/memoize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lib/memoize.ts -------------------------------------------------------------------------------- /src/lib/normalize-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lib/normalize-error.ts -------------------------------------------------------------------------------- /src/lint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/lint.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/plugins/alias-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/alias-plugin.ts -------------------------------------------------------------------------------- /src/plugins/esm-shim.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/esm-shim.test.ts -------------------------------------------------------------------------------- /src/plugins/esm-shim.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/esm-shim.ts -------------------------------------------------------------------------------- /src/plugins/inline-css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/inline-css.ts -------------------------------------------------------------------------------- /src/plugins/output-state-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/output-state-plugin.ts -------------------------------------------------------------------------------- /src/plugins/prepend-shebang.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/prepend-shebang.ts -------------------------------------------------------------------------------- /src/plugins/raw-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/plugins/raw-plugin.ts -------------------------------------------------------------------------------- /src/prepare/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/prepare/index.ts -------------------------------------------------------------------------------- /src/prepare/prepare-entries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/prepare/prepare-entries.ts -------------------------------------------------------------------------------- /src/rollup-job.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/rollup-job.ts -------------------------------------------------------------------------------- /src/rollup/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/rollup/input.ts -------------------------------------------------------------------------------- /src/rollup/output.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/rollup/output.ts -------------------------------------------------------------------------------- /src/rollup/split-chunks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/rollup/split-chunks.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/typescript.ts -------------------------------------------------------------------------------- /src/typing.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/typing.test.ts -------------------------------------------------------------------------------- /src/util/file-path.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/util/file-path.test.ts -------------------------------------------------------------------------------- /src/util/file-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/util/file-path.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/cli/basic/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/basic/hello.js -------------------------------------------------------------------------------- /test/cli/basic/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/basic/index.test.ts -------------------------------------------------------------------------------- /test/cli/cjs-relative-imports/cjs-dep.cjs: -------------------------------------------------------------------------------- 1 | module.exports = 'dot-cjs-dep' 2 | -------------------------------------------------------------------------------- /test/cli/cjs-relative-imports/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/cjs-relative-imports/index.js -------------------------------------------------------------------------------- /test/cli/cjs-relative-imports/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/cjs-relative-imports/index.test.ts -------------------------------------------------------------------------------- /test/cli/cjs-relative-imports/js-dep.js: -------------------------------------------------------------------------------- 1 | module.exports = 'dot-js-dep' 2 | -------------------------------------------------------------------------------- /test/cli/dts-bundle/.gitignore: -------------------------------------------------------------------------------- 1 | !tsconfig.json -------------------------------------------------------------------------------- /test/cli/dts-bundle/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/dts-bundle/base.ts -------------------------------------------------------------------------------- /test/cli/dts-bundle/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/dts-bundle/index.test.ts -------------------------------------------------------------------------------- /test/cli/dts-bundle/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/dts-bundle/tsconfig.json -------------------------------------------------------------------------------- /test/cli/dts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/dts/index.test.ts -------------------------------------------------------------------------------- /test/cli/dts/input.ts: -------------------------------------------------------------------------------- 1 | export default 'base' 2 | -------------------------------------------------------------------------------- /test/cli/env-var/index.js: -------------------------------------------------------------------------------- 1 | export const myTestEnv = process.env.MY_TEST_ENV 2 | -------------------------------------------------------------------------------- /test/cli/env-var/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/env-var/index.test.ts -------------------------------------------------------------------------------- /test/cli/externals/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/externals/index.test.ts -------------------------------------------------------------------------------- /test/cli/externals/with-externals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/externals/with-externals.js -------------------------------------------------------------------------------- /test/cli/no-dts/base.ts: -------------------------------------------------------------------------------- 1 | export default 'base' 2 | -------------------------------------------------------------------------------- /test/cli/no-dts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/no-dts/index.test.ts -------------------------------------------------------------------------------- /test/cli/no-entry/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/no-entry/index.test.ts -------------------------------------------------------------------------------- /test/cli/no-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/no-entry/package.json -------------------------------------------------------------------------------- /test/cli/no-entry/src/no-entry.txt: -------------------------------------------------------------------------------- 1 | no-entry -------------------------------------------------------------------------------- /test/cli/output-in-watch/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/output-in-watch/hello.js -------------------------------------------------------------------------------- /test/cli/output-in-watch/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/output-in-watch/index.test.ts -------------------------------------------------------------------------------- /test/cli/single-entry-js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/single-entry-js/package.json -------------------------------------------------------------------------------- /test/cli/single-entry-js/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/single-entry-js/src/index.js -------------------------------------------------------------------------------- /test/cli/target/es2020.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/target/es2020.ts -------------------------------------------------------------------------------- /test/cli/target/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/target/index.test.ts -------------------------------------------------------------------------------- /test/cli/workspace/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/workspace/index.test.ts -------------------------------------------------------------------------------- /test/cli/workspace/index.ts: -------------------------------------------------------------------------------- 1 | export default 'package' 2 | -------------------------------------------------------------------------------- /test/cli/workspace/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/cli/workspace/package.json -------------------------------------------------------------------------------- /test/compile.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile.test.ts -------------------------------------------------------------------------------- /test/compile/es-advance/__snapshot__/es-advance.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/es-advance/__snapshot__/es-advance.js.snapshot -------------------------------------------------------------------------------- /test/compile/es-advance/__snapshot__/es-advance.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/es-advance/__snapshot__/es-advance.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/es-advance/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/es-advance/input.js -------------------------------------------------------------------------------- /test/compile/es-basic/__snapshot__/es-basic.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/es-basic/__snapshot__/es-basic.js.snapshot -------------------------------------------------------------------------------- /test/compile/es-basic/__snapshot__/es-basic.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/es-basic/__snapshot__/es-basic.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/es-basic/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/es-basic/input.js -------------------------------------------------------------------------------- /test/compile/jsx-preserve/__snapshot__/jsx-preserve.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-preserve/__snapshot__/jsx-preserve.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-preserve/__snapshot__/jsx-preserve.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-preserve/__snapshot__/jsx-preserve.js.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-preserve/__snapshot__/jsx-preserve.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-preserve/__snapshot__/jsx-preserve.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-preserve/__snapshot__/jsx-preserve.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-preserve/__snapshot__/jsx-preserve.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-preserve/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-preserve/input.tsx -------------------------------------------------------------------------------- /test/compile/jsx-preserve/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-preserve/tsconfig.json -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.js.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/__snapshot__/jsx-react-automatic.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/input.tsx -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/package.json -------------------------------------------------------------------------------- /test/compile/jsx-react-automatic/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx-react-automatic/tsconfig.json -------------------------------------------------------------------------------- /test/compile/jsx/__snapshot__/jsx.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx/__snapshot__/jsx.js.snapshot -------------------------------------------------------------------------------- /test/compile/jsx/__snapshot__/jsx.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx/__snapshot__/jsx.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/jsx/input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/jsx/input.jsx -------------------------------------------------------------------------------- /test/compile/module/__snapshot__/module.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/module/__snapshot__/module.js.snapshot -------------------------------------------------------------------------------- /test/compile/module/__snapshot__/module.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/module/__snapshot__/module.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/module/a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/module/a.js -------------------------------------------------------------------------------- /test/compile/module/b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/module/b.js -------------------------------------------------------------------------------- /test/compile/module/input.js: -------------------------------------------------------------------------------- 1 | import a from './a' 2 | 3 | console.log('main', a.x) 4 | -------------------------------------------------------------------------------- /test/compile/shebang/__snapshot__/shebang.js.snapshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log('shebang'); 3 | -------------------------------------------------------------------------------- /test/compile/shebang/__snapshot__/shebang.min.js.snapshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log("shebang"); 3 | -------------------------------------------------------------------------------- /test/compile/shebang/input.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | console.log('shebang') 4 | -------------------------------------------------------------------------------- /test/compile/sub-folder-import/__snapshot__/sub-folder-import.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/sub-folder-import/__snapshot__/sub-folder-import.js.snapshot -------------------------------------------------------------------------------- /test/compile/sub-folder-import/__snapshot__/sub-folder-import.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/sub-folder-import/__snapshot__/sub-folder-import.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/sub-folder-import/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/sub-folder-import/input.js -------------------------------------------------------------------------------- /test/compile/sub-folder-import/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/sub-folder-import/package.json -------------------------------------------------------------------------------- /test/compile/treeshake/__snapshot__/treeshake.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/treeshake/__snapshot__/treeshake.js.snapshot -------------------------------------------------------------------------------- /test/compile/treeshake/__snapshot__/treeshake.min.js.snapshot: -------------------------------------------------------------------------------- 1 | class o{getFoo(){return"foo"}}export{o as Foo}; 2 | -------------------------------------------------------------------------------- /test/compile/treeshake/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/treeshake/input.js -------------------------------------------------------------------------------- /test/compile/ts-basic/__snapshot__/ts-basic.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-basic/__snapshot__/ts-basic.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/ts-basic/__snapshot__/ts-basic.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-basic/__snapshot__/ts-basic.js.snapshot -------------------------------------------------------------------------------- /test/compile/ts-basic/__snapshot__/ts-basic.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-basic/__snapshot__/ts-basic.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/ts-basic/__snapshot__/ts-basic.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-basic/__snapshot__/ts-basic.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/ts-basic/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-basic/input.ts -------------------------------------------------------------------------------- /test/compile/ts-basic/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-basic/math.ts -------------------------------------------------------------------------------- /test/compile/ts-basic/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": ["./**/*.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /test/compile/ts-interop/__snapshot__/ts-interop.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-interop/__snapshot__/ts-interop.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/ts-interop/__snapshot__/ts-interop.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-interop/__snapshot__/ts-interop.js.snapshot -------------------------------------------------------------------------------- /test/compile/ts-interop/__snapshot__/ts-interop.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-interop/__snapshot__/ts-interop.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/ts-interop/__snapshot__/ts-interop.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-interop/__snapshot__/ts-interop.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/ts-interop/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-interop/input.ts -------------------------------------------------------------------------------- /test/compile/ts-interop/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main": "dist/bundle.js" 3 | } 4 | -------------------------------------------------------------------------------- /test/compile/ts-interop/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-interop/tsconfig.base.json -------------------------------------------------------------------------------- /test/compile/ts-interop/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base.json" 3 | } 4 | -------------------------------------------------------------------------------- /test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.js.snapshot -------------------------------------------------------------------------------- /test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-target-es2018/__snapshot__/ts-target-es2018.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/ts-target-es2018/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-target-es2018/input.ts -------------------------------------------------------------------------------- /test/compile/ts-target-es2018/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/ts-target-es2018/tsconfig.json -------------------------------------------------------------------------------- /test/compile/tsx-css-global/__snapshot__/tsx-css-global.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/__snapshot__/tsx-css-global.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/tsx-css-global/__snapshot__/tsx-css-global.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/__snapshot__/tsx-css-global.js.snapshot -------------------------------------------------------------------------------- /test/compile/tsx-css-global/__snapshot__/tsx-css-global.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/__snapshot__/tsx-css-global.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/tsx-css-global/__snapshot__/tsx-css-global.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/__snapshot__/tsx-css-global.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/tsx-css-global/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/input.tsx -------------------------------------------------------------------------------- /test/compile/tsx-css-global/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/style.css -------------------------------------------------------------------------------- /test/compile/tsx-css-global/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx-css-global/tsconfig.json -------------------------------------------------------------------------------- /test/compile/tsx/__snapshot__/env.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/compile/tsx/__snapshot__/tsx.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/__snapshot__/tsx.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/tsx/__snapshot__/tsx.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/__snapshot__/tsx.js.snapshot -------------------------------------------------------------------------------- /test/compile/tsx/__snapshot__/tsx.min.d.ts.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/__snapshot__/tsx.min.d.ts.snapshot -------------------------------------------------------------------------------- /test/compile/tsx/__snapshot__/tsx.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/__snapshot__/tsx.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/tsx/env.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'react' 2 | -------------------------------------------------------------------------------- /test/compile/tsx/foo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/foo.tsx -------------------------------------------------------------------------------- /test/compile/tsx/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/input.tsx -------------------------------------------------------------------------------- /test/compile/tsx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/package.json -------------------------------------------------------------------------------- /test/compile/tsx/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/tsx/tsconfig.json -------------------------------------------------------------------------------- /test/compile/use-client/__snapshot__/use-client.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/use-client/__snapshot__/use-client.js.snapshot -------------------------------------------------------------------------------- /test/compile/use-client/__snapshot__/use-client.min.js.snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/use-client/__snapshot__/use-client.min.js.snapshot -------------------------------------------------------------------------------- /test/compile/use-client/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/use-client/client.js -------------------------------------------------------------------------------- /test/compile/use-client/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/compile/use-client/input.js -------------------------------------------------------------------------------- /test/fixtures/integration-test-template/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/fixtures/integration-test-template/index.test.ts -------------------------------------------------------------------------------- /test/fixtures/integration-test-template/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/fixtures/integration-test-template/package.json -------------------------------------------------------------------------------- /test/fixtures/integration-test-template/src/index.js: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/basic-jsx/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/basic-jsx/index.test.ts -------------------------------------------------------------------------------- /test/integration/basic-jsx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/basic-jsx/package.json -------------------------------------------------------------------------------- /test/integration/basic-jsx/src/index.js: -------------------------------------------------------------------------------- 1 | export function Foo() { 2 | return

Foo

3 | } 4 | -------------------------------------------------------------------------------- /test/integration/bin/cts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/bin/cts/index.test.ts -------------------------------------------------------------------------------- /test/integration/bin/cts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "bin": "./dist/bin/index.cjs" 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/bin/cts/src/bin/index.cts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/bin/cts/src/bin/index.cts -------------------------------------------------------------------------------- /test/integration/bin/multi-path/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/bin/multi-path/index.test.ts -------------------------------------------------------------------------------- /test/integration/bin/multi-path/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/bin/multi-path/package.json -------------------------------------------------------------------------------- /test/integration/bin/multi-path/src/bin/a.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log('a') 3 | -------------------------------------------------------------------------------- /test/integration/bin/multi-path/src/bin/b.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log('b') 3 | -------------------------------------------------------------------------------- /test/integration/bin/patch-binary/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/bin/patch-binary/index.test.ts -------------------------------------------------------------------------------- /test/integration/bin/patch-binary/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "bin": "./dist/bin.js" 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/bin/patch-binary/src/bin/index.ts: -------------------------------------------------------------------------------- 1 | console.log('Hello, world!') 2 | -------------------------------------------------------------------------------- /test/integration/bin/single-path/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/bin/single-path/index.test.ts -------------------------------------------------------------------------------- /test/integration/bin/single-path/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "bin": "./dist/bin.js" 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/bin/single-path/src/bin/index.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log('Hello, world!') 3 | -------------------------------------------------------------------------------- /test/integration/browserslist/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/browserslist/index.test.ts -------------------------------------------------------------------------------- /test/integration/browserslist/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/browserslist/package.json -------------------------------------------------------------------------------- /test/integration/browserslist/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/browserslist/src/index.js -------------------------------------------------------------------------------- /test/integration/conflicted-entry/conflicted-entry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/conflicted-entry/conflicted-entry.test.ts -------------------------------------------------------------------------------- /test/integration/conflicted-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/conflicted-entry/package.json -------------------------------------------------------------------------------- /test/integration/conflicted-entry/src/foo.ts: -------------------------------------------------------------------------------- 1 | export class Foo {} 2 | -------------------------------------------------------------------------------- /test/integration/conflicted-entry/src/foo/index.jsx: -------------------------------------------------------------------------------- 1 | export class Foo {} 2 | -------------------------------------------------------------------------------- /test/integration/declaration-map/.gitignore: -------------------------------------------------------------------------------- 1 | !tsconfig.json -------------------------------------------------------------------------------- /test/integration/declaration-map/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/declaration-map/index.test.ts -------------------------------------------------------------------------------- /test/integration/declaration-map/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/declaration-map/package.json -------------------------------------------------------------------------------- /test/integration/declaration-map/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/declaration-map/src/index.ts -------------------------------------------------------------------------------- /test/integration/declaration-map/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/declaration-map/tsconfig.json -------------------------------------------------------------------------------- /test/integration/default-default-export-different-ext/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export-different-ext/index.test.ts -------------------------------------------------------------------------------- /test/integration/default-default-export-different-ext/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export-different-ext/package.json -------------------------------------------------------------------------------- /test/integration/default-default-export-different-ext/src/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export-different-ext/src/a.ts -------------------------------------------------------------------------------- /test/integration/default-default-export-different-ext/src/b.ts: -------------------------------------------------------------------------------- 1 | export const b = 'b' 2 | -------------------------------------------------------------------------------- /test/integration/default-default-export-different-ext/src/c.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export-different-ext/src/c.ts -------------------------------------------------------------------------------- /test/integration/default-default-export/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export/index.test.ts -------------------------------------------------------------------------------- /test/integration/default-default-export/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export/package.json -------------------------------------------------------------------------------- /test/integration/default-default-export/src/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export/src/a.ts -------------------------------------------------------------------------------- /test/integration/default-default-export/src/b.ts: -------------------------------------------------------------------------------- 1 | export const b = 'b' 2 | -------------------------------------------------------------------------------- /test/integration/default-default-export/src/c.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-default-export/src/c.ts -------------------------------------------------------------------------------- /test/integration/default-node-mjs/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-node-mjs/index.test.ts -------------------------------------------------------------------------------- /test/integration/default-node-mjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/default-node-mjs/package.json -------------------------------------------------------------------------------- /test/integration/default-node-mjs/src/index.js: -------------------------------------------------------------------------------- 1 | export const value = 'index' 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-convention-reexport/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-convention-reexport/index.test.ts -------------------------------------------------------------------------------- /test/integration/dev-prod-convention-reexport/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-convention-reexport/package.json -------------------------------------------------------------------------------- /test/integration/dev-prod-convention-reexport/src/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-convention-reexport/src/core.ts -------------------------------------------------------------------------------- /test/integration/dev-prod-convention-reexport/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-convention-reexport/src/index.ts -------------------------------------------------------------------------------- /test/integration/dev-prod-convention/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-convention/index.test.ts -------------------------------------------------------------------------------- /test/integration/dev-prod-convention/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-convention/package.json -------------------------------------------------------------------------------- /test/integration/dev-prod-convention/src/index.ts: -------------------------------------------------------------------------------- 1 | export const value = process.env.NODE_ENV 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-nested-convention/index.test.ts -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-nested-convention/package.json -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/src/core.development.ts: -------------------------------------------------------------------------------- 1 | export const value = 'core' + process.env.NODE_ENV 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/src/core.production.ts: -------------------------------------------------------------------------------- 1 | export const value = 'core' + process.env.NODE_ENV 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/src/core.ts: -------------------------------------------------------------------------------- 1 | export const value = 'core' 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/src/index.development.ts: -------------------------------------------------------------------------------- 1 | export const value = process.env.NODE_ENV 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/src/index.production.ts: -------------------------------------------------------------------------------- 1 | export const value = process.env.NODE_ENV 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-nested-convention/src/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 'index' 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-special-convention/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-special-convention/index.test.ts -------------------------------------------------------------------------------- /test/integration/dev-prod-special-convention/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dev-prod-special-convention/package.json -------------------------------------------------------------------------------- /test/integration/dev-prod-special-convention/src/index.react-server.ts: -------------------------------------------------------------------------------- 1 | export const value = 'index.react-server' 2 | -------------------------------------------------------------------------------- /test/integration/dev-prod-special-convention/src/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 'index.default' 2 | -------------------------------------------------------------------------------- /test/integration/duplicate-entries-partial-specified/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/duplicate-entries-partial-specified/index.test.ts -------------------------------------------------------------------------------- /test/integration/duplicate-entries-partial-specified/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/duplicate-entries-partial-specified/package.json -------------------------------------------------------------------------------- /test/integration/duplicate-entries-partial-specified/src/a.ts: -------------------------------------------------------------------------------- 1 | export { internal } from './a/shared' 2 | -------------------------------------------------------------------------------- /test/integration/duplicate-entries-partial-specified/src/a.workerd.ts: -------------------------------------------------------------------------------- 1 | export { internal } from './a/shared' 2 | -------------------------------------------------------------------------------- /test/integration/duplicate-entries-partial-specified/src/a/shared.ts: -------------------------------------------------------------------------------- 1 | export const internal = 'a' 2 | -------------------------------------------------------------------------------- /test/integration/dynamic-require/dynamic-require.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dynamic-require/dynamic-require.test.ts -------------------------------------------------------------------------------- /test/integration/dynamic-require/node_modules/external-lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dynamic-require/node_modules/external-lib/index.js -------------------------------------------------------------------------------- /test/integration/dynamic-require/node_modules/external-lib/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dynamic-require/node_modules/external-lib/package.json -------------------------------------------------------------------------------- /test/integration/dynamic-require/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dynamic-require/package.json -------------------------------------------------------------------------------- /test/integration/dynamic-require/src/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dynamic-require/src/foo.js -------------------------------------------------------------------------------- /test/integration/dynamic-require/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/dynamic-require/src/index.js -------------------------------------------------------------------------------- /test/integration/dynamic-require/src/required-module.js: -------------------------------------------------------------------------------- 1 | export function method() { 2 | return 'being-required' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/edge-variable/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/edge-variable/index.test.ts -------------------------------------------------------------------------------- /test/integration/edge-variable/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/edge-variable/package.json -------------------------------------------------------------------------------- /test/integration/edge-variable/src/index.js: -------------------------------------------------------------------------------- 1 | export const variable = typeof EdgeRuntime 2 | -------------------------------------------------------------------------------- /test/integration/entry-index-index/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/entry-index-index/index.test.ts -------------------------------------------------------------------------------- /test/integration/entry-index-index/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/entry-index-index/package.json -------------------------------------------------------------------------------- /test/integration/entry-index-index/src/index/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/entry-index-index/src/index/index.js -------------------------------------------------------------------------------- /test/integration/entry-index-index/src/index/index.react-server.js: -------------------------------------------------------------------------------- 1 | export const index = 'react-server' 2 | -------------------------------------------------------------------------------- /test/integration/errors/compile-error/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/errors/compile-error/package.json -------------------------------------------------------------------------------- /test/integration/errors/compile-error/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/errors/compile-error/src/index.tsx -------------------------------------------------------------------------------- /test/integration/esm-pkg-cjs-main-field/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-pkg-cjs-main-field/index.test.ts -------------------------------------------------------------------------------- /test/integration/esm-pkg-cjs-main-field/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-pkg-cjs-main-field/package.json -------------------------------------------------------------------------------- /test/integration/esm-pkg-cjs-main-field/src/index.js: -------------------------------------------------------------------------------- 1 | export const value = 'cjs' 2 | -------------------------------------------------------------------------------- /test/integration/esm-shims/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-shims/index.test.ts -------------------------------------------------------------------------------- /test/integration/esm-shims/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-shims/package.json -------------------------------------------------------------------------------- /test/integration/esm-shims/src/custom-require.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-shims/src/custom-require.js -------------------------------------------------------------------------------- /test/integration/esm-shims/src/dirname.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-shims/src/dirname.js -------------------------------------------------------------------------------- /test/integration/esm-shims/src/filename.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-shims/src/filename.js -------------------------------------------------------------------------------- /test/integration/esm-shims/src/require.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/esm-shims/src/require.js -------------------------------------------------------------------------------- /test/integration/exports-order/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/exports-order/index.test.ts -------------------------------------------------------------------------------- /test/integration/exports-order/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/exports-order/package.json -------------------------------------------------------------------------------- /test/integration/exports-order/src/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/exports-order/src/a.ts -------------------------------------------------------------------------------- /test/integration/exports-order/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './a.js' 2 | -------------------------------------------------------------------------------- /test/integration/exports-order/src/utils.ts: -------------------------------------------------------------------------------- 1 | export const goo = 'goo' 2 | -------------------------------------------------------------------------------- /test/integration/externals/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/externals/index.test.ts -------------------------------------------------------------------------------- /test/integration/externals/node_modules/.modules.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/externals/node_modules/.modules.yaml -------------------------------------------------------------------------------- /test/integration/externals/node_modules/peer-dep-meta/index.js: -------------------------------------------------------------------------------- 1 | export default 'peer-dep-meta' 2 | -------------------------------------------------------------------------------- /test/integration/externals/node_modules/peer-dep/index.js: -------------------------------------------------------------------------------- 1 | export default 'peer-dep' 2 | -------------------------------------------------------------------------------- /test/integration/externals/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/externals/package.json -------------------------------------------------------------------------------- /test/integration/externals/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/externals/src/index.js -------------------------------------------------------------------------------- /test/integration/externals/sub-export.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/externals/sub-export.js -------------------------------------------------------------------------------- /test/integration/import-fallback/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/import-fallback/index.test.ts -------------------------------------------------------------------------------- /test/integration/import-fallback/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/import-fallback/package.json -------------------------------------------------------------------------------- /test/integration/import-fallback/src/a/index.edge-light.js: -------------------------------------------------------------------------------- 1 | import '../b' 2 | -------------------------------------------------------------------------------- /test/integration/import-fallback/src/b.js: -------------------------------------------------------------------------------- 1 | console.log('this is b') 2 | -------------------------------------------------------------------------------- /test/integration/js-bad-configured-types/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/js-bad-configured-types/index.test.ts -------------------------------------------------------------------------------- /test/integration/js-bad-configured-types/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/js-bad-configured-types/package.json -------------------------------------------------------------------------------- /test/integration/js-bad-configured-types/src/index.js: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/js-only/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/js-only/index.test.ts -------------------------------------------------------------------------------- /test/integration/js-only/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "exports": "./dist/index.js" 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/js-only/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/js-only/src/index.js -------------------------------------------------------------------------------- /test/integration/lint/cjs-pkg-esm-main-field/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/cjs-pkg-esm-main-field/index.test.ts -------------------------------------------------------------------------------- /test/integration/lint/cjs-pkg-esm-main-field/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/cjs-pkg-esm-main-field/package.json -------------------------------------------------------------------------------- /test/integration/lint/cjs-pkg-esm-main-field/src/index.js: -------------------------------------------------------------------------------- 1 | export const value = 'cjs' 2 | -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-cjs/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/invalid-exports-cjs/index.test.ts -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-cjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/invalid-exports-cjs/package.json -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-cjs/src/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = 'foo' 2 | -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-cjs/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/invalid-exports-cjs/src/index.js -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-esm/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/invalid-exports-esm/index.test.ts -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-esm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/invalid-exports-esm/package.json -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-esm/src/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = 'foo' 2 | -------------------------------------------------------------------------------- /test/integration/lint/invalid-exports-esm/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/invalid-exports-esm/src/index.js -------------------------------------------------------------------------------- /test/integration/lint/missing-files-exports/foo/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-exports/foo/index.js -------------------------------------------------------------------------------- /test/integration/lint/missing-files-exports/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-exports/index.test.ts -------------------------------------------------------------------------------- /test/integration/lint/missing-files-exports/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-exports/package.json -------------------------------------------------------------------------------- /test/integration/lint/missing-files-exports/src/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = 'foo' 2 | -------------------------------------------------------------------------------- /test/integration/lint/missing-files-exports/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-exports/src/index.js -------------------------------------------------------------------------------- /test/integration/lint/missing-files-main/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-main/index.js -------------------------------------------------------------------------------- /test/integration/lint/missing-files-main/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-main/index.test.ts -------------------------------------------------------------------------------- /test/integration/lint/missing-files-main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-main/package.json -------------------------------------------------------------------------------- /test/integration/lint/missing-files-main/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/missing-files-main/src/index.js -------------------------------------------------------------------------------- /test/integration/lint/single-entry/.gitignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | -------------------------------------------------------------------------------- /test/integration/lint/single-entry/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/single-entry/index.test.ts -------------------------------------------------------------------------------- /test/integration/lint/single-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/lint/single-entry/package.json -------------------------------------------------------------------------------- /test/integration/lint/single-entry/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/missing-entry-file/missing-entry-file.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/missing-entry-file/missing-entry-file.test.ts -------------------------------------------------------------------------------- /test/integration/missing-entry-file/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/missing-entry-file/package.json -------------------------------------------------------------------------------- /test/integration/missing-entry-file/src/bar.js.missing: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/missing-entry-file/src/foo.js.missing: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/missing-entry-file/src/index.js: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/mixed-directives/.gitignore: -------------------------------------------------------------------------------- 1 | !tsconfig.json -------------------------------------------------------------------------------- /test/integration/mixed-directives/mixed-directives.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/mixed-directives/mixed-directives.test.ts -------------------------------------------------------------------------------- /test/integration/mixed-directives/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/mixed-directives/package.json -------------------------------------------------------------------------------- /test/integration/mixed-directives/src/action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/mixed-directives/src/action.ts -------------------------------------------------------------------------------- /test/integration/mixed-directives/src/client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/mixed-directives/src/client.tsx -------------------------------------------------------------------------------- /test/integration/mixed-directives/src/inline.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/mixed-directives/src/inline.tsx -------------------------------------------------------------------------------- /test/integration/mixed-directives/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/mixed-directives/tsconfig.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite-no-incremental/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite-no-incremental/index.test.ts -------------------------------------------------------------------------------- /test/integration/monorepo-composite-no-incremental/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite-no-incremental/package.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite-no-incremental/packages/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite-no-incremental/packages/a/package.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite-no-incremental/packages/a/src/index.ts: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'bar' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/monorepo-composite-no-incremental/packages/a/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite-no-incremental/packages/a/tsconfig.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite-no-incremental/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite-no-incremental/tsconfig.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite/index.test.ts -------------------------------------------------------------------------------- /test/integration/monorepo-composite/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite/package.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite/packages/a/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite/packages/a/package.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite/packages/a/src/index.ts: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'bar' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/monorepo-composite/packages/a/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite/packages/a/tsconfig.json -------------------------------------------------------------------------------- /test/integration/monorepo-composite/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/monorepo-composite/tsconfig.json -------------------------------------------------------------------------------- /test/integration/multi-entries/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-entries/index.test.ts -------------------------------------------------------------------------------- /test/integration/multi-entries/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-entries/package.json -------------------------------------------------------------------------------- /test/integration/multi-entries/src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-entries/src/client.ts -------------------------------------------------------------------------------- /test/integration/multi-entries/src/index.ts: -------------------------------------------------------------------------------- 1 | export default 'index' 2 | -------------------------------------------------------------------------------- /test/integration/multi-entries/src/lite.ts: -------------------------------------------------------------------------------- 1 | export default function lite(c: string) { 2 | return 'lite' + c 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/multi-entries/src/server/index.edge-light.ts: -------------------------------------------------------------------------------- 1 | export const name = 'server.edge-light' 2 | -------------------------------------------------------------------------------- /test/integration/multi-entries/src/server/index.react-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-entries/src/server/index.react-server.ts -------------------------------------------------------------------------------- /test/integration/multi-entries/src/server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-entries/src/server/index.ts -------------------------------------------------------------------------------- /test/integration/multi-entries/src/shared.edge-light.ts: -------------------------------------------------------------------------------- 1 | export default 'shared.edge-light' 2 | -------------------------------------------------------------------------------- /test/integration/multi-entries/src/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-entries/src/shared.ts -------------------------------------------------------------------------------- /test/integration/multi-exports-ts/.gitignore: -------------------------------------------------------------------------------- 1 | foo/ 2 | dist/ 3 | -------------------------------------------------------------------------------- /test/integration/multi-exports-ts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-exports-ts/index.test.ts -------------------------------------------------------------------------------- /test/integration/multi-exports-ts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-exports-ts/package.json -------------------------------------------------------------------------------- /test/integration/multi-exports-ts/src/foo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-exports-ts/src/foo.ts -------------------------------------------------------------------------------- /test/integration/multi-exports-ts/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-exports-ts/src/index.ts -------------------------------------------------------------------------------- /test/integration/multi-exports-ts/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-exports-ts/src/types.ts -------------------------------------------------------------------------------- /test/integration/multi-types/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-types/index.test.ts -------------------------------------------------------------------------------- /test/integration/multi-types/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-types/package.json -------------------------------------------------------------------------------- /test/integration/multi-types/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/multi-types/src/index.ts -------------------------------------------------------------------------------- /test/integration/nested-exports/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/nested-exports/index.test.ts -------------------------------------------------------------------------------- /test/integration/nested-exports/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/nested-exports/package.json -------------------------------------------------------------------------------- /test/integration/nested-exports/src/foo/bar.js: -------------------------------------------------------------------------------- 1 | export const value = 'foo.bar' 2 | -------------------------------------------------------------------------------- /test/integration/no-clean/.gitignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | -------------------------------------------------------------------------------- /test/integration/no-clean/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/no-clean/index.test.ts -------------------------------------------------------------------------------- /test/integration/no-clean/no-clean.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/integration/no-clean/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/no-clean/package.json -------------------------------------------------------------------------------- /test/integration/no-clean/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/no-entry/src/no-entry.txt: -------------------------------------------------------------------------------- 1 | no-entry -------------------------------------------------------------------------------- /test/integration/no-entry/src/style.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/node-mixed-legacy-modern-entries/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/node-mixed-legacy-modern-entries/index.test.ts -------------------------------------------------------------------------------- /test/integration/node-mixed-legacy-modern-entries/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/node-mixed-legacy-modern-entries/package.json -------------------------------------------------------------------------------- /test/integration/node-mixed-legacy-modern-entries/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/node-mixed-legacy-modern-entries/src/index.ts -------------------------------------------------------------------------------- /test/integration/output-short/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output-short/index.test.ts -------------------------------------------------------------------------------- /test/integration/output-short/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output-short/package.json -------------------------------------------------------------------------------- /test/integration/output-short/src/index.js: -------------------------------------------------------------------------------- 1 | export const o = 'o' 2 | -------------------------------------------------------------------------------- /test/integration/output/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output/index.test.ts -------------------------------------------------------------------------------- /test/integration/output/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output/package.json -------------------------------------------------------------------------------- /test/integration/output/src/bin/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output/src/bin/cli.js -------------------------------------------------------------------------------- /test/integration/output/src/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = 'foo' 2 | -------------------------------------------------------------------------------- /test/integration/output/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output/src/index.js -------------------------------------------------------------------------------- /test/integration/output/src/index.react-server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/output/src/index.react-server.js -------------------------------------------------------------------------------- /test/integration/pkg-exports-default/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-default/index.test.ts -------------------------------------------------------------------------------- /test/integration/pkg-exports-default/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-default/package.json -------------------------------------------------------------------------------- /test/integration/pkg-exports-default/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-default/src/index.js -------------------------------------------------------------------------------- /test/integration/pkg-exports-js/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-js/index.test.ts -------------------------------------------------------------------------------- /test/integration/pkg-exports-js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-js/package.json -------------------------------------------------------------------------------- /test/integration/pkg-exports-js/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-js/src/index.js -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/.gitignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-ts-rsc/index.test.ts -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-ts-rsc/package.json -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/src/api/index.react-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-ts-rsc/src/api/index.react-server.ts -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/src/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-ts-rsc/src/api/index.ts -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/src/index.react-native.ts: -------------------------------------------------------------------------------- 1 | export default 'react-native' 2 | -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/src/index.react-server.ts: -------------------------------------------------------------------------------- 1 | export default 'react-server' 2 | -------------------------------------------------------------------------------- /test/integration/pkg-exports-ts-rsc/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/pkg-exports-ts-rsc/src/index.ts -------------------------------------------------------------------------------- /test/integration/prepare-js/.gitignore: -------------------------------------------------------------------------------- 1 | package.json 2 | -------------------------------------------------------------------------------- /test/integration/prepare-js/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-js/index.test.ts -------------------------------------------------------------------------------- /test/integration/prepare-js/src/bin.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/prepare-js/src/foo.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/prepare-js/src/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-pkg-json/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-pkg-json/.gitignore -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-pkg-json/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-pkg-json/index.test.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-pkg-json/src/index.ts: -------------------------------------------------------------------------------- 1 | export const index = 1 2 | -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-test-file/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-test-file/.gitignore -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-test-file/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-test-file/index.test.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-test-file/src/foo.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-test-file/src/foo.spec.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-test-file/src/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-test-file/src/index.test.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts-with-test-file/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts-with-test-file/src/index.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts/.gitignore -------------------------------------------------------------------------------- /test/integration/prepare-ts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts/index.test.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts/src/bin/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts/src/bin/cli.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts/src/bin/cmd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts/src/bin/cmd.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts/src/foo.ts: -------------------------------------------------------------------------------- 1 | export const foo = 'foo' 2 | -------------------------------------------------------------------------------- /test/integration/prepare-ts/src/index.react-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts/src/index.react-server.ts -------------------------------------------------------------------------------- /test/integration/prepare-ts/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/prepare-ts/src/index.ts -------------------------------------------------------------------------------- /test/integration/raw-data/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/raw-data/index.test.ts -------------------------------------------------------------------------------- /test/integration/raw-data/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/raw-data/package.json -------------------------------------------------------------------------------- /test/integration/raw-data/src/content.txt: -------------------------------------------------------------------------------- 1 | thisismydata -------------------------------------------------------------------------------- /test/integration/raw-data/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/raw-data/src/index.js -------------------------------------------------------------------------------- /test/integration/raw-data/src/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/raw-data/src/readme.md -------------------------------------------------------------------------------- /test/integration/relative-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/relative-entry/package.json -------------------------------------------------------------------------------- /test/integration/relative-entry/relative-entry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/relative-entry/relative-entry.test.ts -------------------------------------------------------------------------------- /test/integration/relative-entry/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/relative-entry/src/index.js -------------------------------------------------------------------------------- /test/integration/relative-entry/src/relative.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/relative-entry/src/relative.js -------------------------------------------------------------------------------- /test/integration/server-components-same-layer/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components-same-layer/index.test.ts -------------------------------------------------------------------------------- /test/integration/server-components-same-layer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components-same-layer/package.json -------------------------------------------------------------------------------- /test/integration/server-components-same-layer/src/_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components-same-layer/src/_client.js -------------------------------------------------------------------------------- /test/integration/server-components-same-layer/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components-same-layer/src/index.js -------------------------------------------------------------------------------- /test/integration/server-components/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/index.test.ts -------------------------------------------------------------------------------- /test/integration/server-components/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/package.json -------------------------------------------------------------------------------- /test/integration/server-components/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/src/index.js -------------------------------------------------------------------------------- /test/integration/server-components/src/mod_actions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/src/mod_actions.js -------------------------------------------------------------------------------- /test/integration/server-components/src/mod_asset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/src/mod_asset.js -------------------------------------------------------------------------------- /test/integration/server-components/src/mod_client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/src/mod_client.js -------------------------------------------------------------------------------- /test/integration/server-components/src/ui.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/server-components/src/ui.js -------------------------------------------------------------------------------- /test/integration/shared-any-module/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/index.test.ts -------------------------------------------------------------------------------- /test/integration/shared-any-module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/package.json -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/_internal/__mocks__/a.mock.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/_internal/run-tests.spec.js: -------------------------------------------------------------------------------- 1 | // stub 2 | -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/_internal/util-a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/src/_internal/util-a.ts -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/_internal/util-b.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/src/_internal/util-b.ts -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/export-a.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/src/export-a.js -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/export-b.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/src/export-b.js -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/export-c.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/src/export-c.js -------------------------------------------------------------------------------- /test/integration/shared-any-module/src/private/_nested/util-c.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-any-module/src/private/_nested/util-c.ts -------------------------------------------------------------------------------- /test/integration/shared-entry/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-entry/index.test.ts -------------------------------------------------------------------------------- /test/integration/shared-entry/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-entry/package.json -------------------------------------------------------------------------------- /test/integration/shared-entry/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-entry/script.js -------------------------------------------------------------------------------- /test/integration/shared-entry/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-entry/src/index.js -------------------------------------------------------------------------------- /test/integration/shared-entry/src/shared.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-entry/src/shared.js -------------------------------------------------------------------------------- /test/integration/shared-entry/src/sub/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-entry/src/sub/foo.js -------------------------------------------------------------------------------- /test/integration/shared-module-special-condition/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-special-condition/package.json -------------------------------------------------------------------------------- /test/integration/shared-module-special-condition/shared-module-special-condition.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-special-condition/shared-module-special-condition.test.ts -------------------------------------------------------------------------------- /test/integration/shared-module-special-condition/src/_util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-special-condition/src/_util.ts -------------------------------------------------------------------------------- /test/integration/shared-module-special-condition/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-special-condition/src/index.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts-esm/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts-esm/index.test.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts-esm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts-esm/package.json -------------------------------------------------------------------------------- /test/integration/shared-module-ts-esm/src/_util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts-esm/src/_util.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts-esm/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts-esm/src/index.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/index.test.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/package.json -------------------------------------------------------------------------------- /test/integration/shared-module-ts/src/another.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/src/another.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts/src/index.react-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/src/index.react-server.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/src/index.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts/src/lib/_app-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/src/lib/_app-context.ts -------------------------------------------------------------------------------- /test/integration/shared-module-ts/src/lib/_util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-ts/src/lib/_util.ts -------------------------------------------------------------------------------- /test/integration/shared-module-with-suffix/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-with-suffix/package.json -------------------------------------------------------------------------------- /test/integration/shared-module-with-suffix/shared-module-with-suffix.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-with-suffix/shared-module-with-suffix.test.ts -------------------------------------------------------------------------------- /test/integration/shared-module-with-suffix/src/_private/util.browser.ts: -------------------------------------------------------------------------------- 1 | export const util = 'index:browser' 2 | -------------------------------------------------------------------------------- /test/integration/shared-module-with-suffix/src/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module-with-suffix/src/client/index.ts -------------------------------------------------------------------------------- /test/integration/shared-module/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/index.test.ts -------------------------------------------------------------------------------- /test/integration/shared-module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/package.json -------------------------------------------------------------------------------- /test/integration/shared-module/src/_internal/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/_internal/index.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/_internal/index.react-server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/_internal/index.react-server.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/another.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/another.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/client.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/index.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/index.react-server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/index.react-server.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/lib/_app-context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/lib/_app-context.js -------------------------------------------------------------------------------- /test/integration/shared-module/src/lib/_util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/shared-module/src/lib/_util.js -------------------------------------------------------------------------------- /test/integration/sourcemap-dts/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/sourcemap-dts/index.test.ts -------------------------------------------------------------------------------- /test/integration/sourcemap-dts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/sourcemap-dts/package.json -------------------------------------------------------------------------------- /test/integration/sourcemap-dts/src/index.ts: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return 'foo' 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/split-common-chunks/.gitignore: -------------------------------------------------------------------------------- 1 | !tsconfig.json 2 | -------------------------------------------------------------------------------- /test/integration/split-common-chunks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/split-common-chunks/package.json -------------------------------------------------------------------------------- /test/integration/split-common-chunks/split-common-chunks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/split-common-chunks/split-common-chunks.test.ts -------------------------------------------------------------------------------- /test/integration/split-common-chunks/src/bar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/split-common-chunks/src/bar.ts -------------------------------------------------------------------------------- /test/integration/split-common-chunks/src/foo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/split-common-chunks/src/foo.ts -------------------------------------------------------------------------------- /test/integration/split-common-chunks/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/split-common-chunks/src/index.ts -------------------------------------------------------------------------------- /test/integration/split-common-chunks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/split-common-chunks/tsconfig.json -------------------------------------------------------------------------------- /test/integration/stage3-decorator/.gitignore: -------------------------------------------------------------------------------- 1 | tsconfig.json 2 | -------------------------------------------------------------------------------- /test/integration/stage3-decorator/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/stage3-decorator/index.test.ts -------------------------------------------------------------------------------- /test/integration/stage3-decorator/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/stage3-decorator/package.json -------------------------------------------------------------------------------- /test/integration/stage3-decorator/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/stage3-decorator/src/index.ts -------------------------------------------------------------------------------- /test/integration/subpath-imports/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/subpath-imports/index.test.ts -------------------------------------------------------------------------------- /test/integration/subpath-imports/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/subpath-imports/package.json -------------------------------------------------------------------------------- /test/integration/subpath-imports/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/subpath-imports/src/index.js -------------------------------------------------------------------------------- /test/integration/subpath-imports/src/lib/polyfill.js: -------------------------------------------------------------------------------- 1 | export const dep = 'polyfill-dep' 2 | -------------------------------------------------------------------------------- /test/integration/success-cmd/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/success-cmd/index.test.ts -------------------------------------------------------------------------------- /test/integration/success-cmd/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/success-cmd/package.json -------------------------------------------------------------------------------- /test/integration/success-cmd/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/success-cmd/src/index.js -------------------------------------------------------------------------------- /test/integration/ts-allow-js/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-allow-js/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-allow-js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-allow-js/package.json -------------------------------------------------------------------------------- /test/integration/ts-allow-js/src/index.js: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/ts-allow-js/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-allow-js/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-dual-package-module/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-dual-package-module/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-dual-package-module/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-dual-package-module/package.json -------------------------------------------------------------------------------- /test/integration/ts-dual-package-module/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/ts-dual-package-module/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-dual-package-module/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-dual-package-type-cjs/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-dual-package-type-cjs/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-dual-package-type-cjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-dual-package-type-cjs/package.json -------------------------------------------------------------------------------- /test/integration/ts-dual-package-type-cjs/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/ts-dual-package-type-cjs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-dual-package-type-cjs/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-error/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-error/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-error/node_modules/typescript/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-error/node_modules/typescript/index.js -------------------------------------------------------------------------------- /test/integration/ts-error/src/index.ts: -------------------------------------------------------------------------------- 1 | export const a: number = 1 2 | -------------------------------------------------------------------------------- /test/integration/ts-error/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-error/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-exports-multiple-conditions/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-exports-multiple-conditions/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-exports-multiple-conditions/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-exports-multiple-conditions/package.json -------------------------------------------------------------------------------- /test/integration/ts-exports-multiple-conditions/src/index.browser.ts: -------------------------------------------------------------------------------- 1 | export const runtime = 'browser' 2 | -------------------------------------------------------------------------------- /test/integration/ts-exports-multiple-conditions/src/index.edge-light.ts: -------------------------------------------------------------------------------- 1 | export const runtime = 'edge-light' 2 | -------------------------------------------------------------------------------- /test/integration/ts-exports-multiple-conditions/src/index.ts: -------------------------------------------------------------------------------- 1 | export const runtime = 'node' 2 | -------------------------------------------------------------------------------- /test/integration/ts-exports-multiple-conditions/src/index.workerd.ts: -------------------------------------------------------------------------------- 1 | export const runtime = 'workerd' 2 | -------------------------------------------------------------------------------- /test/integration/ts-exports-types/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-exports-types/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-exports-types/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-exports-types/package.json -------------------------------------------------------------------------------- /test/integration/ts-exports-types/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-exports-types/src/index.ts -------------------------------------------------------------------------------- /test/integration/ts-exports-types/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-exports-types/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-import-json-exports-condition/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-import-json-exports-condition/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-import-json-exports-condition/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-import-json-exports-condition/package.json -------------------------------------------------------------------------------- /test/integration/ts-import-json-exports-condition/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-import-json-exports-condition/src/index.ts -------------------------------------------------------------------------------- /test/integration/ts-import-json-exports-string/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-import-json-exports-string/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-import-json-exports-string/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-import-json-exports-string/package.json -------------------------------------------------------------------------------- /test/integration/ts-import-json-exports-string/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-import-json-exports-string/src/index.ts -------------------------------------------------------------------------------- /test/integration/ts-incremental-with-buildinfofile/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-incremental-with-buildinfofile/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-incremental-with-buildinfofile/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-incremental-with-buildinfofile/package.json -------------------------------------------------------------------------------- /test/integration/ts-incremental-with-buildinfofile/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/ts-incremental-with-buildinfofile/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-incremental-with-buildinfofile/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-incremental/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-incremental/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-incremental/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-incremental/package.json -------------------------------------------------------------------------------- /test/integration/ts-incremental/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/ts-incremental/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-incremental/tsconfig.json -------------------------------------------------------------------------------- /test/integration/ts-no-emit/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-no-emit/index.test.ts -------------------------------------------------------------------------------- /test/integration/ts-no-emit/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-no-emit/package.json -------------------------------------------------------------------------------- /test/integration/ts-no-emit/src/index.ts: -------------------------------------------------------------------------------- 1 | export default () => 'index' 2 | -------------------------------------------------------------------------------- /test/integration/ts-no-emit/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/ts-no-emit/tsconfig.json -------------------------------------------------------------------------------- /test/integration/tsconfig-override/.gitignore: -------------------------------------------------------------------------------- 1 | !tsconfig.json -------------------------------------------------------------------------------- /test/integration/tsconfig-override/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/tsconfig-override/index.test.ts -------------------------------------------------------------------------------- /test/integration/tsconfig-override/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/tsconfig-override/package.json -------------------------------------------------------------------------------- /test/integration/tsconfig-override/src/index.ts: -------------------------------------------------------------------------------- 1 | export default class A {} 2 | -------------------------------------------------------------------------------- /test/integration/tsconfig-override/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { "compilerOptions": { "target": "es2018" } } 2 | -------------------------------------------------------------------------------- /test/integration/tsconfig-override/tsconfig.json: -------------------------------------------------------------------------------- 1 | { "compilerOptions": { "target": "es5" } } 2 | -------------------------------------------------------------------------------- /test/integration/unspecified-types-paths/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/unspecified-types-paths/index.test.ts -------------------------------------------------------------------------------- /test/integration/unspecified-types-paths/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/integration/unspecified-types-paths/package.json -------------------------------------------------------------------------------- /test/integration/unspecified-types-paths/src/subpath/nested.ts: -------------------------------------------------------------------------------- 1 | export const value = 'subpath/nested' 2 | -------------------------------------------------------------------------------- /test/testing-utils/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/testing-utils/cli.ts -------------------------------------------------------------------------------- /test/testing-utils/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/testing-utils/debug.ts -------------------------------------------------------------------------------- /test/testing-utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/testing-utils/helpers.ts -------------------------------------------------------------------------------- /test/testing-utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/testing-utils/index.ts -------------------------------------------------------------------------------- /test/testing-utils/integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/testing-utils/integration.ts -------------------------------------------------------------------------------- /test/testing-utils/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/testing-utils/shared.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huozhi/bunchee/HEAD/vitest.config.js --------------------------------------------------------------------------------