Skip to content

Commit

Permalink
fix: @holoflow/kits not upgrading problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-0x447f committed Aug 25, 2019
1 parent a06055d commit 8ec9f6c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion just.config.js
@@ -1,4 +1,4 @@
const { task, parallel } = require('just-task')
const { task, series, parallel } = require('just-task')
const { spawn } = require('child_process')
const path = require('path')

Expand All @@ -22,8 +22,10 @@ task('storybook', () => parallel('lint/fix', 'storybook/serve'))
task('storybook/serve', () => step('start-storybook -p 9009 -s public --quiet', { withWarn: true }))
task('storybook/build', () => step('build-storybook -s public --quiet', { withWarn: true }))

task('install', () => series('install/holoflows'))
task('install/holoflows', async () => {
const base = path.join(process.cwd(), 'node_modules/@holoflows')
await step('yarn upgrade @holoflows/kit')
await step(`cd ${path.join(base, 'kit')} && yarn && yarn build`)
})

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -9,8 +9,8 @@
"build": "yarn just react/build",
"storybook": "yarn just storybook",
"storybook/build": "yarn just storybook/build",
"install": "yarn just install/holoflows",
"uninstall": "yarn just install/holoflows"
"install": "yarn just install",
"uninstall": "yarn just install"
},
"dependencies": {
"@holoflows/kit": "https://github.com/DimensionDev/holoflows-kit",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -1285,7 +1285,7 @@

"@holoflows/kit@https://github.com/DimensionDev/holoflows-kit":
version "0.4.0"
resolved "https://github.com/DimensionDev/holoflows-kit#a727f0684f626412dfe9f3224a4bc54a4c406eb5"
resolved "https://github.com/DimensionDev/holoflows-kit#c687c1552f97ad330f220a53b6ab185e9086138f"
dependencies:
"@types/lodash-es" "^4.1.4"
concurrent-lock "^1.0.7"
Expand Down Expand Up @@ -2227,9 +2227,9 @@
"@types/lodash" "*"

"@types/lodash@*":
version "4.14.136"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.136.tgz#413e85089046b865d960c9ff1d400e04c31ab60f"
integrity sha512-0GJhzBdvsW2RUccNHOBkabI8HZVdOXmXbXhuKlDEd5Vv12P7oAVGfomGp3Ne21o5D/qu1WmthlNKFaoZJJeErA==
version "4.14.137"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.137.tgz#8a4804937dc6462274ffcc088df8f14fc1b368e2"
integrity sha512-g4rNK5SRKloO+sUGbuO7aPtwbwzMgjK+bm9BBhLD7jGUiGR7zhwYEhSln/ihgYQBeIJ5j7xjyaYzrWTcu3UotQ==

"@types/minimatch@^3.0.3":
version "3.0.3"
Expand Down

1 comment on commit 8ec9f6c

@Artoria2e5
Copy link
Contributor

@Artoria2e5 Artoria2e5 commented on 8ec9f6c Aug 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we call it upgrade/holoflows instead for fucks sake?

Please sign in to comment.