Skip to content

Commit

Permalink
fix: init command extract releases that use v in tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Jan 13, 2021
1 parent 48966af commit afff163
Show file tree
Hide file tree
Showing 4 changed files with 1,567 additions and 2,308 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## [1.3.4](https://github.com/hayes0724/shopify-packer/compare/1.3.2...1.3.4) (2021-01-13)


### :bug: Bug Fixes

* init command extract releases that use v in tag name ([76d4188](https://github.com/hayes0724/shopify-packer/commit/76d4188557f92746b15d108539bda5fd6b6a9b2f))


### :hammer: Code Refactoring

* **webpack-config:** removed img-loader and changed order of image loaders ([48966af](https://github.com/hayes0724/shopify-packer/commit/48966afb5d6ef7009e77317a6bc1e8271091e447))


### chore

* **webpack-config:** verbose output removed from clean webpack plugin ([4ae1f5c](https://github.com/hayes0724/shopify-packer/commit/4ae1f5c4e2077bfa3d462f1bc08b9919d2adea0d))



## [1.3.3](https://github.com/hayes0724/shopify-packer/compare/1.3.2...1.3.3) (2020-12-14)


Expand Down
2 changes: 1 addition & 1 deletion cli/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = (args) => {
const release = `https://github.com/${args.repo}/archive/${response.data.tag_name}.zip`;
const extracted = path.join(
dir,
`${args.repo.split('/')[1]}-${response.data.tag_name}`
`${args.repo.split('/')[1]}-${response.data.tag_name.replace('v', '')}`
);
spinner.text = 'Starting download...';
fs.ensureDir(dir)
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hayes0724/shopify-packer",
"version": "1.3.3",
"version": "1.3.4",
"bin": {
"packer": "cli/index.js"
},
Expand Down Expand Up @@ -31,10 +31,10 @@
"version": "conventional-changelog -n docs/changelog/index.js -i CHANGELOG.md --same-file"
},
"dependencies": {
"@babel/core": "latest",
"@babel/core": "^7.12.10",
"@babel/plugin-transform-async-to-generator": "^7.10.1",
"@babel/preset-env": "latest",
"@babel/register": "latest",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@namics/stylelint-bem": "^6.3.0",
"@shopify/babel-preset": "^23.1.1",
"@shopify/theme-lint": "^3.0.0",
Expand All @@ -43,7 +43,7 @@
"array-flatten": "^3.0.0",
"autoprefixer": "^9.7.5",
"axios": "^0.19.2",
"babel-loader": "latest",
"babel-loader": "^8.2.2",
"browser-sync": "^2.26.12",
"chalk": "latest",
"clean-webpack-plugin": "^3.0.0",
Expand Down Expand Up @@ -84,8 +84,8 @@
"postcss-preset-env": "latest",
"prettier": "^2.1.2",
"read-yaml": "^1.1.0",
"sass-loader": "latest",
"style-loader": "latest",
"sass-loader": "^10.1.0",
"style-loader": "^2.0.0",
"stylelint": "^13.7.2",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-recommended-scss": "^4.2.0",
Expand All @@ -96,15 +96,15 @@
"stylelint-webpack-plugin": "^0.10.5",
"table": "^5.4.6",
"tapable": "^2.0.0",
"url-loader": "latest",
"url-loader": "^4.1.1",
"webpack": "^4.42.1",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.11",
"webpack-dev-middleware": "^3.7.2",
"webpack-dev-server": "^3.10.3",
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "latest",
"yargs": "latest"
"webpack-merge": "^5.7.3",
"yargs": "^16.2.0"
},
"devDependencies": {
"babel-jest": "^26.3.0",
Expand Down
Loading

0 comments on commit afff163

Please sign in to comment.