Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhmid committed Feb 1, 2023
0 parents commit 1c77f61
Show file tree
Hide file tree
Showing 108 changed files with 8,970 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true
quote_type = double
max_line_length = 80
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms
github: [adamhmid]
custom: https://paypal.me/adamhmid
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Bug report 🐛
description: Something not working as expected? This is the place to report your issue.
labels:
- "bug"
body:
- type: markdown
attributes:
value: |
# Hi there! :wave:
Thanks for taking the time to fill out this bug report.
- type: textarea
id: description
attributes:
label: Description
description: "Tell us more about the problem that you're running into. If possible attach a screenshot or video."
placeholder: What did you see? What did you expect to see?
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: "How do we reproduce the error you described above? Does an additional extension need to be installed? For issues with syntax highlighting, consider adding some example code and the language being used."
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. Type '....'
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: "What version of `midnight-synth-purple-vscode` are you using?"
placeholder: v1.1.0
validations:
required: true
- type: dropdown
id: theme
attributes:
label: Theme
description: In which themes(s) are you experiencing the issue?
multiple: true
options:
- Midnight Synth Purple (dark)
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Release

on:
workflow_dispatch:

jobs:
release:
if: ${{ github.ref == 'refs/heads/main' }}
# permissions:
# contents: write # to be able to publish a GitHub release
# issues: write # to be able to comment on released issues
# pull-requests: write # to be able to comment on released pull requests

runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3.3.0
with:
fetch-depth: 0

- name: Use Node.js v18.13.0 💎
uses: actions/setup-node@v3.6.0
with:
node-version: 18.13.0

- name: Install dependencies 📦
run: |
curl -L https://get.pnpm.io/v6.16.js | node - add --global pnpm@next-7 npm@9
pnpm install
- name: Bump version in package.json ⬆️
uses: phips28/gh-action-bump-version@v9.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
skip-tag: "true"
commit-message: "chore(release): {{version}} [skip ci]"

- name: Publish release 🚀
run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
59 changes: 59 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# NPM #
##########
# Ignore all directories called node_modules in current folder and any subfolders.
node_modules/
/node_modules/
.pnpm-store/

# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz
*.map
*.vsix

# Logs and databases #
######################
*.log
*.sql
!/demo/sql.sql
*.env
!demo/dot.env

# OS generated files #
######################
**.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
._*
settings.dat

# Vim generated files #
######################
*.un~

# SASS #
##########
**/.sass-cache
**/.sass-cache/*
**/.map

# Composer #
##########
!assets/js/vendor/
wpcs/
/vendor/


# Project related
#################
images/inspire.png
75 changes: 75 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# NPM #
##########
# Ignore all directories called node_modules in current folder and any subfolders.
node_modules/
/node_modules/

# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz
*.map

# Logs and databases #
######################
*.log
*.sql
*.env

# OS generated files #
######################
**.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
._*

# Vim generated files #
######################
*.un~

# SASS #
##########
**/.sass-cache
**/.sass-cache/*
**/.map

# Composer #
##########
!assets/js/vendor/
wpcs/
/vendor/

# Bower #
##########
assets/bower_components/*

# Codekit #
##########
/codekit-config.json
*.codekit
**.codekit-cache/*

# Compiled Files and Build Dirs #
##########
/README.html

# PhpStrom Project Files #
.idea/
library/vendors/composer
assets/img/.DS_Store

# NPM Ignore.
/imgages
/demo
/.vscode
images/shades-of-purple.gif
images/shades-of-purple.jpg
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
12 changes: 12 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 80,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
35 changes: 35 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"]
}
],
[
"semantic-release-vsce",
{
"packageVsix": true
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "*.vsix"
}
]
}
]
]
}
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"]
}
]
}
46 changes: 46 additions & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
dom
phpcs
Konsole
Palenight
Ayu
js
jsx
tsx
ahmadawais
vscode
CHANGELOG
hbs
clrc
md
vsce
changelog
ci
npx
json
yaml
phpdoc
cs
getstarted
visualstudio
Tabstop
jsdoc
ts
setext
viewlet
textPreformat
toc
GRAPHQL
graphql
Prisma
Blockquote
regexp
Exp
mysqli
npm
github
dockerfile
toml
fn
Rust
Rus
Destructure
13 changes: 13 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Ignore everything.
*
*/**

# Whitelist what you need.
!images/icon/logo.png
!themes
!themes/*
!package.json
!CHANGELOG.md
!CODE-OF-CONDUCT.md
!LICENSE.md
!README.md
Loading

0 comments on commit 1c77f61

Please sign in to comment.