├── .eslintrc.js ├── .gitignore ├── LICENSE ├── README.md ├── examples └── rollup-demo │ ├── rollup.config.js │ └── src │ ├── index.js │ └── lib.js ├── package.json ├── packages ├── bundler │ ├── __tests__ │ │ └── fixtures │ │ │ ├── http │ │ │ └── index.js │ │ │ ├── memfs │ │ │ ├── build.js │ │ │ ├── bundle.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── index.js │ │ │ │ └── lib.js │ │ │ └── unpkg │ │ │ └── index.js │ ├── api-extractor.json │ ├── bin │ │ ├── cli.js │ │ └── dev.js │ ├── browser │ │ └── bundle_esm.js │ ├── bundle.js │ ├── index.html │ ├── package.json │ ├── src │ │ ├── index.ts │ │ ├── lib │ │ │ ├── compiler.ts │ │ │ ├── createPlugin.ts │ │ │ ├── esbuild.ts │ │ │ └── yargsOptions.ts │ │ ├── plugins │ │ │ ├── bare.ts │ │ │ ├── debug.ts │ │ │ ├── entry.ts │ │ │ ├── external-global.ts │ │ │ ├── http.ts │ │ │ ├── index.ts │ │ │ ├── memfs.ts │ │ │ ├── node-polyfill.ts │ │ │ ├── rollup-proxy.ts │ │ │ ├── unpkg.ts │ │ │ └── watch.ts │ │ ├── shim │ │ │ ├── node.js │ │ │ └── process.js │ │ └── types.ts │ ├── tsconfig.json │ ├── tsdoc-metadata.json │ └── types │ │ └── module.d.ts ├── helpers │ ├── package.json │ ├── src │ │ ├── index.ts │ │ └── path.ts │ └── tsconfig.json └── playground │ ├── assets │ └── favicon.svg │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ ├── favicon.svg │ ├── index.css │ ├── index.html │ ├── index.js │ └── index.js.map │ ├── scripts │ ├── build.ts │ └── plugins │ │ ├── fn.ts │ │ ├── postcss.ts │ │ └── worker.ts │ ├── shims │ └── react-shim.js │ ├── src │ ├── components │ │ ├── editor.tsx │ │ ├── filetree.tsx │ │ ├── grid.tsx │ │ ├── list.tsx │ │ ├── nav.tsx │ │ └── preview.tsx │ ├── examples │ │ ├── index.html │ │ ├── lib.ts │ │ ├── main.tsx │ │ └── style.css │ ├── index.css │ ├── index.tsx │ ├── logo.svg │ ├── pages │ │ └── playground.tsx │ ├── react-app-env.d.ts │ ├── tailwind.css │ ├── utils │ │ ├── fn.ts │ │ └── worker.ts │ └── worker │ │ ├── add.ts │ │ └── fib.ts │ ├── tailwind.config.js │ ├── tsconfig.json │ └── types │ └── module.d.ts ├── plugins ├── glob │ ├── index.ts │ └── package.json ├── raw │ ├── index.ts │ └── package.json └── wasm │ ├── package.json │ ├── src │ └── index.ts │ └── test │ ├── compile.spec.ts │ └── fixtures │ ├── bundle.js │ ├── index.ts │ └── sample.wasm ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── tsconfig.json /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/README.md -------------------------------------------------------------------------------- /examples/rollup-demo/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/examples/rollup-demo/rollup.config.js -------------------------------------------------------------------------------- /examples/rollup-demo/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/examples/rollup-demo/src/index.js -------------------------------------------------------------------------------- /examples/rollup-demo/src/lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/examples/rollup-demo/src/lib.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/package.json -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/http/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/__tests__/fixtures/http/index.js -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/memfs/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/__tests__/fixtures/memfs/build.js -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/memfs/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/__tests__/fixtures/memfs/bundle.js -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/memfs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "source-map-support": "^0.5.19" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/memfs/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/__tests__/fixtures/memfs/src/index.js -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/memfs/src/lib.js: -------------------------------------------------------------------------------- 1 | export const answer = 42; 2 | -------------------------------------------------------------------------------- /packages/bundler/__tests__/fixtures/unpkg/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/__tests__/fixtures/unpkg/index.js -------------------------------------------------------------------------------- /packages/bundler/api-extractor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/api-extractor.json -------------------------------------------------------------------------------- /packages/bundler/bin/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('dist/index.js').run(); 3 | -------------------------------------------------------------------------------- /packages/bundler/bin/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/bin/dev.js -------------------------------------------------------------------------------- /packages/bundler/browser/bundle_esm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/browser/bundle_esm.js -------------------------------------------------------------------------------- /packages/bundler/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/bundle.js -------------------------------------------------------------------------------- /packages/bundler/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/index.html -------------------------------------------------------------------------------- /packages/bundler/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/package.json -------------------------------------------------------------------------------- /packages/bundler/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/index.ts -------------------------------------------------------------------------------- /packages/bundler/src/lib/compiler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/lib/compiler.ts -------------------------------------------------------------------------------- /packages/bundler/src/lib/createPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/lib/createPlugin.ts -------------------------------------------------------------------------------- /packages/bundler/src/lib/esbuild.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/lib/esbuild.ts -------------------------------------------------------------------------------- /packages/bundler/src/lib/yargsOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/lib/yargsOptions.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/bare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/bare.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/debug.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/entry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/entry.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/external-global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/external-global.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/http.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/bundler/src/plugins/memfs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/memfs.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/node-polyfill.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/node-polyfill.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/rollup-proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/rollup-proxy.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/unpkg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/unpkg.ts -------------------------------------------------------------------------------- /packages/bundler/src/plugins/watch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/plugins/watch.ts -------------------------------------------------------------------------------- /packages/bundler/src/shim/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/shim/node.js -------------------------------------------------------------------------------- /packages/bundler/src/shim/process.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/shim/process.js -------------------------------------------------------------------------------- /packages/bundler/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/src/types.ts -------------------------------------------------------------------------------- /packages/bundler/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/tsconfig.json -------------------------------------------------------------------------------- /packages/bundler/tsdoc-metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/bundler/tsdoc-metadata.json -------------------------------------------------------------------------------- /packages/bundler/types/module.d.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | declare var __NODE__: boolean; 3 | -------------------------------------------------------------------------------- /packages/helpers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/helpers/package.json -------------------------------------------------------------------------------- /packages/helpers/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './path'; 2 | -------------------------------------------------------------------------------- /packages/helpers/src/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/helpers/src/path.ts -------------------------------------------------------------------------------- /packages/helpers/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/helpers/tsconfig.json -------------------------------------------------------------------------------- /packages/playground/assets/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/assets/favicon.svg -------------------------------------------------------------------------------- /packages/playground/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/package-lock.json -------------------------------------------------------------------------------- /packages/playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/package.json -------------------------------------------------------------------------------- /packages/playground/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/postcss.config.js -------------------------------------------------------------------------------- /packages/playground/public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/public/favicon.svg -------------------------------------------------------------------------------- /packages/playground/public/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/public/index.css -------------------------------------------------------------------------------- /packages/playground/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/public/index.html -------------------------------------------------------------------------------- /packages/playground/public/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/public/index.js -------------------------------------------------------------------------------- /packages/playground/public/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/public/index.js.map -------------------------------------------------------------------------------- /packages/playground/scripts/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/scripts/build.ts -------------------------------------------------------------------------------- /packages/playground/scripts/plugins/fn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/scripts/plugins/fn.ts -------------------------------------------------------------------------------- /packages/playground/scripts/plugins/postcss.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/scripts/plugins/postcss.ts -------------------------------------------------------------------------------- /packages/playground/scripts/plugins/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/scripts/plugins/worker.ts -------------------------------------------------------------------------------- /packages/playground/shims/react-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/shims/react-shim.js -------------------------------------------------------------------------------- /packages/playground/src/components/editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/components/editor.tsx -------------------------------------------------------------------------------- /packages/playground/src/components/filetree.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/components/filetree.tsx -------------------------------------------------------------------------------- /packages/playground/src/components/grid.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/components/grid.tsx -------------------------------------------------------------------------------- /packages/playground/src/components/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/components/list.tsx -------------------------------------------------------------------------------- /packages/playground/src/components/nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/components/nav.tsx -------------------------------------------------------------------------------- /packages/playground/src/components/preview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/components/preview.tsx -------------------------------------------------------------------------------- /packages/playground/src/examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/examples/index.html -------------------------------------------------------------------------------- /packages/playground/src/examples/lib.ts: -------------------------------------------------------------------------------- 1 | export const answer = 42; 2 | -------------------------------------------------------------------------------- /packages/playground/src/examples/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/examples/main.tsx -------------------------------------------------------------------------------- /packages/playground/src/examples/style.css: -------------------------------------------------------------------------------- 1 | text { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /packages/playground/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/index.css -------------------------------------------------------------------------------- /packages/playground/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/index.tsx -------------------------------------------------------------------------------- /packages/playground/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/logo.svg -------------------------------------------------------------------------------- /packages/playground/src/pages/playground.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/pages/playground.tsx -------------------------------------------------------------------------------- /packages/playground/src/react-app-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/react-app-env.d.ts -------------------------------------------------------------------------------- /packages/playground/src/tailwind.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/tailwind.css -------------------------------------------------------------------------------- /packages/playground/src/utils/fn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/utils/fn.ts -------------------------------------------------------------------------------- /packages/playground/src/utils/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/utils/worker.ts -------------------------------------------------------------------------------- /packages/playground/src/worker/add.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/worker/add.ts -------------------------------------------------------------------------------- /packages/playground/src/worker/fib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/src/worker/fib.ts -------------------------------------------------------------------------------- /packages/playground/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/tailwind.config.js -------------------------------------------------------------------------------- /packages/playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/tsconfig.json -------------------------------------------------------------------------------- /packages/playground/types/module.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/packages/playground/types/module.d.ts -------------------------------------------------------------------------------- /plugins/glob/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/glob/index.ts -------------------------------------------------------------------------------- /plugins/glob/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/glob/package.json -------------------------------------------------------------------------------- /plugins/raw/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/raw/index.ts -------------------------------------------------------------------------------- /plugins/raw/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/raw/package.json -------------------------------------------------------------------------------- /plugins/wasm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/wasm/package.json -------------------------------------------------------------------------------- /plugins/wasm/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/wasm/src/index.ts -------------------------------------------------------------------------------- /plugins/wasm/test/compile.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/wasm/test/compile.spec.ts -------------------------------------------------------------------------------- /plugins/wasm/test/fixtures/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/wasm/test/fixtures/bundle.js -------------------------------------------------------------------------------- /plugins/wasm/test/fixtures/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/plugins/wasm/test/fixtures/index.ts -------------------------------------------------------------------------------- /plugins/wasm/test/fixtures/sample.wasm: -------------------------------------------------------------------------------- 1 | asm`main 2 | A -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hardfist/neo-tools/HEAD/tsconfig.json --------------------------------------------------------------------------------