diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32607791..bcb766b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [ 22.x, 24.x ] + node-version: [ 22.x, 24.x, 26.x ] os: [ windows-latest, ubuntu-latest, macOS-latest ] # Go @@ -75,7 +75,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 24.x + node-version: 26.x registry-url: https://registry.npmjs.org/ # Publish to npm diff --git a/package.json b/package.json index 15422d1d..3359b9af 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "@aws-lite/lambda": "^0.1.5", "@aws-lite/s3": "^0.2.6", "@aws-lite/ssm": "^0.2.3", - "fs-extra": "~11.3.3", "mime-types": "~3.0.2", "zip-dir": "2.0.0", "zipit": "2.0.0" diff --git a/src/sam/patches/asap.js b/src/sam/patches/asap.js index b6b89cf5..4b20c78a 100644 --- a/src/sam/patches/asap.js +++ b/src/sam/patches/asap.js @@ -1,6 +1,5 @@ let { join } = require('path') -let { mkdirSync, readFileSync, writeFileSync } = require('fs') -let { copySync } = require('fs-extra') +let { mkdirSync, readFileSync, writeFileSync, cpSync } = require('fs') // If we're using ASAP + fingerprinting, inject it with static.json module.exports = function asapFingerprint (params, callback) { @@ -18,7 +17,7 @@ module.exports = function asapFingerprint (params, callback) { mkdirSync(shared, { recursive: true }) // Handle ASAP - copySync(src, tmp) + cpSync(src, tmp, { recursive: true }) // Handle static.json let staticFolder = inv.static.folder