@strav/spring 0.3.3 → 0.3.4
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 +1 -1
- package/package.json +2 -3
- package/src/index.ts +2 -2
- package/src/templates/shared/app/models/user.ts +0 -30
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strav/spring",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flagship framework scaffolding tool for the Strav ecosystem.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"framework",
|
|
11
11
|
"scaffold",
|
|
12
12
|
"create",
|
|
13
|
-
"laravel",
|
|
14
13
|
"typescript",
|
|
15
14
|
"vue"
|
|
16
15
|
],
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
"README.md"
|
|
24
23
|
],
|
|
25
24
|
"dependencies": {
|
|
26
|
-
"@strav/kernel": "0.3.
|
|
25
|
+
"@strav/kernel": "0.3.4"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
28
|
"@types/bun": "latest"
|
package/src/index.ts
CHANGED
|
@@ -58,7 +58,7 @@ function parseArgs(): ParsedArgs {
|
|
|
58
58
|
function printUsage(): void {
|
|
59
59
|
console.log(`
|
|
60
60
|
${bold('@strav/spring')} ${dim(`v${VERSION}`)}
|
|
61
|
-
${dim('The
|
|
61
|
+
${dim('The Rite of the Bun ecosystem')}
|
|
62
62
|
|
|
63
63
|
${bold('Usage:')}
|
|
64
64
|
bunx @strav/spring ${cyan('<project-name>')} [options]
|
|
@@ -98,7 +98,7 @@ async function main(): Promise<void> {
|
|
|
98
98
|
|
|
99
99
|
console.log()
|
|
100
100
|
console.log(` ${bold('@strav/spring')} ${dim(`v${VERSION}`)}`)
|
|
101
|
-
console.log(` ${dim('The
|
|
101
|
+
console.log(` ${dim('The rite of the Bun ecosystem')}`)
|
|
102
102
|
console.log()
|
|
103
103
|
|
|
104
104
|
// Project name
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Model, column } from '@strav/database'
|
|
2
|
-
|
|
3
|
-
export default class User extends Model {
|
|
4
|
-
@column({ isPrimary: true })
|
|
5
|
-
declare id: string
|
|
6
|
-
|
|
7
|
-
@column()
|
|
8
|
-
declare email: string
|
|
9
|
-
|
|
10
|
-
@column()
|
|
11
|
-
declare name: string
|
|
12
|
-
|
|
13
|
-
@column()
|
|
14
|
-
declare password_hash: string
|
|
15
|
-
|
|
16
|
-
@column()
|
|
17
|
-
declare email_verified_at: Date | null
|
|
18
|
-
|
|
19
|
-
@column()
|
|
20
|
-
declare remember_token: string | null
|
|
21
|
-
|
|
22
|
-
@column()
|
|
23
|
-
declare created_at: Date
|
|
24
|
-
|
|
25
|
-
@column()
|
|
26
|
-
declare updated_at: Date
|
|
27
|
-
|
|
28
|
-
@column()
|
|
29
|
-
declare deleted_at: Date | null
|
|
30
|
-
}
|