diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff983ea..a65b53d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,13 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - name: Setup Node - uses: actions/setup-node@v4.0.1 + uses: actions/setup-node@v4.0.2 with: - node-version: '18.16.0' + node-version: '20.11.1' - name: Install Dependencies run: npm ci - name: Save error log - uses: actions/upload-artifact@v4.2.0 + uses: actions/upload-artifact@v4.3.1 if: ${{ failure() }} with: name: npm-debug-log-${{ hashFiles('package-lock.json') }} @@ -30,7 +30,7 @@ jobs: - name: Test run: npm test - name: Report Coverage - uses: codecov/codecov-action@v3.1.5 + uses: codecov/codecov-action@v4.1.0 with: token: ${{ secrets.CODECOV_TOKEN }} - name: Lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2181145..97d9566 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,13 +12,13 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - name: Setup Node - uses: actions/setup-node@v4.0.1 + uses: actions/setup-node@v4.0.2 with: - node-version: '18.16.0' + node-version: '20.11.1' - name: Install Dependencies run: npm ci - name: Save error log - uses: actions/upload-artifact@v4.2.0 + uses: actions/upload-artifact@v4.3.1 if: ${{ failure() }} with: name: npm-debug-log-${{ hashFiles('package-lock.json') }} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2ecc12b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Morgan Ney + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package-lock.json b/package-lock.json index f06b0dd..f646ea4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "magic-comments-loader", - "version": "2.1.1", + "version": "2.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "magic-comments-loader", - "version": "2.1.1", + "version": "2.1.2", "license": "MIT", "dependencies": { "acorn": "^8.9.0", diff --git a/package.json b/package.json index 1ae32e4..39e5724 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "magic-comments-loader", - "version": "2.1.1", + "version": "2.1.2", "description": "Add webpack magic comments to your dynamic imports at build time.", "main": "dist", "type": "module",