Skip to content

Commit

Permalink
[patch] update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Nov 20, 2023
1 parent b83e7c5 commit 673a735
Show file tree
Hide file tree
Showing 21 changed files with 4,306 additions and 10,835 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ on:
jobs:
tagged-release:
name: 'Tagged Release'
if: github.event.base_ref == 'refs/heads/main' || github.event.base_ref == 'refs/heads/master'
runs-on: 'ubuntu-latest'

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version-file: '.nvmrc'
- name: run test
run: |
npm ci
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
- name: run test
run: |
npm ci
Expand Down
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
*.tgz
*.tsbuildinfo
.DS_Store
.not-committed/
/Icon?
coverage/
dist-*/
dist/
generated-config-*
graphics/
node_modules/
src/all-files-for-code-coverage.test.ts
src/all-files-for-code-coverage.test.ts
ts.out
tsconfig.tsbuildinfo
12 changes: 9 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
**/*/readme-examples/
**/*/test/
*.book-helper.*
*.book.*
*.d.ts.map
*.test-helper.*
*.test.*
*.tgz
*.tsbuildinfo
.*
.not-committed/
/Icon?
/configs/
/coverage/
/cspell.config.js
/graphics/
/public/
/src/
/www-static/
bash-scripts/
dist-docs/
generated-config-*
index.html
test-files/
tsconfig*.json
ts.out/
tsconfig*.json
tsconfig.tsbuildinfo
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
18 changes: 11 additions & 7 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/Icon?
coverage/
dist/
graphics/
node_modules/
package-lock.json
src/all-files-for-code-coverage.test.ts
**/all-files-for-code-coverage.test.ts
**/coverage/
**/dist-*/
**/dist/
**/generated-config-*
**/graphics/
**/node_modules/
**/package-lock.json
**/ts.out/
**/tsconfig.tsbuildinfo
/Icon?
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"editor.rulers": [100],
"editor.rulers": [
100
],
"editor.wordWrapColumn": 100,
"files.associations": {
"*.svg": "html"
},
"typescript.tsdk": "node_modules/typescript/lib"
}
22 changes: 22 additions & 0 deletions configs/dep-cruiser.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type {IConfiguration} from 'dependency-cruiser';
import {generateDepCruiserConfig} from 'virmator/dist/compiled-base-configs/base-dep-cruiser.config';

const baseConfig = generateDepCruiserConfig({
fileExceptions: {
// enter file exceptions by rule name here
'no-orphans': {
from: [
'src/index.ts',
],
},
},
omitRules: [
// enter rule names here to omit
],
});

const depCruiserConfig: IConfiguration = {
...baseConfig,
};

module.exports = depCruiserConfig;
9 changes: 5 additions & 4 deletions configs/ncu.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import {RunOptions} from 'npm-check-updates';
import {baseNcuConfig} from 'virmator/dist/compiled-base-configs/base-ncu';

export const ncuConfig: RunOptions = {
color: true,
upgrade: true,
root: true,
...baseNcuConfig,
// exclude these
reject: [],
reject: [
...baseNcuConfig.reject,
],
// include only these
filter: [],
};

0 comments on commit 673a735

Please sign in to comment.