Skip to content

Commit

Permalink
refactor(app): migrate to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
MathRobin committed Nov 17, 2023
1 parent ae94e9b commit 20564af
Show file tree
Hide file tree
Showing 15 changed files with 3,280 additions and 2,724 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# GENERATED FILE - Do not edit manually
root = true

[*]
Expand Down
12 changes: 9 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# GENERATED FILE - Do not edit manually
env:
node: true
es2021: true
es2023: true
jest/globals: true
plugins:
- jest
ignorePatterns:
- "**/*.d.ts"
- json
extends:
- eslint:recommended
- prettier
- plugin:json/recommended
parserOptions:
ecmaVersion: 2022
sourceType: module
requireConfigFile: false
babelOptions:
plugins:
- '@babel/plugin-syntax-import-assertions'
parser: '@babel/eslint-parser'
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
20 changes: 19 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,28 @@ on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ 18, 19, 20, 21 ]
steps:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- uses: actions/checkout@v4
- name: System info
run: |
echo "node"
node -v
echo "npm"
npm -v
echo "yarn"
yarn -v
echo "yarn enableImmutableInstalls"
yarn config get enableImmutableInstalls
- name: Allow modify yarn.lock
run: yarn config set -H enableImmutableInstalls false
- name: Install modules
run: yarn
run: yarn install
- name: Run lint
run: yarn lint
- name: Run lint
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# GENERATED FILE - Do not edit manually
# Ignore artifacts:
build
coverage
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
compressionLevel: mixed

defaultSemverRangePrefix: ""

enableGlobalCache: false

nmMode: classic

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
31 changes: 0 additions & 31 deletions build.js

This file was deleted.

Loading

0 comments on commit 20564af

Please sign in to comment.