Skip to content

Commit

Permalink
Merge pull request #953 from polywrap/prealpha-dev
Browse files Browse the repository at this point in the history
Prep 0.0.1-prealpha.89
  • Loading branch information
namesty authored Jun 23, 2022
2 parents 255caa0 + 974742c commit 5ff4793
Show file tree
Hide file tree
Showing 109 changed files with 1,380 additions and 1,553 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/js-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,16 @@ jobs:
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- uses: actions/setup-go@v3
with:
go-version: '^1.13.1'

- name: Install cue lang
run: go install cuelang.org/go/cmd/cue@latest

- name: Check if cue is installed
run: cue version

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Polywrap 0.0.1-prealpha.89
## Features
* [PR-903](https://github.com/polywrap/monorepo/pull/903) `polywrap` CLI: Recipes have been re-worked into composable workflows, and they can be run using CLI commands.
* [PR-951](https://github.com/polywrap/monorepo/pull/951) `polywrap` CLI: Docker Buildx output option has been removed.
* [PR-944](https://github.com/polywrap/monorepo/pull/944) `@polywrap/schema-bind`, `@polywrap/wasm-as`: `Nullable` type has been replaced with `Option` in the Assemblyscript schema bindings.
* [PR-938](https://github.com/polywrap/monorepo/pull/938) `@polywrap/schema-bind`, `@polywrap/wasm-as`: Rollback of JSON serialization in the Assemblyscript schema bindings.

## Bugs
* [PR-946](https://github.com/polywrap/monorepo/pull/946) `@polywrap/test-env-js`: Path fix for `npmCLI` test utility.

## Breaking Changes
* [PR-903](https://github.com/polywrap/monorepo/pull/903) `polywrap` CLI: Running recipes via the `polywrap query ...` command has been deprecated in favor of a new workflows system, accessible via the `polywrap run ...` command.
* [PR-944](https://github.com/polywrap/monorepo/pull/944) `wasm/assemblyscript` Wrappers: `Nullable` type has been removed in favor of `Option` which also has a different interface.
* [PR-938](https://github.com/polywrap/monorepo/pull/938) `wasm/assemblyscript` Wrappers: `JSON` serializer and deserializer, and related methods `fromJson` and `toJson` have been removed in favor of `parse` and `stringify`.

# Polywrap 0.0.1-prealpha.88
## Bugs
* Various CI/CD fixes.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1-prealpha.88
0.0.1-prealpha.89
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,21 @@
},
"devDependencies": {
"@types/prettier": "2.6.0",
"lerna": "4.0.0",
"rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "4.11.1",
"@typescript-eslint/parser": "4.11.1",
"eslint": "7.16.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-json": "3.0.0",
"eslint-plugin-prettier": "3.4.0",
"prettier": "2.2.1",
"graphql": "15.5.0",
"eslint-plugin-json": "3.0.0"
"lerna": "4.0.0",
"prettier": "2.2.1",
"rimraf": "3.0.2"
},
"resolutions": {
"@types/react": "16.9.0",
"@types/react-dom": "16.9.0"
}
},
"version": "0.0.1-prealpha.87"
}
83 changes: 45 additions & 38 deletions packages/cli/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
"commands_create_options_o": "Output directory for the new project",
"commands_create_options_o_path": "path",
"commands_create_options_projectName": "project-name",
"commands_query_options_recipeScript": "Path to recipe script",
"commands_create_overwritePrompt": "Do you want to overwrite this directory?",
"commands_create_overwriting": "Overwriting {dir}...",
"commands_create_readyApp": "You are ready to build an app using Polywrap",
Expand Down Expand Up @@ -140,43 +139,51 @@
"commands_plugin_options_path": "path",
"commands_plugin_options_publish": "Output path for the built schema and manifest (default: {default})",
"commands_plugin_options_codegen": "Output directory for the generated types (default: {default})",
"commands_query_options_configPath": "config-path",
"commands_query_options_outputFilePath": "output-file-path",
"commands_query_options_config": "Add custom configuration to the PolywrapClient",
"commands_query_options_outputFile": "Output file path for the query result",
"commands_query_options_quiet": "Suppress output",
"commands_query_error_outputFileMissing": "{option} option missing {argument} argument",
"commands_query_error_clientConfigMissingPath": "{option} option missing {argument} argument",
"commands_query_error_clientConfigModuleMissingExport": "Custom client config module missing named export 'getClientConfig' at {module}",
"commands_query_error_clientConfigInvalidFileExt": "Custom client config file: {module} must be a JS/TS file",
"commands_query_error_clientConfigNotObject": "Custom client config must be an object",
"commands_query_error_redirectsExportNotArray": "Exported redirects must be an array",
"commands_query_error_redirectsItemNotValid": "Redirect at index {index} must be an object with properties 'from' and 'to'",
"commands_query_error_redirectsItemFromNotString": "Redirect property 'from' at index {index} must be a valid wrap:// URI string",
"commands_query_error_redirectsItemToNotStringOrObject": "Redirect property 'to' at index {index} must be a valid wrap:// URI string, or a plugin",
"commands_query_error_redirectsItemToNotValidPlugin": "Redirect property 'to' at index {index} must be a valid plugin instance",
"commands_query_error_pluginsExportNotArray": "Exported plugins must be an array",
"commands_query_error_pluginsItemNotObject": "Plugin at index {index} must be an object with properties 'uri' and 'plugin'",
"commands_query_error_pluginsItemUriNotString": "Plugin property 'uri' at index {index} must be a valid wrap:// URI string",
"commands_query_error_pluginsItemPluginNotObject": "Plugin property 'plugin' at index {index} must be an object with properties 'factory' and 'manifest'",
"commands_query_error_pluginsItemPluginFactoryNotFunction": "Plugin property 'plugin.factory' at index {index} must be a function",
"commands_query_error_pluginsItemPluginManifestNotObject": "Plugin property 'plugin.manifest' at index {index} must be an object",
"commands_query_error_interfacesExportNotArray": "Exported interfaces must be an array",
"commands_query_error_interfacesItemNotObject": "Interface at index {index} must be an object with properties 'interface' and 'implementations'",
"commands_query_error_interfacesItemInterfaceNotString": "Interface property 'interface' at index {index} must be a valid wrap:// URI string",
"commands_query_error_interfacesItemImplementationsNotArray": "Interface property 'implementations' at index {index} must be an array",
"commands_query_error_interfacesItemImplementationsEmpty": "Interface property 'implementations' at index {index} must not be an empty array",
"commands_query_error_interfacesItemImplementationsItemNotString": "Implementation at index ({index}, {implementationIndex}) must be a valid wrap:// URI string",
"commands_query_error_envsExportNotArray": "Exported envs must be an array",
"commands_query_error_envsItemNotObject": "Env at index {index} must be an object with properties 'uri' and optional properties 'common', 'query', and 'mutation'",
"commands_query_error_envsItemUriNotString": "Env property 'uri' at index {index} must be a valid wrap:// URI string",
"commands_query_error_envsItemModuleNotObject": "Env property 'module' at index {index} must be an object",
"commands_query_description": "Query wrappers using recipe scripts",
"commands_query_error_missingScript": "Required argument {script} is missing",
"commands_query_error_noWrapper": "Wrapper needs to be initialized",
"commands_query_error_readFail": "Failed to read query {query}",
"commands_query_error_noRecipeScriptFound": "Recipe script not found at path: {path}",
"commands_query_error_noTestEnvFound": "polywrap test-env not found, please run 'polywrap infra up --modules=eth-ens-ipfs'",
"commands_run_options_workflow": "workflow",
"commands_run_options_workflowScript": "Path to workflow script",
"commands_run_options_configPath": "config-path",
"commands_run_options_outputFilePath": "output-file-path",
"commands_run_options_config": "Add custom configuration to the PolywrapClient",
"commands_run_options_validateScript": "Validate the output of the workflow jobs",
"commands_run_options_validate": "cue-file",
"commands_run_options_outputFile": "Output file path for the workflow result",
"commands_run_options_quiet": "Suppress output",
"commands_run_options_jobIds": "jobs",
"commands_run_options_jobs": "Specify ids of jobs that you want to run",
"commands_run_error_validatorNotFound": "validate script not found at: {path}",
"commands_run_error_outputFileMissing": "{option} option missing {argument} argument",
"commands_run_error_clientConfigMissingPath": "{option} option missing {argument} argument",
"commands_run_error_clientConfigModuleMissingExport": "Custom client config module missing named export 'getClientConfig' at {module}",
"commands_run_error_clientConfigInvalidFileExt": "Custom client config file: {module} must be a JS/TS file",
"commands_run_error_clientConfigNotObject": "Custom client config must be an object",
"commands_run_error_redirectsExportNotArray": "Exported redirects must be an array",
"commands_run_error_redirectsItemNotValid": "Redirect at index {index} must be an object with properties 'from' and 'to'",
"commands_run_error_redirectsItemFromNotString": "Redirect property 'from' at index {index} must be a valid wrap:// URI string",
"commands_run_error_redirectsItemToNotStringOrObject": "Redirect property 'to' at index {index} must be a valid wrap:// URI string, or a plugin",
"commands_run_error_redirectsItemToNotValidPlugin": "Redirect property 'to' at index {index} must be a valid plugin instance",
"commands_run_error_pluginsExportNotArray": "Exported plugins must be an array",
"commands_run_error_pluginsItemNotObject": "Plugin at index {index} must be an object with properties 'uri' and 'plugin'",
"commands_run_error_pluginsItemUriNotString": "Plugin property 'uri' at index {index} must be a valid wrap:// URI string",
"commands_run_error_pluginsItemPluginNotObject": "Plugin property 'plugin' at index {index} must be an object with properties 'factory' and 'manifest'",
"commands_run_error_pluginsItemPluginFactoryNotFunction": "Plugin property 'plugin.factory' at index {index} must be a function",
"commands_run_error_pluginsItemPluginManifestNotObject": "Plugin property 'plugin.manifest' at index {index} must be an object",
"commands_run_error_interfacesExportNotArray": "Exported interfaces must be an array",
"commands_run_error_interfacesItemNotObject": "Interface at index {index} must be an object with properties 'interface' and 'implementations'",
"commands_run_error_interfacesItemInterfaceNotString": "Interface property 'interface' at index {index} must be a valid wrap:// URI string",
"commands_run_error_interfacesItemImplementationsNotArray": "Interface property 'implementations' at index {index} must be an array",
"commands_run_error_interfacesItemImplementationsEmpty": "Interface property 'implementations' at index {index} must not be an empty array",
"commands_run_error_interfacesItemImplementationsItemNotString": "Implementation at index ({index}, {implementationIndex}) must be a valid wrap:// URI string",
"commands_run_error_envsExportNotArray": "Exported envs must be an array",
"commands_run_error_envsItemNotObject": "Env at index {index} must be an object with properties 'uri'",
"commands_run_error_envsItemUriNotString": "Env property 'uri' at index {index} must be a valid wrap:// URI string",
"commands_run_error_envsItemModuleNotObject": "Env property 'env' at index {index} must be an object",
"commands_run_description": "Runs workflow script",
"commands_run_error_missingScript": "Required argument {script} is missing",
"commands_run_error_noApi": "API needs to be initialized",
"commands_run_error_readFail": "Failed to read query {query}",
"commands_run_error_unsupportedOutputFileExt": "Unsupported outputFile extention: ${outputFileExt}",
"commands_run_error_noWorkflowScriptFound": "Workflow script not found at path: {path}",
"commands_run_error_noTestEnvFound": "polywrap test-env not found, please run 'polywrap infra up --modules=eth-ens-ipfs'",
"commands_testEnv_description": "Manage a test environment for Polywrap",
"commands_testEnv_error_never": "This should never happen...",
"commands_testEnv_error_noCommand": "No command given",
Expand Down
Loading

0 comments on commit 5ff4793

Please sign in to comment.