@cedarjs/cli 1.0.0-canary.12686 → 1.0.0-canary.12688

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.
@@ -1,7 +1,7 @@
1
1
  import type {
2
2
  ${operationName},
3
3
  ${operationName}Variables,
4
- } from 'types/graphql.js'
4
+ } from 'types/graphql'
5
5
 
6
6
  import type {
7
7
  CellSuccessProps,
@@ -1,4 +1,4 @@
1
- import type { ${operationName}, ${operationName}Variables } from 'types/graphql.js'
1
+ import type { ${operationName}, ${operationName}Variables } from 'types/graphql'
2
2
 
3
3
  import type {
4
4
  CellSuccessProps,
@@ -1,6 +1,6 @@
1
1
  import type { APIGatewayEvent, Context } from 'aws-lambda'
2
2
 
3
- import { logger } from 'src/lib/logger.js'
3
+ import { logger } from 'src/lib/logger'
4
4
 
5
5
  /**
6
6
  * The handler function is your code that processes http request events.
@@ -1,6 +1,6 @@
1
- import type { ${subscriptionInputType} } from 'types/graphql.js'
1
+ import type { ${subscriptionInputType} } from 'types/graphql'
2
2
 
3
- import { logger } from 'src/lib/logger.js'
3
+ import { logger } from 'src/lib/logger'
4
4
  import type { Publish${typeName}ChannelType } from 'src/subscriptions/${name}/${name}.service.js'
5
5
 
6
6
  export const ${subscriptionQueryName} = ({ id }) => [id]
@@ -2,7 +2,7 @@ import gql from 'graphql-tag'
2
2
 
3
3
  import type { PubSub } from '@cedarjs/realtime'
4
4
 
5
- import { logger } from 'src/lib/logger.js'
5
+ import { logger } from 'src/lib/logger'
6
6
 
7
7
  export const schema = gql`
8
8
  type Subscription {
@@ -2,7 +2,7 @@ ${useClientDirective}import type {
2
2
  Edit${singularPascalName}By${pascalIdName},
3
3
  Update${singularPascalName}Input,
4
4
  Update${singularPascalName}MutationVariables
5
- } from 'types/graphql.js'
5
+ } from 'types/graphql'
6
6
 
7
7
  import { navigate, routes } from '@cedarjs/router'
8
8
  import type {
@@ -1,4 +1,4 @@
1
- import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${singularPascalName}By${pascalIdName} } from 'types/graphql.js'
1
+ import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${singularPascalName}By${pascalIdName} } from 'types/graphql'
2
2
 
3
3
  import { Link, routes, navigate } from '@cedarjs/router'
4
4
  import { useMutation } from '@cedarjs/web'
@@ -1,4 +1,4 @@
1
- ${useClientDirective}import type { Find${singularPascalName}By${pascalIdName}, Find${singularPascalName}By${pascalIdName}Variables } from 'types/graphql.js'
1
+ ${useClientDirective}import type { Find${singularPascalName}By${pascalIdName}, Find${singularPascalName}By${pascalIdName}Variables } from 'types/graphql'
2
2
 
3
3
  import type {
4
4
  CellSuccessProps,
@@ -1,4 +1,4 @@
1
- import type { Edit${singularPascalName}By${pascalIdName}, Update${singularPascalName}Input } from 'types/graphql.js'
1
+ import type { Edit${singularPascalName}By${pascalIdName}, Update${singularPascalName}Input } from 'types/graphql'
2
2
 
3
3
  import type { RWGqlError } from '@cedarjs/forms'
4
4
  import {
@@ -1,4 +1,4 @@
1
- import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${pluralPascalName} } from 'types/graphql.js'
1
+ import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${pluralPascalName} } from 'types/graphql'
2
2
 
3
3
  import { Link, routes } from '@cedarjs/router'
4
4
  import { useMutation } from '@cedarjs/web'
@@ -1,4 +1,4 @@
1
- ${useClientDirective}import type { Find${pluralPascalName}, Find${pluralPascalName}Variables } from 'types/graphql.js'
1
+ ${useClientDirective}import type { Find${pluralPascalName}, Find${pluralPascalName}Variables } from 'types/graphql'
2
2
 
3
3
  import { Link, routes } from '@cedarjs/router'
4
4
  import type {
@@ -2,7 +2,7 @@ ${useClientDirective}import type {
2
2
  Create${singularPascalName}Mutation,
3
3
  Create${singularPascalName}Input,
4
4
  Create${singularPascalName}MutationVariables
5
- } from 'types/graphql.js'
5
+ } from 'types/graphql'
6
6
 
7
7
  import { navigate, routes } from '@cedarjs/router'
8
8
  import { useMutation } from '@cedarjs/web'
@@ -1,6 +1,6 @@
1
- import type { QueryResolvers<% if (crud) { %>, MutationResolvers<% } %><% if (relations.length) { %>, ${singularPascalName}RelationResolvers<% } %> } from 'types/graphql.js'
1
+ import type { QueryResolvers<% if (crud) { %>, MutationResolvers<% } %><% if (relations.length) { %>, ${singularPascalName}RelationResolvers<% } %> } from 'types/graphql'
2
2
 
3
- import { db } from 'src/lib/db.js'
3
+ import { db } from 'src/lib/db'
4
4
 
5
5
  export const ${pluralCamelName}: QueryResolvers['${pluralCamelName}'] = () => {
6
6
  return db.${singularCamelName}.findMany()
@@ -1,6 +1,6 @@
1
- import type { SendMessageInput } from 'types/graphql.js'
1
+ import type { SendMessageInput } from 'types/graphql'
2
2
  import type { NewMessageChannelType } from 'src/subscriptions/newMessage/newMessage.js'
3
- import { logger } from 'src/lib/logger.js'
3
+ import { logger } from 'src/lib/logger'
4
4
 
5
5
  export const room = ({ id }) => [id]
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "1.0.0-canary.12686+1a8f2d4c5",
3
+ "version": "1.0.0-canary.12688+dc42cb8d0",
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.27.1",
34
34
  "@babel/runtime-corejs3": "7.27.6",
35
- "@cedarjs/api-server": "1.0.0-canary.12686",
36
- "@cedarjs/cli-helpers": "1.0.0-canary.12686",
37
- "@cedarjs/fastify-web": "1.0.0-canary.12686",
38
- "@cedarjs/internal": "1.0.0-canary.12686",
39
- "@cedarjs/prerender": "1.0.0-canary.12686",
40
- "@cedarjs/project-config": "1.0.0-canary.12686",
41
- "@cedarjs/structure": "1.0.0-canary.12686",
42
- "@cedarjs/telemetry": "1.0.0-canary.12686",
43
- "@cedarjs/web-server": "1.0.0-canary.12686",
35
+ "@cedarjs/api-server": "1.0.0-canary.12688",
36
+ "@cedarjs/cli-helpers": "1.0.0-canary.12688",
37
+ "@cedarjs/fastify-web": "1.0.0-canary.12688",
38
+ "@cedarjs/internal": "1.0.0-canary.12688",
39
+ "@cedarjs/prerender": "1.0.0-canary.12688",
40
+ "@cedarjs/project-config": "1.0.0-canary.12688",
41
+ "@cedarjs/structure": "1.0.0-canary.12688",
42
+ "@cedarjs/telemetry": "1.0.0-canary.12688",
43
+ "@cedarjs/web-server": "1.0.0-canary.12688",
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": "1a8f2d4c56d4510bf49da1a6d03c21b76c848219"
105
+ "gitHead": "dc42cb8d0bdfac20d31a3eedc1eac0f35b6b22a3"
106
106
  }