├── .eslintignore ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── bin ├── create-tsconfig.js └── vercel-node-dev ├── docs └── testing-vercel-json-routes.jsonc ├── jest.config.js ├── package.json ├── src ├── child-processes │ ├── start-api-dev-process.ts │ └── start-ui-dev-process.ts ├── frameworks │ ├── frameworks.ts │ └── get-framework.ts ├── get-context.ts ├── index.ts ├── lib.ts ├── ports.ts ├── routes │ ├── api-routes.ts │ └── routing.ts └── servers │ ├── start-api-server.ts │ └── start-proxy-server.ts ├── test ├── fixtures │ └── create-react-app │ │ ├── .env │ │ ├── .gitignore │ │ ├── README.md │ │ ├── api │ │ ├── articles │ │ │ ├── [id].js │ │ │ └── index.js │ │ ├── blog │ │ │ └── [slug] │ │ │ │ ├── admin │ │ │ │ └── [action] │ │ │ │ │ ├── [type].js │ │ │ │ │ └── index.js │ │ │ │ ├── edit.js │ │ │ │ └── index.js │ │ ├── body.js │ │ ├── hello-world.js │ │ ├── index.js │ │ ├── method.js │ │ ├── query-strings.js │ │ └── typescript-world.ts │ │ ├── package.json │ │ ├── public │ │ ├── favicon.ico │ │ ├── foo.html │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ │ ├── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── serviceWorker.js │ │ └── setupTests.js │ │ ├── vercel.json │ │ └── yarn.lock └── integration.test.ts ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | docs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/README.md -------------------------------------------------------------------------------- /bin/create-tsconfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/bin/create-tsconfig.js -------------------------------------------------------------------------------- /bin/vercel-node-dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/bin/vercel-node-dev -------------------------------------------------------------------------------- /docs/testing-vercel-json-routes.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/docs/testing-vercel-json-routes.jsonc -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/package.json -------------------------------------------------------------------------------- /src/child-processes/start-api-dev-process.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/child-processes/start-api-dev-process.ts -------------------------------------------------------------------------------- /src/child-processes/start-ui-dev-process.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/child-processes/start-ui-dev-process.ts -------------------------------------------------------------------------------- /src/frameworks/frameworks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/frameworks/frameworks.ts -------------------------------------------------------------------------------- /src/frameworks/get-framework.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/frameworks/get-framework.ts -------------------------------------------------------------------------------- /src/get-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/get-context.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/lib.ts -------------------------------------------------------------------------------- /src/ports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/ports.ts -------------------------------------------------------------------------------- /src/routes/api-routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/routes/api-routes.ts -------------------------------------------------------------------------------- /src/routes/routing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/routes/routing.ts -------------------------------------------------------------------------------- /src/servers/start-api-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/servers/start-api-server.ts -------------------------------------------------------------------------------- /src/servers/start-proxy-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/src/servers/start-proxy-server.ts -------------------------------------------------------------------------------- /test/fixtures/create-react-app/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true 2 | BROWSER=none -------------------------------------------------------------------------------- /test/fixtures/create-react-app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/.gitignore -------------------------------------------------------------------------------- /test/fixtures/create-react-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/README.md -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/articles/[id].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/articles/[id].js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/articles/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/articles/index.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/blog/[slug]/admin/[action]/[type].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/blog/[slug]/admin/[action]/[type].js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/blog/[slug]/admin/[action]/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/blog/[slug]/admin/[action]/index.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/blog/[slug]/edit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/blog/[slug]/edit.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/blog/[slug]/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/blog/[slug]/index.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/body.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/body.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/hello-world.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/hello-world.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/index.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/method.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/method.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/query-strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/query-strings.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/api/typescript-world.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/api/typescript-world.ts -------------------------------------------------------------------------------- /test/fixtures/create-react-app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/package.json -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/favicon.ico -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/foo.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/foo.html -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/index.html -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/logo192.png -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/logo512.png -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/manifest.json -------------------------------------------------------------------------------- /test/fixtures/create-react-app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/public/robots.txt -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/App.css -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/App.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/App.test.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/index.css -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/index.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/logo.svg -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/serviceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/serviceWorker.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/src/setupTests.js -------------------------------------------------------------------------------- /test/fixtures/create-react-app/vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/vercel.json -------------------------------------------------------------------------------- /test/fixtures/create-react-app/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/fixtures/create-react-app/yarn.lock -------------------------------------------------------------------------------- /test/integration.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/test/integration.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ctrlplusb/vercel-node-dev/HEAD/yarn.lock --------------------------------------------------------------------------------