Skip to content

Commit 13eb3bb

Browse files
committed
Upgrade to node16 module resolution
1 parent e88e1dd commit 13eb3bb

Some content is hidden

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

79 files changed

+94
-123
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module.exports = {
2-
extends: [
3-
"@fig/autocomplete"
4-
],
2+
extends: ["@fig/autocomplete"],
53
};

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
42
npx lint-staged

dangerfile-greeting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ schedule(async () => {
1010
});
1111

1212
const hasGreetingComment = comments.some((comment) =>
13-
comment.body.includes("id: greetingComment")
13+
comment.body?.includes("id: greetingComment")
1414
);
1515

1616
if (!hasGreetingComment) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"dev": "npx @withfig/autocomplete-tools dev",
2727
"create-spec": "npx @withfig/autocomplete-tools create-spec",
2828
"build": "npx @withfig/autocomplete-tools compile",
29-
"lint": "eslint '**/*.ts' && npx prettier --check '**/*.ts' --parser typescript",
30-
"lint:fix": "eslint '**/*.ts' --fix && npx prettier --write '**/*.ts' --parser typescript",
29+
"lint": "eslint 'src/**/*.ts' && npx prettier --check 'src/**/*.ts' --parser typescript",
30+
"lint:fix": "eslint 'src/**/*.ts' --fix && npx prettier --write 'src/**/*.ts' --parser typescript",
3131
"test": "tsc --noEmit && echo 'All specs passed validation. You are ready to push!'",
3232
"prepare": "husky install"
3333
},
@@ -92,7 +92,7 @@
9292
},
9393
"dependencies": {
9494
"@fig/autocomplete-generators": "^2.4.0",
95-
"@fig/autocomplete-helpers": "^1.0.7",
95+
"@fig/autocomplete-helpers": "2.0.0",
9696
"semver": "^7.6.3",
9797
"strip-json-comments": "^5.0.1",
9898
"yaml": "^2.7.0"

pnpm-lock.yaml

Lines changed: 2 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/@magnolia/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default } from "../mgnl";
1+
export { default } from "../mgnl.js";

src/argo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fig from "./fig";
1+
import fig from "./fig/index.js";
22

33
const sharedArgs = {
44
UID: {

src/aws/cloudformation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import awsRegions from "./regions";
1+
import awsRegions from "./regions.js";
22
const callAs = ["SELF", "DELEGATED_ADMIN"];
33
const typeSuggestion = ["RESOURCE", "MODULE"];
44
const permissionModel = ["SERVICE_MANAGED", "SELF_MANAGED"];

src/aws/lambda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import awsRegions from "./regions";
1+
import awsRegions from "./regions.js";
22
const awsPrincipals = [
33
"a4b.amazonaws.com",
44
"acm-pca.amazonaws.com",

src/aws/s3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// TODO: suggest available s3 endpoints
2-
import awsRegions from "./regions";
2+
import awsRegions from "./regions.js";
33

44
const storageClasses = [
55
"STANDARD",

0 commit comments

Comments
 (0)