rsf-zero 0.3.4 → 0.3.5
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/dist/cli/dev.d.ts.map +1 -1
- package/dist/cli/dev.js +1 -0
- package/dist/cli/start.d.ts.map +1 -1
- package/dist/cli/start.js +1 -0
- package/package.json +1 -1
package/dist/cli/dev.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/cli/dev.ts"],"names":[],"mappings":"AAGA,OAAO,eAAe,CAAC;AAMvB,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAGvD,eAAO,MAAM,GAAG,GAAU,SAAS,aAAa,
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/cli/dev.ts"],"names":[],"mappings":"AAGA,OAAO,eAAe,CAAC;AAMvB,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAGvD,eAAO,MAAM,GAAG,GAAU,SAAS,aAAa,kBAkC/C,CAAA"}
|
package/dist/cli/dev.js
CHANGED
|
@@ -28,6 +28,7 @@ export const dev = async (options) => {
|
|
|
28
28
|
// - transform any actions found for the frontend
|
|
29
29
|
// - and inform the onActionFound callback above
|
|
30
30
|
const vite = await startVite({ app, onActionFound });
|
|
31
|
+
// onStart hook
|
|
31
32
|
await onStartHook(options, app);
|
|
32
33
|
app.listen(port, () => {
|
|
33
34
|
console.log(`Server is running at http://localhost:${port}`);
|
package/dist/cli/start.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/cli/start.ts"],"names":[],"mappings":"AAIA,OAAO,eAAe,CAAC;AAGvB,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAMvD,eAAO,MAAM,KAAK,GAAU,SAAS,aAAa,
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/cli/start.ts"],"names":[],"mappings":"AAIA,OAAO,eAAe,CAAC;AAGvB,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAMvD,eAAO,MAAM,KAAK,GAAU,SAAS,aAAa,kBAqCjD,CAAA"}
|
package/dist/cli/start.js
CHANGED
|
@@ -40,6 +40,7 @@ export const start = async (options) => {
|
|
|
40
40
|
res.sendFile(path.join(process.cwd(), 'dist/client/index.html'));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
+
// onStart hook
|
|
43
44
|
await onStartHook(options, app);
|
|
44
45
|
app.listen(port, () => {
|
|
45
46
|
console.log(`Server is running at http://localhost:${port}`);
|
package/package.json
CHANGED