Skip to content

Commit 7fccba4

Browse files
authored
chore: prepare v1.4.0 (#256)
* chore: bump version from 1.3.6 to 1.4.0 * ci: bump node engine from 18 to 22 * move babelrc into package.json add @babel/plugin-transform-runtime add postcss-normalize npx update-browserslist-db@latest upgrade interactive - babel - cypress - type
1 parent b196b52 commit 7fccba4

File tree

5 files changed

+1214
-705
lines changed

5 files changed

+1214
-705
lines changed

.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/publish_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 18.20.6
14+
node-version: 22.17.1
1515
registry-url: https://registry.npmjs.org/
1616
- run: yarn install
1717
- run: yarn compile
1818
- run: yarn publish
1919
env:
20-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
20+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
- uses: actions/checkout@v4
1010
- uses: actions/setup-node@v4
1111
with:
12-
node-version: 18.20.6
12+
node-version: 22.17.1
1313
- run: yarn install
14-
- run: yarn test
14+
- run: yarn test

package.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@complat/react-spectra-editor",
3-
"version": "1.3.6",
3+
"version": "1.4.0",
44
"description": "An editor to View and Edit Chemical Spectra data (NMR, IR, MS, CV, UIVIS, XRD, GC, and DSC).",
55
"repository": {
66
"type": "git",
@@ -57,6 +57,7 @@
5757
"devDependencies": {
5858
"@babel/cli": "^7.21.5",
5959
"@babel/core": "^7.21.8",
60+
"@babel/plugin-transform-runtime": "^7.28.0",
6061
"@babel/preset-env": "^7.21.5",
6162
"@babel/preset-react": "^7.18.6",
6263
"@storybook/react": "7.0.7",
@@ -73,6 +74,7 @@
7374
"eslint-plugin-jsx-a11y": "^6.5.1",
7475
"eslint-plugin-react": "^7.28.0",
7576
"eslint-plugin-react-hooks": "^4.3.0",
77+
"postcss-normalize": "^13.0.1",
7678
"react": "^17.0.2",
7779
"react-dom": "^17.0.2",
7880
"react-scripts": "5.0.1",
@@ -96,5 +98,20 @@
9698
"transformIgnorePatterns": [
9799
"/node_modules/(?!d3|d3-array|internmap|delaunator|robust-predicates)"
98100
]
101+
},
102+
"babel": {
103+
"presets": [
104+
"@babel/preset-env",
105+
[
106+
"@babel/preset-react",
107+
{
108+
"runtime": "automatic"
109+
}
110+
]
111+
],
112+
"plugins": [
113+
"@babel/plugin-transform-runtime",
114+
"@babel/plugin-transform-function-name"
115+
]
99116
}
100117
}

0 commit comments

Comments
 (0)