@malloydata/malloy-interfaces 0.0.240 → 0.0.241-dev250312191256

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 (1) hide show
  1. package/package.json +6 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy-interfaces",
3
- "version": "0.0.240",
3
+ "version": "0.0.241-dev250312191256",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,14 +14,16 @@
14
14
  },
15
15
  "scripts": {
16
16
  "test": "jest --config=../../jest.config.js",
17
- "clean": "tsc --build --clean",
18
- "build": "tsc --build",
17
+ "clean": "tsc --build --clean && rimraf @flowtyped",
18
+ "build": "tsc --build && npm run generate-flow",
19
19
  "prepublishOnly": "npm run clean && npm run build",
20
20
  "verify-types": "thrift-typescript --strictUnions --target thrift-server --sourceDir thrift --outDir generated-types malloy.thrift",
21
- "generate-types": "rm -f generated-types/* && thrift-typescript --strictUnions --target thrift-server --sourceDir thrift --outDir generated-types malloy.thrift && ts-node scripts/hacky_gen_types.ts > src/types.ts && cd ../.. && eslint 'packages/malloy-interfaces/src/types.ts' --fix"
21
+ "generate-types": "rm -f generated-types/* && thrift-typescript --strictUnions --target thrift-server --sourceDir thrift --outDir generated-types malloy.thrift && ts-node scripts/hacky_gen_types.ts > src/types.ts && cd ../.. && eslint 'packages/malloy-interfaces/src/types.ts' --fix",
22
+ "generate-flow": "ts-node ../../scripts/gen-flow.ts"
22
23
  },
23
24
  "devDependencies": {
24
25
  "@creditkarma/thrift-typescript": "^3.7.6",
26
+ "rimraf": "^6.0.1",
25
27
  "ts-node": "^10.9.2"
26
28
  },
27
29
  "dependencies": {