Skip to content

Commit f8fe007

Browse files
committed
apply lerna
1 parent 5b0b967 commit f8fe007

8 files changed

Lines changed: 4398 additions & 8569 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ jobs:
1414
git config --global user.email "woo-gim@users.noreply.github.com"
1515
git config --global user.name "woo-gim"
1616
echo "machine github.com login woo-gim password $GITHUB_TOKEN" > ~/.netrc
17-
git submodule sync
18-
git submodule update --init
19-
cd website && npm install && GIT_USER=woo-gim npm run publish-gh-pages
17+
npm run bootstrap
18+
GIT_USER=woo-gim npm run publish-gh-pages
2019
2120
workflows:
2221
version: 2

Docusaurus

lerna-debug.log

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
0 silly input [ 'test' ]
2+
1 silly flags { _: [ 'run' ],
3+
1 silly flags 'reject-cycles': false,
4+
1 silly flags rejectCycles: false,
5+
1 silly flags stream: true,
6+
1 silly flags script: 'test',
7+
1 silly flags args: [] }
8+
2 verbose rootPath /Users/ingrowth/Documents/Projects/sqlgate-docs
9+
3 info version 2.11.0
10+
4 silly existsSync /Users/ingrowth/Documents/Projects/sqlgate-docs/VERSION
11+
5 info versioning independent
12+
6 silly initialize attempt
13+
7 silly initialize success
14+
8 silly execute attempt
15+
9 silly runScriptInPackageStreaming [ 'test', [], 'docusaurus' ]
16+
10 silly getExecOpts { cwd: '/Users/ingrowth/Documents/Projects/sqlgate-docs/Docusaurus' }
17+
11 error execute callback with error
18+
12 error Error: Command failed: npm run test
19+
12 error PASS lib/core/__tests__/utils.test.js
20+
12 error PASS lib/core/__tests__/toSlug.test.js
21+
12 error PASS lib/core/__tests__/routing.test.js
22+
12 error PASS lib/core/__tests__/anchors.test.js
23+
12 error PASS lib/core/__tests__/getTOC.test.js
24+
12 error /bin/sh: yarn: command not found
25+
12 error FAIL lib/__tests__/build-files.test.js
26+
12 error ● Build folder exists
27+
12 error
28+
12 error Error
29+
12 error Error: ENOENT: no such file or directory, stat '/Users/ingrowth/Documents/Projects/sqlgate-docs/Docusaurus/website/build'
30+
12 error
31+
12 error ● Generated HTML for each Markdown resource
32+
12 error
33+
12 error expect(array).toContain(value)
34+
12 error
35+
12 error Expected array:
36+
12 error []
37+
12 error To contain value:
38+
12 error "commands.html"
39+
12 error
40+
12 error at lib/__tests__/build-files.test.js:79:22
41+
12 error at Array.forEach (<anonymous>)
42+
12 error at Object.<anonymous> (lib/__tests__/build-files.test.js:75:22)
43+
12 error at new Promise (<anonymous>)
44+
12 error at <anonymous>
45+
12 error
46+
12 error ● Concatenated CSS files
47+
12 error
48+
12 error Error
49+
12 error Error: ENOENT: no such file or directory, open '/Users/ingrowth/Documents/Projects/sqlgate-docs/Docusaurus/website/build/Docusaurus/css/main.css'
50+
12 error
51+
12 error Test Suites: 1 failed, 5 passed, 6 total
52+
12 error Tests: 3 failed, 27 passed, 30 total
53+
12 error Snapshots: 8 passed, 8 total
54+
12 error Time: 2.281s
55+
12 error Ran all test suites.
56+
12 error npm ERR! code ELIFECYCLE
57+
12 error npm ERR! errno 1
58+
12 error npm ERR! docusaurus@1.3.0 test: `jest`
59+
12 error npm ERR! Exit status 1
60+
12 error npm ERR!
61+
12 error npm ERR! Failed at the docusaurus@1.3.0 test script.
62+
12 error npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
63+
12 error
64+
12 error npm ERR! A complete log of this run can be found in:
65+
12 error npm ERR! /Users/ingrowth/.npm/_logs/2018-07-10T05_31_57_572Z-debug.log
66+
12 error
67+
12 error
68+
12 error > docusaurus@1.3.0 test /Users/ingrowth/Documents/Projects/sqlgate-docs/Docusaurus
69+
12 error > jest
70+
12 error
71+
12 error
72+
12 error at Promise.all.then.arr (/Users/ingrowth/Documents/Projects/sqlgate-docs/node_modules/execa/index.js:236:11)
73+
12 error at <anonymous>

lerna.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"lerna": "2.11.0",
3+
"packages": [
4+
"Docusaurus",
5+
"website"
6+
],
7+
"version": "independent"
8+
}

0 commit comments

Comments
 (0)