90dc-core 1.12.0 → 1.12.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export * from "./lib/models/WorkoutInterfaces.js";
5
5
  export * from "./lib/models/UserInterfaces.js";
6
6
  export * from "./lib/models/NotificationInterfaces.js";
7
7
  //DB Models - Export all models and model arrays
8
- export * from "./lib/dbmodels";
8
+ export * from "./lib/dbmodels/index.js";
9
9
  //Utils
10
10
  export { AuthenticationUtil } from "./lib/utils/AuthenticationUtil.js";
11
11
  export { NotificationsUtil } from "./lib/utils/NotificationsUtil.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "90dc-core",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,7 +55,8 @@
55
55
  "homepage": "https://github.com/RomaPchel/90DC-core#readme",
56
56
  "scripts": {
57
57
  "clean": "rm -rf dist",
58
- "build": "npm run clean && npx swc --strip-leading-paths --config-file .swcrc ./src -d dist && npm run generate:dts && npm run copy:scripts",
58
+ "build": "npm run clean && npx swc --strip-leading-paths --config-file .swcrc ./src -d dist && npm run generate:dts && npm run copy:scripts && npm run post-build-fix",
59
+ "post-build-fix": "bash scripts/post-build-fix.sh",
59
60
  "generate:dts": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir dist",
60
61
  "copy:scripts": "cp src/lib/scripts/.sequelizerc.cjs dist/lib/scripts/ && cp src/lib/scripts/sequelize.config.cjs dist/lib/scripts/ && cp -r src/lib/scripts/seeders dist/lib/scripts/ 2>/dev/null || true",
61
62
  "prettier:format": "prettier . --write",