@enhance/arc-plugin-enhance
Advanced tools
Comparing version 1.0.15 to 1.0.16
{ | ||
"name": "@enhance/arc-plugin-enhance", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"main": "src/plugins/beginner.js", | ||
@@ -17,4 +17,5 @@ "scripts": { | ||
"@architect/functions": "^5.2.1", | ||
"@architect/plugin-bundles": "^3.0.0", | ||
"@architect/plugin-bundles": "^3.0.4", | ||
"@begin/data": "^4.0.0", | ||
"@enhance/arc-plugin-styles": "^0.0.4", | ||
"@enhance/enhance-style-transform": "^0.0.1-alpha.1", | ||
@@ -21,0 +22,0 @@ "@enhance/import-transform": "^4.0.0", |
let path = require('path') | ||
let bundles = require('@architect/plugin-bundles') | ||
let styles = require('@enhance/arc-plugin-styles') | ||
module.exports = { | ||
sandbox: { | ||
async start (params) { | ||
await bundles.sandbox.start(params) | ||
await styles.sandbox.start(params) | ||
} | ||
}, | ||
deploy: { | ||
async start (params) { | ||
await bundles.deploy.start(params) | ||
await styles.deploy.start(params) | ||
} | ||
}, | ||
set: { | ||
@@ -12,2 +29,3 @@ | ||
/** frontend logic will *only* be shared w ANY and GET handlers */ | ||
views () { | ||
@@ -18,3 +36,16 @@ return { | ||
}, | ||
/** we want to share models business logic across all lambdas */ | ||
shared () { | ||
return { | ||
src: 'models' | ||
} | ||
}, | ||
/** | ||
* sets up a greedy lambda for the frontend | ||
* | ||
* - userland can still add routes to override this! | ||
* - makes single responsiblity functions an opt-in rather than up front cost | ||
*/ | ||
http () { | ||
@@ -27,2 +58,3 @@ let src = path.join(__dirname, '..', 'http', 'any-catchall') | ||
/** adds the begin/data data table */ | ||
tables () { | ||
@@ -38,3 +70,5 @@ return { | ||
} | ||
// eof | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22468
643
12
+ Added@enhance/arc-plugin-styles@0.0.4(transitive)
+ Added@enhance/styles@1.1.5(transitive)
+ Addedcolor-to-hsla@0.1.1(transitive)
+ Addedesm@3.2.25(transitive)
+ Addedmodular-scale@5.1.2(transitive)