@itee/benchmarks-framework 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/package.json +12 -6
- package/.czrc +0 -6
- package/.github/workflows/node.js.yml +0 -28
- package/.releaserc.mjs +0 -94
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itee/benchmarks-framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A dedicated web test runner framework for the Benchmarks.js library to allow to run benchmarks in front side",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"itee",
|
|
@@ -37,8 +37,7 @@
|
|
|
37
37
|
"ia32"
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
|
-
"semantic-release": "semantic-release --dry-run --no-ci"
|
|
41
|
-
"semantic-release-force": "semantic-release --no-ci"
|
|
40
|
+
"semantic-release": "semantic-release --dry-run --no-ci"
|
|
42
41
|
},
|
|
43
42
|
"dependencies": {
|
|
44
43
|
"@web/test-runner-core": "^0.13.4"
|
|
@@ -46,10 +45,17 @@
|
|
|
46
45
|
"devDependencies": {
|
|
47
46
|
"@semantic-release/changelog": "^6.0.3",
|
|
48
47
|
"@semantic-release/git": "^10.0.1",
|
|
49
|
-
"@semantic-release/github": "^
|
|
50
|
-
"@semantic-release/npm": "^
|
|
48
|
+
"@semantic-release/github": "^12.0.2",
|
|
49
|
+
"@semantic-release/npm": "^13.1.3",
|
|
51
50
|
"cz-emoji": "^1.3.2-canary.2",
|
|
52
|
-
"semantic-release": "^
|
|
51
|
+
"semantic-release": "^25.0.2",
|
|
53
52
|
"semantic-release-gitmoji": "^1.6.8"
|
|
53
|
+
},
|
|
54
|
+
"overrides": {
|
|
55
|
+
"semantic-release-gitmoji": {
|
|
56
|
+
"semantic-release": "<26",
|
|
57
|
+
"@semantic-release/github": "12.0.2",
|
|
58
|
+
"@semantic-release/npm": "13.1.3"
|
|
59
|
+
}
|
|
54
60
|
}
|
|
55
61
|
}
|
package/.czrc
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
-
|
|
4
|
-
name: json-reporter CI
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches: [ master ]
|
|
9
|
-
pull_request:
|
|
10
|
-
branches: [ master ]
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
publish:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
env:
|
|
16
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
17
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
18
|
-
steps:
|
|
19
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
20
|
-
uses: actions/setup-node@v2
|
|
21
|
-
with:
|
|
22
|
-
node-version: "lts/*"
|
|
23
|
-
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
24
|
-
uses: actions/checkout@v2
|
|
25
|
-
- name: Install dependencies
|
|
26
|
-
run: npm ci
|
|
27
|
-
- name: Semantic Release
|
|
28
|
-
run: npx semantic-release
|
package/.releaserc.mjs
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'node:child_process'
|
|
2
|
-
|
|
3
|
-
// Git utils
|
|
4
|
-
|
|
5
|
-
function getLocalRepoUrl() {
|
|
6
|
-
const topLevelDir = execSync( 'git rev-parse --show-toplevel' )
|
|
7
|
-
.toString()
|
|
8
|
-
.trim()
|
|
9
|
-
|
|
10
|
-
return `file://${ topLevelDir }/.git`
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function getCurrentBranch() {
|
|
14
|
-
return execSync( 'git rev-parse --abbrev-ref HEAD' )
|
|
15
|
-
.toString()
|
|
16
|
-
.trim()
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Plugins sub-configs
|
|
20
|
-
|
|
21
|
-
function getGitmojiPlugin() {
|
|
22
|
-
return [
|
|
23
|
-
'semantic-release-gitmoji', {
|
|
24
|
-
'releaseRules': {
|
|
25
|
-
'major': [
|
|
26
|
-
':boom:'
|
|
27
|
-
],
|
|
28
|
-
'minor': [
|
|
29
|
-
':sparkles:'
|
|
30
|
-
],
|
|
31
|
-
'patch': [
|
|
32
|
-
':art:', ':zap:', ':fire:', ':bug:', ':ambulance:', ':pencil:', ':rocket:', ':lipstick:', ':white_check_mark:', ':lock:', ':apple:', ':penguin:', ':checkered_flag:', ':robot:',
|
|
33
|
-
':green_apple:', ':rotating_light:', ':green_heart:', ':arrow_down:', ':pushpin:', ':construction_worker:', ':chart_with_upwards_trend:', ':recycle:', ':whale:',
|
|
34
|
-
':heavy_plus_sign:', ':heavy_minus_sign:', ':wrench:', ':globe_with_meridians:', ':pencil2:', ':poop:', ':rewind:', ':package:', ':alien:', ':truck:', ':page_facing_up:',
|
|
35
|
-
':bento:', ':ok_hand:', ':wheelchair:', ':bulb:', ':beers:', ':speech_balloon:', ':card_file_box:', ':loud_sound:', ':mute:', ':busts_in_silhouette:', ':children_crossing:',
|
|
36
|
-
':building_construction:', ':iphone:', ':clown_face:', ':see_no_evil:', ':camera_flash:', ':alembic:', ':mag:', ':wheel_of_dharma:', ':label:', ':seedling:', ':dizzy:',
|
|
37
|
-
':wastebasket:', ':passport_control:', ':adhesive_bandage:', ':monocle_face:', ':coffin:', ':test_tube:', ':necktie:', ':stethoscope:', ':bricks:', ':technologist:'
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function getChangelogPlugin() {
|
|
45
|
-
return '@semantic-release/changelog'
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function getNpmPlugin() {
|
|
49
|
-
return '@semantic-release/npm'
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function getGithubPlugin() {
|
|
53
|
-
return '@semantic-release/github'
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function getGitPlugin() {
|
|
57
|
-
return [
|
|
58
|
-
'@semantic-release/git', {
|
|
59
|
-
'assets': [
|
|
60
|
-
'builds/**', 'docs/**', 'package.json', 'CHANGELOG.md'
|
|
61
|
-
],
|
|
62
|
-
'message': 'chore(release): v${nextRelease.version}'
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Configuration selection
|
|
68
|
-
|
|
69
|
-
function isDryRun() {
|
|
70
|
-
return process.argv.includes( '--dry-run' )
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
function getDryRunConfig() {
|
|
74
|
-
return {
|
|
75
|
-
repositoryUrl: getLocalRepoUrl(),
|
|
76
|
-
branches: getCurrentBranch(),
|
|
77
|
-
plugins: [
|
|
78
|
-
getGitmojiPlugin()
|
|
79
|
-
],
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
function getCIConfig() {
|
|
84
|
-
return {
|
|
85
|
-
branch: 'master',
|
|
86
|
-
plugins: [
|
|
87
|
-
getGitmojiPlugin(), getChangelogPlugin(), getNpmPlugin(), getGithubPlugin(), getGitPlugin()
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Module
|
|
93
|
-
|
|
94
|
-
export default isDryRun() ? getDryRunConfig() : getCIConfig()
|