excellentexport 3.9.11 → 3.9.15
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/.editorconfig +9 -0
- package/.github/workflows/build.yml +50 -0
- package/README.md +401 -395
- package/dist/excellentexport.d.ts +37 -45
- package/dist/excellentexport.js +132 -2
- package/dist/excellentexport.js.LICENSE.txt +206 -2
- package/dist/utils.d.ts +27 -0
- package/index.html +28 -0
- package/package.json +42 -46
- package/src/excellentexport.ts +264 -254
- package/src/utils.ts +208 -144
- package/test/checkversion.test.ts +17 -16
- package/test/convert-filters.test.ts +70 -70
- package/test/convert-table.test.ts +163 -71
- package/test/convert.format.ts +56 -56
- package/test/convert.test.ts +60 -59
- package/test/fixdata.test.ts +74 -74
- package/test/negative.test.ts +130 -129
- package/test/simple.test.ts +11 -10
- package/test/tsconfig.json +19 -0
- package/test/utils.test.ts +101 -29
- package/test/utils_fixdata.test.ts +25 -24
- package/test/utils_removeColumns.test.ts +98 -98
- package/tsconfig.json +35 -17
- package/vite.config.ts +37 -0
- package/vitest.config.ts +26 -0
- package/.babelrc +0 -8
- package/.github/workflows/webpack.yml +0 -36
- package/bower.json +0 -32
- package/jest.config.ts +0 -203
package/.editorconfig
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Node CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ master ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ master ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
node-version: [24.x]
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v6
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
|
|
23
|
+
- name: Use Node.js ${{ matrix.node-version }}
|
|
24
|
+
uses: actions/setup-node@v6
|
|
25
|
+
with:
|
|
26
|
+
node-version: ${{ matrix.node-version }}
|
|
27
|
+
cache: 'npm'
|
|
28
|
+
|
|
29
|
+
- run: npm install
|
|
30
|
+
|
|
31
|
+
- name: Cache Playwright browsers
|
|
32
|
+
uses: actions/cache@v5
|
|
33
|
+
with:
|
|
34
|
+
path: ~/.cache/ms-playwright
|
|
35
|
+
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
|
|
36
|
+
restore-keys: |
|
|
37
|
+
${{ runner.os }}-playwright-
|
|
38
|
+
|
|
39
|
+
- name: Install Playwright browsers
|
|
40
|
+
run: npx playwright install --with-deps chromium
|
|
41
|
+
|
|
42
|
+
- name: npm test - Vitest
|
|
43
|
+
run: npm test
|
|
44
|
+
|
|
45
|
+
- name: Upload coverage reports to Codecov
|
|
46
|
+
uses: codecov/codecov-action@v7
|
|
47
|
+
with:
|
|
48
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
49
|
+
files: ./coverage/lcov.info
|
|
50
|
+
|