-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
824 additions
and
660 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
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
module.exports = { | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier" | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
extends: [ | ||
'plugin:prettier/recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
'prettier', | ||
], | ||
"rules": { | ||
"semi": ["error", "never"], | ||
"no-debugger": "off", | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
"camelcase": "off", | ||
"@typescript-eslint/camelcase": "off" | ||
rules: { | ||
semi: ['error', 'never'], | ||
'no-debugger': 'off', | ||
'@typescript-eslint/triple-slash-reference': 'off', | ||
camelcase: 'off', | ||
'@typescript-eslint/camelcase': 'off', | ||
}, | ||
"parserOptions": { | ||
"tsconfigRootDir": __dirname, | ||
"project": ["./tsconfig.json"] | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ['./tsconfig.json'], | ||
}, | ||
globals: { | ||
imports: true, | ||
}, | ||
"globals": { | ||
"imports": true | ||
} | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"semi": false, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 4 | ||
"semi": false, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 4 | ||
} |
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 |
---|---|---|
|
@@ -19,4 +19,3 @@ | |
# Library | ||
|
||
Node.js library to generate Typescript Type Definition files for Gjs and node-gtk. | ||
|
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,67 +1,67 @@ | ||
{ | ||
"name": "@ts-for-gir/lib", | ||
"version": "3.2.3", | ||
"description": "Typescript .d.ts generator from GIR for gjs", | ||
"module": "lib/index.js", | ||
"main": "lib/index.js", | ||
"type": "module", | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"scripts": { | ||
"build": "yarn lint && yarn build:ts", | ||
"build:ts": "tsc", | ||
"clear": "yarn clear:build", | ||
"clear:build": "rimraf ./lib", | ||
"watch": "yarn build:ts --watch", | ||
"lint": "eslint . --ext .ts,.tsx --fix", | ||
"update-package-descriptions": "wget https://raw.githubusercontent.com/vala-lang/valadoc-org/master/documentation/packages.xml" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/gjsify/ts-for-gir.git" | ||
}, | ||
"author": "Pascal Garber <[email protected]>", | ||
"files": [ | ||
"lib" | ||
], | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/gjsify/ts-for-gir/issues" | ||
}, | ||
"homepage": "https://github.com/gjsify/ts-for-gir#readme", | ||
"keywords": [ | ||
"gjs", | ||
"typescript", | ||
"generate", | ||
"gir", | ||
"gobject-introspection", | ||
"gnome", | ||
"gtk", | ||
"glib", | ||
"gobject", | ||
"dts", | ||
"type definitions" | ||
], | ||
"devDependencies": { | ||
"@types/ejs": "^3.1.4", | ||
"@types/eslint": "8.44.6", | ||
"@types/lodash": "^4.14.200", | ||
"@types/node": "^20.8.10", | ||
"@types/xml2js": "^0.4.13", | ||
"@typescript-eslint/eslint-plugin": "^6.9.1", | ||
"@typescript-eslint/parser": "^6.9.1", | ||
"eslint": "^8.52.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"colorette": "^2.0.20", | ||
"ejs": "^3.1.9", | ||
"lodash": "^4.17.21", | ||
"xml2js": "0.6.2" | ||
} | ||
"name": "@ts-for-gir/lib", | ||
"version": "3.2.3", | ||
"description": "Typescript .d.ts generator from GIR for gjs", | ||
"module": "lib/index.js", | ||
"main": "lib/index.js", | ||
"type": "module", | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"scripts": { | ||
"build": "yarn lint && yarn build:ts", | ||
"build:ts": "tsc", | ||
"clear": "yarn clear:build", | ||
"clear:build": "rimraf ./lib", | ||
"watch": "yarn build:ts --watch", | ||
"lint": "eslint . --ext .ts,.tsx --fix", | ||
"update-package-descriptions": "wget https://raw.githubusercontent.com/vala-lang/valadoc-org/master/documentation/packages.xml" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/gjsify/ts-for-gir.git" | ||
}, | ||
"author": "Pascal Garber <[email protected]>", | ||
"files": [ | ||
"lib" | ||
], | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/gjsify/ts-for-gir/issues" | ||
}, | ||
"homepage": "https://github.com/gjsify/ts-for-gir#readme", | ||
"keywords": [ | ||
"gjs", | ||
"typescript", | ||
"generate", | ||
"gir", | ||
"gobject-introspection", | ||
"gnome", | ||
"gtk", | ||
"glib", | ||
"gobject", | ||
"dts", | ||
"type definitions" | ||
], | ||
"devDependencies": { | ||
"@types/ejs": "^3.1.4", | ||
"@types/eslint": "8.44.6", | ||
"@types/lodash": "^4.14.200", | ||
"@types/node": "^20.8.10", | ||
"@types/xml2js": "^0.4.13", | ||
"@typescript-eslint/eslint-plugin": "^6.9.1", | ||
"@typescript-eslint/parser": "^6.9.1", | ||
"eslint": "^8.52.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.5", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"colorette": "^2.0.20", | ||
"ejs": "^3.1.9", | ||
"lodash": "^4.17.21", | ||
"xml2js": "0.6.2" | ||
} | ||
} |
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,26 @@ | ||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier" | ||
], | ||
rules: { | ||
semi: ["error", "always"], | ||
quotes: ["error", "double", { avoidEscape: true }], | ||
"no-debugger": "off", | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
camelcase: "off", | ||
"@typescript-eslint/camelcase": "off" | ||
}, | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ["../../tsconfig.json"] | ||
}, | ||
globals: { | ||
imports: true | ||
} | ||
}; |
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 |
---|---|---|
|
@@ -5,5 +5,4 @@ | |
"singleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 4 | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,26 @@ | ||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier" | ||
], | ||
rules: { | ||
semi: ["error", "always"], | ||
quotes: ["error", "double", { avoidEscape: true }], | ||
"no-debugger": "off", | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
camelcase: "off", | ||
"@typescript-eslint/camelcase": "off" | ||
}, | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ["../../tsconfig.json"] | ||
}, | ||
globals: { | ||
imports: true | ||
} | ||
}; |
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,8 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"singleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 4 | ||
} |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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,26 @@ | ||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier" | ||
], | ||
rules: { | ||
semi: ["error", "always"], | ||
quotes: ["error", "double", { avoidEscape: true }], | ||
"no-debugger": "off", | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
camelcase: "off", | ||
"@typescript-eslint/camelcase": "off" | ||
}, | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ["../../tsconfig.json"] | ||
}, | ||
globals: { | ||
imports: true | ||
} | ||
}; |
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,8 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"singleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 4 | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.