Skip to content

Commit

Permalink
feat: STRF-11900 Drop node 18, add node 20, 22
Browse files Browse the repository at this point in the history
  • Loading branch information
jairo-bc committed Aug 19, 2024
1 parent 85245e6 commit 05f68c0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node: [18.x]
node: [20.x, 22.x]
env:
TITLE: ${{ github.event.pull_request.title }}

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
- run: npm i
- run: npm run build
- name: Check Git Commit name
run: git log -1 --pretty=format:"%s" | npx commitlint
# Setup .npmrc file to publish package to npm registry
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
6 changes: 1 addition & 5 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
["@semantic-release/github", {
"assets": [
{"path": "dist/blackbird-handlebars.js", "label": "helpers.js"}
]
}],
"@semantic-release/github",
"@semantic-release/npm",
[
"semantic-release-github-pullrequest", {
Expand Down
29 changes: 12 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
"index.js"
],
"scripts": {
"build": "webpack",
"lint": "eslint .",
"lint-and-fix": "eslint . --fix",
"test": "lab -v -t 97.4 --ignore FinalizationRegistry,WeakRef,WebAssembly,__propKey,__esDecorate,__runInitializers,__setFunctionName,_time,format,SharedArrayBuffer,Atomics,BigUint64Array,BigInt64Array,BigInt,URL,URLSearchParams,TextEncoder,TextDecoder,queueMicrotask,__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__createBinding,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,AggregateError,BroadcastChannel,structuredClone,DOMException,AbortController,AbortSignal,EventTarget,Event,MessageChannel,MessagePort,MessageEvent,atob,btoa,Blob,Performance,performance,ReadableStream,ReadableStreamDefaultReader,ReadableStreamBYOBReader,ReadableStreamBYOBRequest,ReadableByteStreamController,ReadableStreamDefaultController,TransformStream,TransformStreamDefaultController,WritableStream,WritableStreamDefaultWriter,WritableStreamDefaultController,ByteLengthQueuingStrategy,CountQueuingStrategy,TextEncoderStream,TextDecoderStream,CompressionStream,DecompressionStream,fetch,FormData,Headers,Request,Response,__addDisposableResource,__disposeResources spec",
"test": "lab -v -t 97.4 --ignore FinalizationRegistry,WeakRef,WebAssembly,__propKey,__esDecorate,__runInitializers,__setFunctionName,_time,format,SharedArrayBuffer,Atomics,BigUint64Array,BigInt64Array,BigInt,URL,URLSearchParams,TextEncoder,TextDecoder,queueMicrotask,__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__createBinding,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,AggregateError,BroadcastChannel,structuredClone,DOMException,AbortController,AbortSignal,EventTarget,Event,MessageChannel,MessagePort,MessageEvent,atob,btoa,Blob,Performance,performance,ReadableStream,ReadableStreamDefaultReader,ReadableStreamBYOBReader,ReadableStreamBYOBRequest,ReadableByteStreamController,ReadableStreamDefaultController,TransformStream,TransformStreamDefaultController,WritableStream,WritableStreamDefaultWriter,WritableStreamDefaultController,ByteLengthQueuingStrategy,CountQueuingStrategy,TextEncoderStream,TextDecoderStream,CompressionStream,DecompressionStream,fetch,FormData,Headers,Request,Response,__addDisposableResource,__disposeResources,File,PerformanceEntry,PerformanceMark,PerformanceMeasure,PerformanceObserver,PerformanceObserverEntryList,PerformanceResourceTiming,crypto,Crypto,CryptoKey,SubtleCrypto,CustomEvent,WebSocket,Iterator,Navigator,navigator spec",
"coverage": "lab -c -r console -o stdout -r html -o coverage.html spec",
"release": "semantic-release --debug"
"release": "semantic-release"
},
"repository": {
"type": "git",
Expand All @@ -43,29 +42,25 @@
"stringz": "2.1.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/exec": "^6.0.3",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@semantic-release/github": "^10.1.6",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"code": "~4.0.0",
"eslint": "^7.8.1",
"highlight.js": "^11.6.0",
"husky": "^8.0.1",
"lab": "~13.0.4",
"path-browserify": "^1.0.1",
"semantic-release": "^21.0.7",
"semantic-release": "^24.1.0",
"semantic-release-github-pullrequest": "https://github.com/jairo-bc/semantic-release-github-pullrequest",
"sinon": "~7.5.0",
"url": "^0.11.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
"url": "^0.11.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
23 changes: 0 additions & 23 deletions webpack.config.js

This file was deleted.

0 comments on commit 05f68c0

Please sign in to comment.