diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cb7ec0..5b6a658 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,9 @@ jobs: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 cache: yarn - name: Install dependencies run: yarn install --frozen-lockfile @@ -33,9 +33,9 @@ jobs: - name: Checkout the repository uses: actions/checkout@v2 - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 cache: yarn - name: Install dependencies run: yarn install --frozen-lockfile --ignore-scripts diff --git a/babel.config.js b/babel.config.cjs similarity index 100% rename from babel.config.js rename to babel.config.cjs diff --git a/commitlint.config.js b/commitlint.config.cjs similarity index 100% rename from commitlint.config.js rename to commitlint.config.cjs diff --git a/package.json b/package.json index 46bed04..663a3e4 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "heroku-postbuild": "cd site && yarn run build", "prepare": "husky install" }, + "type": "module", "main": "./dist/just-validate.production.min.js", "module": "./dist/just-validate.es.js", "exports": {