├── .gitignore ├── README.md ├── package.json ├── pnpm-lock.yaml ├── src ├── cli │ ├── generateRoutes.ts │ ├── index.ts │ └── referenceCloudfrontFunc.js ├── index.ts └── utils │ ├── constants.ts │ ├── dynamicRoutes.ts │ ├── extractParamsFromPath.ts │ ├── fsUtils.ts │ ├── getDynamicRoutes.ts │ ├── useDynamicParams.ts │ └── withDynamicParams.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/cli/generateRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/cli/generateRoutes.ts -------------------------------------------------------------------------------- /src/cli/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/cli/index.ts -------------------------------------------------------------------------------- /src/cli/referenceCloudfrontFunc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/cli/referenceCloudfrontFunc.js -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- 1 | export const FALLBACK_STRING = 'next-static-fallback'; 2 | -------------------------------------------------------------------------------- /src/utils/dynamicRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/utils/dynamicRoutes.ts -------------------------------------------------------------------------------- /src/utils/extractParamsFromPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/utils/extractParamsFromPath.ts -------------------------------------------------------------------------------- /src/utils/fsUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/utils/fsUtils.ts -------------------------------------------------------------------------------- /src/utils/getDynamicRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/utils/getDynamicRoutes.ts -------------------------------------------------------------------------------- /src/utils/useDynamicParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/utils/useDynamicParams.ts -------------------------------------------------------------------------------- /src/utils/withDynamicParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/src/utils/withDynamicParams.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zdenham/next-static-utils/HEAD/tsconfig.json --------------------------------------------------------------------------------