-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hayes
committed
Mar 25, 2021
0 parents
commit b441257
Showing
59 changed files
with
11,155 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"presets": [ | ||
["@shopify/babel-preset/web", { | ||
"browsers": [ | ||
"last 3 versions" | ||
], | ||
"modules": false | ||
}] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-async-to-generator", | ||
"@babel/plugin-transform-runtime", | ||
"@babel/plugin-syntax-dynamic-import" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
src/assets/static/ | ||
dist/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"extends": [ | ||
"plugin:shopify/esnext", | ||
"prettier" | ||
], | ||
"env": { | ||
"jest": true, | ||
"browser": true | ||
}, | ||
"rules": { | ||
"babel/no-invalid-this": 0, | ||
"import/no-anonymous-default-export": 0, | ||
"import/no-unresolved": ["error", {"ignore": ["^jquery"]}], | ||
"no-alert": 0, | ||
"no-console": 0, | ||
"no-new": 0, | ||
"node/shebang": 0 | ||
}, | ||
"globals": { | ||
"document": true, | ||
"window": true, | ||
"Shopify": true, | ||
"theme": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Vendor | ||
node_modules | ||
|
||
# IDE files | ||
.idea | ||
.history | ||
|
||
# Env settings | ||
packer.env.json | ||
config.json | ||
config.yml | ||
|
||
# Webpack assets and autogenerated files | ||
/dist | ||
/src/snippets/style-tags.liquid | ||
/src/snippets/script-tags.liquid | ||
/src/assets/template.* | ||
/src/assets/layout.* | ||
/src/assets/vendors@* |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist/ | ||
node_modules/ | ||
styles/vendor | ||
styles/tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"plugins": [ | ||
"stylelint-scss", | ||
], | ||
"extends": [ | ||
"stylelint-config-recommended-scss", | ||
"stylelint-config-shopify", | ||
"stylelint-prettier/recommended", | ||
"stylelint-config-prettier" | ||
], | ||
"rules": { | ||
"color-no-hex": null, | ||
"indentation": 2, | ||
"max-nesting-depth": 2, | ||
"max-empty-lines": 1, | ||
"declaration-no-important": true, | ||
"selector-class-pattern": null, | ||
"selector-no-qualifying-type": null, | ||
"selector-max-type": null, | ||
"no-empty-source": null, | ||
"no-empty-first-line": true, | ||
"scss/selector-no-redundant-nesting-selector": true, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"types": [ | ||
{"type":"feat","section":":rocket: Features"}, | ||
{"type":"fix","section":":bug: Bug Fixes"}, | ||
{"type":"docs","section":":memo: Documentation"}, | ||
{"type":"wrench","section":":wrench: Config"}, | ||
{"type":"test","section":"Tests", "hidden": false}, | ||
{"type":"build","section":":memo: Build System", "hidden": false}, | ||
{"type":"ci","hidden":true}, | ||
{"type":"chore","hidden":true} | ||
], | ||
"skip" : { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
## <small>1.0.9 (2021-01-12)</small> | ||
|
||
* config: .versionrc file added ([f594230](https://github.com/hayes0724/packer-blank-theme/commit/f594230)) | ||
* Bump ini from 1.3.5 to 1.3.7 ([aa7e199](https://github.com/hayes0724/packer-blank-theme/commit/aa7e199)) | ||
* Fix missing double quote in layout/theme.liquid ([db9cc6d](https://github.com/hayes0724/packer-blank-theme/commit/db9cc6d)) | ||
* Update name to use "theme_info" object ([9914c4b](https://github.com/hayes0724/packer-blank-theme/commit/9914c4b)) | ||
|
||
|
||
|
||
## <small>1.0.8 (2020-12-11)</small> | ||
|
||
* chore: updated ignored files ([16a068b](https://github.com/hayes0724/packer-blank-theme/commit/16a068b)) | ||
* feat: body class set to template name and suffix ([f995581](https://github.com/hayes0724/packer-blank-theme/commit/f995581)) | ||
* docs: changelog added ([9130636](https://github.com/hayes0724/packer-blank-theme/commit/9130636)) | ||
|
||
|
||
|
||
## <small>1.0.7 (2020-10-05)</small> | ||
|
||
* feat: new config files: `packer.config.js` and `packer.env.json` ([9864655](https://github.com/hayes0724/packer-blank-theme/commit/9864655)) | ||
|
||
|
||
|
||
## <small>1.0.6 (2020-09-30)</small> | ||
|
||
* updated configurations and packages ([8471cf4](https://github.com/hayes0724/packer-blank-theme/commit/8471cf4)) | ||
|
||
|
||
|
||
## <small>1.0.5 (2020-09-28)</small> | ||
|
||
* entrypoint templates ([789a7b5](https://github.com/hayes0724/packer-blank-theme/commit/789a7b5)) | ||
|
||
|
||
|
||
## <small>1.0.4 (2020-09-28)</small> | ||
|
||
* .babelrc updated ([18b8d04](https://github.com/hayes0724/packer-blank-theme/commit/18b8d04)) | ||
|
||
|
||
|
||
## <small>1.0.3 (2020-09-28)</small> | ||
|
||
* analyze command added ([229df21](https://github.com/hayes0724/packer-blank-theme/commit/229df21)) | ||
|
||
|
||
|
||
## <small>1.0.2 (2020-09-23)</small> | ||
|
||
* Updated babel plugins ([3503673](https://github.com/hayes0724/packer-blank-theme/commit/3503673)) | ||
|
||
|
||
|
||
## <small>1.0.1 (2020-07-15)</small> | ||
|
||
* fixed typo in scripts ([1915ce0](https://github.com/hayes0724/packer-blank-theme/commit/1915ce0)) | ||
* npm scripts updated ([39a18a3](https://github.com/hayes0724/packer-blank-theme/commit/39a18a3)) | ||
* updated package.json scripts ([6c84a79](https://github.com/hayes0724/packer-blank-theme/commit/6c84a79)) | ||
* webpack merge files ([f701484](https://github.com/hayes0724/packer-blank-theme/commit/f701484)) | ||
|
||
|
||
|
||
## 1.0.0 (2020-06-19) | ||
|
||
* first commit ([a4c90f3](https://github.com/hayes0724/packer-blank-theme/commit/a4c90f3)) | ||
* Initial commit ([efffbf6](https://github.com/hayes0724/packer-blank-theme/commit/efffbf6)) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 Eric Hayes | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Packer Blank Theme | ||
An empty theme with the minimum requirements to upload to Shopify. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Modify default webpack dev config using this file | ||
const mergeDev = { | ||
module: { | ||
rules: [ | ||
|
||
], | ||
} | ||
} | ||
|
||
module.exports = mergeDev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"name": "packer-blank-tailwind", | ||
"version": "1.0.0", | ||
"description": "Blank tailwind based starting point with all the required files to upload to Shopify using Packer", | ||
"main": "index.js", | ||
"keywords": [ | ||
"shopify", | ||
"theme", | ||
"tailwind", | ||
"tailwindcss", | ||
"babel", | ||
"eslint", | ||
"stylelint", | ||
"packer", | ||
"shopify packer" | ||
], | ||
"browserslist": [ | ||
"defaults" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/hayes0724/packer-blank-tailwind.git" | ||
}, | ||
"scripts": { | ||
"start": "packer start", | ||
"watch": "packer start --skipFirstDeploy", | ||
"build": "packer build", | ||
"analyze": "packer build --analyze", | ||
"deploy": "packer build && packer deploy", | ||
"download": "packer download", | ||
"zip": "packer build && packer zip", | ||
"lint": "packer lint", | ||
"format": "packer format" | ||
}, | ||
"author": "Hayes Marketing Inc", | ||
"license": "MIT", | ||
"dependencies": { | ||
"tailwindcss": "1.9.6" | ||
}, | ||
"devDependencies": { | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-transform-async-to-generator": "^7.10.4", | ||
"@babel/plugin-transform-runtime": "^7.10.5", | ||
"@hayes0724/shopify-packer": "^2.0.4", | ||
"@shopify/babel-preset": "^23.1.0", | ||
"cssnano": "^4.1.10", | ||
"cssnano-preset-advanced": "^4.0.7", | ||
"cssnano-preset-default": "^4.0.7", | ||
"eslint-plugin-shopify": "^35.1.0", | ||
"postcss-preset-env": "^6.7.0", | ||
"prettier": "^2.0.5", | ||
"stylelint-config-recommended-scss": "^4.2.0", | ||
"stylelint-config-shopify": "^7.4.0", | ||
"stylelint-scss": "^3.18.0" | ||
}, | ||
"changelog": { | ||
"repo": "@hayes0724/packer-blank-tailwind", | ||
"labels": { | ||
"feat": ":rocket: Feature", | ||
"fix": ":bug: Bug Fix", | ||
"docs": ":memo: Documentation", | ||
"test": ":memo: Tests", | ||
"build": ":memo: Build", | ||
"refactor": ":memo: Refactor", | ||
"style": ":memo: Style", | ||
"internal": ":house: Internal", | ||
"config": ":wrench Config" | ||
}, | ||
"cacheDir": ".changelog" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Override default packer settings and config using this file | ||
module.exports = { | ||
// Add a reload delay before refreshing browser in ms, Shopify may need several seconds | ||
'network.reload': 0, | ||
// Add additional entrypoint | ||
'entrypoints': {}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"development": { | ||
"id": "", | ||
"password": "", | ||
"store": "", | ||
"ignore": [ | ||
"settings_data.json" | ||
] | ||
}, | ||
"live": { | ||
"id": "live", | ||
"password": "", | ||
"store": "", | ||
"ignore": [ | ||
"settings_data.json" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('tailwindcss'), | ||
require('postcss-preset-env'), | ||
require('cssnano')({ | ||
preset: 'advanced', | ||
}) | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Modify default webpack production config using this file | ||
const mergeProd = { | ||
module: { | ||
rules: [ | ||
|
||
], | ||
} | ||
} | ||
|
||
module.exports = mergeProd |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"current": "Default", | ||
"presets": { | ||
"Default": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"name": "theme_info", | ||
"theme_name": "Packer blank theme", | ||
"theme_version": "1.0.9", | ||
"theme_author": "Eric Hayes", | ||
"theme_documentation_url": "https://github.com/hayes0724/packer-blank-theme", | ||
"theme_support_url": "https://github.com/hayes0724/packer-blank-theme/issues" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!doctype html> | ||
<html lang="{{ shop.locale }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<meta name="theme-color" content=""> | ||
<link rel="canonical" href="{{ canonical_url }}"> | ||
|
||
<title>{{ shop.name }}</title> | ||
|
||
<meta name="description" content=""> | ||
|
||
{% render 'style-tags', layout: 'theme' %} | ||
{% render 'script-tags', layout: 'theme' %} | ||
|
||
{{ content_for_header }} | ||
</head> | ||
|
||
<body data-template="{{ template.name }}" data-template-suffix="{{ template.suffix }}"> | ||
{{ content_for_layout }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Oops, something went wrong.