Skip to content

Commit

Permalink
Merge pull request #125 from haensl/124
Browse files Browse the repository at this point in the history
#124: Update dependencies.
  • Loading branch information
haensl authored Sep 26, 2023
2 parents cf08ad0 + f7a871e commit 5c70bbb
Show file tree
Hide file tree
Showing 5 changed files with 581 additions and 221 deletions.
42 changes: 13 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ commands:
- checkout
- restore_cache:
keys:
- js-profiler-dependencies-{{ checksum "package.json" }}
- js-profiler-dependencies-{{ checksum "package-lock.json" }}
- run:
name: install dependencies
command: npm install
- save_cache:
paths:
- node_modules
key: js-profiler-dependencies-{{ checksum "package.json" }}
key: js-profiler-dependencies-{{ checksum "package-lock.json" }}
- extract-versions


Expand Down Expand Up @@ -107,19 +107,6 @@ commands:
npm i -S js-profiler@${VERSION}
sudo npm i -g js-profiler@${VERSION}
package-information:
steps:
- run:
name: install tree
command: sudo apt-get -y install tree
- run:
name: gather bundle information
command: |
npm info js-profiler@${VERSION} > ./bundle.info
tree -s node_modules/js-profiler >> ./bundle.info
- store_artifacts:
path: bundle.info

workflows:
version: 2
default:
Expand All @@ -135,7 +122,7 @@ workflows:
# at this point in time because config templates
# are pre-compiled. See
# https://discuss.circleci.com/t/how-to-use-a-bash-env-variable-as-a-parameter-to-a-command-or-when-condition/29186
node_version: 14.17.0
node_version: 18.18.0
- bundle:
requires:
- lint
Expand All @@ -148,7 +135,7 @@ workflows:
- bundle
- bundle-test-cjs-js:
name: bundle-test-cjs-js@engine
node_version: 14.17.0
node_version: 18.18.0
requires:
- bundle
- ensure-versioned-correctly:
Expand All @@ -169,7 +156,7 @@ workflows:
- publish
- package-test-cjs-js:
name: package-test-cjs-js@engine
node_version: 14.17.0
node_version: 18.18.0
requires:
- publish
- publish-github-release:
Expand All @@ -180,15 +167,15 @@ workflows:
jobs:
extract-versions:
docker:
- image: circleci/node:lts
- image: cimg/node:lts
working_directory: ~/js-profiler
steps:
- init
- prepare-repo

lint:
docker:
- image: circleci/node:lts
- image: cimg/node:lts
working_directory: ~/js-profiler
steps:
- init
Expand All @@ -208,7 +195,7 @@ jobs:
type: string
default: lts
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
working_directory: ~/js-profiler
steps:
- init
Expand All @@ -221,7 +208,7 @@ jobs:

bundle:
docker:
- image: circleci/node:lts
- image: cimg/node:lts
working_directory: ~/js-profiler
steps:
- init
Expand Down Expand Up @@ -258,7 +245,7 @@ jobs:
type: string
default: lts
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
working_directory: /tmp/test-app
steps:
- init
Expand All @@ -272,12 +259,10 @@ jobs:
name: test global cli
command: |
js-profiler -h
- package-information

ensure-versioned-correctly:
docker:
- image: circleci/node:lts
- image: cimg/node:lts
working_directory: ~/js-profiler
steps:
- attach_workspace:
Expand Down Expand Up @@ -312,7 +297,7 @@ jobs:
publish:
docker:
- image: circleci/node:lts
- image: cimg/node:lts
working_directory: ~/js-profiler
steps:
- attach_workspace:
Expand All @@ -331,7 +316,7 @@ jobs:
type: string
default: lts
docker:
- image: circleci/node:<< parameters.node_version >>
- image: cimg/node:<< parameters.node_version >>
working_directory: /tmp/test-app
steps:
- init
Expand All @@ -345,7 +330,6 @@ jobs:
name: test global cli
command: |
js-profiler -h
- package-information
publish-github-release:
docker:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.5.7
* [#124: Update dependencies.](https://github.com/haensl/js-profiler/issues/124)
* Lift minimum Node.js from 14.17.0 to 18.18.0 since maintenance is running out.

### 2.5.6
* [#121: Update dependencies.](https://github.com/haensl/js-profiler/issues/121)
* Lift minimum Node.js from 12.22.7 to 14.17.0 since maintenance has run out.
Expand Down
2 changes: 1 addition & 1 deletion docs/js-profiler.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
." vim: set syn=nroff
.TH js-profiler 1 "January 2023" "js-profiler v2.5.6"
.TH js-profiler 1 "September 2023" "js-profiler v2.5.7"

.SH NAME
js-profiler - A JavaScript profiling tool and collection of profiling modules and benchmarks.
Expand Down
Loading

0 comments on commit 5c70bbb

Please sign in to comment.