Skip to content

Commit

Permalink
merge current gi.ts rework branch
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Mar 8, 2024
2 parents 95bd723 + 2158fee commit e017f12
Show file tree
Hide file tree
Showing 36 changed files with 429 additions and 480 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[submodule "types"]
path = types
url = https://github.com/gjsify/types
branch = next
branch = next
324 changes: 162 additions & 162 deletions .yarn/releases/yarn-4.1.0.cjs → .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "5.3.3-sdk",
"version": "5.4.2-sdk",
"main": "./lib/typescript.js",
"type": "commonjs",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.1.1.cjs
6 changes: 3 additions & 3 deletions examples/gjs/adw-1-hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"devDependencies": {
"@babel/core": "^7.24.0",
"@rollup/plugin-babel": "^6.0.4",
"rollup": "^4.12.0",
"typescript": "^5.2.2",
"vite": "^5.1.4"
"rollup": "^4.12.1",
"typescript": "^5.4.2",
"vite": "^5.1.5"
},
"dependencies": {
"@girs/adw-1": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-cat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-dbus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^"
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gio-2-list-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
}
}
2 changes: 1 addition & 1 deletion examples/gjs/glib-2-spawn-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"fork-ts-checker-webpack-plugin": "^9.0.2",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/glib-2-variant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
}
}
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"fork-ts-checker-webpack-plugin": "^9.0.2",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"fork-ts-checker-webpack-plugin": "^9.0.2",
"raw-loader": "^4.0.2",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-calc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"fork-ts-checker-webpack-plugin": "^9.0.2",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-gettext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-hello-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"fork-ts-checker-webpack-plugin": "^9.0.2",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"typescript": "^5.4.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-3-webkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-custom-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@ts-for-gir/cli": "workspace:^",
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-list-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/gtk-4-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@ts-for-gir/cli": "workspace:^",
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/run-async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/adw-1": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/soup-3-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/soup-3-websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gio-2.0": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion examples/gjs/timers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@girs/gjs": "workspace:^"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@
],
"devDependencies": {
"@ts-for-gir/cli": "workspace:^",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"workspaces": [
"examples/*/*",
"packages/*",
"types/*"
],
"packageManager": "[email protected].0"
"packageManager": "[email protected].1"
}
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@
],
"devDependencies": {
"@types/inquirer": "^9.0.7",
"@types/node": "^20.11.24",
"@types/node": "^20.11.25",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@gi.ts/parser": "workspace:^",
Expand Down
8 changes: 4 additions & 4 deletions packages/generator-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"generator"
],
"devDependencies": {
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@types/node": "^20.11.25",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@ts-for-gir/lib": "workspace:^"
Expand Down
8 changes: 4 additions & 4 deletions packages/generator-html-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"generator"
],
"devDependencies": {
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@types/node": "^20.11.25",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@ts-for-gir/generator-base": "workspace:^",
Expand Down
8 changes: 4 additions & 4 deletions packages/generator-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@
],
"devDependencies": {
"@types/ejs": "^3.1.5",
"@types/node": "^20.11.24",
"@types/node": "^20.11.25",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@ts-for-gir/generator-base": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ declare module 'gi://<%= name %>?version=<%= version %>' {
declare module 'gi://<%= name %>' {
<%- moduleImportStr %>;
export default <%- girModule.importNamespace -%>;
}
<%_ } _%>
}
8 changes: 4 additions & 4 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
"@types/ejs": "^3.1.5",
"@types/eslint": "8.56.5",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@types/node": "^20.11.25",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
},
"dependencies": {
"@gi.ts/parser": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions packages/parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"fast-xml-parser": "^4.3.5"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"typescript": "^5.2.2"
"typescript": "^5.4.2"
}
}
Loading

0 comments on commit e017f12

Please sign in to comment.