create-seamless 0.0.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/index.js +18 -0
  3. package/package.json +26 -0
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # create-seamless
2
+ The CLI installer for a seamless auth starter application
package/index.js ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+ import { execSync } from "child_process";
3
+ import path from "path";
4
+
5
+ const project = process.argv[2] || "seamlessauth-app";
6
+
7
+ console.log(`🚀 Creating project: ${project}...\n`);
8
+
9
+ execSync(`npx degit seamlessauth/nextjs-starter ${project}`, {
10
+ stdio: "inherit",
11
+ });
12
+
13
+ console.log(`
14
+ ✅ Done!
15
+ → cd ${project}
16
+ → npm install
17
+ → npm run dev
18
+ `);
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "create-seamless",
3
+ "version": "0.0.1-beta.0",
4
+ "description": "The starter script for Seamless Auth + AI",
5
+ "homepage": "https://github.com/fells-code/create-seamless#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/fells-code/create-seamless/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/fells-code/create-seamless.git"
12
+ },
13
+ "license": "MIT",
14
+ "author": "Brandon Corbett <brandon.corbett@fellscode.com>",
15
+ "type": "module",
16
+ "main": "index.js",
17
+ "scripts": {
18
+ "test": "echo \"Error: no test specified\" && exit 1"
19
+ },
20
+ "bin": {
21
+ "create-seamlessauth": "index.js"
22
+ },
23
+ "dependencies": {
24
+ "degit": "^2.8.4"
25
+ }
26
+ }