-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ initial commit with working polydock!
- Loading branch information
0 parents
commit 7fee62e
Showing
19 changed files
with
229,636 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", // Specifies the ESLint parser | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:import/errors", | ||
"plugin:import/warnings", | ||
"plugin:import/typescript", | ||
"prettier", | ||
"prettier/@typescript-eslint", | ||
"plugin:unicorn/recommended", | ||
"plugin:promise/recommended", | ||
], | ||
env: { | ||
node: true, | ||
browser: false, | ||
}, | ||
plugins: ["@typescript-eslint", "prettier", "import", "promise"], | ||
parserOptions: { | ||
ecmaVersion: 2019, // Allows for the parsing of modern ECMAScript features | ||
sourceType: "module", // Allows for the use of imports | ||
project: "./tsconfig.json", | ||
impliedStrict: true, | ||
createDefaultProgram: true, | ||
}, | ||
rules: { | ||
"array-callback-return": "error", | ||
"prefer-template": "warn", | ||
"prefer-promise-reject-errors": "error", | ||
"require-unicode-regexp": "error", | ||
yoda: "error", | ||
"prefer-spread": "error", | ||
"prettier/prettier": "warn", | ||
"unicorn/prevent-abbreviations": "off", | ||
"unicorn/explicit-length-check": "off", | ||
"unicorn/no-reduce": "off", | ||
"unicorn/consistent-function-scoping": "off", | ||
"lines-between-class-members": [ | ||
"error", | ||
"always", | ||
{ exceptAfterSingleLine: true }, | ||
], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/restrict-plus-operands": "off", | ||
"@typescript-eslint/restrict-template-expressions": "off", | ||
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }], | ||
}, | ||
} |
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,4 @@ | ||
node_modules | ||
lib | ||
.eslintcache | ||
.ultra.cache.json |
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,9 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"printWidth": 80, | ||
"trailingComma": "es5", | ||
"proseWrap": "preserve" | ||
} |
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,2 @@ | ||
#!/usr/bin/env node | ||
void require("../lib") |
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,37 @@ | ||
/* Reset CSS */ | ||
* { | ||
background-color: transparent; | ||
padding: 0; | ||
margin: 0; | ||
border-radius: 0; | ||
box-shadow: none; | ||
outline: none; | ||
} | ||
|
||
toolbar { | ||
background-color: rgba(255, 255, 255, 0.1); | ||
padding-left: 12px; | ||
padding-right: 12px; | ||
} | ||
|
||
toolbutton button { | ||
padding: 5px 6px; | ||
border: none; | ||
transition: 0.2s linear; | ||
transition-property: all; | ||
} | ||
|
||
toolbutton image { | ||
-gtk-icon-shadow: 1px 2px alpha(black, 0.2); | ||
} | ||
|
||
toolbutton button:hover { | ||
background-color: rgba(255, 255, 255, 0.4); | ||
border: none; | ||
} | ||
|
||
toolbutton.active-window button { | ||
/* margin-bottom: -4px; */ | ||
border-bottom: 2px solid white; | ||
padding-bottom: 2px; | ||
} |
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,66 @@ | ||
{ | ||
"name": "polydock", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"author": "", | ||
"license": "ISC", | ||
"bin": { | ||
"polydock": "bin/polydock.js" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"files": [ | ||
"lib", | ||
"bin", | ||
"*.md", | ||
"config" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"prepare-commit-msg": "npx --no-install devmoji -e --lint" | ||
} | ||
}, | ||
"scripts": { | ||
"prebuild": "pnpm run lint", | ||
"build": "npx tsc", | ||
"clean": "npx rimraf lib coverage *.log build 0x", | ||
"lint": "npx eslint bin/*.js src/*.ts --cache", | ||
"lint:fix": "pnpm run lint:eslint --fix" | ||
}, | ||
"ultra": { | ||
"concurrent": [ | ||
"lint", | ||
"prebuild", | ||
"ultra" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@types/eslint": "^6.8.1", | ||
"@types/eslint-plugin-prettier": "3.1.0", | ||
"@types/node": "^14.0.6", | ||
"@types/prettier": "^2.0.1", | ||
"@types/rimraf": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "3.0.2", | ||
"@typescript-eslint/parser": "3.0.2", | ||
"devmoji": "^2.1.9", | ||
"eslint": "^7.1.0", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-import": "2.20.2", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-prettier": "3.1.3", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-unicorn": "20.1.0", | ||
"husky": "4.2.5", | ||
"node-gtk": "^0.4.0", | ||
"prettier": "^2.0.5", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^3.9.3", | ||
"typesync": "^0.7.0" | ||
}, | ||
"dependencies": { | ||
"node-gtk": "^0.4.0", | ||
"tslib": "^2.0.0" | ||
} | ||
} |
Oops, something went wrong.