Skip to content

Commit

Permalink
fix: ci build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Sep 23, 2019
1 parent f042c38 commit c4ed9e2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 2 additions & 0 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ process.chdir(base)
* ~~~~~~~~~~~~~~~~
*/
await spawn('yarn', ['build:tsc'])
await spawn('yarn', ['build:rollup'])
} catch (e) {
console.log('Build failed, retry one more time.')
await spawn('yarn', ['build:tsc'])
await spawn('yarn', ['build:rollup'])
}
})()
8 changes: 5 additions & 3 deletions src/setup.ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import { definedSocialNetworkUIs, activateSocialNetworkUI } from './social-netwo
import './provider.ui'
import { LiveSelector, Watcher, DOMProxy } from '@holoflows/kit/es'

LiveSelector.enhanceDebugger()
Watcher.enhanceDebugger()
DOMProxy.enhanceDebugger()
if (typeof window === 'object') {
LiveSelector.enhanceDebugger()
Watcher.enhanceDebugger()
DOMProxy.enhanceDebugger()
}
Object.assign(globalThis, {
definedSocialNetworkUIs: definedSocialNetworkUIs,
})
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1276,12 +1276,12 @@

"@holoflows/kit@https://github.com/DimensionDev/holoflows-kit":
version "0.5.0"
resolved "https://github.com/DimensionDev/holoflows-kit#2cca36cfc03cb705c58931ebf1d308547ac584c1"
resolved "https://github.com/DimensionDev/holoflows-kit#df0276ff6d82f8fc751f2082247b55734fbd6d44"
dependencies:
"@types/lodash-es" "^4.1.4"
async-call-rpc "^1.0.0"
concurrent-lock "^1.0.7"
jsx-jsonml-devtools-renderer "^1.3.0"
jsx-jsonml-devtools-renderer "^1.4.0"
lodash-es "^4.17.15"
memorize-decorator "^0.2.2"
mitt "^1.1.3"
Expand Down Expand Up @@ -9962,10 +9962,10 @@ jsx-ast-utils@^2.1.0, jsx-ast-utils@^2.2.1:
array-includes "^3.0.3"
object.assign "^4.1.0"

jsx-jsonml-devtools-renderer@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/jsx-jsonml-devtools-renderer/-/jsx-jsonml-devtools-renderer-1.3.0.tgz#1af53802a49898db3bd2f9070a5f6e56d8c2ef13"
integrity sha512-DjsZ+XvwkInWB5Cr3xfibfE5+PmIibGk/MCLR5QBRttgUWX0Uzr0g+IpPi4Rb0U0U9D+BkhbvrE9gSSm08M8Nw==
jsx-jsonml-devtools-renderer@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/jsx-jsonml-devtools-renderer/-/jsx-jsonml-devtools-renderer-1.4.0.tgz#ab3ca51c913a4e04616154e6242f4286d1b9c253"
integrity sha512-if1QA9ZLdtpYq9CZayD2dcj7pcdS7i2aVX6x0TP+Wuwr58OspyuhR8uimZXRL+KYjZyBr1FnI4fLPbF9bmOOag==
dependencies:
csstype "^2.6.6"

Expand Down

0 comments on commit c4ed9e2

Please sign in to comment.