From 0aa31197745d03d4b4057e4acabf5c680f624d7c Mon Sep 17 00:00:00 2001 From: kaf-lamed-beyt Date: Thu, 16 Feb 2023 13:31:30 +0100 Subject: [PATCH 1/4] chore: add node_modules to gitignore --- .gitignore | 1 + package-lock.json | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .gitignore create mode 100644 package-lock.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..ce2acb8 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,63 @@ +{ + "name": "create-swifty-config", + "version": "1.0.8", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "create-swifty-config", + "version": "1.0.8", + "license": "MIT", + "dependencies": { + "kolorist": "^1.5.1", + "minimist": "^1.2.6", + "prompts": "^2.4.2" + }, + "bin": { + "create-swifty-config": "index.js", + "csc": "index.js" + }, + "engines": { + "node": ">=14.6.0" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "engines": { + "node": ">=6" + } + }, + "node_modules/kolorist": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.7.0.tgz", + "integrity": "sha512-ymToLHqL02udwVdbkowNpzjFd6UzozMtshPQKVi5k1EjKRqKqBrOnE9QbLEb0/pV76SAiIT13hdL8R6suc+f3g==" + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" + } + } +} From cd4aa8a9afa55d7dade7cb1cd86bcf36d704f917 Mon Sep 17 00:00:00 2001 From: kaf-lamed-beyt Date: Fri, 17 Feb 2023 18:32:40 +0100 Subject: [PATCH 2/4] chore: setup index route --- README.md | 4 +- package-lock.json | 63 --- package.json | 2 +- template-next/.gitignore | 2 + template-next/README.md | 3 + template-next/jsconfig.json | 0 template-next/package-lock.json | 622 ++++++++++++++++++++++++++++++ template-next/package.json | 21 + template-next/pages/_app.js | 14 + template-next/pages/index.js | 27 ++ template-next/public/image.txt | 1 + template-next/style/global.css | 13 + template-next/style/variables.css | 6 + 13 files changed, 712 insertions(+), 66 deletions(-) delete mode 100644 package-lock.json create mode 100644 template-next/.gitignore create mode 100644 template-next/README.md create mode 100644 template-next/jsconfig.json create mode 100644 template-next/package-lock.json create mode 100644 template-next/package.json create mode 100644 template-next/pages/_app.js create mode 100644 template-next/pages/index.js create mode 100644 template-next/public/image.txt create mode 100644 template-next/style/global.css create mode 100644 template-next/style/variables.css diff --git a/README.md b/README.md index 4696eea..a94d03e 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ > With one command, setup your Frontend project with additional configuration out of the box. # What does this do? + See this as create-react-app with extra, I know you are tired from having to setup prettier, Eslint e.t.c all the time, or you are tired of doing the same thing all over and over again, I created this to help, personally as a side project to help myself, but then you might need it. > **Compatibility Note:** @@ -36,12 +37,12 @@ Then follow the prompts to setup the project! - `vanilla-ts` - `react` - `react-ts` +- `next` This will be updated with more templates. You can use `.` for the project name to scaffold in the current directory. - ## What more can you do? If you love this project and the setup, it will be okay to give this project a star on [Github](https://github.com/DeveloperAspire/swifty-config). and share with friends as this will help make the project more avaliable and popular and yeah, helps boost my little ego 🧑‍💻 @@ -60,7 +61,6 @@ Created by [Franklin Okolie](https://github.com/DeveloperAspire) MIT (c) [Franklin Okolie](https://github.com/DeveloperAspire). -