@cratis/screenplay-language 4.13.0 → 4.13.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.
@@ -1 +1 @@
1
- {"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../language.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,MAAM,MAAM,GAAG,cAAc,eAAe,CAAC,CAAC;AAEpD,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAAC,uBAK9C,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAqB7B,CAAC;AAEF,eAAO,MAAM,cAAc,UAuE1B,CAAC;AAEF,eAAO,MAAM,aAAa,UAAmD,CAAC;AAG9E,eAAO,MAAM,YAAY,UAQxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAkC,CAAC;AAIlE,eAAO,MAAM,kBAAkB,UAAmE,CAAC;AAEnG,eAAO,MAAM,UAAU,UAA0D,CAAC;AAElF,eAAO,MAAM,cAAc,UAAmE,CAAC;AAE/F,eAAO,MAAM,iBAAiB,UAAyB,CAAC;AAExD,eAAO,MAAM,qBAAqB,EAAE,SAAS,CAAC,qBA2B7C,CAAC"}
1
+ {"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../language.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,MAAM,MAAM,GAAG,cAAc,eAAe,CAAC,CAAC;AAEpD,eAAO,MAAM,UAAU,eAAe,CAAC;AAEvC,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAAC,uBAK9C,CAAC;AAMF,eAAO,MAAM,iBAAiB,UA6B7B,CAAC;AAEF,eAAO,MAAM,cAAc,UAwE1B,CAAC;AAEF,eAAO,MAAM,aAAa,UAAmD,CAAC;AAG9E,eAAO,MAAM,YAAY,UAQxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAkC,CAAC;AAIlE,eAAO,MAAM,kBAAkB,UAAmE,CAAC;AAEnG,eAAO,MAAM,UAAU,UAA0D,CAAC;AAElF,eAAO,MAAM,cAAc,UAAmE,CAAC;AAE/F,eAAO,MAAM,iBAAiB,UAAyB,CAAC;AAExD,eAAO,MAAM,qBAAqB,EAAE,SAAS,CAAC,qBA2B7C,CAAC"}
package/dist/language.js CHANGED
@@ -7,6 +7,10 @@ export const languageExtensionPoint = {
7
7
  aliases: ['Screenplay', 'screenplay', 'play'],
8
8
  mimetypes: ['text/x-screenplay'],
9
9
  };
10
+ // Every word the parser dispatches on at the top level, inside a module, or inside a slice.
11
+ // `for_LanguageService.when_comparing_keywords_against_the_parsers` derives that set from
12
+ // ScreenplayParser and SliceParser and fails when this list has drifted from it, so a construct
13
+ // added to the compiler cannot silently lose its highlighting and completion.
10
14
  export const constructKeywords = [
11
15
  'domain',
12
16
  'import',
@@ -17,14 +21,22 @@ export const constructKeywords = [
17
21
  'authentication',
18
22
  'module',
19
23
  'layout',
24
+ 'theme',
25
+ 'ui',
20
26
  'feature',
21
27
  'slice',
22
28
  'event',
23
29
  'command',
24
30
  'query',
31
+ 'projection',
32
+ 'capture',
25
33
  'reaction',
34
+ 'reducer',
26
35
  'trigger',
27
36
  'screen',
37
+ 'dialog',
38
+ 'form',
39
+ 'contribute',
28
40
  'constraint',
29
41
  'specification',
30
42
  'seed',
@@ -32,6 +44,7 @@ export const constructKeywords = [
32
44
  export const clauseKeywords = [
33
45
  'description',
34
46
  'template',
47
+ 'profile',
35
48
  'require',
36
49
  'authenticated',
37
50
  'role',
@@ -1 +1 @@
1
- {"version":3,"file":"language.js","sourceRoot":"","sources":["../language.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,qGAAqG;AAMrG,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC;AAEvC,MAAM,CAAC,MAAM,sBAAsB,GAAsC;IACrE,EAAE,EAAE,U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AAM,CAAC,MAAM,UAAU,GAAG,CAAC,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;AAElF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAE/F,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAoC;IAClE,QAAQ,EAAE;QACN,WAAW,EAAE,IAAI;KACpB;IACD,QAAQ,EAAE;QACN,CAAC,GAAG,EAAE,GAAG,CAAC;QACV,CAAC,GAAG,EAAE,GAAG,CAAC;KACb;IACD,gBAAgB,EAAE;QACd,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;KAC5B;IACD,gBAAgB,EAAE;QACd,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE;KAC5B;IACD,OAAO,EAAE;QACL,OAAO,EAAE,IAAI;KAChB;IACD,gBAAgB,EAAE;QACd,qBAAqB,EACjB,+RAA+R;QACnS,0EAA0E;QAC1E,qBAAqB,EAAE,MAAM;KAChC;CACJ,CAAC"}
package/language.ts CHANGED
@@ -14,6 +14,10 @@ export const languageExtensionPoint: languages.ILanguageExtensionPoint = {
14
14
  mimetypes: ['text/x-screenplay'],
15
15
  };
16
16
 
17
+ // Every word the parser dispatches on at the top level, inside a module, or inside a slice.
18
+ // `for_LanguageService.when_comparing_keywords_against_the_parsers` derives that set from
19
+ // ScreenplayParser and SliceParser and fails when this list has drifted from it, so a construct
20
+ // added to the compiler cannot silently lose its highlighting and completion.
17
21
  export const constructKeywords = [
18
22
  'domain',
19
23
  'import',
@@ -24,14 +28,22 @@ export const constructKeywords = [
24
28
  'authentication',
25
29
  'module',
26
30
  'layout',
31
+ 'theme',
32
+ 'ui',
27
33
  'feature',
28
34
  'slice',
29
35
  'event',
30
36
  'command',
31
37
  'query',
38
+ 'projection',
39
+ 'capture',
32
40
  'reaction',
41
+ 'reducer',
33
42
  'trigger',
34
43
  'screen',
44
+ 'dialog',
45
+ 'form',
46
+ 'contribute',
35
47
  'constraint',
36
48
  'specification',
37
49
  'seed',
@@ -40,6 +52,7 @@ export const constructKeywords = [
40
52
  export const clauseKeywords = [
41
53
  'description',
42
54
  'template',
55
+ 'profile',
43
56
  'require',
44
57
  'authenticated',
45
58
  'role',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/screenplay-language",
3
- "version": "4.13.0",
3
+ "version": "4.13.1",
4
4
  "description": "Monaco language service for the Cratis Screenplay DSL — syntax highlighting, IntelliSense, hover and diagnostics for .play files",
5
5
  "keywords": [
6
6
  "cratis",