Skip to content

Commit 7a11f99

Browse files
committed
fix(github-actions): add module type to github actions package.json
This address the below warnings ``` node:9480) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///C:/a/_actions/angular/dev-infra/7f2c99469dcf64fd466abf6cb53bede791d7599d/github-actions/bazel/configure-remote/configure-remote.js is not specified and it doesn't parse as CommonJS. Reparsing as ES module because module syntax was detected. This incurs a performance overhead. To eliminate this warning, add "type": "module" to C:\a\_actions\angular\dev-infra\7f2c99469dcf64fd466abf6cb53bede791d7599d\github-actions\bazel\configure-remote\package.json. (Use `node --trace-warnings ...` to show where the warning was created) ```
1 parent 16e272e commit 7a11f99

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

github-actions/bazel/configure-remote/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@types/node": "24.2.0"

github-actions/branch-manager/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

github-actions/browserstack/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@types/node": "24.2.0"

github-actions/feature-request/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

github-actions/google-internal-tests/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

github-actions/org-file-sync/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

github-actions/post-approval-changes/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

github-actions/pull-request-labeling/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

github-actions/saucelabs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@types/node": "24.2.0"

github-actions/unified-status-check/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@actions/core": "1.11.1",
45
"@actions/github": "6.0.1",

0 commit comments

Comments
 (0)