@zenstackhq/language 0.6.0-pre.1 → 0.6.0-pre.11

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zenstackhq/language",
3
- "version": "0.6.0-pre.1",
4
- "description": "",
3
+ "version": "0.6.0-pre.11",
4
+ "description": "ZenStack modeling language",
5
5
  "publishConfig": {
6
6
  "directory": "dist",
7
7
  "linkDirectory": true
@@ -12,15 +12,18 @@
12
12
  "devDependencies": {
13
13
  "concurrently": "^7.4.0",
14
14
  "langium-cli": "^0.5.0",
15
+ "rimraf": "^3.0.2",
15
16
  "typescript": "^4.9.4"
16
17
  },
17
18
  "dependencies": {
18
19
  "langium": "^0.5.0"
19
20
  },
20
21
  "scripts": {
22
+ "clean": "rimraf dist",
21
23
  "generate": "langium generate",
22
24
  "watch": "concurrently \"langium generate --watch\" \"tsc --watch\"",
23
- "build": "pnpm generate && tsc && cp ./package.json dist/",
24
- "publish-dev": "pnpm publish --tag dev"
25
+ "lint": "eslint src --ext ts",
26
+ "build": "pnpm lint && pnpm clean && pnpm generate && tsc && cp ./package.json dist/",
27
+ "publish-dev": "pnpm build && pnpm publish --tag dev"
25
28
  }
26
29
  }
package/grammar.d.ts DELETED
@@ -1,6 +0,0 @@
1
- /******************************************************************************
2
- * This file was generated by langium-cli 0.5.0.
3
- * DO NOT EDIT MANUALLY!
4
- ******************************************************************************/
5
- import { Grammar } from 'langium';
6
- export declare const ZModelGrammar: () => Grammar;