Skip to content

Commit eda628e

Browse files
authored
build: update deps and convert to ESM (#56)
1 parent 86e7ea8 commit eda628e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+47317
-69697
lines changed

__tests__/helpers.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import * as exec from '@actions/exec';
66
import * as tc from '@actions/tool-cache';
77
import { Octokit } from '@octokit/core';
88

9-
import * as helpers from '../src/helpers';
10-
import { mockGetInput, overridePlatform, resetPlatform } from './utils';
9+
import * as helpers from '../src/helpers.js';
10+
import { mockGetInput, overridePlatform, resetPlatform } from './utils.js';
1111

1212
vi.mock('@actions/core');
1313
vi.mock('@actions/exec');

add-item/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addItemAction } from '../src/add-item';
1+
import { addItemAction } from '../src/add-item.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
addItemAction();

archive-item/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { archiveItemAction } from '../src/archive-item';
1+
import { archiveItemAction } from '../src/archive-item.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
archiveItemAction();

close-project/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { closeProjectAction } from '../src/close-project';
1+
import { closeProjectAction } from '../src/close-project.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
closeProjectAction();

completed-by/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { completedByAction } from '../src/completed-by';
1+
import { completedByAction } from '../src/completed-by.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
completedByAction();

copy-project/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { copyProjectAction } from '../src/copy-project';
1+
import { copyProjectAction } from '../src/copy-project.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
copyProjectAction();

delete-item/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { deleteItemAction } from '../src/delete-item';
1+
import { deleteItemAction } from '../src/delete-item.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
deleteItemAction();

delete-project/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { deleteProjectAction } from '../src/delete-project';
1+
import { deleteProjectAction } from '../src/delete-project.js';
22

33
// eslint-disable-next-line @typescript-eslint/no-floating-promises
44
deleteProjectAction();

0 commit comments

Comments
 (0)