Skip to content

Commit

Permalink
Release/2.0.1 (#1323)
Browse files Browse the repository at this point in the history
* New git branches setup (#1296)

* add dev branch to auto merge

* make clippy run on new branch setup

* remove version checker workflow

* add dev and release branch triggers to consistent workflow name checker

* Delete create_diagram.yml

* add dev and release branch triggers to lint workflow

* add release and dev branch triggers to provider_image workflow

* remove release drafter

* add dev and release branches to rustfmt workflow

* add dev and release branches to protocol test workflow

* add dev and release branches triggers to tests workflow

* add dev and release branch triggers to webpack bundling workflow

* switch cache creation to be post pr to dev

* rename post_pr workflow to cache

* Update cache.yml

* publish workflow

* Update cache.yml

* fix contract js/rust version check workflow

* install concurrently and cypress as workspace deps

* fix cypress workflow trigger

* fix cypress workflow branch triggers

* fix rust file triggers

* move webpack bundling check to tests workflow

* remove typechain version check

* rename workflows

* make the github actions cache include the branch name

* publish on push to main

* add js bundle test step

* workflow for ensuring all versions move in lockstep

* blurb for each workflow

* dockerhub login check for before a release

* rename publish to release

* remove typedoc step

* standardise step ids in release workflow

* dummy version bump

* Delete dockerhub_login.yml

* release version check

* workflow to check for valid version bumps

* auto merge all prs

* check consistent workflow names on all prs

* branch system docs

* check contract version on prs to main,dev,release/*

* add workflow_dispatch to all relevant workflows

* make auto merge only run on non-draft prs

* check versions on all branches

* make release run on push to main

* tag pushes to main

* rename version check workflow

* remove fetch all history and branches from clone

* fix docker js server version issue

* fix bump workflow to bump all package.json files and Cargo.tomls

* fix package.json version writing in bump workflow

* rename step

* make auto merge cancellable

* make deploy ahve a single notification of pass/fail

* debug info

* fix cache workflow name

* don't use cache in bump version workflow, not needed

* move buildx to top of workflow

* move the cli building to before publishing images in deploy workflow

* tag warning

* remove filters for tests, test more often

* add workflow dispatch to deploy workflow

* add bash error catching

* Create consistent_engine_node.yml

* Create consistent_engine_npm.yml

* Create consistent_nvmrc.yml

* cache docs

* event workflows for main and dev

* change event setup

* don't run unless non-draft pr

* combine protocol clippy and rustfmt into single lint workflow

* missing engine

* missing version

* revert version debug

* fix version

* fix workflow name detection

* add missing engines

* fix nvmrc check

* fix path typo in contract version check

* allow auto merge to run always

* Update package-lock.json

* lint

* lint

* Cache cypress install (#1305)

* remove install cypress step from cache workflow

* add cypress as dev dep

* Add staging branch to workflow (#1311)

* New linting (#1309)

* lint dockerfiles

* lint caddyfiles

* lint github actions workflows

* lint shell scripts

* yaml lint

* lint python

* yamllint config

* lint js

* lint html

* lint markdown

* htmlhint ignore files

* simplify caddy lint

* replace eslint + prettier with biome, add run-s and run-p

* lint rust

* lint toml

* configure biome target files

* lint svg

* jsx and tsx lint

* adjust lint command in npm scripts

* fix license

* change lint changed script name

* adjust lint workflow

* Update package-lock.json

* fix npm script error handling (#1306)

* fix auto merge (#1302)

* fix auto merge

* add repo parameter to auto merge

* add repo parameter to auto merge workflow

* Remove contract calls (#1308)

* remove contract calls from procaptcha

* linted stuff

* Adding empty providers

* Adding hardcoded random providers

* Adding changes to load process

* Debugging

* debug

* nearly working state management

* fast captchas with no contract

* Removing debug

* Timestamp signature validation

* Working no rpc calls full captcha flow

* linting

* Unit tests potentially working

* dropping debug

* All passing cypress demo

* Bundle falling over when hashing

* dropping bundle pure replace

* Remove polkadot manual bundling hacks

* No provider pow

* Working pow without contract calls

* revert sitekey changes

* verified instead of context

* don't log config

* removing cypress capture images

* removing bad deps

* Removing debug

* fixing build

* fixing providers

* Correct docstring

* rebuilt package lock

* Removing stats file

* Skipping lint in protocol

* removing typechain change because protocol bump required

* removing unused deps

* temp bump while firefighting

* Dropping provider gui

* Working build without provider gui

* Removing batch commit tasks

* Dropping protocol

* Working build without protocol dir

* Dropping proxy and package lock pointing to proxy

* Working build with new pkg deps

* Removing common contract

* Dropping tests for rewrite

* Working no captcha product

* Dropping merkle tree

* Refactoring provider and adding temp tests

* Refactored provider into multiple single responsibility classes

* lint fix

* pkg lock bump

* Renaming tests to non test file to pass

* Tests passing

* Debug for datasetId getter

* Working provider set dataset

* Auth Middleware Test

* Captcha scheduler tests

* Error Handler tests

* Provider now boots without connection to rpc node

* Full suite of unit tests for provider

* Tests passing

* Fixed build

* Integration tests. Actions for this to be set up

* Working image captcha integration tests

* Unit tests paths correction

* Fixing version bump yml

* Removing debug

* Adding dummy get random provider script

* Removing dockerfile and vite env config

* Replacing signedTimestamp with timestampSignature

* Deduping config by making it its own package

* Defaulting message to provider online

* Fixing type issues and ws requirement issues

---------

Co-authored-by: Chris Taylor <forgetso86@gmail.com>
Co-authored-by: George Oastler <goastler@users.noreply.github.com>

* Removing unused deps, bumping package lock

* Working pow captcha with timeouts

* Add missing deps and bundling command for staging

* Remove version from docker compose files

* Use NODE_ENV var for pulling in env var file into docker compose file

* Add staging deploy process

* Add staging bundle command

* package lock

* Remove old deps.

* Update package-lock.json

* Update event name

* Add missing dep

* Use latest image to create container from

* Use staging tag for container

* Await crypto WASM blob

* Allow NODE_ENV to be passed into Vite config

* Add load-balancer refs to tsconfigs

* Allow PROSOPO_DEFAULT_ENVIRONMENT to inherit from NODE_ENV

* Add some logging and change some imports

* exporting hardcoded provider from types

* Cleanup linting process (#1312)

* lint dockerfiles

* lint caddyfiles

* lint github actions workflows

* lint shell scripts

* yaml lint

* lint python

* yamllint config

* lint js

* lint html

* lint markdown

* htmlhint ignore files

* simplify caddy lint

* replace eslint + prettier with biome, add run-s and run-p

* lint rust

* lint toml

* configure biome target files

* lint svg

* jsx and tsx lint

* adjust lint command in npm scripts

* fix license

* change lint changed script name

* adjust lint workflow

* Update package-lock.json

* remove old lint scripts

* remove prettier + eslint config

* remove eslint dep

* remove prettier dep

* Update package-lock.json

* Fix provider not erroring on database connection error. Add option to specify the number of proxies between the provider API and the user

* Add staging command back in

* deploy staging workflow to bundle branch

* addit commit details for bumps

* Add watchtower to provider docker compose

* Don't mount missing file

* watch provider container only

* Change container name

* Use createConnection instead of connection

* Fix build

* Staging deploy workflow (#1314)

* rename version step

* detect prod/staging in deploy

* remove contract building in deploy

* build js bundles based on env

* use docker tag based on env

* use prod env

* gh release on prod only

* npm release on prod only

* use docker latest and version specific tags

* use docker tags from env in img tags

* join version and env steps

* prod/dev -> production/development

* NODE_ENV variable setup in npm scripts

* missing NODE_ENV fixes

* fix tsc build / clean cmds

* NODE_ENV semis

* vite use NODE_ENV as --mode

* use NODE_ENV to control bundling of production/development/staging env

* use NODE_ENV to control build scripts

* remove needless NODE_ENV setting

* Delete deploy-staging.yml

* deploy on unsafe branch guard

* upload bundle to staging release as part of deploy workflow

* typo missing vite

* license

* remove contract linting

* remove docker compose linting from dockerfile lint cmd

* fix yamllint

* make caddy fmt output diff

* install htmlhint

* fix rustfmt lint script

* use cargofmt instead of rustfmt

* fix lint rs naming

* fix clippy linting

* fix toml linting

* simplify xargs serial command usage in rust linting

* lint rust check

* webpack bundle dev mode fix

* webpack plugin fix

* webpack fix

* improve npm scripts

* improve node_modules associated with npm scripts

* bundle npm script

* fix release asset target

* remove any current assets before uploading any further staging assets

* Pkg json

* bump version to v2.0.0

* no build specified

* remove deploy_X scripts

* remove deploy_X scripts

* remove deploy_protocol script call

* remove deploy_protocol workflow step

* remove github assets for contract

* remove deploy_protool

* Use 2.0.0 everywhere

* Provider tests passing

* Adding if present to cjs

* Dropping auto merge

* Dropping dapp example demo

* fix check version bump all history available

* Update check_version_bump.yml

* Update check_version_bump.yml

* Remove out of date readme

* Update check_version_bump.yml

* Re-add old babel plugins

* start provider

* Always add the token to the form

* Supply token to onHuman function

* Fix build

* Adding button next for cypress tests

* Fixing hanging test

* Fixing get dataset being broken

* Remove substrate from docker compose

* Cypress tests passing

* stop the provider workflow from falling over if the npm packages are unreleased

* Only load the provider mock container if we built it

* Try to upload screenshots

* Try to store screenshots on failure

* Try using withinSubject:null

* Wait for button to be visible

* Wait for the the API call

* Remove wait for solution request

* try to force the click

* Just force, don't expect the element

* try waiting after clicking

* Store videos of cypress runs

* Remove the then

* Remove duplicate click

* Fix function return type

* try within

* Adding setup step for setup env in test

* Add data-cy attributes if environment is not production

* wait for docker containers to setup env

* Adding setup step for setup env in test

* Start docker first

* Check if there are references

* remove within

* Try to kill processes with concurrently

* Size fixes for widget and logo

* Make signature stuff less confusing

* Fix license header positions

* Fix tests

* Get it all working

* Fix size

* Fix lint issues (#1318)

* rename version step

* detect prod/staging in deploy

* remove contract building in deploy

* build js bundles based on env

* use docker tag based on env

* use prod env

* gh release on prod only

* npm release on prod only

* use docker latest and version specific tags

* use docker tags from env in img tags

* join version and env steps

* prod/dev -> production/development

* NODE_ENV variable setup in npm scripts

* missing NODE_ENV fixes

* fix tsc build / clean cmds

* NODE_ENV semis

* vite use NODE_ENV as --mode

* use NODE_ENV to control bundling of production/development/staging env

* use NODE_ENV to control build scripts

* remove needless NODE_ENV setting

* Delete deploy-staging.yml

* deploy on unsafe branch guard

* upload bundle to staging release as part of deploy workflow

* typo missing vite

* license

* remove contract linting

* remove docker compose linting from dockerfile lint cmd

* fix yamllint

* make caddy fmt output diff

* install htmlhint

* fix rustfmt lint script

* use cargofmt instead of rustfmt

* fix lint rs naming

* fix clippy linting

* fix toml linting

* simplify xargs serial command usage in rust linting

* lint rust check

* webpack bundle dev mode fix

* webpack plugin fix

* webpack fix

* improve npm scripts

* improve node_modules associated with npm scripts

* bundle npm script

* fix release asset target

* remove any current assets before uploading any further staging assets

* add nuke script

* set shell in dockerfile

* use json form of CMD in dockerfile

* fix multiple RUN commands in dockerfile

* remove apt sources after install

* use apt get

* use apt-get in dockerfile instead of apt

* join multiple run commands together in dockerfile

* entrypoint json form

* no install recommends

* ignore install recommends lint

* fix multiple run commands and apt clear

* CMD to json form

* no install recommends

* remove root user, is default

* set nginx version

* multiple RUN commands fix

* set shell to use pipefail

* delete apt lists after install

* fix consecutive RUN commands

* no install recommends

* ignore usage of latest

* dockerfile lint

* Update substrate-contracts-node.build.dockerfile

* json form for CMD

* lint dockerfile

* lint caddyfile

* fix needless cat

* useless echo

* speech marks for safety

* make dockerfile and shell linting command simpler

* fix quotes and variable usage in cache workflow

* fix quotes

* fix quotes

* fix quotes

* fix quotes

* fix NODE_ENV speech marks in workflows

* useless cat

* unused vars

* lint

* missing speech marks

* speech marks

* lint eval and @ usage in shell

* lint shell script

* fix yamllint linting

* fix lint md and js fix cmd

* autofix js

* fix biome cmdline args

* biome lint fixes

* biome lint fix

* make biome use vcs

* no export from tests

* fix key in list

* missing useEffect dep

* explicit any todo

* lint fixes

* warn on parameter assign

* todo for any

* trailing comma

* ignore any type for options

* fix line count parameter reassigned

* fix not null assertion

* ignore any from axios response

* ignore any casts

* ignore any in async ctor

* no reuse of parameter

* ignore i18n translation any

* ignore anys in nodejs polars plugin

* ignore any for response json

* avoid parameter reuse

* fix any usage in vite watch plugin

* fix side effect in vite watch plugin

* fix reused variables in error classes

* disable rule for key event with onClick

* forEach to for of

* missing bracket

* allow any

* forEach to for of

* allow any

* forEach to for of

* allow any

* allow any

* forEach to for of

* use item hash as key

* fix useEffect deps

* todo for async exec

* allow any + async exec

* allow any

* forEach to for of

* ignore spread

* TODOs for sendFunds

* allow any

* ignore async exec

* allow any

* todo for memo deps

* ignore detector code, contains loads of biome errors

* fix anys, foreach and local params

* ignore foreach

* fix any

* allow any

* allow any

* allow any and foreach

* allow any

* allow any

* allow any

* allow enum

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* allow any

* foreach to for of

* allow any

* allow any

* allow any and foreach to for of

* img buffer type

* allow any

* allow any

* allow any

* foreach to for of

* allow any

* make biome do formatting too

* biome format

* ignore bundles

* lint

* lint md files

* lint md

* disable some markdown rules

* lint rs

* fix rs

* fix npm scripts

* lint

* ignore ruff.toml when linting tomls

* lint

* lint py npm scripts

* remove eslint directives

* make biome track the main branch and handle css

* fix caddy linting

* lint

* lint

* lint

* configure taplo

* Update ruff.toml

* fix scripts

* lint

* remove eslint

* lint

* fix speech mark issues

* typo

* fix lint fixes types

* more fixes for linting fixes

* fix for potentially undefined root node of merkle tree

* duplicate selector

* lint

* ignore bundle stats html file

* missing provider env for starting provider

* async factory fix

* remove debug

* lint

* revert detector index.js changes

* lint

* polyfill node: imports

* fix for node:url breaking bundle

* use package workspaces rather than cd'ing (#1321)

* Add push to js branch again to get live staging bundle

* Remove any existing procaptcha responses on human

* deploy staging on push to staging

* Use duplicate JS Server for now

* Silence GH warning about NoSQL injection in demo

* Silence GH warning about NoSQL injection in demo

* Set GH_TOKEN env

* Remove production step for JS Server

* Add back command to push to js-bundle branch. Remove quotes in asset deletion script

* Use correct docker tag

* Try moving to its own step

* don't fail if nothing to commit

* Update provider docker run CMD

* Always pull new version of tag for provider image

* Update provider CMD

* Alter the verify endpoint when in non-production environments in client-example demo

* Allow PoW captchas to be stored and counted

* Removing exportData from Manager

* Adding synamic config for load balancer

* Fix build

* fix server build

* fix server again

* fix provider build

* Removing dangerou

* Change scale-ts type to u64 to avoid losing data

* revert change to number for timestamp

* make sure procaptcha-response is deleted

* Fix scheduler database name and add env option for storage schedule

* Make the models available once the connection has been made

* Move headers

* Update js_server release step

* Try using secret directly

* Add some debug

* Modify debug

* Yet more debug

* I give up

* Working captcha results in mongo (#1322)

* Fixing db schema for pow captchas

* dropping new debug

* Use a var for mongo image

* more debug

* Removing lint fix from version bump

* Bumping to 2.0.1

* Bumping package lock

* Build all command working

* rimraf fixes

---------

Co-authored-by: George Oastler <goastler@users.noreply.github.com>
Co-authored-by: George Oastler <goastler4@gmail.com>
Co-authored-by: Chris <forgetso86@gmail.com>
  • Loading branch information
4 people authored Aug 19, 2024
1 parent 460740a commit 2a21c9f
Show file tree
Hide file tree
Showing 69 changed files with 7,487 additions and 12,394 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ jobs:
# replace the version in all package.json files
xargs -I % sh -c "cat % | jq '.version = \"${{ github.event.inputs.version }}\"' > %.new && mv %.new %" <<< "$pkgJsons"
# lint
npm run lint:fix
# set the author in git
git config user.name "prosoponator[bot]"
git config user.email "dev@prosopo.io"
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,19 @@ jobs:
echo "JS_SERVER_FLUX_APP_NAME=${{ steps.env.outputs.env }}_JS_SERVER_FLUX_APP_NAME" | tr '[:lower:]' '[:upper:]';
} >> $GITHUB_ENV
- name: echo github env
run: |
echo "GITHUB_ENV: $GITHUB_ENV"
- name: Print the JS_SERVER name
env:
VAR_NAME: ${{ env.JS_SERVER_FLUX_APP_NAME }}
JS_SERVER_FLUX_APP_NAME: ${{ secrets[env.JS_SERVER_FLUX_APP_NAME] }}
run: |
echo "JS_SERVER_FLUX_APP_NAME: $JS_SERVER_FLUX_APP_NAME"
echo "VAR NAME: $VAR_NAME"
echo "JS_SERVER_FLUX_APP_NAME: $JS_SERVER_FLUX_APP_NAME"
- name: Redeploy flux docker js_server
env:
PROSOPO_ZELCORE_PRIVATE_KEY: ${{ secrets.PROSOPO_ZELCORE_PRIVATE_KEY }}
Expand All @@ -299,7 +312,7 @@ jobs:
if [[ "${{ steps.docker_js_server_release.outcome }}" == 'success' ]]; then
echo "Installing @prosopo/flux..."
npm i -g @prosopo/flux
echo "Soft redeploying flux docker js_server."
echo "Soft redeploying flux docker js_server: ${{ secrets[env.JS_SERVER_FLUX_APP_NAME] }}"
npx flux redeploy ${{ secrets[env.JS_SERVER_FLUX_APP_NAME] }}
else
echo "Skipping flux redeploy."
Expand Down
2 changes: 1 addition & 1 deletion demos/client-bundle-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dotenv": "^16.0.1",
"vite": "^5.1.7"
},
"version": "2.0.0",
"version": "2.0.1",
"devDependencies": {
"tslib": "2.6.2",
"typescript": "5.1.6"
Expand Down
14 changes: 7 additions & 7 deletions demos/client-example-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/client-example-server",
"version": "2.0.0",
"version": "2.0.1",
"description": "Backend for client-example",
"main": "dist/app.js",
"type": "module",
Expand Down Expand Up @@ -31,19 +31,19 @@
"@noble/hashes": "^1.3.1",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/api": "2.0.0",
"@prosopo/contract": "2.0.0",
"@prosopo/procaptcha": "2.0.0",
"@prosopo/server": "2.0.0",
"@prosopo/types": "2.0.0",
"@prosopo/api": "2.0.1",
"@prosopo/contract": "2.0.1",
"@prosopo/procaptcha": "2.0.1",
"@prosopo/server": "2.0.1",
"@prosopo/types": "2.0.1",
"@typegoose/auto-increment": "^4.5.0",
"cors": "^2.8.5",
"jsonwebtoken": "^9.0.0",
"mongoose": "^8.5.1",
"zod": "^3.22.3"
},
"devDependencies": {
"@prosopo/config": "2.0.0",
"@prosopo/config": "2.0.1",
"@types/jsonwebtoken": "^9.0.2",
"tslib": "2.6.2",
"typescript": "5.1.6",
Expand Down
26 changes: 15 additions & 11 deletions demos/client-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/client-example",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"type": "module",
"engines": {
Expand All @@ -13,12 +13,12 @@
"@mui/material": "^5.9.1",
"@polkadot/extension-dapp": "0.46.9",
"@polkadot/extension-inject": "0.46.9",
"@prosopo/common": "2.0.0",
"@prosopo/procaptcha": "2.0.0",
"@prosopo/procaptcha-frictionless": "2.0.0",
"@prosopo/procaptcha-react": "2.0.0",
"@prosopo/server": "2.0.0",
"@prosopo/types": "2.0.0",
"@prosopo/common": "2.0.1",
"@prosopo/procaptcha": "2.0.1",
"@prosopo/procaptcha-frictionless": "2.0.1",
"@prosopo/procaptcha-react": "2.0.1",
"@prosopo/server": "2.0.1",
"@prosopo/types": "2.0.1",
"@types/react-dom": "^18.3.0",
"electron": "25.8.4",
"react": "^18.3.1",
Expand All @@ -38,9 +38,9 @@
}
},
"devDependencies": {
"@prosopo/cli": "2.0.0",
"@prosopo/config": "2.0.0",
"@prosopo/vite-plugin-watch-workspace": "2.0.0",
"@prosopo/cli": "2.0.1",
"@prosopo/config": "2.0.1",
"@prosopo/vite-plugin-watch-workspace": "2.0.1",
"@types/node": "^20.3.1",
"css-loader": "^6.8.1",
"tslib": "2.6.2",
Expand All @@ -54,7 +54,11 @@
"clean": "tsc --build --clean"
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
4 changes: 1 addition & 3 deletions demos/client-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ function App(props: AppProps) {
<Box
className={"App"}
sx={{
width: "100%",
maxWidth: 500,
display: "flex",
flexDirection: "column",
alignItems: "center",
Expand All @@ -178,7 +176,7 @@ function App(props: AppProps) {

<Box>
<h1>{label}</h1>
<form>
<form style={{ minWidth: "100px" }}>
<FormGroup
sx={{ "& .MuiTextField-root,#select-account": { m: 1 } }}
>
Expand Down
22 changes: 13 additions & 9 deletions demos/client-frictionless-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/client-frictionless-example",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"type": "module",
"engines": {
Expand All @@ -11,20 +11,20 @@
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@mui/material": "^5.9.1",
"@prosopo/common": "2.0.0",
"@prosopo/procaptcha": "2.0.0",
"@prosopo/procaptcha-frictionless": "2.0.0",
"@prosopo/types": "2.0.0",
"@prosopo/common": "2.0.1",
"@prosopo/procaptcha": "2.0.1",
"@prosopo/procaptcha-frictionless": "2.0.1",
"@prosopo/types": "2.0.1",
"@types/react-dom": "^18.3.0",
"electron": "25.8.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"web-vitals": "^2.1.4",
"@prosopo/procaptcha-pow": "2.0.0"
"@prosopo/procaptcha-pow": "2.0.1"
},
"devDependencies": {
"@prosopo/cli": "2.0.0",
"@prosopo/config": "2.0.0",
"@prosopo/cli": "2.0.1",
"@prosopo/config": "2.0.1",
"@types/node": "^20.3.1",
"css-loader": "^6.8.1",
"tslib": "2.6.2",
Expand All @@ -38,7 +38,11 @@
"clean": "tsc --build --clean"
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
22 changes: 13 additions & 9 deletions demos/client-pow-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/client-pow-example",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"type": "module",
"engines": {
Expand All @@ -11,20 +11,20 @@
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@mui/material": "^5.9.1",
"@prosopo/common": "2.0.0",
"@prosopo/procaptcha": "2.0.0",
"@prosopo/procaptcha-pow": "2.0.0",
"@prosopo/procaptcha-react": "2.0.0",
"@prosopo/types": "2.0.0",
"@prosopo/common": "2.0.1",
"@prosopo/procaptcha": "2.0.1",
"@prosopo/procaptcha-pow": "2.0.1",
"@prosopo/procaptcha-react": "2.0.1",
"@prosopo/types": "2.0.1",
"@types/react-dom": "^18.3.0",
"electron": "25.8.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@prosopo/cli": "2.0.0",
"@prosopo/config": "2.0.0",
"@prosopo/cli": "2.0.1",
"@prosopo/config": "2.0.1",
"@types/node": "^20.3.1",
"css-loader": "^6.8.1",
"tslib": "2.6.2",
Expand All @@ -38,7 +38,11 @@
"clean": "tsc --build --clean"
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
8 changes: 4 additions & 4 deletions demos/cypress-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "@prosopo/cypress-shared",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"type": "module",
"engines": {
"node": ">=20",
"npm": ">=9"
},
"dependencies": {
"@prosopo/types": "2.0.0",
"@prosopo/util": "2.0.0",
"@prosopo/types": "2.0.1",
"@prosopo/util": "2.0.1",
"mongodb": "5.9.2"
},
"devDependencies": {
"@cypress/xpath": "^2.0.3",
"@types/node": "^20.3.1",
"cypress": "^13.4.0",
"cypress-vite": "^1.5.0",
"rollup-plugin-node-builtins": "^2.0.0",
"rollup-plugin-node-builtins": "^2.0.1",
"tslib": "2.6.2",
"typescript": "5.1.6",
"vite": "^5.1.7",
Expand Down
8 changes: 4 additions & 4 deletions demos/provider-mock/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/provider-mock",
"version": "2.0.0",
"version": "2.0.1",
"author": "PROSOPO LIMITED <info@prosopo.io>",
"license": "Apache-2.0",
"main": "./dist/index.js",
Expand All @@ -15,9 +15,9 @@
"build": "tsc --build --verbose"
},
"dependencies": {
"@prosopo/cli": "2.0.0",
"@prosopo/common": "2.0.0",
"@prosopo/types": "2.0.0",
"@prosopo/cli": "2.0.1",
"@prosopo/common": "2.0.1",
"@prosopo/types": "2.0.1",
"es-main": "^1.3.0",
"express": "^4.18.1"
},
Expand Down
8 changes: 4 additions & 4 deletions dev/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/config",
"version": "2.0.0",
"version": "2.0.1",
"description": "Prosopo config library",
"main": "./dist/index.js",
"type": "module",
Expand Down Expand Up @@ -39,9 +39,9 @@
"@babel/plugin-transform-react-jsx": "^7.24.6",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.5",
"@prosopo/common": "2.0.0",
"@prosopo/types": "2.0.0",
"@prosopo/util": "2.0.0",
"@prosopo/common": "2.0.1",
"@prosopo/types": "2.0.1",
"@prosopo/util": "2.0.1",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
Expand Down
7 changes: 0 additions & 7 deletions dev/config/src/projectInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export const getDevDir = () => `${getRootDir()}/dev`;

export const getDemosDir = () => `${getRootDir()}/demos`;

export const getProtocolDir = () => `${getRootDir()}/protocol`;

export const getPackagesDir = () => `${getRootDir()}/packages`;

export const getNodeModulesDir = () => `${getRootDir()}/node_modules`;
Expand All @@ -37,11 +35,6 @@ export const getConfigPkgDir = () => `${getDevDir()}/config`;

export const getScriptsPkgDir = () => `${getDevDir()}/scripts`;

// Protocol

export const getProtocolCliDir = () => `${getProtocolDir()}/dist/cli`;

export const getProtocolDistDir = () => `${getProtocolDir()}/target/ink`;

// Demos

Expand Down
8 changes: 4 additions & 4 deletions dev/flux/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/flux",
"version": "2.0.0",
"version": "2.0.1",
"description": "Tools for managing Flux deployment",
"main": "dist/index.js",
"bin": {
Expand All @@ -24,9 +24,9 @@
"@noble/curves": "^1.3.0",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"@prosopo/cli": "2.0.0",
"@prosopo/common": "2.0.0",
"@prosopo/util": "2.0.0",
"@prosopo/cli": "2.0.1",
"@prosopo/common": "2.0.1",
"@prosopo/util": "2.0.1",
"consola": "^3.2.3",
"dotenv": "^16.0.3",
"glob": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion dev/gh-actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/gh-actions",
"version": "2.0.0",
"version": "2.0.1",
"description": "",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion dev/prosoponator-bot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prosopo/prosoponator-bot",
"version": "2.0.0",
"version": "2.0.1",
"description": "",
"private": true,
"scripts": {
Expand Down
Loading

0 comments on commit 2a21c9f

Please sign in to comment.