-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from themerdev/npm
V5
- Loading branch information
Showing
597 changed files
with
95,903 additions
and
46,317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
FROM node:14 | ||
FROM node:18 | ||
|
||
RUN npm install -g npm | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,16 +39,15 @@ Please fill out the following information if you are using the web UI at [themer | |
- Browser [e.g. Chrome, Safari]: | ||
- Browser version [e.g. 22]: | ||
|
||
## CLI | ||
## CLI or API | ||
|
||
Please fill out the following information if you are using the command-line interface. For the web UI, you can delete this section. | ||
Please fill out the following information if you are using the command-line interface or programmatic API. For the web UI, you can delete this section. | ||
|
||
- Device [e.g. iPhone6, MacBook Pro]: | ||
- OS [e.g. iOS, macOS]: | ||
- OS version [e.g. 14.0]: | ||
- Node version [e.g. 14.4.0]: | ||
- `themer` version [e.g. 3.3.4]: | ||
- Other `themer` packages and their versions [e.g. `@themerdev/[email protected]`]: | ||
- `themer` version [e.g. 5.0.0]: | ||
|
||
# Additional context | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"Color Set": { | ||
"scope": "typescript", | ||
"prefix": "color-set", | ||
"body": [ | ||
"import type { ColorSet } from './index.js';", | ||
"", | ||
"const colors: ColorSet = {", | ||
" name: '$1',", | ||
" variants: {", | ||
" $2", | ||
" },", | ||
"};", | ||
"", | ||
"export default colors;", | ||
"$0" | ||
] | ||
}, | ||
"Template": { | ||
"scope": "typescript", | ||
"prefix": "template", | ||
"body": [ | ||
"import type { Template } from './index.js';", | ||
"import { colorSetToVariants } from '../color-set/index.js';", | ||
"", | ||
"const template: Template = {", | ||
" name: '$1',", | ||
" render: async function* (colorSet) {", | ||
" const variants = colorSetToVariants(colorSet);", | ||
" for (const variant of variants) {", | ||
" $2", | ||
" }", | ||
" },", | ||
" renderInstructions: (paths) => {", | ||
" $3", | ||
" },", | ||
"};", | ||
"", | ||
"export default template;", | ||
"$0" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"esbenp.prettier-vscode", | ||
"streetsidesoftware.code-spell-checker" | ||
], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,110 +1,35 @@ | ||
{ | ||
// 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": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug current test", | ||
"cwd": "${workspaceFolder}/cli", | ||
"program": "node_modules/.bin/jest", | ||
"args": ["--runInBand", "${relativeFile}"] | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Run", | ||
"skipFiles": ["<node_internals>/**"], | ||
"cwd": "${workspaceFolder}/cli/packages", | ||
"program": "./themer/lib/index.js", | ||
"name": "Run CLI", | ||
"cwd": "${workspaceFolder}/cli/", | ||
"program": "./dist/bin.js", | ||
"args": [ | ||
"-c", | ||
"./${input:colorSet}", | ||
"-t", | ||
"./${input:template}", | ||
"-o", | ||
"${workspaceFolder}/cli/tmp" | ||
] | ||
"--color-set", | ||
"${input:colorSet}", | ||
"--template", | ||
"${input:template}", | ||
"--output", | ||
"tmp" | ||
], | ||
"preLaunchTask": "build cli" | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"id": "colorSet", | ||
"type": "pickString", | ||
"description": "Color set package", | ||
"options": [ | ||
"colors-default", | ||
"colors-dracula", | ||
"colors-finger-paint", | ||
"colors-github-universe", | ||
"colors-green-as-a-whistle", | ||
"colors-lucid", | ||
"colors-mojave", | ||
"colors-monkey", | ||
"colors-night-sky", | ||
"colors-nova", | ||
"colors-one", | ||
"colors-polar-ice", | ||
"colors-right-in-the-teals", | ||
"colors-rivet", | ||
"colors-seti", | ||
"colors-solarized" | ||
], | ||
"default": "colors-default" | ||
"description": "Color set to render", | ||
"type": "promptString", | ||
"default": "*" | ||
}, | ||
{ | ||
"id": "template", | ||
"type": "pickString", | ||
"description": "Template package", | ||
"options": [ | ||
"alacritty", | ||
"alfred", | ||
"atom-syntax", | ||
"atom-ui", | ||
"bbedit", | ||
"brave", | ||
"chrome", | ||
"cmd", | ||
"conemu", | ||
"css", | ||
"emacs", | ||
"firefox-addon", | ||
"firefox-color", | ||
"hyper", | ||
"iterm", | ||
"kde-plasma-colors", | ||
"kitty", | ||
"konsole", | ||
"preview-code", | ||
"preview-inline", | ||
"preview-swatch", | ||
"prism", | ||
"sketch-palettes", | ||
"slack", | ||
"sublime-text", | ||
"terminal", | ||
"terminator", | ||
"vim", | ||
"vim-lightline", | ||
"visual-studio", | ||
"vscode", | ||
"wallpaper-block-wave", | ||
"wallpaper-burst", | ||
"wallpaper-circuits", | ||
"wallpaper-diamonds", | ||
"wallpaper-dot-grid", | ||
"wallpaper-octagon", | ||
"wallpaper-shirts", | ||
"wallpaper-triangles", | ||
"wallpaper-trianglify", | ||
"warp", | ||
"windows-terminal", | ||
"wox", | ||
"xcode", | ||
"xresources" | ||
] | ||
"description": "Template to render", | ||
"type": "promptString", | ||
"default": "*" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true | ||
"editor.formatOnSave": true, | ||
"cSpell.words": [ | ||
"alacritty", | ||
"bbedit", | ||
"chriskempson", | ||
"conemu", | ||
"dotfiles", | ||
"iterm", | ||
"Jamstacker", | ||
"keypirinha", | ||
"konsole", | ||
"lightline", | ||
"seti", | ||
"themer", | ||
"themerdev", | ||
"trevordmiller", | ||
"trianglify", | ||
"xresources" | ||
] | ||
} |
Oops, something went wrong.