@dotcom-tool-kit/backend-serverless-app 1.0.0

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/.toolkitrc.yml ADDED
@@ -0,0 +1,12 @@
1
+ plugins:
2
+ - '@dotcom-tool-kit/npm'
3
+ - '@dotcom-tool-kit/circleci-deploy'
4
+ - '@dotcom-tool-kit/serverless'
5
+ - '@dotcom-tool-kit/node'
6
+ - '@dotcom-tool-kit/husky-npm'
7
+ - '@dotcom-tool-kit/secret-squirrel'
8
+
9
+ hooks:
10
+ 'run:local': ServerlessRun
11
+ 'deploy:review': ServerlessProvision
12
+ 'deploy:production': ServerlessDeploy
package/CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0 (2023-04-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * **backend-serverless-app:** add serverless preset plugin ([dadde67](https://github.com/Financial-Times/dotcom-tool-kit/commit/dadde67019f8156dbcc54fd0855487a9a61e24fe))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @dotcom-tool-kit/circleci-deploy bumped from ^2.0.3 to ^2.1.0
16
+ * @dotcom-tool-kit/node bumped from ^2.3.2 to ^2.3.3
17
+ * @dotcom-tool-kit/npm bumped from ^2.0.16 to ^2.0.17
18
+ * @dotcom-tool-kit/secret-squirrel bumped from ^1.0.14 to ^1.0.15
19
+ * @dotcom-tool-kit/serverless bumped from ^0.1.0 to ^1.0.0
package/index.js ADDED
@@ -0,0 +1 @@
1
+ exports.tasks = []
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@dotcom-tool-kit/backend-serverless-app",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "lib",
6
+ "keywords": [],
7
+ "author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
8
+ "license": "ISC",
9
+ "dependencies": {
10
+ "@dotcom-tool-kit/circleci-deploy": "^2.1.0",
11
+ "@dotcom-tool-kit/husky-npm": "^3.0.0",
12
+ "@dotcom-tool-kit/node": "^2.3.3",
13
+ "@dotcom-tool-kit/npm": "^2.0.17",
14
+ "@dotcom-tool-kit/secret-squirrel": "^1.0.15",
15
+ "@dotcom-tool-kit/serverless": "^1.0.0"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/financial-times/dotcom-tool-kit.git",
20
+ "directory": "plugins/backend-serverless-app"
21
+ },
22
+ "bugs": "https://github.com/financial-times/dotcom-tool-kit/issues",
23
+ "homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/plugins/backend-serverless-app",
24
+ "peerDependencies": {
25
+ "dotcom-tool-kit": "2.x"
26
+ }
27
+ }
package/readme.md ADDED
@@ -0,0 +1,27 @@
1
+ # @dotcom-tool-kit/backend-serverless-app
2
+
3
+ A bootstrap plugin that provides the minimum required Tool Kit plugins for a "backend" (aka an [API](https://github.com/Financial-Times/next/wiki/Naming-Conventions#apis)) that is deployed to AWS. The plugins are:
4
+
5
+ - [`@dotcom-tool-kit/npm`](https://github.com/Financial-Times/dotcom-tool-kit/tree/main/plugins/npm)
6
+ - [`@dotcom-tool-kit/circleci-deploy`](https://github.com/Financial-Times/dotcom-tool-kit/tree/main/plugins/circleci-deploy)
7
+ - [`@dotcom-tool-kit/serverless`](https://github.com/Financial-Times/dotcom-tool-kit/tree/main/plugins/serverless)
8
+ - [`@dotcom-tool-kit/node`](https://github.com/Financial-Times/dotcom-tool-kit/tree/main/plugins/node)
9
+ - [`@dotcom-tool-kit/husky-npm`](https://github.com/Financial-Times/dotcom-tool-kit/tree/main/plugins/husky-npm)
10
+ - [`@dotcom-tool-kit/secret-squirrel`](https://github.com/Financial-Times/dotcom-tool-kit/tree/main/plugins/secret-squirrel)
11
+
12
+ This bootstrap plugin is also preconfigured to run the `ServerlessRun` task on the hook `run:local`, and binds the tasks defined by the `serverless` plugin to the hooks defined by `circleci-deploy`.
13
+
14
+ ## Installation
15
+
16
+ With Tool Kit [already set up](https://github.com/financial-times/dotcom-tool-kit#installing-and-using-tool-kit), install this plugin as a dev dependency:
17
+
18
+ ```sh
19
+ npm install --save-dev @dotcom-tool-kit/backend-serverless-app
20
+ ```
21
+
22
+ And add it to your repo's `.toolkitrc.yml`:
23
+
24
+ ```yaml
25
+ plugins:
26
+ - '@dotcom-tool-kit/backend-serverless-app'
27
+ ```