@patterkit/compiler 0.15.1 → 0.16.0

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/dist/index.cjs CHANGED
@@ -783,6 +783,7 @@ function exportBundle(input) {
783
783
  ...foreignScopes ? { scopeRegistry: foreignScopes } : {},
784
784
  ...qualifiers.length > 0 ? { qualifiers } : {},
785
785
  ...typeof project.padAfterDefault === "number" ? { padAfterDefault: project.padAfterDefault } : {},
786
+ ...typeof project.estimateSyllablesPerSecond === "number" ? { estimateSyllablesPerSecond: project.estimateSyllablesPerSecond } : {},
786
787
  // Each node's values are in `scenes`; the declarations and the project's own values are here.
787
788
  ...extensionSection !== void 0 ? { extensions: extensionSection } : {},
788
789
  ...start !== void 0 ? { start } : {}
@@ -797,6 +798,7 @@ function exportBundle(input) {
797
798
  ...foreignScopes ? { scopeRegistry: foreignScopes } : {},
798
799
  ...qualifiers.length > 0 ? { qualifiers } : {},
799
800
  ...typeof project.padAfterDefault === "number" ? { padAfterDefault: project.padAfterDefault } : {},
801
+ ...typeof project.estimateSyllablesPerSecond === "number" ? { estimateSyllablesPerSecond: project.estimateSyllablesPerSecond } : {},
800
802
  ...extensionSection !== void 0 ? { extensions: extensionSection } : {},
801
803
  ...start !== void 0 ? { start } : {}
802
804
  }, { trailingComma: false }))
@@ -823,6 +825,8 @@ function exportBundle(input) {
823
825
  ...speakerPattern !== void 0 ? { speakerPattern } : {},
824
826
  // The project's own line-padding default, only when it sets one: absent, every runtime uses the built-in one.
825
827
  ...typeof project.padAfterDefault === "number" ? { padAfterDefault: project.padAfterDefault } : {},
828
+ // The project's own rate for a line with no recording, only when it sets one: absent, every runtime uses 4.
829
+ ...typeof project.estimateSyllablesPerSecond === "number" ? { estimateSyllablesPerSecond: project.estimateSyllablesPerSecond } : {},
826
830
  properties: resolved(project.properties),
827
831
  scopeRegistry: hostScopes && {
828
832
  ...hostScopes,
package/dist/index.js CHANGED
@@ -758,6 +758,7 @@ function exportBundle(input) {
758
758
  ...foreignScopes ? { scopeRegistry: foreignScopes } : {},
759
759
  ...qualifiers.length > 0 ? { qualifiers } : {},
760
760
  ...typeof project.padAfterDefault === "number" ? { padAfterDefault: project.padAfterDefault } : {},
761
+ ...typeof project.estimateSyllablesPerSecond === "number" ? { estimateSyllablesPerSecond: project.estimateSyllablesPerSecond } : {},
761
762
  // Each node's values are in `scenes`; the declarations and the project's own values are here.
762
763
  ...extensionSection !== void 0 ? { extensions: extensionSection } : {},
763
764
  ...start !== void 0 ? { start } : {}
@@ -772,6 +773,7 @@ function exportBundle(input) {
772
773
  ...foreignScopes ? { scopeRegistry: foreignScopes } : {},
773
774
  ...qualifiers.length > 0 ? { qualifiers } : {},
774
775
  ...typeof project.padAfterDefault === "number" ? { padAfterDefault: project.padAfterDefault } : {},
776
+ ...typeof project.estimateSyllablesPerSecond === "number" ? { estimateSyllablesPerSecond: project.estimateSyllablesPerSecond } : {},
775
777
  ...extensionSection !== void 0 ? { extensions: extensionSection } : {},
776
778
  ...start !== void 0 ? { start } : {}
777
779
  }, { trailingComma: false }))
@@ -798,6 +800,8 @@ function exportBundle(input) {
798
800
  ...speakerPattern !== void 0 ? { speakerPattern } : {},
799
801
  // The project's own line-padding default, only when it sets one: absent, every runtime uses the built-in one.
800
802
  ...typeof project.padAfterDefault === "number" ? { padAfterDefault: project.padAfterDefault } : {},
803
+ // The project's own rate for a line with no recording, only when it sets one: absent, every runtime uses 4.
804
+ ...typeof project.estimateSyllablesPerSecond === "number" ? { estimateSyllablesPerSecond: project.estimateSyllablesPerSecond } : {},
801
805
  properties: resolved(project.properties),
802
806
  scopeRegistry: hostScopes && {
803
807
  ...hostScopes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patterkit/compiler",
3
- "version": "0.15.1",
3
+ "version": "0.16.0",
4
4
  "description": "Patter compiler: compile condition/effect expressions, validate them, and export source to the runtime bundle.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,9 +34,9 @@
34
34
  "build": "tsup src/index.ts --format esm,cjs --dts --clean"
35
35
  },
36
36
  "dependencies": {
37
- "@patterkit/model": "0.22.0",
38
- "@patterkit/core": "0.10.1",
39
- "@patterkit/dialect": "0.2.19",
37
+ "@patterkit/model": "0.24.0",
38
+ "@patterkit/core": "0.12.0",
39
+ "@patterkit/dialect": "0.2.21",
40
40
  "@wildwinter/expr": "^0.6.0",
41
41
  "@wildwinter/toolkit": "^0.4.0"
42
42
  },