Skip to content

Commit 57246e9

Browse files
committed
chore(map): merge in PSDTools/PHS-Map
2 parents bae4c38 + ae95658 commit 57246e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+9065
-0
lines changed

packages/phs-map/.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.yarn/releases/** binary
2+
/.yarn/plugins/** binary
3+
*.lockb diff=lockb
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Each line is a file pattern followed by one or more owners.
2+
3+
# These owners will be the default owners for everything in
4+
# the repo. Unless a later match takes precedence,
5+
# the global owners will be requested for
6+
# review when someone opens a pull request.
7+
* @ParkerH27
8+
9+
/.github/ @lishaduck
10+
/.prettier* @lishaduck
11+
/bun* @lishaduck
12+
/eslint.config.js @lishaduck
13+
/package.json @lishaduck
14+
/tsconfig.*json @lishaduck
15+
/turbo @lishaduck
16+
/vite.config.ts @lishaduck
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
# To get started with Dependabot version updates, you'll need to specify which
3+
# package ecosystems to update and where the package manifests are located.
4+
# Please see the documentation for all configuration options:
5+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "npm" # See documentation for possible values
10+
directory: "/" # Location of package manifests
11+
schedule:
12+
interval: "daily"
13+
assignees:
14+
- "lishaduck"
15+
groups:
16+
lint:
17+
patterns:
18+
- "@eslint-types/*"
19+
- "@sherifforg/*"
20+
- "eslint*"
21+
build:
22+
patterns:
23+
- "vite*"
24+
- "@vite-pwa/*"
25+
- "workbox*"
26+
- "browserslist*"
27+
- "*html-minifier-terser"
28+
- "lightningcss"
29+
- "turbo"
30+
fontawesome:
31+
patterns:
32+
- "@fortawesome/*"
33+
zod:
34+
patterns:
35+
- "zod*"
36+
- package-ecosystem: "github-actions" # See documentation for possible values
37+
directory: "/" # Location of package manifests
38+
schedule:
39+
interval: "daily"
40+
assignees:
41+
- "lishaduck"
42+
groups:
43+
github-actions:
44+
patterns:
45+
- "actions/*"
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
name: Deploy to GitHub Pages
3+
4+
env:
5+
CI: true
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
pull_request:
12+
types:
13+
- opened
14+
- synchronize
15+
- reopened
16+
merge_group:
17+
schedule:
18+
- cron: "0 14 * * 1" # every monday at 9 in the morning CST
19+
workflow_dispatch:
20+
21+
jobs:
22+
build:
23+
name: Build
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: 📚 Git checkout
27+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
28+
with:
29+
submodules: recursive
30+
clean: true
31+
persist-credentials: false
32+
set-safe-directory: true
33+
- name: 🥟 Install Bun
34+
uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1.1.0
35+
with:
36+
bun-version: 1.1.12
37+
- name: ⚙️ Cache Turbo
38+
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
39+
id: cache
40+
with:
41+
path: .turbo
42+
key: ${{ runner.os }}-turbo-${{ github.sha }}
43+
restore-keys: |
44+
${{ runner.os }}-turbo-
45+
- name: 📦 Install dependencies
46+
run: bun --bun install --frozen-lockfile
47+
env:
48+
SHARP_IGNORE_GLOBAL_LIBVIPS: 1
49+
- name: 🌐 Disable analytics
50+
run: bun --bun run turbo telemetry disable
51+
- name: 🔨 Build
52+
run: bun --bun run turbo build
53+
- name: 📃 Setup Pages
54+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
55+
- name: ⚙️ Upload Artifact
56+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
57+
with:
58+
path: "./dist/"
59+
60+
deploy:
61+
name: Deploy
62+
needs: [build]
63+
if: github.event_name == 'push'
64+
runs-on: ubuntu-latest
65+
timeout-minutes: 4
66+
permissions:
67+
pages: write
68+
id-token: write
69+
contents: read
70+
concurrency:
71+
group: "pages"
72+
cancel-in-progress: true
73+
environment:
74+
name: github-pages
75+
url: ${{ steps.deployment.outputs.page_url }}
76+
77+
steps:
78+
- name: 🔧 Deploy
79+
id: deployment
80+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

packages/phs-map/.gitignore

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# Misc
2+
dev-dist
3+
build
4+
types
5+
.turbo
6+
7+
# Logs
8+
logs
9+
*.log
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
lerna-debug.log*
14+
.pnpm-debug.log*
15+
vite.config.ts.timestamp-*.mjs
16+
17+
# Diagnostic reports (https://nodejs.org/api/report.html)
18+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
*.lcov
32+
33+
# nyc test coverage
34+
.nyc_output
35+
36+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
37+
.grunt
38+
39+
# Bower dependency directory (https://bower.io/)
40+
bower_components
41+
42+
# node-waf configuration
43+
.lock-wscript
44+
45+
# Compiled binary addons (https://nodejs.org/api/addons.html)
46+
build/Release
47+
48+
# Dependency directories
49+
node_modules/
50+
jspm_packages/
51+
52+
# Snowpack dependency directory (https://snowpack.dev/)
53+
web_modules/
54+
55+
# TypeScript cache
56+
*.tsbuildinfo
57+
58+
# Optional npm cache directory
59+
.npm
60+
61+
# Optional eslint cache
62+
.eslintcache
63+
64+
# Optional stylelint cache
65+
.stylelintcache
66+
67+
# Microbundle cache
68+
.rpt2_cache/
69+
.rts2_cache_cjs/
70+
.rts2_cache_es/
71+
.rts2_cache_umd/
72+
73+
# Optional REPL history
74+
.node_repl_history
75+
76+
# Output of 'npm pack'
77+
*.tgz
78+
79+
# Yarn Integrity file
80+
.yarn-integrity
81+
82+
# dotenv environment variable files
83+
.env
84+
.env.development.local
85+
.env.test.local
86+
.env.production.local
87+
.env.local
88+
89+
# parcel-bundler cache (https://parceljs.org/)
90+
.cache
91+
.parcel-cache
92+
93+
# Next.js build output
94+
.next
95+
out
96+
97+
# Nuxt.js build / generate output
98+
.nuxt
99+
dist
100+
101+
# Gatsby files
102+
.cache/
103+
# Comment in the public line in if your project uses Gatsby and not Next.js
104+
# https://nextjs.org/blog/next-9-1#public-directory-support
105+
# public
106+
107+
# vuepress build output
108+
.vuepress/dist
109+
110+
# vuepress v2.x temp and cache directory
111+
.temp
112+
.cache
113+
114+
# Docusaurus cache and generated files
115+
.docusaurus
116+
117+
# Serverless directories
118+
.serverless/
119+
120+
# FuseBox cache
121+
.fusebox/
122+
123+
# DynamoDB Local files
124+
.dynamodb/
125+
126+
# TernJS port file
127+
.tern-port
128+
129+
# Stores VSCode versions used for testing VSCode extensions
130+
.vscode-test
131+
132+
# yarn v2
133+
.pnp.*
134+
.yarn/*
135+
!.yarn/patches
136+
!.yarn/plugins
137+
!.yarn/releases
138+
!.yarn/versions

packages/phs-map/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v21.6.2

packages/phs-map/.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/node_modules/
2+
/dist/
3+
/build/
4+
/artifacts/
5+
/coverage/
6+
.git/
7+
turbo.json

packages/phs-map/.prettierrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"trailingComma": "all",
3+
"singleQuote": false,
4+
"semi": true,
5+
"tabWidth": 2,
6+
"useTabs": false,
7+
"endOfLine": "lf",
8+
"overrides": [
9+
{
10+
"files": [".prettierrc"],
11+
"options": {
12+
"parser": "json"
13+
}
14+
},
15+
{
16+
"files": ["tsconfig.json"],
17+
"options": {
18+
"trailingComma": "none"
19+
}
20+
}
21+
],
22+
"experimentalTernaries": true
23+
}

packages/phs-map/.replit

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
hidden=[".config"]
2+
3+
[nix]
4+
channel = "stable-21_11"
5+
6+
[languages.html]
7+
pattern = "**/*.html"
8+
[languages.html.languageServer]
9+
start = ["vscode-html-language-server", "--stdio"]
10+
[languages.html.languageServer.initializationOptions]
11+
provideFormatter = true
12+
[languages.html.languageServer.configuration.html]
13+
customData = [ ]
14+
autoCreateQuotes = true
15+
autoClosingTags = true
16+
mirrorCursorOnMatchingTag = false
17+
18+
[languages.html.languageServer.configuration.html.completion]
19+
attributeDefaultValue = "doublequotes"
20+
21+
[languages.html.languageServer.configuration.html.format]
22+
enable = true
23+
wrapLineLength = 120
24+
unformatted = "wbr"
25+
contentUnformatted = "pre,code,textarea"
26+
indentInnerHtml = false
27+
preserveNewLines = true
28+
indentHandlebars = false
29+
endWithNewline = false
30+
extraLiners = "head, body, /html"
31+
wrapAttributes = "auto"
32+
templating = false
33+
unformattedContentDelimiter = ""
34+
35+
[languages.html.languageServer.configuration.html.suggest]
36+
html5 = true
37+
38+
[languages.html.languageServer.configuration.html.validate]
39+
scripts = true
40+
styles = true
41+
42+
[languages.html.languageServer.configuration.html.hover]
43+
documentation = true
44+
references = true
45+
46+
[languages.html.languageServer.configuration.html.trace]
47+
server = "off"
48+
49+
[languages.javascript]
50+
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.mjs,*.cjs}"
51+
[languages.javascript.languageServer]
52+
start = ["typescript-language-server", "--stdio"]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
3+
}

0 commit comments

Comments
 (0)