Skip to content

Commit

Permalink
v0.8 release (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam authored Jul 26, 2024
1 parent 9a94e99 commit 7b5e5c3
Show file tree
Hide file tree
Showing 56 changed files with 24,605 additions and 18,026 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: pnpm-install
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
id: pnpm-install
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
id: pnpm-install
uses: pnpm/action-setup@v2
with:
version: 8
version: 9
run_install: false

- name: Get pnpm store directory
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
"prepare": "pnpm build"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@changesets/cli": "^2.27.7",
"@jest/globals": "^29.7.0",
"@skypack/package-check": "^0.2.2",
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.2",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.6.13",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-config-3box": "^1.0.0",
"eslint-plugin-jest": "^27.9.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"turbo": "^1.12.4",
"typedoc": "0.25.9",
"prettier": "^3.3.3",
"turbo": "^1.13.0",
"typedoc": "0.25.12",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.3"
"typescript": "^5.4.3"
},
"pnpm": {
"overrides": {}
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
"extends": ["3box", "3box/jest", "3box/typescript"],
"parserOptions": {
"project": ["tsconfig.lint.json"]
},
"rules": {
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off"
}
}
37 changes: 17 additions & 20 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@composedb/cli",
"version": "0.7.1",
"version": "0.8.0",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://composedb.js.org",
Expand Down Expand Up @@ -53,9 +53,6 @@
"model": {
"description": "Create and interact with Model streams"
},
"document": {
"description": "Create and interact with Model Instance Document streams"
},
"composite": {
"description": "Interact with Model streams via Composites"
},
Expand All @@ -69,20 +66,20 @@
]
},
"dependencies": {
"@ceramicnetwork/3id-did-resolver": "^5.2.0",
"@ceramicnetwork/cli": "^5.2.0",
"@ceramicnetwork/http-client": "^5.2.0",
"@ceramicnetwork/stream-model": "^4.1.0",
"@ceramicnetwork/stream-model-instance": "^4.2.0",
"@ceramicnetwork/streamid": "^5.0.0",
"@ceramicnetwork/3id-did-resolver": "^6.1.0",
"@ceramicnetwork/cli": "^6.1.0",
"@ceramicnetwork/http-client": "^6.1.0",
"@ceramicnetwork/stream-model": "^5.1.0",
"@ceramicnetwork/stream-model-instance": "^5.1.0",
"@ceramicnetwork/streamid": "^5.5.0",
"@composedb/client": "workspace:^",
"@composedb/devtools": "workspace:^",
"@composedb/devtools-node": "workspace:^",
"@composedb/runtime": "workspace:^",
"@oclif/core": "^3.19.7",
"@oclif/plugin-help": "^6.0.13",
"@oclif/plugin-version": "^2.0.12",
"cli-table3": "^0.6.3",
"@oclif/plugin-help": "^6.0.18",
"@oclif/plugin-version": "^2.2.8",
"cli-table3": "^0.6.5",
"did-resolver": "^4.1.0",
"dids": "^5.0.2",
"env-paths": "^3.0.0",
Expand All @@ -93,21 +90,21 @@
"listr-update-renderer": "^0.5.0",
"ora": "^8.0.1",
"terminal-size": "^4.0.0",
"uint8arrays": "^5.0.2"
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@ceramicnetwork/common": "^5.1.0",
"@ceramicnetwork/common": "^6.1.0",
"@composedb/types": "workspace:^",
"@swc-node/register": "^1.8.0",
"@swc-node/register": "^1.10.9",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/listr": "^0.14.9",
"@types/node": "^20.11.20",
"@types/node": "^20.14.11",
"@types/update-notifier": "^6.0.8",
"ajv": "^8.12.0",
"execa": "^8.0.1",
"ajv": "^8.17.1",
"execa": "^9.3.0",
"jest-dev-server": "^10.0.0",
"oclif": "^4.4.19",
"oclif": "^4.14.6",
"strip-ansi": "~7.1.0"
},
"jest": {
Expand Down
5 changes: 3 additions & 2 deletions packages/cli/src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ export const SYNC_OPTION_FLAG = Flags.string({
const readPipe: () => Promise<string | undefined> = () => {
return new Promise((resolve) => {
let data = ''
const stdin = process.openStdin()
const stdin = process.stdin
stdin.resume()
const finish = () => {
resolve(data.length > 0 ? data.trim() : undefined)
stdin.pause()
}

stdin.setEncoding('utf-8')
stdin.on('data', (chunk) => {
stdin.on('data', (chunk: string) => {
data += chunk
})

Expand Down
54 changes: 0 additions & 54 deletions packages/cli/src/commands/document/content.ts

This file was deleted.

39 changes: 0 additions & 39 deletions packages/cli/src/commands/document/create.ts

This file was deleted.

30 changes: 0 additions & 30 deletions packages/cli/src/commands/document/replace.ts

This file was deleted.

20 changes: 10 additions & 10 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@composedb/client",
"version": "0.7.1",
"version": "0.8.0",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://composedb.js.org",
Expand Down Expand Up @@ -33,27 +33,27 @@
"build:types": "tsc --emitDeclarationOnly --skipLibCheck",
"build": "pnpm build:clean && pnpm build:types && pnpm build:js",
"lint": "eslint src test --fix",
"test": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js",
"test": "IPFS_FLAVOR=go node --experimental-vm-modules ../../node_modules/jest/bin/jest.js",
"test:ci": "pnpm run test --ci --coverage",
"prepare": "pnpm build",
"prepublishOnly": "package-check"
},
"dependencies": {
"@ceramicnetwork/http-client": "^5.2.0",
"@ceramicnetwork/stream-model": "^4.1.0",
"@ceramicnetwork/stream-model-instance": "^4.2.0",
"@ceramicnetwork/http-client": "^6.1.0",
"@ceramicnetwork/stream-model": "^5.1.0",
"@ceramicnetwork/stream-model-instance": "^5.1.0",
"@composedb/constants": "workspace:^",
"@composedb/graphql-scalars": "workspace:^",
"@composedb/runtime": "workspace:^",
"@graphql-tools/batch-execute": "^9.0.4",
"@graphql-tools/stitch": "^9.0.5",
"@graphql-tools/utils": "^10.1.0",
"@graphql-tools/stitch": "^9.2.10",
"@graphql-tools/utils": "^10.3.2",
"dataloader": "^2.2.2",
"graphql": "^16.8.1",
"graphql-relay": "^0.10.0"
"graphql": "^16.9.0",
"graphql-relay": "^0.10.2"
},
"devDependencies": {
"@ceramicnetwork/common": "^5.1.0",
"@ceramicnetwork/common": "^6.1.0",
"@composedb/devtools": "workspace:^",
"@composedb/loader": "workspace:^",
"@composedb/test-schemas": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@composedb/constants",
"version": "0.7.1",
"version": "0.8.0",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://github.com/ceramicstudio/js-composedb#readme",
Expand Down
4 changes: 2 additions & 2 deletions packages/devtools-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@composedb/devtools-node",
"version": "0.7.1",
"version": "0.8.0",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://composedb.js.org",
Expand Down Expand Up @@ -37,7 +37,7 @@
"prepublishOnly": "package-check"
},
"dependencies": {
"@ceramicnetwork/http-client": "^5.2.0",
"@ceramicnetwork/http-client": "^6.1.0",
"@composedb/client": "workspace:^",
"@composedb/runtime": "workspace:^",
"@composedb/server": "workspace:^",
Expand Down
Loading

0 comments on commit 7b5e5c3

Please sign in to comment.