Skip to content

Commit

Permalink
Merge pull request #939 from polywrap/prealpha-dev
Browse files Browse the repository at this point in the history
Prep 0.0.1-prealpha.87
  • Loading branch information
namesty authored Jun 21, 2022
2 parents bb0c6a2 + f919a58 commit 20e517c
Show file tree
Hide file tree
Showing 206 changed files with 5,483 additions and 2,947 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Default
* @dOrgJelli
* @dOrgJelli @namesty

# Wasm Runtime
packages/wasm/as @dOrgJelli @krisbitney @namesty @Niraj-Kamdar
Expand Down
1 change: 1 addition & 0 deletions .github/PUBLISHERS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dOrgJelli
namesty
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '**[NPM Release Published](https://www.npmjs.com/search?q=%40polywrap) `${{env.RELEASE_VERSION}}`** 🎉'
body: '**[NPM Release Published](https://www.npmjs.com/search?q=polywrap) `${{env.RELEASE_VERSION}}`** 🎉'
})
Publish-Crates-dot-io-Release:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Polywrap 0.0.1-prealpha.87
## Features
* [PR-928](https://github.com/polywrap/monorepo/pull/928) `@polywrap/manifest-schemas`: Inline documentation has been added to manifest JSON-schemas.
* [PR-933](https://github.com/polywrap/monorepo/pull/933) Validation package `@polywrap/package-validation` has been implemented to validate WASM wrapper packages.

## Bugs
* [PR-932](https://github.com/polywrap/monorepo/pull/932) `@polywrap/schema-bind`: Minor fix for JSON type schema bindings
* [PR-935](https://github.com/polywrap/monorepo/pull/935) `@polywrap/test-env-js`: Path fix for `npmCLI` test utility

# Polywrap 0.0.1-prealpha.86
## Features
* [PR-923](https://github.com/polywrap/monorepo/pull/923) The Polywrap brand has been applied to the codebase.
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.86
0.0.1-prealpha.87
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"reset": "yarn clean && yarn && yarn build",
"clean": "npx rimraf ./**/node_modules ./**/yarn.lock ./**/build ./**/coverage ./**/.polywrap",
"dependencies:install": "cd dependencies && yarn",
"build": "yarn build:core && yarn build:plugins && yarn build:client && yarn build:test-env && yarn build:cli && yarn build:plugins:patch",
"preinstall": "yarn dependencies:install",
"build": "yarn build:core && yarn build:plugins && yarn build:client && yarn build:test-env && yarn build:cli",
"build:core": "lerna run build --no-private --ignore @polywrap/*-plugin-js --ignore polywrap --ignore @polywrap/client-js --ignore @polywrap/react --ignore @polywrap/test-env-js",
"build:plugins": "lerna run build --scope @polywrap/*-plugin-js --concurrency 1",
"build:client": "lerna run build --scope @polywrap/client-js --scope @polywrap/react",
"build:test-env": "lerna run build --scope @polywrap/test-env-js",
"build:cli": "lerna run build --scope polywrap",
"build:plugins:patch": "lerna run codegen:patch --scope @polywrap/*-plugin-js --concurrency 1",
"lint": "lerna run lint",
"lint:fix": "lerna run lint -- --fix",
"lint:ci": "yarn lint",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,29 @@
*/

export interface AppManifest {
/**
* Polywrap app manifest format version.
*/
format: "0.0.1-prealpha.1";
/**
* Language in which the source code is written.
*/
language: string;
/**
* Path to graphql schema.
*/
schema: string;
/**
* Redirects for the schema's imports.
*/
import_redirects?: {
/**
* Import URI to be redirected.
*/
uri: string;
/**
* Path to a graphql schema to be used for the import.
*/
schema: string;
}[];
__type: "AppManifest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,33 @@
*/

export interface AppManifest {
/**
* Polywrap app manifest format version.
*/
format: "0.0.1-prealpha.2";
/**
* Name of this wrapper package.
*/
name: string;
/**
* Language in which the source code is written.
*/
language: string;
/**
* Path to graphql schema.
*/
schema: string;
/**
* Redirects for the schema's imports.
*/
import_redirects?: {
/**
* Import URI to be redirected.
*/
uri: string;
/**
* Path to a graphql schema to be used for the import.
*/
schema: string;
}[];
__type: "AppManifest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,30 @@
*/

export interface BuildManifest {
/**
* Polywrap build manifest format version.
*/
format: "0.0.1-prealpha.1";
/**
* Docker build artifact properties.
*/
docker?: {
/**
* Docker image name.
*/
name?: string;
/**
* Docker image file name.
*/
dockerfile?: string;
/**
* Id of the docker image.
*/
buildImageId?: string;
};
/**
* Custom configuration.
*/
config?: {
[k: string]: unknown;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,45 @@
*/

export interface BuildManifest {
/**
* Polywrap build manifest format version.
*/
format: "0.0.1-prealpha.2";
docker?: {
/**
* Docker image name.
*/
name?: string;
/**
* Docker image file name.
*/
dockerfile?: string;
/**
* Id of the docker image.
*/
buildImageId?: string;
};
/**
* Custom configuration.
*/
config?: {
[k: string]: unknown;
};
/**
* Locally linked packages into docker build image.
*/
linked_packages?: {
/**
* Package name
*/
name: string;
/**
* Path to linked package directory.
*/
path: string;
/**
* Ignore files matching this regex in linked package directory.
*/
filter?: string;
}[];
__type: "BuildManifest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,68 @@
*/

export interface BuildManifest {
/**
* Polywrap build manifest format version.
*/
format: "0.0.1-prealpha.3";
docker?: {
/**
* Docker image name.
*/
name?: string;
/**
* Docker image file name.
*/
dockerfile?: string;
/**
* Id of the docker image.
*/
buildImageId?: string;
/**
* Configuration options for Docker Buildx, set to true for default value.
*/
buildx?:
| {
/**
* Path to cache directory, set to true for default value, set to false to disable caching.
*/
cache?: string | boolean;
/**
* Path to cache directory, set to true or false for default value.
*/
output?: string | boolean;
/**
* Remove the builder instance.
*/
removeBuilder?: boolean;
}
| boolean;
/**
* Remove the image.
*/
removeImage?: boolean;
};
/**
* Custom build image configurations.
*/
config?: {
[k: string]: unknown;
};
/**
* Locally linked packages into docker build image.
*/
linked_packages?: {
/**
* Package name.
*/
name: string;
/**
* Path to linked package directory.
*/
path: string;
/**
* Ignore files matching this regex in linked package directory.
*/
filter?: string;
}[];
__type: "BuildManifest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,35 @@
*/

export interface DeployManifest {
/**
* Polywrap deployment manifest format version.
*/
format: "0.0.1-prealpha.1";
stages: {
/**
* Deployment stage.
*
* This interface was referenced by `undefined`'s JSON-Schema definition
* via the `patternProperty` "^.*$".
*/
[k: string]: {
/**
* Name of the deploy stage.
*/
package: string;
/**
* Custom configuration.
*/
config?: {
[k: string]: unknown;
};
/**
* Name of dependent stages.
*/
depends_on?: string;
/**
* URI to pass into the deploy stage.
*/
uri?: string;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
*/

export interface InfraManifest {
/**
* Polywrap infra manifest format version.
*/
format: "0.0.1-prealpha.1";
/**
* Path to docker compose manifest.
*/
dockerCompose?: string;
env?: {
/**
Expand All @@ -25,12 +31,30 @@ export interface InfraManifest {
};
__type: "InfraManifest";
}
/**
* A remote docker-compose package.
*/
export interface RemoteModule {
/**
* Package name.
*/
package: string;
/**
* Package registry name.
*/
registry: string;
/**
* Package version.
*/
version: string;
/**
* Path to docker-compose file in the package directory.
*/
dockerComposePath?: string;
}
export interface LocalModule {
/**
* Path to the package.
*/
path: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@
* and run json-schema-to-typescript to regenerate this file.
*/

/**
* A module available by default.
*/
export type DefaultModule = "default";

export interface InfraManifest {
/**
* Polywrap infra manifest format version.
*/
format: "0.0.1-prealpha.2";
/**
* Path to docker compose manifest.
*/
dockerCompose?: string;
env?: {
/**
Expand All @@ -27,12 +36,33 @@ export interface InfraManifest {
};
__type: "InfraManifest";
}
/**
* A remote package with a docker-compose file.
*/
export interface RemoteModule {
/**
* Package name.
*/
package: string;
/**
* Package registry name.
*/
registry: string;
/**
* Package version.
*/
version: string;
/**
* Path to docker-compose file in the package directory.
*/
dockerComposePath?: string;
}
/**
* A local package with a docker-compose file.
*/
export interface LocalModule {
/**
* Path to the package.
*/
path: string;
}
Loading

0 comments on commit 20e517c

Please sign in to comment.