create-authhero 0.2.0 → 0.4.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.
- package/README.md +147 -27
- package/package.json +5 -1
- package/CHANGELOG.md +0 -25
- package/dist/create-authhero.js +0 -65
- package/dist/sqlite/src/index.ts +0 -19
- package/dist/sqlite/yarn.lock +0 -48
- package/src/index.ts +0 -97
- package/templates/sqlite/src/index.ts +0 -19
- package/templates/sqlite/yarn.lock +0 -48
- package/tsconfig.json +0 -9
- package/tsconfig.node.json +0 -4
- package/tsconfig.tsbuildinfo +0 -1
- package/vite.config.ts +0 -24
package/README.md
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
Sure! Here's a `README.md` file for your CLI package:
|
|
2
|
-
|
|
3
|
-
````markdown
|
|
4
1
|
# create-authhero
|
|
5
2
|
|
|
6
|
-
`create-authhero` is a command-line tool for creating a new AuthHero project. It
|
|
3
|
+
`create-authhero` is a command-line tool for creating a new AuthHero project. It supports three different setup types to match your deployment needs.
|
|
7
4
|
|
|
8
5
|
## Usage
|
|
9
6
|
|
|
10
|
-
To create a new AuthHero project, run
|
|
7
|
+
To create a new AuthHero project, run:
|
|
11
8
|
|
|
12
9
|
```sh
|
|
13
10
|
npm create authhero <project-name>
|
|
@@ -15,45 +12,173 @@ npm create authhero <project-name>
|
|
|
15
12
|
|
|
16
13
|
If you don't specify a project name, you will be prompted to enter one.
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
## Interactive Setup
|
|
16
|
+
|
|
17
|
+
The CLI will guide you through:
|
|
18
|
+
|
|
19
|
+
1. **Project name** - Name of your project directory
|
|
20
|
+
2. **Setup type** - Choose between Local, Cloudflare Simple, or Cloudflare Multi-Tenant
|
|
21
|
+
3. **Admin credentials** - Email and password for the initial admin user
|
|
22
|
+
4. **Install dependencies** - Optionally install packages with your preferred package manager
|
|
23
|
+
5. **Start server** - Optionally run migrations, seed the database, and start the dev server
|
|
24
|
+
|
|
25
|
+
## Setup Types
|
|
26
|
+
|
|
27
|
+
When you run the command, you'll be asked to choose from three setup types:
|
|
28
|
+
|
|
29
|
+
### 1. Local (SQLite)
|
|
30
|
+
|
|
31
|
+
**Best for:** Getting started, local development, small deployments
|
|
32
|
+
|
|
33
|
+
- Uses SQLite database with `better-sqlite3`
|
|
34
|
+
- Runs with Bun or Node.js
|
|
35
|
+
- No external dependencies
|
|
36
|
+
- Great for learning and prototyping
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
my-auth-project/
|
|
40
|
+
├── src/
|
|
41
|
+
│ ├── index.ts # Server entry point
|
|
42
|
+
│ ├── app.ts # AuthHero configuration
|
|
43
|
+
│ ├── migrate.ts # Database migrations
|
|
44
|
+
│ └── seed.ts # Database seeding (generated)
|
|
45
|
+
├── package.json
|
|
46
|
+
└── tsconfig.json
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Quick Start:**
|
|
19
50
|
|
|
20
51
|
```sh
|
|
21
|
-
|
|
52
|
+
cd my-auth-project
|
|
53
|
+
npm install
|
|
54
|
+
npm run migrate
|
|
55
|
+
npm run seed
|
|
56
|
+
npm run dev
|
|
22
57
|
```
|
|
23
58
|
|
|
24
|
-
|
|
59
|
+
### 2. Cloudflare Simple (Single Tenant)
|
|
60
|
+
|
|
61
|
+
**Best for:** Single-tenant deployments, simple production setups
|
|
62
|
+
|
|
63
|
+
- Uses Cloudflare Workers with D1 database
|
|
64
|
+
- Single tenant configuration
|
|
65
|
+
- Edge deployment with low latency
|
|
66
|
+
- Easy to deploy and manage
|
|
25
67
|
|
|
26
68
|
```
|
|
27
|
-
my-auth-project
|
|
69
|
+
my-auth-project/
|
|
70
|
+
├── src/
|
|
71
|
+
│ ├── index.ts # Worker entry point
|
|
72
|
+
│ ├── app.ts # AuthHero configuration
|
|
73
|
+
│ └── types.ts # TypeScript types
|
|
74
|
+
├── wrangler.toml # Cloudflare configuration
|
|
75
|
+
├── seed.sql # Database seeding (generated)
|
|
28
76
|
├── package.json
|
|
29
|
-
└──
|
|
30
|
-
└── ... (template files)
|
|
77
|
+
└── tsconfig.json
|
|
31
78
|
```
|
|
32
79
|
|
|
33
|
-
|
|
80
|
+
**Quick Start:**
|
|
34
81
|
|
|
35
|
-
|
|
82
|
+
```sh
|
|
83
|
+
cd my-auth-project
|
|
84
|
+
npm install
|
|
85
|
+
wrangler d1 create authhero-db
|
|
86
|
+
# Update wrangler.toml with database_id
|
|
87
|
+
npm run db:migrate
|
|
88
|
+
npm run seed
|
|
89
|
+
npm run dev
|
|
90
|
+
```
|
|
36
91
|
|
|
37
|
-
|
|
92
|
+
### 3. Cloudflare Multi-Tenant (Production)
|
|
38
93
|
|
|
39
|
-
|
|
94
|
+
**Best for:** SaaS platforms, agencies, enterprise deployments
|
|
40
95
|
|
|
41
|
-
|
|
96
|
+
- Production-grade multi-tenant architecture
|
|
97
|
+
- Main D1 database bound to worker (low latency)
|
|
98
|
+
- Per-tenant D1 databases created dynamically via REST API
|
|
99
|
+
- Analytics Engine for centralized logging
|
|
100
|
+
- Subdomain-based tenant routing (optional)
|
|
101
|
+
- Organization-based access control
|
|
42
102
|
|
|
43
|
-
|
|
103
|
+
```
|
|
104
|
+
my-auth-project/
|
|
105
|
+
├── src/
|
|
106
|
+
│ ├── index.ts # Worker entry point
|
|
107
|
+
│ ├── app.ts # AuthHero configuration
|
|
108
|
+
│ ├── types.ts # TypeScript types
|
|
109
|
+
│ └── database-factory.ts # Multi-tenant DB factory
|
|
110
|
+
├── wrangler.toml # Cloudflare configuration
|
|
111
|
+
├── .dev.vars.example # Environment variables template
|
|
112
|
+
├── seed.sql # Database seeding (generated)
|
|
113
|
+
├── package.json
|
|
114
|
+
└── tsconfig.json
|
|
115
|
+
```
|
|
44
116
|
|
|
45
|
-
|
|
117
|
+
**Architecture:**
|
|
46
118
|
|
|
47
|
-
|
|
119
|
+
```
|
|
120
|
+
┌─────────────────────────────────────────┐
|
|
121
|
+
│ Cloudflare Worker │
|
|
122
|
+
│ │
|
|
123
|
+
│ ┌─────────────────────────────────┐ │
|
|
124
|
+
│ │ Multi-Tenancy Plugin │ │
|
|
125
|
+
│ │ - Access Control │ │
|
|
126
|
+
│ │ - Subdomain Routing │ │
|
|
127
|
+
│ │ - Database Resolution │ │
|
|
128
|
+
│ └─────────────────────────────────┘ │
|
|
129
|
+
└──────────────┼──────────────────────────┘
|
|
130
|
+
│
|
|
131
|
+
┌────────────────────────┼────────────────────────┐
|
|
132
|
+
│ │ │
|
|
133
|
+
▼ ▼ ▼
|
|
134
|
+
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
|
135
|
+
│ Main D1 │ │ Tenant D1 │ │ Analytics │
|
|
136
|
+
│ Database │ │ Databases │ │ Engine │
|
|
137
|
+
│ (Bound) │ │ (via REST) │ │ (Logs) │
|
|
138
|
+
└─────────────┘ └─────────────┘ └─────────────┘
|
|
139
|
+
```
|
|
48
140
|
|
|
49
|
-
|
|
141
|
+
**Quick Start:**
|
|
50
142
|
|
|
51
143
|
```sh
|
|
52
|
-
|
|
53
|
-
cd create-authhero
|
|
144
|
+
cd my-auth-project
|
|
54
145
|
npm install
|
|
146
|
+
wrangler d1 create authhero-main-db
|
|
147
|
+
# Update wrangler.toml with database_id
|
|
148
|
+
cp .dev.vars.example .dev.vars
|
|
149
|
+
# Add your Cloudflare credentials to .dev.vars
|
|
150
|
+
npm run db:migrate
|
|
151
|
+
npm run seed
|
|
152
|
+
npm run dev
|
|
55
153
|
```
|
|
56
154
|
|
|
155
|
+
## Example
|
|
156
|
+
|
|
157
|
+
```sh
|
|
158
|
+
npm create authhero my-auth-project
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
You'll be prompted to:
|
|
162
|
+
|
|
163
|
+
1. Choose a setup type
|
|
164
|
+
2. Enter admin email and password
|
|
165
|
+
3. Optionally install dependencies and start the server
|
|
166
|
+
|
|
167
|
+
## Comparison
|
|
168
|
+
|
|
169
|
+
| Feature | Local | Cloudflare Simple | Cloudflare Multi-Tenant |
|
|
170
|
+
| ------------ | ------------ | ----------------- | ----------------------- |
|
|
171
|
+
| Database | SQLite | D1 | D1 (per-tenant) |
|
|
172
|
+
| Deployment | Local/Server | Edge | Edge |
|
|
173
|
+
| Multi-tenant | ❌ | ❌ | ✅ |
|
|
174
|
+
| Logging | Console | Console | Analytics Engine |
|
|
175
|
+
| Complexity | Low | Medium | High |
|
|
176
|
+
| Best For | Development | Simple Production | Enterprise/SaaS |
|
|
177
|
+
|
|
178
|
+
## Documentation
|
|
179
|
+
|
|
180
|
+
For more information, visit [https://authhero.net/docs](https://authhero.net/docs)
|
|
181
|
+
|
|
57
182
|
## License
|
|
58
183
|
|
|
59
184
|
MIT
|
|
@@ -61,8 +186,3 @@ MIT
|
|
|
61
186
|
## Author
|
|
62
187
|
|
|
63
188
|
Markus Ahlstrand
|
|
64
|
-
|
|
65
|
-
## Acknowledgments
|
|
66
|
-
|
|
67
|
-
- [Commander.js](https://github.com/tj/commander.js) - Command-line interfaces made easy
|
|
68
|
-
- [Inquirer.js](https://github.com/SBoudrias/Inquirer.js) - A collection of common interactive command line user interfaces
|
package/package.json
CHANGED
|
@@ -5,15 +5,19 @@
|
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.4.0",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"main": "dist/create-authhero.js",
|
|
11
11
|
"bin": {
|
|
12
12
|
"create-authhero": "dist/create-authhero.js"
|
|
13
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
14
17
|
"devDependencies": {
|
|
15
18
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
16
19
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
20
|
+
"@types/inquirer": "^9.0.7",
|
|
17
21
|
"@types/node": "^20.14.9",
|
|
18
22
|
"typescript": "^5.5.2",
|
|
19
23
|
"vite": "^5.3.2"
|
package/CHANGELOG.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# create-authhero
|
|
2
|
-
|
|
3
|
-
## 0.2.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- Updated packages and added danish
|
|
8
|
-
|
|
9
|
-
## 0.1.2
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- Expose the migration script for kysely and add authhero test
|
|
14
|
-
|
|
15
|
-
## 0.1.1
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- Updated the version of authhero
|
|
20
|
-
|
|
21
|
-
## 0.1.0
|
|
22
|
-
|
|
23
|
-
### Minor Changes
|
|
24
|
-
|
|
25
|
-
- Added template files to created project
|
package/dist/create-authhero.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { Command as h } from "commander";
|
|
3
|
-
import d from "inquirer";
|
|
4
|
-
import e from "fs";
|
|
5
|
-
import o from "path";
|
|
6
|
-
const l = new h();
|
|
7
|
-
l.version("1.0.0").description("Create a new AuthHero project").argument("[project-name]", "name of the project").action(async (r) => {
|
|
8
|
-
r || (r = (await d.prompt([
|
|
9
|
-
{
|
|
10
|
-
type: "input",
|
|
11
|
-
name: "projectName",
|
|
12
|
-
message: "Project name:",
|
|
13
|
-
default: "auth-server",
|
|
14
|
-
validate: (s) => s !== "" || "Project name cannot be empty"
|
|
15
|
-
}
|
|
16
|
-
])).projectName);
|
|
17
|
-
const n = o.join(process.cwd(), r);
|
|
18
|
-
e.existsSync(n) && (console.error(`Project "${r}" already exists.`), process.exit(1));
|
|
19
|
-
const c = await d.prompt([
|
|
20
|
-
{
|
|
21
|
-
type: "input",
|
|
22
|
-
name: "description",
|
|
23
|
-
message: "Project description:"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
type: "input",
|
|
27
|
-
name: "author",
|
|
28
|
-
message: "Author name:"
|
|
29
|
-
}
|
|
30
|
-
]);
|
|
31
|
-
e.mkdirSync(n), e.writeFileSync(
|
|
32
|
-
o.join(n, "package.json"),
|
|
33
|
-
JSON.stringify(
|
|
34
|
-
{
|
|
35
|
-
name: r,
|
|
36
|
-
version: "1.0.0",
|
|
37
|
-
description: c.description,
|
|
38
|
-
author: c.author,
|
|
39
|
-
scripts: {
|
|
40
|
-
dev: "bun --watch src/index.js",
|
|
41
|
-
start: "bun src/index.js"
|
|
42
|
-
},
|
|
43
|
-
dependencies: {
|
|
44
|
-
"@hono/zod-openapi": "^0.16.4",
|
|
45
|
-
authhero: "^0.2.0",
|
|
46
|
-
hono: "^4.4.10"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
null,
|
|
50
|
-
2
|
|
51
|
-
)
|
|
52
|
-
);
|
|
53
|
-
const u = o.join(
|
|
54
|
-
import.meta.url.replace("file://", "").replace("/create-authhero.js", ""),
|
|
55
|
-
"./sqlite"
|
|
56
|
-
);
|
|
57
|
-
function p(t, s) {
|
|
58
|
-
e.readdirSync(t).forEach((m) => {
|
|
59
|
-
const i = o.join(t, m), a = o.join(s, m);
|
|
60
|
-
e.lstatSync(i).isDirectory() ? (e.mkdirSync(a), p(i, a)) : e.copyFileSync(i, a);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
p(u, n), console.log(`Project "${r}" has been created.`);
|
|
64
|
-
});
|
|
65
|
-
l.parse(process.argv);
|
package/dist/sqlite/src/index.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Hono } from "hono";
|
|
2
|
-
import { init } from "authhero";
|
|
3
|
-
|
|
4
|
-
// function init() {
|
|
5
|
-
// const app = new OpenAPIHono<{ Bindings: Bindings }>();
|
|
6
|
-
|
|
7
|
-
// app.get("/test", (ctx: Context) => {
|
|
8
|
-
// return ctx.text("Hello, world!");
|
|
9
|
-
// });
|
|
10
|
-
|
|
11
|
-
// return app;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
const app = new Hono();
|
|
15
|
-
app.get("/", (c) => c.text("Hono!"));
|
|
16
|
-
const authhero = init();
|
|
17
|
-
|
|
18
|
-
app.route("/", authhero);
|
|
19
|
-
export default app;
|
package/dist/sqlite/yarn.lock
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
2
|
-
# yarn lockfile v1
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"@asteasolutions/zod-to-openapi@^7.1.0":
|
|
6
|
-
version "7.1.1"
|
|
7
|
-
resolved "https://registry.yarnpkg.com/@asteasolutions/zod-to-openapi/-/zod-to-openapi-7.1.1.tgz#27784396d9f854db975a3b784095efef25258422"
|
|
8
|
-
integrity sha512-lF0d1gAc0lYLO9/BAGivwTwE2Sh9h6CHuDcbk5KnGBfIuAsAkDC+Fdat4dkQY3CS/zUWKHRmFEma0B7X132Ymw==
|
|
9
|
-
dependencies:
|
|
10
|
-
openapi3-ts "^4.1.2"
|
|
11
|
-
|
|
12
|
-
"@hono/zod-openapi@^0.14.5", "@hono/zod-openapi@^0.14.9":
|
|
13
|
-
version "0.14.9"
|
|
14
|
-
resolved "https://registry.yarnpkg.com/@hono/zod-openapi/-/zod-openapi-0.14.9.tgz#f0722f323f89ba4bb887b2b4242a6b13838ca960"
|
|
15
|
-
integrity sha512-7qWxZiSG4CogPb00TKorPMb2YsniOI0AReFrR7nIvsIdZ5XeorIQtFTI7G+o7HaaKPyzSPqcRllkFnQIIqxCMQ==
|
|
16
|
-
dependencies:
|
|
17
|
-
"@asteasolutions/zod-to-openapi" "^7.1.0"
|
|
18
|
-
"@hono/zod-validator" "0.2.2"
|
|
19
|
-
|
|
20
|
-
"@hono/zod-validator@0.2.2":
|
|
21
|
-
version "0.2.2"
|
|
22
|
-
resolved "https://registry.yarnpkg.com/@hono/zod-validator/-/zod-validator-0.2.2.tgz#929a1c40aee5eac1ed9c84094d6d977e0b70187a"
|
|
23
|
-
integrity sha512-dSDxaPV70Py8wuIU2QNpoVEIOSzSXZ/6/B/h4xA7eOMz7+AarKTSGV8E6QwrdcCbBLkpqfJ4Q2TmBO0eP1tCBQ==
|
|
24
|
-
|
|
25
|
-
"authhero@workspace:^":
|
|
26
|
-
version "0.0.1"
|
|
27
|
-
resolved "https://registry.yarnpkg.com/authhero/-/authhero-0.0.1.tgz#6d1e8a3b1ff40be9f771e8ae1f04451fb44e1b31"
|
|
28
|
-
integrity sha512-iLV7EoYKMYism/CY+G7tjXFZ6G09aX/+ircsQtnO48re0ujEkj1VTGR5OY87mimI1yH1BlA69hyMBtnwBQUUag==
|
|
29
|
-
dependencies:
|
|
30
|
-
"@hono/zod-openapi" "^0.14.5"
|
|
31
|
-
hono "^4.4.10"
|
|
32
|
-
|
|
33
|
-
hono@^4.4.10:
|
|
34
|
-
version "4.4.13"
|
|
35
|
-
resolved "https://registry.yarnpkg.com/hono/-/hono-4.4.13.tgz#954e8f6e4bab14f3f9d7bac4eef4c56d23e7f900"
|
|
36
|
-
integrity sha512-c6qqenclmQ6wpXzqiElMa2jt423PVCmgBreDfC5s2lPPpGk7d0lOymd8QTzFZyYC5mSSs6imiTMPip+gLwuW/g==
|
|
37
|
-
|
|
38
|
-
openapi3-ts@^4.1.2:
|
|
39
|
-
version "4.3.3"
|
|
40
|
-
resolved "https://registry.yarnpkg.com/openapi3-ts/-/openapi3-ts-4.3.3.tgz#de43a2f2fab912939495c169b92d81fe78a4ec10"
|
|
41
|
-
integrity sha512-LKkzBGJcZ6wdvkKGMoSvpK+0cbN5Xc3XuYkJskO+vjEQWJgs1kgtyUk0pjf8KwPuysv323Er62F5P17XQl96Qg==
|
|
42
|
-
dependencies:
|
|
43
|
-
yaml "^2.4.5"
|
|
44
|
-
|
|
45
|
-
yaml@^2.4.5:
|
|
46
|
-
version "2.4.5"
|
|
47
|
-
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.5.tgz#60630b206dd6d84df97003d33fc1ddf6296cca5e"
|
|
48
|
-
integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==
|
package/src/index.ts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { Command } from "commander";
|
|
4
|
-
import inquirer from "inquirer";
|
|
5
|
-
import fs from "fs";
|
|
6
|
-
import path from "path";
|
|
7
|
-
|
|
8
|
-
const program = new Command();
|
|
9
|
-
|
|
10
|
-
program
|
|
11
|
-
.version("1.0.0")
|
|
12
|
-
.description("Create a new AuthHero project")
|
|
13
|
-
.argument("[project-name]", "name of the project")
|
|
14
|
-
.action(async (projectName) => {
|
|
15
|
-
if (!projectName) {
|
|
16
|
-
const answers = await inquirer.prompt([
|
|
17
|
-
{
|
|
18
|
-
type: "input",
|
|
19
|
-
name: "projectName",
|
|
20
|
-
message: "Project name:",
|
|
21
|
-
default: "auth-server",
|
|
22
|
-
validate: (input) => input !== "" || "Project name cannot be empty",
|
|
23
|
-
},
|
|
24
|
-
]);
|
|
25
|
-
projectName = answers.projectName;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
const projectPath = path.join(process.cwd(), projectName);
|
|
29
|
-
|
|
30
|
-
if (fs.existsSync(projectPath)) {
|
|
31
|
-
console.error(`Project "${projectName}" already exists.`);
|
|
32
|
-
process.exit(1);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const answers = await inquirer.prompt([
|
|
36
|
-
{
|
|
37
|
-
type: "input",
|
|
38
|
-
name: "description",
|
|
39
|
-
message: "Project description:",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
type: "input",
|
|
43
|
-
name: "author",
|
|
44
|
-
message: "Author name:",
|
|
45
|
-
},
|
|
46
|
-
]);
|
|
47
|
-
|
|
48
|
-
fs.mkdirSync(projectPath);
|
|
49
|
-
fs.writeFileSync(
|
|
50
|
-
path.join(projectPath, "package.json"),
|
|
51
|
-
JSON.stringify(
|
|
52
|
-
{
|
|
53
|
-
name: projectName,
|
|
54
|
-
version: "1.0.0",
|
|
55
|
-
description: answers.description,
|
|
56
|
-
author: answers.author,
|
|
57
|
-
scripts: {
|
|
58
|
-
dev: "bun --watch src/index.js",
|
|
59
|
-
start: "bun src/index.js",
|
|
60
|
-
},
|
|
61
|
-
dependencies: {
|
|
62
|
-
"@hono/zod-openapi": "^0.19.2",
|
|
63
|
-
authhero: "^0.2.0",
|
|
64
|
-
hono: "^4.4.10",
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
null,
|
|
68
|
-
2,
|
|
69
|
-
),
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
// For now we create sqlite by default
|
|
73
|
-
const sourceDir = path.join(
|
|
74
|
-
import.meta.url.replace("file://", "").replace("/create-authhero.js", ""),
|
|
75
|
-
"./sqlite",
|
|
76
|
-
);
|
|
77
|
-
|
|
78
|
-
function copyFiles(source, target) {
|
|
79
|
-
const files = fs.readdirSync(source);
|
|
80
|
-
files.forEach((file) => {
|
|
81
|
-
const sourceFile = path.join(source, file);
|
|
82
|
-
const targetFile = path.join(target, file);
|
|
83
|
-
if (fs.lstatSync(sourceFile).isDirectory()) {
|
|
84
|
-
fs.mkdirSync(targetFile);
|
|
85
|
-
copyFiles(sourceFile, targetFile);
|
|
86
|
-
} else {
|
|
87
|
-
fs.copyFileSync(sourceFile, targetFile);
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
copyFiles(sourceDir, projectPath);
|
|
93
|
-
|
|
94
|
-
console.log(`Project "${projectName}" has been created.`);
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
program.parse(process.argv);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Hono } from "hono";
|
|
2
|
-
import { init } from "authhero";
|
|
3
|
-
|
|
4
|
-
// function init() {
|
|
5
|
-
// const app = new OpenAPIHono<{ Bindings: Bindings }>();
|
|
6
|
-
|
|
7
|
-
// app.get("/test", (ctx: Context) => {
|
|
8
|
-
// return ctx.text("Hello, world!");
|
|
9
|
-
// });
|
|
10
|
-
|
|
11
|
-
// return app;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
const app = new Hono();
|
|
15
|
-
app.get("/", (c) => c.text("Hono!"));
|
|
16
|
-
const authhero = init();
|
|
17
|
-
|
|
18
|
-
app.route("/", authhero);
|
|
19
|
-
export default app;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
2
|
-
# yarn lockfile v1
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"@asteasolutions/zod-to-openapi@^7.1.0":
|
|
6
|
-
version "7.1.1"
|
|
7
|
-
resolved "https://registry.yarnpkg.com/@asteasolutions/zod-to-openapi/-/zod-to-openapi-7.1.1.tgz#27784396d9f854db975a3b784095efef25258422"
|
|
8
|
-
integrity sha512-lF0d1gAc0lYLO9/BAGivwTwE2Sh9h6CHuDcbk5KnGBfIuAsAkDC+Fdat4dkQY3CS/zUWKHRmFEma0B7X132Ymw==
|
|
9
|
-
dependencies:
|
|
10
|
-
openapi3-ts "^4.1.2"
|
|
11
|
-
|
|
12
|
-
"@hono/zod-openapi@^0.14.5", "@hono/zod-openapi@^0.14.9":
|
|
13
|
-
version "0.14.9"
|
|
14
|
-
resolved "https://registry.yarnpkg.com/@hono/zod-openapi/-/zod-openapi-0.14.9.tgz#f0722f323f89ba4bb887b2b4242a6b13838ca960"
|
|
15
|
-
integrity sha512-7qWxZiSG4CogPb00TKorPMb2YsniOI0AReFrR7nIvsIdZ5XeorIQtFTI7G+o7HaaKPyzSPqcRllkFnQIIqxCMQ==
|
|
16
|
-
dependencies:
|
|
17
|
-
"@asteasolutions/zod-to-openapi" "^7.1.0"
|
|
18
|
-
"@hono/zod-validator" "0.2.2"
|
|
19
|
-
|
|
20
|
-
"@hono/zod-validator@0.2.2":
|
|
21
|
-
version "0.2.2"
|
|
22
|
-
resolved "https://registry.yarnpkg.com/@hono/zod-validator/-/zod-validator-0.2.2.tgz#929a1c40aee5eac1ed9c84094d6d977e0b70187a"
|
|
23
|
-
integrity sha512-dSDxaPV70Py8wuIU2QNpoVEIOSzSXZ/6/B/h4xA7eOMz7+AarKTSGV8E6QwrdcCbBLkpqfJ4Q2TmBO0eP1tCBQ==
|
|
24
|
-
|
|
25
|
-
"authhero@workspace:^":
|
|
26
|
-
version "0.0.1"
|
|
27
|
-
resolved "https://registry.yarnpkg.com/authhero/-/authhero-0.0.1.tgz#6d1e8a3b1ff40be9f771e8ae1f04451fb44e1b31"
|
|
28
|
-
integrity sha512-iLV7EoYKMYism/CY+G7tjXFZ6G09aX/+ircsQtnO48re0ujEkj1VTGR5OY87mimI1yH1BlA69hyMBtnwBQUUag==
|
|
29
|
-
dependencies:
|
|
30
|
-
"@hono/zod-openapi" "^0.14.5"
|
|
31
|
-
hono "^4.4.10"
|
|
32
|
-
|
|
33
|
-
hono@^4.4.10:
|
|
34
|
-
version "4.4.13"
|
|
35
|
-
resolved "https://registry.yarnpkg.com/hono/-/hono-4.4.13.tgz#954e8f6e4bab14f3f9d7bac4eef4c56d23e7f900"
|
|
36
|
-
integrity sha512-c6qqenclmQ6wpXzqiElMa2jt423PVCmgBreDfC5s2lPPpGk7d0lOymd8QTzFZyYC5mSSs6imiTMPip+gLwuW/g==
|
|
37
|
-
|
|
38
|
-
openapi3-ts@^4.1.2:
|
|
39
|
-
version "4.3.3"
|
|
40
|
-
resolved "https://registry.yarnpkg.com/openapi3-ts/-/openapi3-ts-4.3.3.tgz#de43a2f2fab912939495c169b92d81fe78a4ec10"
|
|
41
|
-
integrity sha512-LKkzBGJcZ6wdvkKGMoSvpK+0cbN5Xc3XuYkJskO+vjEQWJgs1kgtyUk0pjf8KwPuysv323Er62F5P17XQl96Qg==
|
|
42
|
-
dependencies:
|
|
43
|
-
yaml "^2.4.5"
|
|
44
|
-
|
|
45
|
-
yaml@^2.4.5:
|
|
46
|
-
version "2.4.5"
|
|
47
|
-
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.5.tgz#60630b206dd6d84df97003d33fc1ddf6296cca5e"
|
|
48
|
-
integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==
|
package/tsconfig.json
DELETED
package/tsconfig.node.json
DELETED
package/tsconfig.tsbuildinfo
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.string.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.object.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.esnext.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/commander@12.1.0/node_modules/commander/typings/index.d.ts","../../node_modules/.pnpm/commander@12.1.0/node_modules/commander/typings/esm.d.mts","./src/index.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/globals.global.d.ts","../../node_modules/.pnpm/@types+node@20.14.9/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","17edc026abf73c5c2dd508652d63f68ec4efd9d4856e3469890d27598209feb5",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"9c00a480825408b6a24c63c1b71362232927247595d7c97659bc24dc68ae0757","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true},{"version":"0b11f3ca66aa33124202c80b70cd203219c3d4460cfc165e0707aa9ec710fc53","affectsGlobalScope":true},{"version":"6a3f5a0129cc80cf439ab71164334d649b47059a4f5afca90282362407d0c87f","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"15b98a533864d324e5f57cd3cfc0579b231df58c1c0f6063ea0fcb13c3c74ff9","affectsGlobalScope":true},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"a722a71d8f3cb0028857b12579c7eca55acc76bf34e5db7eaf6fe817b985f9c3","b124c0624b15412ace7d54644ade38d7a69db7e25488a1a4d2a8df6e11696538","f07fa0fc87e2c0294ff166e2294ce840b4ab22cb8a6ccf5d85c9688f1d1b0d5b","2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"071d4b4af5755e1a081aa3b785b5526d09276af5a50e4725dea26edd4e7deb31","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc"],"root":[76],"options":{"allowImportingTsExtensions":true,"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"jsx":4,"module":99,"noErrorTruncation":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"fileIdsList":[[77],[113],[114,119,148],[115,120,126,127,134,145,156],[115,116,126,134],[117,157],[118,119,127,135],[119,145,153],[120,122,126,134],[113,121],[122,123],[126],[124,126],[113,126],[126,127,128,145,156],[126,127,128,141,145,148],[111,114,161],[122,126,129,134,145,156],[126,127,129,130,134,145,153,156],[129,131,145,153,156],[77,78,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[126,132],[133,156,161],[122,126,134,145],[135],[136],[113,137],[134,135,138,155,161],[139],[140],[126,141,142],[141,143,157,159],[114,126,145,146,147,148],[114,145,147],[145,146],[148],[149],[113,145],[126,151,152],[151,152],[119,134,145,153],[154],[134,155],[114,129,140,156],[119,157],[145,158],[133,159],[160],[114,119,126,128,137,145,156,159,161],[145,162],[74],[88,92,156],[88,145,156],[83],[85,88,153,156],[134,153],[164],[83,164],[85,88,134,156],[80,81,84,87,114,126,145,156],[80,86],[84,88,114,148,156,164],[114,164],[104,114,164],[82,83,164],[88],[82,83,84,85,86,87,88,89,90,92,93,94,95,96,97,98,99,100,101,102,103,105,106,107,108,109,110],[88,95,96],[86,88,96,97],[87],[80,83,88],[88,92,96,97],[92],[86,88,91,156],[80,85,86,88,92,95],[114,145],[83,88,104,114,161,164],[75,127,136]],"referencedMap":[[77,1],[78,1],[113,2],[114,3],[115,4],[116,5],[117,6],[118,7],[119,8],[120,9],[121,10],[122,11],[123,11],[125,12],[124,13],[126,14],[127,15],[128,16],[112,17],[129,18],[130,19],[131,20],[164,21],[132,22],[133,23],[134,24],[135,25],[136,26],[137,27],[138,28],[139,29],[140,30],[141,31],[142,31],[143,32],[145,33],[147,34],[146,35],[148,36],[149,37],[150,38],[151,39],[152,40],[153,41],[154,42],[155,43],[156,44],[157,45],[158,46],[159,47],[160,48],[161,49],[162,50],[75,51],[95,52],[102,53],[94,52],[109,54],[86,55],[85,56],[108,57],[103,58],[106,59],[88,60],[87,61],[83,62],[82,63],[105,64],[84,65],[89,66],[93,66],[111,67],[110,66],[97,68],[98,69],[100,70],[96,71],[99,72],[104,57],[91,73],[92,74],[101,75],[81,76],[107,77],[76,78]],"affectedFilesPendingEmit":[76],"emitSignatures":[76]},"version":"5.5.2"}
|
package/vite.config.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
|
3
|
-
import commonjs from "@rollup/plugin-commonjs";
|
|
4
|
-
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
publicDir: "templates",
|
|
7
|
-
build: {
|
|
8
|
-
target: "node16",
|
|
9
|
-
lib: {
|
|
10
|
-
entry: "src/index.ts",
|
|
11
|
-
formats: ["es"],
|
|
12
|
-
fileName: "create-authhero",
|
|
13
|
-
},
|
|
14
|
-
rollupOptions: {
|
|
15
|
-
external: ["commander", "inquirer", "fs", "path", "url"],
|
|
16
|
-
plugins: [
|
|
17
|
-
nodeResolve({
|
|
18
|
-
preferBuiltins: true,
|
|
19
|
-
}),
|
|
20
|
-
commonjs(),
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
});
|