Skip to content

Commit

Permalink
fix: Prune broken symlinks
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Apr 15, 2021
1 parent fca5bb9 commit 036bbda
Show file tree
Hide file tree
Showing 16 changed files with 236 additions and 90 deletions.
3 changes: 2 additions & 1 deletion cjs/codegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ module.exports = {
"./src/generated/sdk.ts": {
config: {
pureMagicComment: true,
gqlImport: "../utils/gqlLodash#gql",
// FIXME: Re-enable after bug fix
// gqlImport: "../utils/gqlLodash#gql",
},
plugins: [
"typescript",
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

129 changes: 102 additions & 27 deletions docs/classes/mauna.html

Large diffs are not rendered by default.

162 changes: 123 additions & 39 deletions docs/modules/types.html

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mauna/sdk",
"version": "0.2.17",
"version": "0.2.19",
"description": "Code generated from Mauna API schema for CLI, SDK etc",
"main": "./cjs/index.js",
"module": "./esm/index.js",
Expand Down Expand Up @@ -29,6 +29,8 @@
"tsc": "tsc && tsc -p tsconfig-cjs.json",
"docs": "typedoc src/index.ts --out ./docs",
"prepublishOnly": "[ -z $SKIP_PREPUBLISH ] && npm test || exit 0",
"prune-symlinks": "cd src/documents && for m in $(\find . -xtype l); do \rm $m; done",
"add-symlinks": "cd src/documents && for m in ../../mauna_graphql/common/*.graphql ; do ln -s $m \"${m##*/}\"; done",
"build": "npm run codegen && npm run tsc && npm run lint && npm run docs"
},
"repository": {
Expand Down Expand Up @@ -69,7 +71,6 @@
},
"dependencies": {
"bitwise": "^2.1.0",
"bs-json": "^1.0.1",
"graphql": "^15.5.0",
"graphql-lodash": "^1.3.4",
"graphql-request": "^3.4.0",
Expand Down
1 change: 1 addition & 0 deletions src/documents/answer_question.graphql
1 change: 1 addition & 0 deletions src/documents/classify_topic.graphql
1 change: 0 additions & 1 deletion src/documents/conceptnet_grounding.graphql

This file was deleted.

1 change: 0 additions & 1 deletion src/documents/deprecated_extract_numeric_data.graphql

This file was deleted.

1 change: 0 additions & 1 deletion src/documents/deprecated_get_sentiment.graphql

This file was deleted.

1 change: 0 additions & 1 deletion src/documents/deprecated_parse_text.graphql

This file was deleted.

1 change: 0 additions & 1 deletion src/documents/deprecated_parse_text_tokens.graphql

This file was deleted.

1 change: 0 additions & 1 deletion src/documents/deprecated_resolve_coreferences.graphql

This file was deleted.

1 change: 0 additions & 1 deletion src/documents/extract_numeric_data.graphql

This file was deleted.

1 change: 1 addition & 0 deletions src/documents/get_conceptnet_relations.graphql

0 comments on commit 036bbda

Please sign in to comment.