mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* feat: add solid framework package and example * solidstart docs * Update 02-oauth-tutorial.mdx * minor docs fixes * Fix sidebar typo * Update sync.yml * Update sidebars.js * minor fixes * fix deps * upgrade auth example * Update root.tsx * Update NavBar.tsx * Update Protected.tsx * protected * move example * Update sidebars.js Co-authored-by: Balázs Orbán <info@balazsorban.com> Co-authored-by: Nico Domino <yo@ndo.dev>
17 lines
368 B
JavaScript
17 lines
368 B
JavaScript
import path from "path";
|
|
import fs from "fs/promises";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = path.dirname(__filename);
|
|
|
|
async function main() {
|
|
const root = path.join(__dirname, "../");
|
|
const dist = path.join(root, "dist");
|
|
await fs.cp(dist, root, {
|
|
recursive: true,
|
|
});
|
|
}
|
|
|
|
main();
|