zitejs 0.9.29 → 0.9.30

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.
@@ -50,12 +50,10 @@ async function runSync() {
50
50
  (0, fs_1.writeFileSync)('zite.schema.json', JSON.stringify(schema, null, 2));
51
51
  console.log('Wrote zite.schema.json');
52
52
  const dbTs = (0, lib_js_1.generateDbTs)(base, schema);
53
- const dbDts = (0, lib_js_1.generateDbDts)(base, schema);
54
53
  const dotZite = '.zite';
55
54
  (0, fs_1.mkdirSync)(dotZite, { recursive: true });
56
55
  (0, fs_1.writeFileSync)((0, path_1.join)(dotZite, 'db.ts'), dbTs);
57
- (0, fs_1.writeFileSync)((0, path_1.join)(dotZite, 'db.d.ts'), dbDts);
58
- console.log('Wrote .zite/db.ts + .zite/db.d.ts');
56
+ console.log('Wrote .zite/db.ts');
59
57
  regenerateApiTs();
60
58
  console.log('Done!');
61
59
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { readFileSync, writeFileSync, mkdirSync, existsSync, readdirSync, } from 'fs';
3
3
  import { join } from 'path';
4
- import { generateSchema, generateDbTs, generateDbDts, generateApiTs, } from './lib.js';
4
+ import { generateSchema, generateDbTs, generateApiTs, } from './lib.js';
5
5
  const DB_ENVIRONMENTS = {
6
6
  production: 'https://tables.fillout.com/api/v1',
7
7
  staging: 'https://tables.filloutstaging.com/api/v1',
@@ -46,12 +46,10 @@ export async function runSync() {
46
46
  writeFileSync('zite.schema.json', JSON.stringify(schema, null, 2));
47
47
  console.log('Wrote zite.schema.json');
48
48
  const dbTs = generateDbTs(base, schema);
49
- const dbDts = generateDbDts(base, schema);
50
49
  const dotZite = '.zite';
51
50
  mkdirSync(dotZite, { recursive: true });
52
51
  writeFileSync(join(dotZite, 'db.ts'), dbTs);
53
- writeFileSync(join(dotZite, 'db.d.ts'), dbDts);
54
- console.log('Wrote .zite/db.ts + .zite/db.d.ts');
52
+ console.log('Wrote .zite/db.ts');
55
53
  regenerateApiTs();
56
54
  console.log('Done!');
57
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zitejs",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "description": "The Zite framework — build apps on Zite Database",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/runtime/index.js",