Skip to content

Commit

Permalink
Merge pull request #111 from github/ns/esm-imports
Browse files Browse the repository at this point in the history
Fix esm imports
  • Loading branch information
iansan5653 authored Dec 7, 2023
2 parents caec920 + 42db65b commit 96094c5
Show file tree
Hide file tree
Showing 14 changed files with 4,132 additions and 2,547 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",
"postCreateCommand": "npm install",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
Expand Down
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pages
dist
13 changes: 8 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"root": true,
"extends": [
"plugin:github/recommended",
"plugin:github/browser",
"plugin:github/typescript"
]
"extends": ["plugin:github/recommended", "plugin:github/browser", "plugin:github/typescript"],
"settings": {
"import/resolver": {
"typescript": {
"extensions": [".ts", ".tsx"]
}
}
}
}
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- name: npm install, build, and test
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x

- run: npm install

Expand Down
Loading

0 comments on commit 96094c5

Please sign in to comment.