Bot releases are visible (Hide)
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
new NextjsSite(this, "Site", {
path: "path/to/site",
environment: {
NEXT_PUBLIC_API_URL: api.url,
NEXT_PUBLIC_USER_POOL_CLIENT: auth.cognitoUserPoolClient.userPoolClientId,
},
});
More examples here - https://docs.serverless-stack.com/constructs/NextjsSite#examples
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
setDefaultFunctionProps: #789 New apis for default props (@thdxr). This has a breaking change with how setDefaultFunctionProps
works. You can read the migration guide on how to upgrade.
create-serverless-stack
to create a project based off of our examples with$ yarn create serverless-stack --example queue
$ npm init serverless-stack --example queue
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
#786 Script: construct for running scripts during deployment (@fwang)
new Script(this, "Script", {
function: "src/script.main",
params: {
hello: "world",
tableName: table.tableName,
},
});
More examples here - https://docs.serverless-stack.com/constructs/Script#examples
#772 Prompt for default stage name (@thdxr)
On first run of the CLI, you will be prompted for a default stage name that is used when --stage
is not passed in. This is used to keep multiple developers' stacks separated and should be set to a unique value. The CLI will suggest a default stage name based on your AWS IAM username.
This value is stored in .sst
, and it should not be checked into source control. Add .sst
to your .gitignore
file.
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
import { RemovalPolicy } from "@aws-cdk/core";
export default function main(app: sst.App): void {
app.setDefaultRemovalPolicy(RemovalPolicy.DESTROY);
}
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
new AppSyncApi(stack, "Api", {
graphqlApi: {
schema: ["schemas/users.graphql", "schemas/posts.graphql"],
},
});
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by fwang about 3 years ago
new sst.Function(this, "Fn", {
runtime: "dotnetcore3.1",
srcPath: "src/MyApp",
handler: "MyApp::MyApp.Api::ListNotes",
});
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]
Published by thdxr about 3 years ago
Update using:
$ npm install --save --save-exact @serverless-stack/[email protected] @serverless-stack/[email protected]