Skip to content

Commit

Permalink
♻️ refactor: refactor to modules ans start over icons
Browse files Browse the repository at this point in the history
  • Loading branch information
TheElegantCoding committed Jul 30, 2023
1 parent 251f633 commit d9777b8
Show file tree
Hide file tree
Showing 608 changed files with 1,751 additions and 14,819 deletions.
10 changes: 8 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"root": true,
"extends": "typescript-coder-dev",
"extends": [
"aesthetic-coder",
"aesthetic-coder/typescript"
],
"rules": {
"@typescript-eslint/no-magic-numbers": "off"
"array-element-newline": [
"error",
"consistent"
]
}
}
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf

# JS and TS files must always use LF for tools to work
*.js eol=lf
*.jsx eol=lf
*.ts eol=lf
Expand Down
4 changes: 3 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
engine-strict=true
shell-emulator=true
shell-emulator=true
auto-install-peers=true
strict-peer-dependencies=false
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
v18.16.0
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
]
}
26 changes: 11 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
// 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",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
4 changes: 2 additions & 2 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ node_modules

# Source
.github/
.husky/
script/
.vscode/
src/
dist/
test/

# Dev config files
.nvmrc
Expand Down
4 changes: 4 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Todo

[ ] better readme
[ ] auto changelog
[ ] auto release

[ ] change the color of the folders
[ ] add svgo to compress icons
[ ] refactor to modules
2 changes: 1 addition & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"ignore": [
"./dist"
],
"exec": "ts-node ./src/index.ts"
"exec": "ts-node ./src/global/util/generate.ts"
}
50 changes: 39 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,39 +36,67 @@
"yarn": "please-use-pnpm",
"pnpm": ">=7.14.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension",
"scripts": {
"postinstall": "git config core.hooksPath ./script/git_hook",
"preinstall": "npx only-allow pnpm",
"postinstall": "git config core.hooksPath ./script/git_hook",
"type-check": "tsc --pretty --noEmit",
"lint": "eslint --ext .ts . --fix",
"dev": "nodemon",
"lint": "eslint --color --ext .js,.ts --fix",
"generate": "nodemon",
"build": "rimraf dist && tsc",
"package": "rimraf aesthetic-theme-0.0.1.vsix && vsce package --no-dependencies"
},
"contributes": {
"iconThemes": [
{
"id": "icon",
"id": "aesthetic-icon-theme",
"label": "Aesthetic icons",
"path": "./themes/aesthetic_icon_theme.json"
"path": "./dist/aesthetic_icon_theme.json",
"_watch": true
}
],
"themes": [
{
"label": "Aesthetic's Theme",
"uiTheme": "vs-dark",
"path": "./themes/aesthetic_dark_theme.json"
"path": "./dist/aesthetic_dark_theme.json"
}
],
"configuration": {
"type": "object",
"title": "%configuration.title%",
"properties": {
"aesthetic-theme.activeIconPack": {
"type": "string",
"default": "react",
"description": "%configuration.activeIconPack%",
"enumDescriptions": [
"%configuration.activeIconPack.react%",
"%configuration.activeIconPack.qwik%",
"%configuration.activeIconPack.none%"
],
"enum": [
"react",
"qwik",
"none"
]
}
}
]
}
},
"devDependencies": {
"@types/node": "^18.16.13",
"@vscode/vsce": "^2.19.0",
"eslint": "^8.41.0",
"@types/node": "^18.17.1",
"@types/vscode": "^1.80.0",
"@vscode/vsce": "^2.20.0",
"eslint": "^8.46.0",
"eslint-config-aesthetic-coder": "^1.2.14",
"eslint-config-typescript-coder-dev": "^0.0.2",
"nodemon": "^2.0.22",
"rimraf": "^4.4.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
"typescript": "^5.1.6"
}
}
Loading

0 comments on commit d9777b8

Please sign in to comment.