@gjsify/esbuild-plugin-transform-ext 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/esbuild-plugin-transform-ext",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Transform import file extensions plugin for esbuild",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.cjs",
@@ -13,16 +13,20 @@
13
13
  "build:js": "node esbuild.mjs",
14
14
  "build:types": "tsc --emitDeclarationOnly"
15
15
  },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/gjsify/gjsify.git"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/gjsify/gjsify/issues"
22
+ },
23
+ "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/esbuild-plugin-transform-ext#readme",
16
24
  "keywords": [
17
- "gjs",
18
- "gjsify",
19
- "esbuild"
25
+ "esbuild",
26
+ "plugin"
20
27
  ],
21
- "peerDependencies": {
22
- "esbuild": "^0.17.19"
23
- },
24
28
  "devDependencies": {
25
- "esbuild": "^0.18.2",
26
- "typescript": "^5.1.3"
29
+ "esbuild": "^0.19.10",
30
+ "typescript": "^5.3.3"
27
31
  }
28
32
  }
@@ -1,4 +0,0 @@
1
- import { a } from "./a.js";
2
- import { b } from "./b.js";
3
- a();
4
- b();
@@ -1,12 +0,0 @@
1
- // Run this with `node esbuild.mjs`
2
-
3
- import esbuild from 'esbuild';
4
- import { transformExtPlugin } from "@gjsify/esbuild-plugin-transform-ext";
5
-
6
- await esbuild.build({
7
- plugins: [transformExtPlugin({ outExtension: {'.ts': '.js'}})],
8
- entryPoints: ["./src/index.ts"],
9
- outdir: "./dist/",
10
- bundle: false,
11
- format: "esm",
12
- });
package/example/src/a.ts DELETED
@@ -1,3 +0,0 @@
1
- export const a = () => {
2
- console.log("a")
3
- }
package/example/src/b.ts DELETED
@@ -1,3 +0,0 @@
1
- export const b = () => {
2
- console.log("b")
3
- }
@@ -1,4 +0,0 @@
1
- import { a } from './a.ts';
2
- import { b } from './b.ts';
3
- a();
4
- b();