diff --git a/build.sh b/build.sh index 0ec3cca2..38eaaab7 100644 --- a/build.sh +++ b/build.sh @@ -50,7 +50,7 @@ HEADER="/*! # Function to prepend text to files prepend_header() { - find "$1" -type f \( -name '*.js' -o -name '*.d.ts' -o -name '*.d.mts' \) -print0 | while IFS= read -r -d '' file; do + find "$1" -type f \( -name '*.js' -o -name '*.d.ts' -o -name '*.cjs' -o -name '*.mjs' -o -name '*.d.mts' \) -print0 | while IFS= read -r -d '' file; do printf "%s%s" "$HEADER" "$(cat "$file")" > "$file" done } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e0f46600..3ff9c824 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1220,8 +1220,8 @@ packages: '@swc/helpers': optional: true - '@swc/counter@0.1.2': - resolution: {integrity: sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==} + '@swc/counter@0.1.3': + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} '@swc/helpers@0.5.13': resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==} @@ -1530,8 +1530,8 @@ packages: caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} - caniuse-lite@1.0.30001574: - resolution: {integrity: sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==} + caniuse-lite@1.0.30001660: + resolution: {integrity: sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==} chalk@1.1.3: resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==} @@ -4409,7 +4409,7 @@ snapshots: '@swc/core@1.3.96(@swc/helpers@0.5.13)': dependencies: - '@swc/counter': 0.1.2 + '@swc/counter': 0.1.3 '@swc/types': 0.1.5 optionalDependencies: '@swc/core-darwin-arm64': 1.3.96 @@ -4424,7 +4424,7 @@ snapshots: '@swc/core-win32-x64-msvc': 1.3.96 '@swc/helpers': 0.5.13 - '@swc/counter@0.1.2': {} + '@swc/counter@0.1.3': {} '@swc/helpers@0.5.13': dependencies: @@ -4661,7 +4661,7 @@ snapshots: autoprefixer@10.4.16(postcss@8.4.32): dependencies: browserslist: 4.22.2 - caniuse-lite: 1.0.30001574 + caniuse-lite: 1.0.30001660 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -4736,7 +4736,7 @@ snapshots: browserslist@4.22.2: dependencies: - caniuse-lite: 1.0.30001574 + caniuse-lite: 1.0.30001660 electron-to-chromium: 1.4.621 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) @@ -4774,11 +4774,11 @@ snapshots: caniuse-api@3.0.0: dependencies: browserslist: 4.22.2 - caniuse-lite: 1.0.30001574 + caniuse-lite: 1.0.30001660 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - caniuse-lite@1.0.30001574: {} + caniuse-lite@1.0.30001660: {} chalk@1.1.3: dependencies: