@shapeshift-labs/frontier-lang-cli 0.3.6 → 0.3.7

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 (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -107,6 +107,8 @@ function inferLanguage(file) {
107
107
  if (/\.kt$/.test(file)) return 'kotlin';
108
108
  if (/\.cs$/.test(file)) return 'csharp';
109
109
  if (/\.swift$/.test(file)) return 'swift';
110
+ if (/\.php$/.test(file)) return 'php';
111
+ if (/\.rb$|\.rake$/.test(file)) return 'ruby';
110
112
  return 'unknown';
111
113
  }
112
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshift-labs/frontier-lang-cli",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Command line interface for parsing, checking, hashing, and emitting Frontier Lang projects.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -53,10 +53,10 @@
53
53
  "access": "public"
54
54
  },
55
55
  "dependencies": {
56
- "@shapeshift-labs/frontier-lang-checker": "0.3.2",
57
- "@shapeshift-labs/frontier-lang-compiler": "0.2.6",
58
- "@shapeshift-labs/frontier-lang-kernel": "0.3.2",
59
- "@shapeshift-labs/frontier-lang-parser": "0.3.2"
56
+ "@shapeshift-labs/frontier-lang-checker": "0.3.3",
57
+ "@shapeshift-labs/frontier-lang-compiler": "0.2.7",
58
+ "@shapeshift-labs/frontier-lang-kernel": "0.3.3",
59
+ "@shapeshift-labs/frontier-lang-parser": "0.3.3"
60
60
  },
61
61
  "bin": {
62
62
  "frontier-lang": "dist/index.js"