Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep 0.0.1-prealpha.87 #939

Merged
merged 38 commits into from
Jun 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8c39ef4
Adding description to one manifest file
Feb 28, 2022
a5a783d
adding description to manifest and build schemas
Mar 2, 2022
2d21f6a
Adding fullstop at end of description
Mar 2, 2022
71d395c
Adding description for metadata and plugin schema
Mar 3, 2022
a4859dc
doc fix
Mar 5, 2022
1ffb114
Updating description
Mar 12, 2022
36cf11f
doc update to manifest files
Mar 16, 2022
7731beb
update build yaml/json description
Mar 19, 2022
e01a0fa
changes as per review
Mar 21, 2022
4fa9b20
Removing unnecessary yarn.lock
Mar 21, 2022
e8d00e3
Merge remote-tracking branch 'sarath/manifest-jsondoc' into prealpha-dev
fetsorn Jun 17, 2022
cd3a92b
update json schema documentation
fetsorn Jun 17, 2022
fdda03b
rebuild typings from json schema
fetsorn Jun 17, 2022
faa1cde
moved validation implementation from another branch
nerfZael Jun 17, 2022
f7f8708
added testing wrappers compatible with the new toolchain version
nerfZael Jun 17, 2022
2a8a87d
fix npm release automated comment
dOrgJelli Jun 17, 2022
3bad559
Merge remote-tracking branch 'origin/prealpha-dev' into nerfzael-vali…
nerfZael Jun 18, 2022
6251628
remove wrap-man folders
dOrgJelli Jun 19, 2022
51098a3
fix: plugin tests
cbrzn Jun 20, 2022
315a6b1
fix: add "Types." to Json in ts binding
cbrzn Jun 20, 2022
35646d9
fixed typo
nerfZael Jun 20, 2022
f041bbf
upped toolchain version
nerfZael Jun 20, 2022
c4aaa7f
removed needless check
nerfZael Jun 20, 2022
f09ade9
fix: cli path in runCli function for npm
cbrzn Jun 20, 2022
2132b3d
Merge pull request #932 from polywrap/fix/json-binding
Niraj-Kamdar Jun 21, 2022
55c73ea
Merge pull request #935 from polywrap/fix/run-cli-npm-path
Niraj-Kamdar Jun 21, 2022
411c1a9
Merge branch 'manifest-jsondoc' of https://github.com/fetsorn/monorep…
dOrgJelli Jun 21, 2022
0712b45
minor changes
dOrgJelli Jun 21, 2022
6294ec6
Merge branch 'fetsorn-manifest-jsondoc' into prealpha-dev
dOrgJelli Jun 21, 2022
86f1ab6
Merge pull request #931 from polywrap/remove-manual-plugin-typings
dOrgJelli Jun 21, 2022
71f68fb
renaming web3ApiManifest to polywrapManifest
nerfZael Jun 21, 2022
d647255
merged with prealpha-dev
nerfZael Jun 21, 2022
f5abab4
renaming
nerfZael Jun 21, 2022
109a185
Merge pull request #933 from polywrap/nerfzael-validation
dOrgJelli Jun 21, 2022
c1daecc
add namesty to publishers
dOrgJelli Jun 21, 2022
43d4179
add namesty as default code owner
dOrgJelli Jun 21, 2022
f93e37c
prep 0.0.1-prealpha.87
namesty Jun 21, 2022
f919a58
(chore): adding related packages to changelog features
namesty Jun 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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