@cedarjs/cli 1.0.0-canary.13152 → 1.0.0-canary.13154

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.
@@ -91,7 +91,7 @@ const handler = async ({ name, force, ...rest }) => {
91
91
  `Please consult the ${terminalLink(
92
92
  "Serverless Function Considerations",
93
93
  "https://cedarjs.com/docs/serverless-functions#security-considerations"
94
- )} in the RedwoodJS documentation for more information.`
94
+ )} in the CedarJS documentation for more information.`
95
95
  );
96
96
  console.info("");
97
97
  } catch (e) {
@@ -10,7 +10,7 @@ import { logger } from 'src/lib/logger'
10
10
  * is your responsibility to secure appropriately.
11
11
  *
12
12
  * @see {@link https://cedarjs.com/docs/serverless-functions#security-considerations|Serverless Function Considerations}
13
- * in the RedwoodJS documentation for more information.
13
+ * in the CedarJS documentation for more information.
14
14
  *<% if (!typescript) { %>
15
15
  * @typedef { import('aws-lambda').APIGatewayEvent } APIGatewayEvent
16
16
  * @typedef { import('aws-lambda').Context } Context<% } %>
@@ -1,11 +1,11 @@
1
1
  import { mockHttpEvent, mockContext } from '@cedarjs/testing/api'
2
2
 
3
- import { handler } from './${name}'
3
+ import { handler } from './${camelName}'
4
4
 
5
- // Improve this test with help from the CedarJS Testing Doc:
6
- // https://cedarjs.com/docs/testing#testing-functions
5
+ // Improve this test with help from the CedarJS Testing Doc:
6
+ // https://cedarjs.com/docs/testing#testing-functions
7
7
 
8
- describe('${name} function', () => {
8
+ describe('${camelName} function', () => {
9
9
 
10
10
  it('Should respond with 200', async () => {
11
11
  const httpEvent = mockHttpEvent({
@@ -18,13 +18,13 @@ describe('${name} function', () => {
18
18
  const { data } = JSON.parse(response.body)
19
19
 
20
20
  expect(response.statusCode).toBe(200)
21
- expect(data).toBe('${name} function')
21
+ expect(data).toBe('${camelName} function')
22
22
  })
23
23
 
24
- // You can also use scenarios to test your api functions
25
- // See guide here: https://cedarjs.com/docs/testing#scenarios
26
- //
27
- // scenario('Scenario test', async () => {
28
- //
29
- // })
24
+ // You can also use scenarios to test your api functions
25
+ // See guide here: https://cedarjs.com/docs/testing#scenarios
26
+ //
27
+ // scenario('Scenario test', async () => {
28
+ //
29
+ // })
30
30
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "1.0.0-canary.13152+743bae64e",
3
+ "version": "1.0.0-canary.13154+3937d8a59",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,15 +32,15 @@
32
32
  "dependencies": {
33
33
  "@babel/preset-typescript": "7.28.5",
34
34
  "@babel/runtime-corejs3": "7.28.4",
35
- "@cedarjs/api-server": "1.0.0-canary.13152",
36
- "@cedarjs/cli-helpers": "1.0.0-canary.13152",
37
- "@cedarjs/fastify-web": "1.0.0-canary.13152",
38
- "@cedarjs/internal": "1.0.0-canary.13152",
39
- "@cedarjs/prerender": "1.0.0-canary.13152",
40
- "@cedarjs/project-config": "1.0.0-canary.13152",
41
- "@cedarjs/structure": "1.0.0-canary.13152",
42
- "@cedarjs/telemetry": "1.0.0-canary.13152",
43
- "@cedarjs/web-server": "1.0.0-canary.13152",
35
+ "@cedarjs/api-server": "1.0.0-canary.13154",
36
+ "@cedarjs/cli-helpers": "1.0.0-canary.13154",
37
+ "@cedarjs/fastify-web": "1.0.0-canary.13154",
38
+ "@cedarjs/internal": "1.0.0-canary.13154",
39
+ "@cedarjs/prerender": "1.0.0-canary.13154",
40
+ "@cedarjs/project-config": "1.0.0-canary.13154",
41
+ "@cedarjs/structure": "1.0.0-canary.13154",
42
+ "@cedarjs/telemetry": "1.0.0-canary.13154",
43
+ "@cedarjs/web-server": "1.0.0-canary.13154",
44
44
  "@listr2/prompt-adapter-enquirer": "2.0.16",
45
45
  "@opentelemetry/api": "1.8.0",
46
46
  "@opentelemetry/core": "1.22.0",
@@ -102,5 +102,5 @@
102
102
  "publishConfig": {
103
103
  "access": "public"
104
104
  },
105
- "gitHead": "743bae64ef02340b81776c1a19d974a572043e46"
105
+ "gitHead": "3937d8a5989ada019f85dfb653f40d6917c057be"
106
106
  }