Skip to content

Commit

Permalink
restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
panoply committed Mar 12, 2024
1 parent 420f43b commit 6c2d0cd
Show file tree
Hide file tree
Showing 60 changed files with 19,491 additions and 9,001 deletions.
6 changes: 3 additions & 3 deletions .liquidrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"files": {
"includes": [
"./docs/src/views/include/*.liquid"
],
"data": [
"./docs/src/data/*.json"
]
},
"format": {
Expand All @@ -11,9 +14,6 @@
"indentSize": 2,
"preserveLine": 1,
"endNewline": false,
"ignore": [
"./docs/src/views/include/pages/*.liquid"
],
"liquid": {
"commentIndent": true,
"commentNewline": true,
Expand Down
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
node_modules/
docs/
test/
src/

# FILES
tsup.config.ts
tsconfig.json
pnpm-lock.yaml

# DOT FILES
.gitignore
.prettierignore
.npmignore

# MARKDOWN
changelog.md
readme.md
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

113 changes: 0 additions & 113 deletions .vscode/custom-data/drawer.html-data.json

This file was deleted.

18 changes: 3 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"npm.packageManager": "pnpm",
"prettier.ignorePath": ".prettierignore",
"stylelint.validate": [
"scss",
"sass",
Expand Down Expand Up @@ -246,39 +248,25 @@
]
},
},
"html.customData": [
"./.vscode/custom-data/drawer.html-data.json",
],
"json.schemas": [
{
"fileMatch": [
"./docs/public/search.json"
],
"schema": {}
}
],
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit"
},
"[liquid]": {
"editor.defaultFormatter": "sissel.shopify-liquid",
"editor.formatOnSave": true
},
"npm.packageManager": "pnpm",
"[typescript]": {
"editor.parameterHints.enabled": true,
"editor.suggest.showModules": true
},
"prettier.ignorePath": ".prettierignore",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/test/public": true,
"**/test/unit": true
"**/pnpm-lock.yaml": true
},
"cSpell.words": [
"Alexey",
Expand Down
1 change: 0 additions & 1 deletion docs/.npmrc

This file was deleted.

9 changes: 3 additions & 6 deletions docs/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
[build]
publish = "public"

[build.environment]
NPM_FLAGS = "--prefix=/dev/null"
publish = "public"

[[headers]]
for = "/*"
for = "/*"

[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Origin = "*"
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "spx-docs",
"name": "@spx/docs",
"version": "1.0.0",
"private": true,
"description": "SPX Documentation",
"homepage": "https://spx.js.org",
"license": "MIT",
"author": "ΝΙΚΟΛΑΣ ΣΑΒΒΙΔΗΣ",
"scripts": {
"dev": "rm -rf public && concurrently \"pnpm run 11ty:watch\" \"pnpm run sass:watch\" \"pnpm run sass-examples:watch\" \"pnpm tsup:watch\"",
"dev": "rm -rf public && concurrently \"pnpm run 11ty:watch\" \"pnpm run sass:watch\" \"pnpm tsup:watch\"",
"stage": "netlify dev -c \"eleventy --watch --serve --watch\" --targetPort 8080",
"build": "rm -rf public && pnpm run 11ty:build && pnpm run sass:build && pnpm run postcss && pnpm run tsup:build",
"postcss": "postcss public/style.css -r --no-map",
"release": "netlify build && netlify deploy",
"11ty:watch": "eleventy --config=.eleventy.cjs --serve --watch",
"11ty:watch": "eleventy --config=.eleventy.cjs --serve --watch --quiet --incremental",
"11ty:build": "ENV=prod eleventy --config=.eleventy.cjs ",
"tsup:watch": "tsup --watch",
"tsup:build": "tsup --minify --env.NODE_ENV production",
Expand All @@ -28,14 +28,14 @@
]
},
"dependencies": {
"@brixtol/bootstrap": "workspace:^",
"fuse.js": "^7.0.0",
"qvp": "^0.3.2",
"relapse": "^0.8.1",
"spx": "workspace:0.1.2-beta.1"
"spx": "link:.."
},
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@brixtol/bootstrap": "^1.7.2",
"@fullhuman/postcss-purgecss": "^5.0.0",
"@panoply/11ty": "^0.3.0",
"@sissel/11ty": "^0.2.2",
Expand Down
Loading

0 comments on commit 6c2d0cd

Please sign in to comment.