Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
workflow_dispatch:

env:
NPM_VERSION: "18.0.2"
NPM_VERSION: "18.1.0"

permissions:
contents: write
Expand All @@ -25,17 +25,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Echo build number
run: echo ${{github.run_id}}

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '22'

- name: Npm ci
run: npm ci
Expand Down Expand Up @@ -93,19 +93,19 @@ jobs:
if: ${{ (github.run_attempt != 1) }}
needs: [ build_and_test ] # wait for build to finish
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Download a Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: npm-publish-artifact

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Update npm
Expand Down Expand Up @@ -133,19 +133,19 @@ jobs:
if: ${{ (github.run_attempt != 1) }}
needs: [ build_and_test ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Download a Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: npm-publish-artifact

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Update npm
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<!--Copyright Laserfiche.
Licensed under the MIT License. See LICENSE in the project root for license information.-->
## 18.1.0

### Breaking Changes
- Updated services to use the Repository API v2 instead of Repository API v1
- Please pin `lf-ui-components-services` to version `18.0.2` if your project is still using Repository API v1

## 18.0.2

### Chore & Maintenance
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default defineConfig([
parser: tsParser,
},

ignores: ["**/*.ts"],
ignores: ["dist/**"],

rules: {
"@typescript-eslint/ban-types": "off",
Expand Down
7 changes: 1 addition & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,11 @@ module.exports = {
moduleFileExtensions: ['ts', 'js'],
reporters: ['default', 'jest-junit'],
transform: {
'^.+\\.ts$': 'ts-jest',
'^.+\\.ts$': ['ts-jest', { tsconfig: 'tsconfig.test.json' }],
"^.+\\.js$": "babel-jest",
},
testRegex: '(/__tests__/.*|(\\.|/)(spec))\\.ts$',
testEnvironment: 'jsdom',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json'
},
},
transformIgnorePatterns: [
"/node_modules/?!(@laserfiche)"
],
Expand Down
Loading
Loading