@architect/create
Advanced tools
Comparing version 3.2.0-RC.3 to 4.0.0
@@ -5,3 +5,3 @@ # Architect Create changelog | ||
## [next] 2022-01-23 | ||
## [4.0.0] 2022-01-23 | ||
@@ -8,0 +8,0 @@ ### Changed |
{ | ||
"name": "@architect/create", | ||
"version": "3.2.0-RC.3", | ||
"version": "4.0.0", | ||
"description": "Idempotently initialize Architect projects", | ||
@@ -26,4 +26,4 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@architect/inventory": "~3.0.0-RC.5", | ||
"@architect/utils": "~3.0.4", | ||
"@architect/inventory": "~3.0.0", | ||
"@architect/utils": "~3.1.0", | ||
"chalk": "4.1.2", | ||
@@ -36,3 +36,3 @@ "lambda-runtimes": "~1.1.1", | ||
"cross-env": "~7.0.3", | ||
"eslint": "~8.7.0", | ||
"eslint": "~8.9.0", | ||
"fs-extra": "~10.0.0", | ||
@@ -42,3 +42,3 @@ "nyc": "~15.1.0", | ||
"tap-spec": "^5.0.0", | ||
"tape": "~5.4.1" | ||
"tape": "~5.5.2" | ||
}, | ||
@@ -45,0 +45,0 @@ "eslintConfig": { |
@@ -10,47 +10,52 @@ // let { join } = require('path') | ||
// @events | ||
events: params => { | ||
// return { | ||
// name: 'my-event', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
}, | ||
// events: ({ arc, inventory }) => { | ||
// return { | ||
// name: 'my-event', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
// }, | ||
// @queues | ||
queues: params => { | ||
// return { | ||
// name: 'my-queue', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
}, | ||
// queues: ({ arc, inventory }) => { | ||
// return { | ||
// name: 'my-queue', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
// }, | ||
// @http | ||
http: params => { | ||
// return { | ||
// method: 'get', | ||
// path: '/*' | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
}, | ||
// http: ({ arc, inventory }) => { | ||
// return { | ||
// method: 'get', | ||
// path: '/*' | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
// }, | ||
// @scheduled | ||
scheduled: params => { | ||
// return { | ||
// name: 'my-scheduled-event', | ||
// src: join('path', 'to', 'code'), | ||
// rate: '1 day', // or... | ||
// cron: '* * * * * *', | ||
// } | ||
}, | ||
// scheduled: ({ arc, inventory }) => { | ||
// return { | ||
// name: 'my-scheduled-event', | ||
// src: join('path', 'to', 'code'), | ||
// rate: '1 day', // or... | ||
// cron: '* * * * * *', | ||
// } | ||
// }, | ||
// @tables-streams | ||
'tables-streams': params => { | ||
// return { | ||
// name: 'my-table-stream', | ||
// table: 'app-data', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
}, | ||
// 'tables-streams': ({ arc, inventory }) => { | ||
// return { | ||
// name: 'my-table-stream', | ||
// table: 'app-data', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
// }, | ||
// Custom / bare Lambdas (with event sources to be defined by `deploy.start`) | ||
customLambdas: params => { | ||
// return { | ||
// name: 'my-custom-lambda', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
}, | ||
// customLambdas: ({ arc, inventory }) => { | ||
// return { | ||
// name: 'my-custom-lambda', | ||
// src: join('path', 'to', 'code'), | ||
// } | ||
// }, | ||
@@ -60,16 +65,19 @@ /** | ||
*/ | ||
env: params => { | ||
// return { | ||
// MY_ENV_VAR: 'ok', | ||
// ANOTHER_VAR: { objects_and_arrays_are_automatically_json_encoded: 'neat!' } | ||
// } | ||
}, | ||
runtimes: params => { | ||
// return { | ||
// name: 'runtime-name', | ||
// type: 'transpiled', | ||
// build: '.build', | ||
// baseRuntime: 'nodejs14.x', | ||
// } | ||
}, | ||
// Environment variables | ||
// env: ({ arc, inventory }) => { | ||
// return { | ||
// MY_ENV_VAR: 'ok', | ||
// ANOTHER_VAR: { objects_and_arrays_are_automatically_json_encoded: 'neat!' } | ||
// } | ||
// }, | ||
// Custom runtimes | ||
// runtimes: ({ arc, inventory }) => { | ||
// return { | ||
// name: 'runtime-name', | ||
// type: 'transpiled', | ||
// build: '.build', | ||
// baseRuntime: 'nodejs14.x', | ||
// } | ||
// }, | ||
}, | ||
@@ -79,20 +87,25 @@ | ||
deploy: { | ||
start: async params => { | ||
// Run operations prior to deployment | ||
// Optionally return mutated CloudFormation | ||
}, | ||
services: async params => { | ||
// return { | ||
// 'service-name': 'value or ARN', // Register a service, or... | ||
// 'arbitrary-data': '...' // Add up to 4KB of arbitrary data / config as a string | ||
// } | ||
}, | ||
target: async params => { | ||
/* API NOT YET ENABLED */ | ||
// Deploy to a target other than AWS (e.g. Begin, Serverless Cloud, etc.) | ||
}, | ||
end: async params => { | ||
/* API NOT YET ENABLED */ | ||
// Run operations after to deployment | ||
}, | ||
// Pre-deploy operations | ||
// start: async ({ arc, cloudformation, dryRun, inventory, stage }) => { | ||
// // Run operations prior to deployment | ||
// // Optionally return mutated `cloudformation` | ||
// }, | ||
// Architect service discovery and config data | ||
// services: async ({ arc, cloudformation, dryRun, inventory, stage }) => { | ||
// return { | ||
// 'service-name': 'value or ARN', // Register a service, or... | ||
// 'arbitrary-data': '...' // Add up to 4KB of arbitrary data / config as a string | ||
// } | ||
// }, | ||
// Alternate deployment targets | ||
// target: async ({ arc, cloudformation, dryRun, inventory, stage }) => { | ||
// // Deploy to a target other than AWS (e.g. Begin, Serverless Cloud, etc.) | ||
// }, | ||
// Post-deploy operations | ||
// end: async ({ arc, cloudformation, dryRun, inventory, stage }) => { | ||
// // Run operations after to deployment | ||
// }, | ||
}, | ||
@@ -102,12 +115,17 @@ | ||
sandbox: { | ||
start: async params => { | ||
// Run operations upon Sandbox startup | ||
}, | ||
watcher: async params => { | ||
// Act on filesystem events within your project | ||
}, | ||
end: async params => { | ||
// Run operations upon Sandbox shutdown | ||
}, | ||
// Startup operations | ||
// start: async ({ arc, inventory, invoke }) => { | ||
// // Run operations upon Sandbox startup | ||
// }, | ||
// Project filesystem watcher | ||
// watcher: async ({ filename, event, inventory, invoke }) => { | ||
// // Act on filesystem events within your project | ||
// }, | ||
// Shutdown operations | ||
// end: async ({ arc, inventory, invoke }) => { | ||
// // Run operations upon Sandbox shutdown | ||
// }, | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
53050
932
1
- Removed@architect/utils@3.0.4(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedwrappy@1.0.2(transitive)
Updated@architect/inventory@~3.0.0
Updated@architect/utils@~3.1.0