dcmjs 0.34.2 → 0.34.4
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/.eslintrc.json +4 -0
- package/.github/workflows/lint-and-format.yml +27 -0
- package/.github/workflows/tests.yml +2 -2
- package/build/dcmjs.es.js +4103 -4093
- package/build/dcmjs.es.js.map +1 -1
- package/build/dcmjs.js +4103 -4093
- package/build/dcmjs.js.map +1 -1
- package/package.json +7 -2
- package/test/adapters.test.js +14 -16
- package/test/data-encoding.test.js +1 -4
- package/test/data-options.test.js +0 -1
- package/test/data.test.js +224 -117
- package/test/lossless-read-write.test.js +430 -250
- package/test/testUtils.js +1 -2
- package/test/utilities/deepEqual.test.js +29 -20
package/.eslintrc.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Run lint and format check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
- push
|
|
5
|
+
- pull_request
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
lint-and-format:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout repository
|
|
13
|
+
uses: actions/checkout@v4
|
|
14
|
+
|
|
15
|
+
- name: Setup Node.js
|
|
16
|
+
uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: 18
|
|
19
|
+
|
|
20
|
+
- name: Install packages
|
|
21
|
+
run: yarn install --frozen-lockfile
|
|
22
|
+
|
|
23
|
+
- name: Run ESLint
|
|
24
|
+
run: yarn lint
|
|
25
|
+
|
|
26
|
+
- name: Check Prettier formatting
|
|
27
|
+
run: yarn format:check
|