Skip to content

Commit 9fafbab

Browse files
author
m.r
committed
V4.0.0
1 parent 00c2c64 commit 9fafbab

File tree

139 files changed

+18981
-7210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+18981
-7210
lines changed

.github/workflows/release.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Release new Package
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- CHANGELOG.md
8+
jobs:
9+
release:
10+
name: Create release package
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout to code
14+
uses: actions/checkout@v4
15+
- name: install Node js Version 20.x
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20.x'
19+
- name: Run application
20+
run: npm run start
21+
- name: Retrieve Release Version
22+
run: echo "PV=$(node version.js)" >> $GITHUB_ENV
23+
# - run: git pull
24+
# - run: git log -1 -- package.json
25+
# - name: node test
26+
# run: node body.js >>test
27+
- run: cat change-log
28+
# - run: git log -p -1 -- package.json
29+
- name: Retrieve Release Body
30+
run: |
31+
{
32+
echo 'PB<<EOF'
33+
cat change-log
34+
echo EOF
35+
} >> $GITHUB_ENV
36+
- name: Run application
37+
run: npm run start
38+
# - name: Archive Release
39+
# uses: thedoctor0/[email protected]
40+
# with:
41+
# filename: arc.zip
42+
# exclusions: '*.git* /*node_modules/* .github version.js'
43+
# - name: Retrieve Version
44+
# run: echo "PV=$(node version.js)" >> $GITHUB_ENV
45+
- run: echo ${{env.PV}}
46+
- name: Create Github Release
47+
uses: actions/create-release@v1
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
with:
51+
tag_name: ${{env.PV}}
52+
release_name: Release v${{env.PV}}
53+
body: ${{env.PB}}
54+
55+

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test
2+
on: push
3+
jobs:
4+
test:
5+
name: Test
6+
timeout-minutes: 20
7+
continue-on-error: true
8+
strategy:
9+
matrix:
10+
os: [macos-latest, windows-latest, ubuntu-latest,macos-13]
11+
version: ['14.x', '15.x', '16.x','17.x', '18.x','19.x','20.x']
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- name: Checkout to code
15+
uses: actions/checkout@v4
16+
- name: install Node js Version ${{ matrix.version }}
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.version }}
20+
- name: install dependency
21+
run: npm install
22+
- name: Run test
23+
run: npm run test

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
coverage

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
example
1+
example
2+
_test_

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## Version 4.0.0 (2023-1-6)
4+
5+
we have added the test and release packages. Additionally, we have addressed various issues, such as misspelling in the interface, problems with the extractExcelData function, shift top sheet problem (unit problem), and more.
6+
7+
### New Features
8+
9+
- Added tests
10+
- Release Github package
11+
12+
### Improvements
13+
14+
- Reduced the size of the generated file.
15+
- more
16+
17+
### Bug Fixes
18+
19+
- Corrected misspellings in interfaces.
20+
- Fixed extractExcelData where the value will now return, and you need to specify if you want to use it in the backend.
21+
- Resolved the issue of shifting the top in the sheet, fixing problems in units.
22+
- more
23+
324
## Version 3.2.0 (2023-12-29)
425

526
### New Features

0 commit comments

Comments
 (0)