├── .gitattributes ├── .github └── workflows │ ├── ci.yml │ └── prepare_package_upload.js ├── .gitignore ├── .node-version ├── .vscode └── settings.json ├── AGENTS.md ├── README.md ├── package.json ├── rescript.json ├── rollup.config.mjs ├── src ├── CI.res ├── CI.resi ├── CraPaths.res ├── CraPaths.resi ├── ErrorUtils.res ├── ExistingJsProject.res ├── ExistingJsProject.resi ├── ExistingRescriptProject.res ├── ExistingRescriptProject.resi ├── JsonUtils.res ├── JsonUtils.resi ├── Main.res ├── Main.resi ├── NewProject.res ├── NewProject.resi ├── NpmRegistry.res ├── NpmRegistry.resi ├── PackageManagers.res ├── PackageManagers.resi ├── RescriptJsonUtils.res ├── RescriptVersions.res ├── RescriptVersions.resi ├── Templates.res └── bindings │ ├── ClackPrompts.res │ ├── CompareVersions.res │ ├── Node.res │ ├── NodePromisified.mjs │ └── PicoColors.res └── templates ├── .npmignore ├── rescript-template-basic ├── README.md ├── _gitignore ├── package.json ├── rescript.json └── src │ └── Demo.res ├── rescript-template-nextjs ├── .nowignore ├── LICENSE ├── README.md ├── _gitignore ├── jsconfig.json ├── next.config.mjs ├── now.json ├── package-lock.json ├── package.json ├── pages │ ├── _app.js │ ├── examples.js │ └── index.js ├── postcss.config.js ├── public │ └── static │ │ └── zeit-black-triangle.svg ├── rescript.json ├── src │ ├── App.res │ ├── App.resi │ ├── Examples.res │ ├── Examples.resi │ ├── Index.res │ ├── Index.resi │ ├── bindings │ │ └── Next.res │ ├── components │ │ └── .gitkeep │ └── layouts │ │ ├── MainLayout.res │ │ └── MainLayout.resi ├── styles │ ├── _fonts.css │ └── main.css └── tailwind.config.mjs └── rescript-template-vite ├── README.md ├── _gitignore ├── index.html ├── package-lock.json ├── package.json ├── public └── vite.svg ├── rescript.json ├── src ├── App.res ├── App.resi ├── Button.res ├── Button.resi ├── Main.res ├── assets │ ├── react.svg │ ├── rescript-logo.svg │ └── vite.svg └── index.css └── vite.config.js /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/prepare_package_upload.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/.github/workflows/prepare_package_upload.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.node-version: -------------------------------------------------------------------------------- 1 | 24 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/AGENTS.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/package.json -------------------------------------------------------------------------------- /rescript.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/rescript.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/CI.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/CI.res -------------------------------------------------------------------------------- /src/CI.resi: -------------------------------------------------------------------------------- 1 | let isRunningInCI: bool 2 | -------------------------------------------------------------------------------- /src/CraPaths.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/CraPaths.res -------------------------------------------------------------------------------- /src/CraPaths.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/CraPaths.resi -------------------------------------------------------------------------------- /src/ErrorUtils.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/ErrorUtils.res -------------------------------------------------------------------------------- /src/ExistingJsProject.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/ExistingJsProject.res -------------------------------------------------------------------------------- /src/ExistingJsProject.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/ExistingJsProject.resi -------------------------------------------------------------------------------- /src/ExistingRescriptProject.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/ExistingRescriptProject.res -------------------------------------------------------------------------------- /src/ExistingRescriptProject.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/ExistingRescriptProject.resi -------------------------------------------------------------------------------- /src/JsonUtils.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/JsonUtils.res -------------------------------------------------------------------------------- /src/JsonUtils.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/JsonUtils.resi -------------------------------------------------------------------------------- /src/Main.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/Main.res -------------------------------------------------------------------------------- /src/Main.resi: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/NewProject.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/NewProject.res -------------------------------------------------------------------------------- /src/NewProject.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/NewProject.resi -------------------------------------------------------------------------------- /src/NpmRegistry.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/NpmRegistry.res -------------------------------------------------------------------------------- /src/NpmRegistry.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/NpmRegistry.resi -------------------------------------------------------------------------------- /src/PackageManagers.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/PackageManagers.res -------------------------------------------------------------------------------- /src/PackageManagers.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/PackageManagers.resi -------------------------------------------------------------------------------- /src/RescriptJsonUtils.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/RescriptJsonUtils.res -------------------------------------------------------------------------------- /src/RescriptVersions.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/RescriptVersions.res -------------------------------------------------------------------------------- /src/RescriptVersions.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/RescriptVersions.resi -------------------------------------------------------------------------------- /src/Templates.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/Templates.res -------------------------------------------------------------------------------- /src/bindings/ClackPrompts.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/bindings/ClackPrompts.res -------------------------------------------------------------------------------- /src/bindings/CompareVersions.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/bindings/CompareVersions.res -------------------------------------------------------------------------------- /src/bindings/Node.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/bindings/Node.res -------------------------------------------------------------------------------- /src/bindings/NodePromisified.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/bindings/NodePromisified.mjs -------------------------------------------------------------------------------- /src/bindings/PicoColors.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/src/bindings/PicoColors.res -------------------------------------------------------------------------------- /templates/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/.npmignore -------------------------------------------------------------------------------- /templates/rescript-template-basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-basic/README.md -------------------------------------------------------------------------------- /templates/rescript-template-basic/_gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /node_modules/ 3 | /lib/ 4 | .bsb.lock 5 | .merlin 6 | -------------------------------------------------------------------------------- /templates/rescript-template-basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-basic/package.json -------------------------------------------------------------------------------- /templates/rescript-template-basic/rescript.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-basic/rescript.json -------------------------------------------------------------------------------- /templates/rescript-template-basic/src/Demo.res: -------------------------------------------------------------------------------- 1 | Console.log("Hello, world!") 2 | -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/.nowignore: -------------------------------------------------------------------------------- 1 | .next/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/LICENSE -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/README.md -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/_gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/_gitignore -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/jsconfig.json -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/next.config.mjs -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/now.json -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/package-lock.json -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/package.json -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/pages/_app.js -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/pages/examples.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/pages/examples.js -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/pages/index.js -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/postcss.config.js -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/public/static/zeit-black-triangle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/public/static/zeit-black-triangle.svg -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/rescript.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/rescript.json -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/App.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/App.res -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/App.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/App.resi -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/Examples.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/Examples.res -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/Examples.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/Examples.resi -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/Index.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/Index.res -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/Index.resi: -------------------------------------------------------------------------------- 1 | let default: unit => React.element 2 | -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/bindings/Next.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/bindings/Next.res -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/components/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/layouts/MainLayout.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/layouts/MainLayout.res -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/src/layouts/MainLayout.resi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/src/layouts/MainLayout.resi -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/styles/_fonts.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/styles/_fonts.css -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/styles/main.css -------------------------------------------------------------------------------- /templates/rescript-template-nextjs/tailwind.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-nextjs/tailwind.config.mjs -------------------------------------------------------------------------------- /templates/rescript-template-vite/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/README.md -------------------------------------------------------------------------------- /templates/rescript-template-vite/_gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/_gitignore -------------------------------------------------------------------------------- /templates/rescript-template-vite/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/index.html -------------------------------------------------------------------------------- /templates/rescript-template-vite/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/package-lock.json -------------------------------------------------------------------------------- /templates/rescript-template-vite/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/package.json -------------------------------------------------------------------------------- /templates/rescript-template-vite/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/public/vite.svg -------------------------------------------------------------------------------- /templates/rescript-template-vite/rescript.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/rescript.json -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/App.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/App.res -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/App.resi: -------------------------------------------------------------------------------- 1 | @react.component 2 | let make: unit => Jsx.element 3 | -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/Button.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/Button.res -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/Button.resi: -------------------------------------------------------------------------------- 1 | let make: JsxDOM.domProps => Jsx.element 2 | -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/Main.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/Main.res -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/assets/react.svg -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/assets/rescript-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/assets/rescript-logo.svg -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/assets/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/assets/vite.svg -------------------------------------------------------------------------------- /templates/rescript-template-vite/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/src/index.css -------------------------------------------------------------------------------- /templates/rescript-template-vite/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rescript-lang/create-rescript-app/HEAD/templates/rescript-template-vite/vite.config.js --------------------------------------------------------------------------------