@vinodotdev/codegen
Advanced tools
Comparing version 0.1.3 to 0.2.0
@@ -14,2 +14,5 @@ import DEBUG from 'debug'; | ||
ProviderIntegration = "provider-integration", | ||
WellKnownIntegration = "wellknown-integration", | ||
WellKnownComponentModule = "wellknown-component-module", | ||
Interface = "interface", | ||
WapcComponent = "wapc-component", | ||
@@ -16,0 +19,0 @@ WapcComponentModule = "wapc-component-module", |
@@ -25,2 +25,5 @@ "use strict"; | ||
CODEGEN_TYPE["ProviderIntegration"] = "provider-integration"; | ||
CODEGEN_TYPE["WellKnownIntegration"] = "wellknown-integration"; | ||
CODEGEN_TYPE["WellKnownComponentModule"] = "wellknown-component-module"; | ||
CODEGEN_TYPE["Interface"] = "interface"; | ||
CODEGEN_TYPE["WapcComponent"] = "wapc-component"; | ||
@@ -27,0 +30,0 @@ CODEGEN_TYPE["WapcComponentModule"] = "wapc-component-module"; |
@@ -23,3 +23,3 @@ "use strict"; | ||
.options(common_1.outputOpts(common_1.widlOpts({}))) | ||
.example(`rust ${TYPE} schema.widl`, 'Prints generated code to STDOUT'); | ||
.example(`rust ${TYPE} schemas/`, 'Prints generated code to STDOUT'); | ||
}; | ||
@@ -26,0 +26,0 @@ exports.builder = builder; |
@@ -5,3 +5,3 @@ { | ||
"author": "jsoverson@gmail.com", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"main": "dist/src/index.js", | ||
@@ -8,0 +8,0 @@ "types": "dist/src/index.d.ts", |
@@ -21,2 +21,5 @@ import fs from 'fs'; | ||
ProviderIntegration = 'provider-integration', | ||
WellKnownIntegration = 'wellknown-integration', | ||
WellKnownComponentModule = 'wellknown-component-module', | ||
Interface = 'interface', | ||
WapcComponent = 'wapc-component', | ||
@@ -23,0 +26,0 @@ WapcComponentModule = 'wapc-component-module', |
@@ -34,3 +34,3 @@ import yargs from 'yargs'; | ||
.options(outputOpts(widlOpts({}))) | ||
.example(`rust ${TYPE} schema.widl`, 'Prints generated code to STDOUT'); | ||
.example(`rust ${TYPE} schemas/`, 'Prints generated code to STDOUT'); | ||
}; | ||
@@ -37,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112160
92
1775
8