From 98ba7d7126b947f39b0e77396f1ac0618ebcaf49 Mon Sep 17 00:00:00 2001 From: Kristoffer O Date: Wed, 23 Aug 2023 15:05:20 +0200 Subject: [PATCH 1/2] feat(): #117 change package to be module --- .eslintrc.js => .eslintrc.cjs | 0 babel.config.js => babel.config.cjs | 0 commitlint.config.js => commitlint.config.cjs | 0 package.json | 1 + 4 files changed, 1 insertion(+) rename .eslintrc.js => .eslintrc.cjs (100%) rename babel.config.js => babel.config.cjs (100%) rename commitlint.config.js => commitlint.config.cjs (100%) diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs 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 ea4b112..f3b8fc3 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": { From 6d76403056eb44817c767d6b8b933da0d32c40f0 Mon Sep 17 00:00:00 2001 From: Kristoffer <123738040+zs-ko@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:39:01 +0200 Subject: [PATCH 2/2] ci: update node version --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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