Skip to content

Commit ef3397a

Browse files
committed
Update all deps, build, Node
1 parent d1ca7c4 commit ef3397a

File tree

7 files changed

+113
-5
lines changed

7 files changed

+113
-5
lines changed

.github/workflows/CI.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
env:
11+
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
12+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
13+
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
14+
AWS_REGION: ${{ secrets.AWS_REGION }}
15+
strategy:
16+
matrix:
17+
node-version:
18+
- 20
19+
- 22
20+
command:
21+
- lint
22+
- test
23+
- build
24+
steps:
25+
- uses: actions/checkout@v1
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v1
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
- run: |
31+
npm install
32+
- run: |
33+
npm ${{ matrix.command }}

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: node_js
2+
node_js:
3+
- 22
4+
cache:
5+
directories:
6+
- node_modules
7+
deploy:
8+
provider: npm
9+
10+
api_key:
11+
secure: M+SrtYGQo5DsnepJqEwuy5e7K6Ct/dxwc26AM/1DDjUP3DKCTi4YyWqAEhivIr9p++raeEn6AqJKVbY81gfotDdSEHtiFRVN3NmWcPf9dUD1oyOtIJ9bKI+GdeRx+O11265JlJ2V0d+WZMgZVazWOJ2tjhb3hqxyoH559hYqsWKQejRDlNhu1mFROCFDUFCJESS39v0V0peCbtYlpjLAF8x25rbrq0I9Er5OLIOR2E4QhW8SgO64yHDEXJfdUXYV69Ycew4mdA2FRmLBYq+Q5UMjeHxYUwJ/hBQw6j/1szRiH9/J0OqBUmMautSwYGSS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j3OG9sRyOFuQVfvopxvfKhJztmKM4b3bKono=
18+
- secure: AD9yd0tnNSLxlV/BHcJzEN5eqNa0E/Qko3zNCxuE0CLy3dm4nrGczmp6uaL5lwsdjjicdPo/v4s3+eRdEyrLlMGBp5EnL5TBJFaUG9ZfPe4FnLcATxqyKdQFQn1O3G7M2FI5XBe+cu3YmuZxg8WsVZzPoPzYnDGCsbOGOna4qpHb8KpTI5+a3IugJAeqXAqLWVJl1rrwbLJap0t08Ko9iHk+x5LSeb3P6QVfNmHjrf9u2NJz0zciSK6861cuQ2fkmc0J6cqLIsjkXPvSv7WOgHLnXgKWRSg6uwCEUK2BAFAQjzm6XU4XqD8f3Kbs3NpWdnTDFqdDQaWv52spZqEOx6SAITepXgP49BBa6KY1w58D8lh8od/2hlYY0QMM6xF1i1hGZt9zerkMHV1Dykkog5+9g6bWJOkJTLOOi1fGy7HBi7PUZFJN3uAIau8FvuKhFF7QLuxf4bhfgOv3+6UHkWdkKaSbDopvsa7zv+L/yZ/EZyGsT4EqX8QODREvtM0ZMb/1Os2haqqeOuhMcKoIuV0crCR6Vg6RXSVrw0E0/tSIOxkkdVZvrt3kCRdlKacu6ENeCU7eov5kIFoGjew2xZLmofBFa0zc0c7TuRsm7qUBQWeHENDToSreFRzgqDFgTQpZToSUEKHT4EP9VKRyKcaVVsMks6fS7H0Uzj6zSC0=

ISSUE_TEMPLATE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Complete the following or your issue will be deleted (delete me after)
2+
3+
**Please complete these steps and check these boxes (by putting an `x` inside
4+
the brackets) _before_ filing your issue:**
5+
6+
- [ ] I have read and understood this plugin's README
7+
- [ ] If filing a bug report, I have included my version of node and s3-plugin-webpack
8+
- [ ] If filing a bug report, I have included which OS (including specific OS
9+
version) I am using.
10+
- [ ] If filing a bug report, I have included a minimal test case that reproduces
11+
my issue.
12+
- [ ] **I understand this is an open-source project staffed by someone with a job and
13+
that any help I receive is done on free time. I know I am not entitled to anything and will be polite and courteous.**
14+
- [ ] **I understand my issue may be closed if it becomes obvious I didn't
15+
actually perform all of these steps or the issue is not with the library itself**
16+
17+
Thank you for adhering to this process! This ensures that I can pay attention to issues that are relevant and answer questions faster.
18+
19+
# Issue Details
20+
21+
If filing a bug report, please include **a list of steps** that describe how to
22+
reproduce the bug you are experiencing. Include your config being passed to the `S3Plugin`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ s3Options: {
3131
```javascript
3232
// Supports ESM & CJS
3333
const S3Plugin = require('webpack-s3-plugin')
34-
import S3Plugin from '@liveauctioneers/s3-plugin-webpack'
34+
import S3Plugin from 'webpack-s3-plugin'
3535
```
3636

3737
##### With exclude

biome.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": ["dist/**", "test/.tmp/**"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentWidth": 2,
15+
"indentStyle": "space"
16+
},
17+
"organizeImports": {
18+
"enabled": true
19+
},
20+
"linter": {
21+
"enabled": true,
22+
"rules": {
23+
"recommended": true
24+
}
25+
},
26+
"javascript": {
27+
"formatter": {
28+
"quoteStyle": "single",
29+
"semicolons": "asNeeded"
30+
}
31+
}
32+
}

esbuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const opts = {
1717
entryPoints:['./src/s3_plugin.js'],
1818
bundle: true,
1919
platform: 'node',
20-
target: 'node22',
20+
target: 'node20',
2121
}
2222

2323
const builds = [

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@liveauctioneers/webpack-s3-plugin",
3-
"version": "2.0.0",
2+
"name": "webpack-s3-plugin",
3+
"version": "1.2.00",
44
"description": "Uploads compiled assets to s3 after build",
55
"main": "dist/s3_plugin.cjs",
66
"module": "dist/s3_plugin.mjs",
@@ -15,7 +15,7 @@
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "[email protected]:LIVEauctioneers/s3-plugin-webpack.git"
18+
"url": "[email protected]:webpack-contrib/s3-plugin-webpack.git"
1919
},
2020
"keywords": [
2121
"s3",
@@ -26,6 +26,9 @@
2626
],
2727
"author": "Mika Kalathil",
2828
"license": "MIT",
29+
"bugs": {
30+
"url": "https://github.com/webpack-contrib/s3-plugin-webpack/issues"
31+
},
2932
"homepage": "https://github.com/LIVEauctioneers/s3-plugin-webpack",
3033
"dependencies": {
3134
"@aws-sdk/abort-controller": "^3.374.0",

0 commit comments

Comments
 (0)