Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Mar 15, 2024
1 parent 125ccda commit 3c79808
Show file tree
Hide file tree
Showing 8 changed files with 2,174 additions and 2,017 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
env:
NODE_OPTIONS: '--max-old-space-size=3200'
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: false } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/checkout@v4, with: { persist-credentials: false } }
- { uses: actions/setup-node@v4, with: { node-version: 'lts/*', cache: 'yarn' } }
- { name: yarn, run: yarn --frozen-lockfile }

- name: build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: false } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/checkout@v4, with: { persist-credentials: false } }
- { uses: actions/setup-node@v4, with: { node-version: 'lts/*', cache: 'yarn' } }
- { name: yarn, run: yarn --frozen-lockfile }

- name: docs-build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
env: { NODE_OPTIONS: '--max-old-space-size=3200' }
steps:
- { uses: actions/checkout@v3, with: { persist-credentials: true } }
- { uses: actions/setup-node@v3, with: { node-version: 18, cache: 'yarn' } }
- { uses: actions/checkout@v4, with: { persist-credentials: true } }
- { uses: actions/setup-node@v4, with: { node-version: 'lts/*', cache: 'yarn' } }

# Cache for npm/npx in ~/.npm
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.npm
key: npm-v1-${{ runner.os }}
Expand Down
4 changes: 2 additions & 2 deletions cfg/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
"jsx": "preserve",
"pretty": true,
"newLine": "lf",
"experimentalDecorators": true
"experimentalDecorators": true,
// "emitDecoratorMetadata": true // use if needed
}
},
// Need to be specified in the project tsconfig
// "include": ["src"],
// "exclude": ["**/__exclude", "**/@linked"]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@naturalcycles/frontend-lib",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build-prod": "build-prod-esm-cjs",
"docs-dev": "vitepress dev docs --open",
"docs-build": "vitepress build docs",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"compilerOptions": {
"outDir": "dist",
// "allowJs": true,
"target": "es2017" // es2017+ browsers
"target": "es2017", // es2017+ browsers
},
"include": ["src"],
"exclude": ["**/__exclude"]
"exclude": ["**/__exclude"],
}
4 changes: 2 additions & 2 deletions tsconfig.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"sourceMap": false
"sourceMap": false,
},
"exclude": ["**/__exclude", "src/test", "src/**/*.test.*"]
"exclude": ["**/__exclude", "src/test", "src/**/*.test.*"],
}
4,163 changes: 2,160 additions & 2,003 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 3c79808

Please sign in to comment.