@strav/spring 0.3.5 → 0.3.6
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/package.json +2 -2
- package/src/templates/web/index.ts +8 -2
- package/src/templates/web/public/builds/.gitkeep +1 -0
- package/src/templates/web/public/css/.gitkeep +1 -0
- package/src/templates/shared/.env +0 -14
- package/src/templates/shared/storage/cache/.gitkeep +0 -1
- package/src/templates/shared/storage/logs/.gitkeep +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strav/spring",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flagship framework scaffolding tool for the Strav ecosystem.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@strav/kernel": "0.3.
|
|
25
|
+
"@strav/kernel": "0.3.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/bun": "latest"
|
|
@@ -3,9 +3,15 @@ import { app } from '@strav/kernel'
|
|
|
3
3
|
import { IslandBuilder, ViewEngine } from '@strav/view'
|
|
4
4
|
import { providers } from './start/providers'
|
|
5
5
|
|
|
6
|
-
// Build islands + CSS before the server starts
|
|
6
|
+
// Build islands + CSS before the server starts
|
|
7
|
+
// Outputs: public/css/app.css (from SCSS) and public/builds/islands.js (Vue components)
|
|
7
8
|
const builder = new IslandBuilder({
|
|
8
|
-
css: {
|
|
9
|
+
css: {
|
|
10
|
+
entry: 'resources/css/app.scss',
|
|
11
|
+
outDir: './public/css',
|
|
12
|
+
outFile: 'app.css'
|
|
13
|
+
},
|
|
14
|
+
outDir: './public/builds',
|
|
9
15
|
})
|
|
10
16
|
|
|
11
17
|
// Register service providers
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This directory will contain compiled Vue islands and manifest files
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This directory will contain compiled CSS files
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
APP_ENV=local
|
|
2
|
-
APP_KEY=__APP_KEY__
|
|
3
|
-
APP_DEBUG=true
|
|
4
|
-
APP_URL=http://localhost:3000
|
|
5
|
-
APP_PORT=3000
|
|
6
|
-
|
|
7
|
-
DB_HOST=127.0.0.1
|
|
8
|
-
DB_PORT=5432
|
|
9
|
-
DB_USER=liva
|
|
10
|
-
DB_PASSWORD=password1234
|
|
11
|
-
DB_DATABASE=__DB_NAME__
|
|
12
|
-
|
|
13
|
-
SESSION_SECRET=__APP_KEY__
|
|
14
|
-
SESSION_COOKIE_NAME=session
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# This file keeps the cache directory in git
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# This file keeps the logs directory in git
|