nextjs-cms-kit 0.6.4 → 0.6.6

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 +1 @@
1
- {"version":3,"file":"schema-generator.d.ts","sourceRoot":"","sources":["../../src/utils/schema-generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAoBzD,wBAAsB,qBAAqB,CAAC,KAAK,EAAE;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB,UAAU,EAAE,WAAW,CAAA;CAC1B,GAAG,OAAO,CAAC;IACR,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,EAAE,CAAA;CACxB,CAAC,CAsKD"}
1
+ {"version":3,"file":"schema-generator.d.ts","sourceRoot":"","sources":["../../src/utils/schema-generator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAoBzD,wBAAsB,qBAAqB,CAAC,KAAK,EAAE;IAC/C,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,EAAE,CAAA;IACrB,UAAU,EAAE,WAAW,CAAA;CAC1B,GAAG,OAAO,CAAC;IACR,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,EAAE,CAAA;CACxB,CAAC,CAqKD"}
@@ -137,7 +137,6 @@ export async function generateDrizzleSchema(table) {
137
137
  drizzleColumnType = 'varchar';
138
138
  break;
139
139
  default:
140
- // @ts-expect-error name will be any at this point
141
140
  // TODO: Should I throw an error instead?
142
141
  columnType = `varchar('${input.name}', { length: 255 })`;
143
142
  drizzleColumnType = 'varchar';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nextjs-cms-kit",
3
3
  "private": false,
4
- "version": "0.6.4",
4
+ "version": "0.6.6",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "nextjs-cms-kit": "./dist/index.js"
@@ -33,7 +33,7 @@
33
33
  "gradient-string": "^3.0.0",
34
34
  "mysql2": "^3.12.0",
35
35
  "ora": "9.0.0",
36
- "nextjs-cms": "0.6.4"
36
+ "nextjs-cms": "0.6.6"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/bcrypt": "^6.0.0",
@@ -42,8 +42,8 @@
42
42
  "prettier": "^3.3.3",
43
43
  "tsx": "^4.20.6",
44
44
  "typescript": "^5.9.2",
45
- "@lzcms/eslint-config": "0.3.0",
46
45
  "@lzcms/prettier-config": "0.1.0",
46
+ "@lzcms/eslint-config": "0.3.0",
47
47
  "@lzcms/tsconfig": "0.1.0"
48
48
  },
49
49
  "prettier": "@lzcms/prettier-config",