Skip to content

Commit 5ed4e30

Browse files
committed
2 parents b2458f3 + 1f7de9f commit 5ed4e30

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

CoCreate.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
},
88

99
"sources": [{
10-
"path": "./docs/index.html",
10+
"entry": "./docs/index.html",
1111
"collection": "files",
1212
"document_id": "601f02625803e43d00589077",
1313
"key": "src",

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"start": "npx webpack --config webpack.config.js",
2929
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
3030
"dev": "npx webpack --config webpack.config.js --watch",
31-
"docs": "node ./node_modules/@cocreate/docs/src/index.js"
31+
"docs": "node ./node_modules/@cocreate/docs/src/index.js",
32+
"hosting": "node ./node_modules/@cocreate/hosting/src/index.js"
3233
},
3334
"repository": {
3435
"type": "git",
@@ -63,6 +64,7 @@
6364
"@cocreate/action": "^1.1.1",
6465
"@cocreate/crud-client": "^1.0.5",
6566
"@cocreate/docs": "^1.0.3",
67+
"@cocreate/hosting": "^1.0.0",
6668
"@cocreate/render": "^1.0.2",
6769
"@cocreate/socket-client": "^1.0.4",
6870
"mini-css-extract-plugin": "^1.5.0"

src/server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ var api = ( ()=> {
7272
operator: "$in",
7373
value: [hostname]
7474
}],
75-
orders: [],
76-
startIndex: 0,
77-
search: { type: 'or', value: []}
75+
// orders: [],
76+
// startIndex: 0,
77+
// search: { type: 'or', value: []}
7878
},
7979
event: eventGetOrg,
8080
is_collection: false,

yarn-error.log

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Arguments:
2-
/usr/bin/node /usr/share/yarn/bin/yarn.js add @cocreate/client
2+
/usr/bin/node /usr/share/yarn/bin/yarn.js hosting
33

44
PATH:
55
/home/ubuntu/.rvm/gems/ruby-2.6.3/bin:/home/ubuntu/.rvm/gems/ruby-2.6.3@global/bin:/home/ubuntu/.rvm/rubies/ruby-2.6.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.local/bin:/home/ubuntu/bin:/home/ubuntu/.rvm/bin:/home/ubuntu/.rvm/bin
@@ -14,22 +14,17 @@ Platform:
1414
linux x64
1515

1616
Trace:
17-
Error: https://registry.yarnpkg.com/@cocreate%2fclient: Not found
18-
at Request.params.callback [as _callback] (/usr/share/yarn/lib/cli.js:66988:18)
19-
at Request.self.callback (/usr/share/yarn/lib/cli.js:140749:22)
20-
at Request.emit (events.js:315:20)
21-
at Request.<anonymous> (/usr/share/yarn/lib/cli.js:141721:10)
22-
at Request.emit (events.js:315:20)
23-
at IncomingMessage.<anonymous> (/usr/share/yarn/lib/cli.js:141643:12)
24-
at Object.onceWrapper (events.js:421:28)
25-
at IncomingMessage.emit (events.js:327:22)
26-
at endReadableNT (internal/streams/readable.js:1327:12)
27-
at processTicksAndRejections (internal/process/task_queues.js:80:21)
17+
SyntaxError: /home/ubuntu/environment/public/CoCreate-components/CoCreate-api/package.json: Unexpected string in JSON at position 1093
18+
at JSON.parse (<anonymous>)
19+
at /usr/share/yarn/lib/cli.js:1625:59
20+
at Generator.next (<anonymous>)
21+
at step (/usr/share/yarn/lib/cli.js:310:30)
22+
at /usr/share/yarn/lib/cli.js:321:13
2823

2924
npm manifest:
3025
{
3126
"name": "@cocreate/api",
32-
"version": "1.0.7",
27+
"version": "1.0.10",
3328
"description": "A simple api helper component in vanilla javascript used by JavaScript developers to create thirdparty api intergrations. CoCreate-api includes the client component and server side for api processing. Thirdparty apis can be accessible using HTML5 data-attributes and/or JavaScript API. ",
3429
"keywords": [
3530
"thirdparty-api-intergration",
@@ -58,6 +53,7 @@ npm manifest:
5853
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
5954
"dev": "npx webpack --config webpack.config.js --watch",
6055
"docs": "node ./node_modules/@cocreate/docs/src/index.js"
56+
"hosting": "node ./node_modules/@cocreate/hosting/src/index.js"
6157
},
6258
"repository": {
6359
"type": "git",
@@ -92,6 +88,7 @@ npm manifest:
9288
"@cocreate/action": "^1.1.1",
9389
"@cocreate/crud-client": "^1.0.5",
9490
"@cocreate/docs": "^1.0.3",
91+
"@cocreate/hosting": "^1.0.0",
9592
"@cocreate/render": "^1.0.2",
9693
"@cocreate/socket-client": "^1.0.4",
9794
"mini-css-extract-plugin": "^1.5.0"

0 commit comments

Comments
 (0)