Skip to content

Commit 510db96

Browse files
authored
Merge pull request #11 from uicrooks/dev
v2.1.3
2 parents 8d7fb38 + 9b2fc7f commit 510db96

File tree

16 files changed

+25
-25
lines changed

16 files changed

+25
-25
lines changed

.config/.browserslistrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# docs: https://www.npmjs.com/package/browserslist
2-
# run '$ npx browserslist' in .config/ directory to see what browsers are selected by your queries for [production].
2+
# run '$ npx browserslist' in .config/ directory to see wich browsers are selected by your queries for [production].
33

44
[development]
55
last 2 chrome versions

.config/plugins/reloadr/reloadr.client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const options = require('./reloadr.config.js')
2-
let initialConnectionClose = true // allows to display disonnected error only once on 'close' event
2+
let initialConnectionClose = true // allows displaying disconnected error only once on 'close' event
33

44
initReloadrClient = () => {
55
const socket = new WebSocket(`ws://localhost:${options.websocketPort}`)
@@ -39,7 +39,7 @@ initReloadrClient = () => {
3939
}
4040

4141
/**
42-
* auto load in browser
42+
* autoload in the browser
4343
*/
4444
(() => {
4545
if (window) initReloadrClient()

.config/plugins/reloadr/reloadr.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const package = require('../../../package.json')
22

33
// load values from package.json
44
module.exports = {
5-
serverPort: package.config.reloadr.serverPort || 5000, // port for communication with shopify themekit
5+
serverPort: package.config.reloadr.serverPort || 5000, // port for communication with Shopify themekit
66
websocketPort: package.config.reloadr.websocketPort || 5050, // port for communication with reloadr client
7-
delay: package.config.reloadr.delay || 2000 // delay the auto reload by milliseonds
7+
delay: package.config.reloadr.delay || 2000 // delay the auto-reload by milliseconds
88
}

.config/plugins/reloadr/reloadr.server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const log = (msg) => {
1212

1313
/**
1414
* create websocket server
15-
* for remote shopify theme
15+
* for remote Shopify theme
1616
*/
1717
const wss = new WebSocket.Server({ port: options.websocketPort })
1818

@@ -23,7 +23,7 @@ wss.broadcast = (msg) => {
2323
}
2424

2525
/**
26-
* create http server
26+
* create HTTP server
2727
* for themekit notify requests
2828
*/
2929
http.createServer((req, res) => {

.config/plugins/shopify/theme.init.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* this is a script to quickly initialize the local development environment and a remote shopify theme
2+
* this is a script to quickly initialize the local development environment and a remote Shopify theme
33
*/
44
const path = require('path')
55
const fs = require('fs-extra')
@@ -10,7 +10,7 @@ const chalk = require('chalk')
1010
const themeKit = require('@shopify/themekit') // node wrapper for https://shopify.github.io/themekit
1111

1212
/**
13-
* get command line arguments
13+
* get command-line arguments
1414
*/
1515
const optionDefinitions = [
1616
{ name: 'env', alias: 'e', type: String, defaultValue: 'dev' },
@@ -39,7 +39,7 @@ const configPath = path.resolve(__dirname, `../../shopify/shopify.${options.env}
3939
let themeId // assigned after remote initialization
4040

4141
/**
42-
* function initializes local config and remote shopify theme
42+
* function initializes local config and a remote Shopify theme
4343
*/
4444
const initTheme = async () => {
4545
// initialize empty theme on shopify store
@@ -70,7 +70,7 @@ const initTheme = async () => {
7070
}
7171
})
7272

73-
// write shopify config file
73+
// write Shopify config file
7474
try {
7575
await fs.outputFile(configPath, yamlConfig)
7676
} catch (e) {
@@ -93,7 +93,7 @@ const initTheme = async () => {
9393
process.exit(1)
9494
}
9595

96-
// upload shopify theme to remote
96+
// upload Shopify theme to remote
9797
try {
9898
await themeKit.command('deploy', {
9999
config: configPath,

.config/postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
require('tailwindcss')(path.resolve(__dirname, '../src/tailwind.config.js')),
77
require('autoprefixer'),
88
/**
9-
* use tomorrow’s CSS today.
9+
* use tomorrow’s CSS today
1010
* docs: https://preset-env.cssdb.org/features
1111
*/
1212
require('postcss-preset-env')({ stage: 1 })

.config/shopify/shopify.sample.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# this is a sample file for illustration purposes and can be safely deleted
2-
# run shopify:init to initialize a new shopify config
2+
# run shopify:init to initialize a new Shopify config
33
dev:
44
password: [your-api-password]
55
theme_id: "[your-theme-id]"

.config/webpack/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = {
4545
plugins: [
4646
new ProgressPlugin(),
4747
/**
48-
* don't clean files with 'static' keyword in their filename
48+
* don't clean files with the 'static' keyword in their filename
4949
* docs: https://github.com/johnagan/clean-webpack-plugin
5050
*/
5151
new CleanWebpackPlugin({

.config/webpack/webpack.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = merge(common, {
6464
},
6565
plugins: [
6666
/**
67-
* docs: https://webpack.js.org/plugins/mini-css-extract-plugin/
67+
* docs: https://webpack.js.org/plugins/mini-css-extract-plugin
6868
*/
6969
new MiniCssExtractPlugin({
7070
filename: './bundle.css',

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# system files and folders
22
node_modules/
3-
.DS_STORE
3+
.DS_Store
44
*.log
55

66
# shopify config files

0 commit comments

Comments
 (0)