Skip to content

Commit

Permalink
chore: Port examples to ESM NPM packages from yarn workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Mar 1, 2024
1 parent be6e4f2 commit 4df45df
Show file tree
Hide file tree
Showing 74 changed files with 429 additions and 743 deletions.
2 changes: 1 addition & 1 deletion examples/gjs/adw-1-hello/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ts-for-gir-adw-1-hello-example",
"name": "@ts-for-gir-example/adw-1-hello-example",
"version": "4.0.0",
"description": "Simple GJS Typescript hello-world example using Libadwaita",
"main": "index.js",
Expand Down
18 changes: 0 additions & 18 deletions examples/gjs/gio-2-cat-packages/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions examples/gjs/gio-2-cat-packages/esbuild.js

This file was deleted.

34 changes: 0 additions & 34 deletions examples/gjs/gio-2-cat-packages/main.ts

This file was deleted.

29 changes: 0 additions & 29 deletions examples/gjs/gio-2-cat-packages/package.json

This file was deleted.

18 changes: 0 additions & 18 deletions examples/gjs/gio-2-cat-packages/tsconfig.json

This file was deleted.

6 changes: 0 additions & 6 deletions examples/gjs/gio-2-cat-packages/tsconfig.types.json

This file was deleted.

6 changes: 0 additions & 6 deletions examples/gjs/gio-2-cat-promisify/.ts-for-girrc.json

This file was deleted.

15 changes: 0 additions & 15 deletions examples/gjs/gio-2-cat-promisify/esbuild.js

This file was deleted.

26 changes: 0 additions & 26 deletions examples/gjs/gio-2-cat-promisify/main.ts

This file was deleted.

28 changes: 0 additions & 28 deletions examples/gjs/gio-2-cat-promisify/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions examples/gjs/gio-2-cat-promisify/tsconfig.json

This file was deleted.

6 changes: 0 additions & 6 deletions examples/gjs/gio-2-cat-promisify/tsconfig.types.json

This file was deleted.

4 changes: 0 additions & 4 deletions examples/gjs/gio-2-cat-types-only/.ts-for-girrc.json

This file was deleted.

14 changes: 0 additions & 14 deletions examples/gjs/gio-2-cat-types-only/esbuild.js

This file was deleted.

38 changes: 0 additions & 38 deletions examples/gjs/gio-2-cat-types-only/main.ts

This file was deleted.

28 changes: 0 additions & 28 deletions examples/gjs/gio-2-cat-types-only/package.json

This file was deleted.

18 changes: 0 additions & 18 deletions examples/gjs/gio-2-cat-types-only/tsconfig.json

This file was deleted.

6 changes: 0 additions & 6 deletions examples/gjs/gio-2-cat-types-only/tsconfig.types.json

This file was deleted.

8 changes: 4 additions & 4 deletions examples/gjs/gio-2-cat/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* the label should show a translation of 'Print help'
*/

import './@types/gjs/gjs';
import './@types/gjs/dom';
import GLib from './@types/glib-2.0/glib-2.0';
import Gio from './@types/gio-2.0/gio-2.0';
import '@girs/gjs';
import '@girs/dom';
import GLib from '@girs/glib-2.0';
import Gio from '@girs/gio-2.0';

const loop = GLib.MainLoop.new(null, false);
const textDecoder = new TextDecoder()
Expand Down
Loading

0 comments on commit 4df45df

Please sign in to comment.