Skip to content

Commit

Permalink
fix: dependencies 2023-10-23 (#356)
Browse files Browse the repository at this point in the history
* chore: automatic empty commit

* chore(deps): update dependency @vercel/ncc to v0.38.1 (#357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update node.js to v20.8.1 (#358)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v8.52.0 (#360)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @types/node to v20.8.9 (#362)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-import to v2.29.0 (#363)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency node to v20.9.0 (#364)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update typescript-eslint monorepo to v6.9.0 (#365)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-node action to v4 (#366)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update typescript-eslint monorepo to v6.9.1 (#367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @types/node to v20.8.10 (#368)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v8.53.0 (#370)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): lock file maintenance (#369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* ditch yarn

* fix ci

* remove algolia

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
bodinsamuel and renovate[bot] authored Nov 6, 2023
1 parent 8a2f520 commit 45c78e1
Show file tree
Hide file tree
Showing 12 changed files with 9,540 additions and 8,890 deletions.
26 changes: 24 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,35 @@
// eslint-disable-next-line import/no-commonjs
module.exports = {
extends: [
'algolia',
'algolia/typescript',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/strict',
'plugin:@typescript-eslint/stylistic',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
'import',
],
rules: {
'prettier/prettier': [
'error',
{
arrowParens: 'always',
bracketSpacing: true,
bracketSameLine: false,
printWidth: 80,
singleQuote: true,
trailingComma: 'es5',
useTabs: false,
quoteProps: 'as-needed',
},
],
'no-console': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
},
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@ jobs:
- uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
cache: 'npm'
cache-dependency-path: |
package-lock.json
- run: yarn install
- name: Install dependencies
run: npm ci

- name: Install dependencies
run: npm ci

- name: Run Linter
run: yarn lint
run: npm run lint


18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,17 @@ jobs:
persist-credentials: false

- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
cache: 'npm'
cache-dependency-path: |
package-lock.json
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: node_modules
key: 16.x-${{ runner.OS }}-build-${{ hashFiles('package.json') }}

- run: yarn install
- name: Install dependencies
run: npm ci

- run: yarn build && yarn build:ga
- run: npm run build && npm run build:ga

- uses: cycjimmy/semantic-release-action@v3
env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ jobs:
- uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
cache-dependency-path: |
package-lock.json
- name: Setting env var
id: env_var
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.8.1
20.9.0
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions .yarnrc.yml

This file was deleted.

13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN jq 'walk(if type == "object" then with_entries(select(.key | test("^jest|pre
# ------------------
# deps install
# ------------------
FROM node:20.8.0-bullseye AS base
FROM node:20.9.0-bullseye AS base

# Setup the app WORKDIR
WORKDIR /app/rab
Expand All @@ -19,26 +19,25 @@ WORKDIR /app/rab
# Copy and install dependencies separately from the app's code
# To leverage Docker's cache when no dependency has change
COPY --from=deps /tmp/deps.json ./package.json
COPY yarn.lock .yarnrc.yml ./
COPY .yarn .yarn
COPY package-lock.json ./


# Install dev dependencies
RUN true \
&& yarn install
&& npm install

# This step will invalidates cache
COPY . ./

# Build
RUN true \
&& yarn build \
&& rm -rf .yarn/
&& npm run build \
&& rm -rf src/

# ------------------
# final image
# ------------------
FROM node:20.8.0-bullseye as web
FROM node:20.9.0-bullseye as web

LABEL org.opencontainers.image.source = "https://github.com/bodinsamuel/renovate-automatic-branch"

Expand Down
Loading

0 comments on commit 45c78e1

Please sign in to comment.