Skip to content

Commit

Permalink
Merge pull request #57 from panoply/dev
Browse files Browse the repository at this point in the history
Various Patches
  • Loading branch information
panoply authored Jul 16, 2023
2 parents ec04876 + 18feb63 commit 778de70
Show file tree
Hide file tree
Showing 167 changed files with 16,458 additions and 9,646 deletions.
96 changes: 96 additions & 0 deletions .liquidrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"engine": "11ty",
"files": {
"data": [
"./docs/src/data/*.js"
],
"includes": [
"./docs/src/views/include/*.liquid"
]
},
"format": {
"wrap": 120,
"crlf": false,
"indentSize": 2,
"preserveLine": 1,
"endNewline": false,
"wrapFraction": 90,
"liquid": {
"commentIndent": true,
"commentNewline": true,
"dedentTagList": [
"schema"
],
"delimiterPlacement": "preserve",
"delimiterTrims": "never",
"lineBreakSeparator": "before",
"indentAttribute": true,
"normalizeSpacing": true,
"preserveComment": false,
"quoteConvert": "single",
"ignoreTagList": [
"capture"
],
"forceFilter": 3,
"forceArgument": 3
},
"markup": {
"quoteConvert": "double",
"lineBreakValue": "preserve",
"commentNewline": true,
"attributeSort": [
"method",
"accept-charset",
"type",
"for",
"name",
"href",
"itemscope",
"itemprop",
"src",
"spx-",
"data-src",
"alt",
"loading",
"title",
"id",
"class",
"aria-label",
"aria-hidden",
"data-controller",
"height",
"width"
],
"forceAttribute": 2,
"delimiterTerminus": "inline",
"ignoreJS": false,
"preserveText": false
},
"json": {
"braceAllman": true,
"arrayFormat": "indent",
"objectIndent": "indent"
},
"style": {
"correct": true,
"commentNewline": true,
"commentIndent": true,
"noLeadZero": true,
"quoteConvert": "single",
"classPadding": true
},
"script": {
"correct": true,
"arrayFormat": "indent",
"objectIndent": "indent",
"methodChain": 3,
"caseSpace": true,
"quoteConvert": "single",
"elseNewline": true,
"functionNameSpace": true,
"functionSpace": true,
"commentNewline": true,
"noCaseIndent": true
}
}
}
24 changes: 17 additions & 7 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
# DIRECTORIES
# --------------------
stores
versions

.vscode
src
tests
docs
versions

# BUILD FILES

# FILES
# -------------------
rollup.config.mjs
.pnpm-debug.log
tsconfig.json
tsup.config.ts

# MARKDOWN FILES

readme.md
changelog.md

# DOT FILES

.npmignore
.npmrc
.gitignore
.liquidrc
.pnpm-lock.yaml
.pnpm-debug.log
108 changes: 101 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,61 @@
"cSpell.words": [
"Æsthetic",
"aestheticignore",
"aliqua",
"aliquip",
"Amato",
"ANTLR",
"aute",
"cillum",
"commodo",
"consequat",
"cupidatat",
"deserunt",
"Duis",
"endcase",
"endcustom",
"endfor",
"endrandom",
"enim",
"estheticignore",
"estheticrc",
"Excepteur",
"fugiat",
"irure",
"laboris",
"laborum",
"linebreak",
"mollit",
"nostrud",
"nulla",
"occaecat",
"officia",
"pariatur",
"proident",
"quis",
"reprehenderit",
"sint",
"stylelint",
"toets"
"sunt",
"toets",
"ullamco",
"velit",
"veniam",
"voluptate"
],
"json.schemas": [
{
"fileMatch": [
"package.json"
],
"url": "./schema.json"
},
{
"url": "https://unpkg.com/tsup/schema.json",
"fileMatch": [
"package.json",
"tsup.config.json"
]
}
],
"files.exclude": {
Expand All @@ -29,8 +66,8 @@
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/LICENSE":true,
//"**/node_modules": true
"**/LICENSE": true,
//"**/node_modules": true
},
"workbench.colorCustomizations": {
"window.inactiveBorder": "#00aeff",
Expand All @@ -44,6 +81,60 @@
}
]
},
"(:{3,4})": {
"regexFlags": "g",
"decorations": [
{
"color": "#E91E63"
}
]
},
"(?<=:{3,4}\\s)(grid|rule|note)": {
"decorations": [
{
"color": "#81D4FA",
"fontWeight": "900"
}
]
},
"(?<=:{3,4}[a-z ]+)([colsxmd0-9-]+)": {
"regexFlags": "g",
"decorations": [
{
"color": "#91EBC2",
"isWholeLine": true
}
]
},
"(```)(json)(\\:)(rules)(\\@)?(range)?(\\:)?(\\w+)?": {
"regexFlags": "g",
"decorations": [
{
"color": "#FAFAFA",
},
{
"color": "#FAFAFA",
},
{
"color": "#9EE34F",
},
{
"color": "#F48FB1",
},
{
"color": "#9EE34F",
},
{
"color": "#F48FB1",
},
{
"color": "#9EE34F",
},
{
"color": "#F48FB1",
}
]
},
"^(-{3})([\\s\\S]*)(-{3})": {
"regexFlags": "g",
"filterFileRegex": "tests/.*\\.(html|liquid|css|scss|js|ts|xml)",
Expand All @@ -61,10 +152,14 @@
]
}
},
"liquid.engine": "11ty",
"liquid.config.method": "workspace",
"liquid.format.ignore": [
"tests/samples/**"
],
"liquid.format.rules": {
"wrap": 120,
"wrapFraction": 80,
"liquid": {
"commentIndent": true,
"commentNewline": true,
Expand All @@ -74,20 +169,19 @@
"normalizeSpacing": true,
"preserveComment": false,
"quoteConvert": "single",
"valueForce": "intent"
"forceFilter": 3,
"forceArgument": 4
},
"markup": {
"quoteConvert": "double",
"commentNewline": true,
"forceIndent": true,
"ignoreJS": false,
"attributeSortList": [],
"forceAttribute": 2
}
},
"[liquid]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "sissel.shopify-liquid"
}

}
}
Loading

0 comments on commit 778de70

Please sign in to comment.