@rvoh/psychic 0.24.1 → 0.24.2

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.
@@ -156,7 +156,7 @@ function generateControllerContent({ ancestorName, ancestorImportStatement, full
156
156
  }`;
157
157
  }
158
158
  });
159
- const openApiImport = `import { OpenAPI } from '@rvohealth/psychic'`;
159
+ const openApiImport = `import { OpenAPI } from '@rvoh/psychic'`;
160
160
  const openApiTags = `const openApiTags = ['${(0, dream_1.hyphenize)(pluralizedModelAttributeName || controllerClassName.replace(/Controller$/, ''))}']`;
161
161
  return `\
162
162
  ${omitOpenApi ? '' : openApiImport + '\n'}${ancestorImportStatement}${additionalImports.length ? '\n' + additionalImports.join('\n') : ''}${omitOpenApi ? '' : '\n\n' + openApiTags}
@@ -38,7 +38,7 @@ function generateResourceControllerSpecContent({ fullyQualifiedControllerName, r
38
38
  return `\
39
39
  /* eslint-disable @typescript-eslint/no-unsafe-assignment */
40
40
  import { UpdateableProperties } from '@rvoh/dream'
41
- import { PsychicServer } from '@rvohealth/psychic'
41
+ import { PsychicServer } from '@rvoh/psychic'
42
42
  import { specRequest as request } from '@rvoh/psychic-spec-helpers'${(0, dream_1.uniq)(importStatements).join('')}
43
43
  import { addEndUserAuthHeader } from '${specUnitUpdirs}helpers/authentication'
44
44
 
@@ -153,7 +153,7 @@ export default function generateControllerContent({ ancestorName, ancestorImport
153
153
  }`;
154
154
  }
155
155
  });
156
- const openApiImport = `import { OpenAPI } from '@rvohealth/psychic'`;
156
+ const openApiImport = `import { OpenAPI } from '@rvoh/psychic'`;
157
157
  const openApiTags = `const openApiTags = ['${hyphenize(pluralizedModelAttributeName || controllerClassName.replace(/Controller$/, ''))}']`;
158
158
  return `\
159
159
  ${omitOpenApi ? '' : openApiImport + '\n'}${ancestorImportStatement}${additionalImports.length ? '\n' + additionalImports.join('\n') : ''}${omitOpenApi ? '' : '\n\n' + openApiTags}
@@ -35,7 +35,7 @@ export default function generateResourceControllerSpecContent({ fullyQualifiedCo
35
35
  return `\
36
36
  /* eslint-disable @typescript-eslint/no-unsafe-assignment */
37
37
  import { UpdateableProperties } from '@rvoh/dream'
38
- import { PsychicServer } from '@rvohealth/psychic'
38
+ import { PsychicServer } from '@rvoh/psychic'
39
39
  import { specRequest as request } from '@rvoh/psychic-spec-helpers'${uniq(importStatements).join('')}
40
40
  import { addEndUserAuthHeader } from '${specUnitUpdirs}helpers/authentication'
41
41
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "name": "@rvoh/psychic",
4
4
  "description": "Typescript web framework",
5
- "version": "0.24.1",
5
+ "version": "0.24.2",
6
6
  "author": "RVOHealth",
7
7
  "repository": "https://github.com/rvohealth/psychic.git",
8
8
  "license": "MIT",
@@ -28,8 +28,6 @@
28
28
  "gpsycore": "PSYCHIC_CORE_DEVELOPMENT=1 npx ts-node --transpile-only ./global-cli/main.ts",
29
29
  "build": "echo \"building cjs...\" && rm -rf dist && npx tsc -p ./tsconfig.cjs.build.json && echo \"building esm...\" && npx tsc -p ./tsconfig.esm.build.json",
30
30
  "build:core": "rm -rf dist && echo \"building core app to esm...\" && npx tsc -p ./tsconfig.esm.build.core.json && echo \"building core app to cjs...\" && npx tsc -p ./tsconfig.cjs.build.core.json",
31
- "sync": "NODE_ENV=development yarn --cwd=node_modules/@rvohealth/dream build-boot && NODE_ENV=development yarn --cwd=node_modules/@rvohealth/dream build",
32
- "syncb": "NODE_ENV=development yarn --cwd=node_modules/@rvohealth/dream build-boot && NODE_ENV=development yarn dream sync:config-cache && yarn --cwd=node_modules/@rvohealth/dream build && yarn build",
33
31
  "dev": "PSYCHIC_CORE_DEVELOPMENT=1 NODE_ENV=development ts-node ./test-app/main.ts",
34
32
  "console": "PSYCHIC_CORE_DEVELOPMENT=1 npx ts-node --transpile-only --project ./tsconfig.json ./test-app/src/conf/repl.ts",
35
33
  "uspec": "PSYCHIC_CORE_DEVELOPMENT=1 vitest --config ./spec/unit/vite.config.ts",
@@ -55,7 +53,7 @@
55
53
  "pluralize-esm": "^9.0.5"
56
54
  },
57
55
  "peerDependencies": {
58
- "@rvohealth/dream": "*",
56
+ "@rvoh/dream": "*",
59
57
  "@types/express": "*",
60
58
  "commander": "*",
61
59
  "express": "*"