Skip to content

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Aug 18, 2024
1 parent d3b5e67 commit d545321
Show file tree
Hide file tree
Showing 20 changed files with 730 additions and 726 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
"changelog": [
"@changesets/changelog-github",
{
Expand Down
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.git
.gitignore
*.md
dist
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository

github: [sonofmagic]
custom: ["https://github.com/sonofmagic/sponsors"]
custom: ['https://github.com/sonofmagic/sponsors']
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "\U0001F41E Bug report"
name: 🐞 Bug report
description: Create a report to help us improve
title: "[Bug]: "
labels: ["bug"]
title: '[Bug]: '
labels: [bug]
assignees:
- sonofmagic
body:
Expand Down Expand Up @@ -30,8 +30,8 @@ body:
You can always provide a GitHub repository.
The reproduction should be **minimal** - i.e. it should contain only the bare minimum amount of code needed
to show the bug.
to show the bug.
Please do not just fill in a random link. The issue will be closed if no valid reproduction is provided.
placeholder: Reproduction Link
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ contact_links:
# about: Love Vue.js? Please consider supporting us via Patreon.
# - name: Open Collective
# url: https://opencollective.com/vuejs/donate
# about: Love Vue.js? Please consider supporting us via Open Collective.
# about: Love Vue.js? Please consider supporting us via Open Collective.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache: pnpm

- name: Install dependencies
run: pnpm install
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
HUSKY: 0

jobs:
release:
name: Release
Expand All @@ -24,7 +24,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: pnpm

- name: Install Dependencies
run: pnpm i
Expand All @@ -47,4 +47,3 @@ jobs:
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# pnpm lint-staged
pnpm lint-staged
9 changes: 5 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
},
// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{
"rule": "style/*",
"severity": "off"
},
// close "style/* off"
// {
// "rule": "style/*",
// "severity": "off"
// },
{
"rule": "format/*",
"severity": "off"
Expand Down
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM node:20-alpine AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

FROM base AS builder
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run -r build
RUN pnpm deploy --filter=@icebreakers/foo --prod /prod/foo
RUN pnpm deploy --filter=@icebreakers/bar --prod /prod/bar

FROM base AS foo
COPY --from=builder /prod/foo /prod/foo
WORKDIR /prod/foo
EXPOSE 8000
CMD [ "pnpm", "start" ]

FROM base AS bar
COPY --from=builder /prod/bar /prod/bar
WORKDIR /prod/bar
EXPOSE 8001
CMD [ "pnpm", "start" ]

# docker build . --target foo --tag foo:latest
# docker build . --target bar --tag bar:latest
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 ice breaker
Copyright (c) 2024 ice breaker

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import type { UserConfig } from '@commitlint/types'
// import { RuleConfigSeverity } from '@commitlint/types'

export default <UserConfig>{
extends: ['@commitlint/config-conventional']
extends: ['@commitlint/config-conventional'],
}
4 changes: 1 addition & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { icebreaker } from '@icebreakers/eslint-config'

export default icebreaker(
{
markdown: false
},
{},
{
ignores: ['**/fixtures/**'],
},
Expand Down
32 changes: 19 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,40 @@
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@commitlint/cli": "^19.3.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/prompt-cli": "^19.3.1",
"@commitlint/prompt-cli": "^19.4.0",
"@commitlint/types": "^19.0.3",
"@icebreakers/eslint-config": "^0.3.14",
"@icebreakers/eslint-config": "^0.3.20",
"@types/fs-extra": "^11.0.4",
"@types/get-value": "^3.0.5",
"@types/lint-staged": "^13.3.0",
"@types/lodash": "^4.17.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.14.12",
"@vitest/coverage-v8": "^2.0.4",
"@types/node": "^22.4.0",
"@types/set-value": "^4.0.3",
"@vitest/coverage-v8": "^2.0.5",
"ci-info": "^4.0.0",
"eslint": "^9.8.0",
"defu": "^6.1.4",
"eslint": "^9.9.0",
"fs-extra": "^11.2.0",
"husky": "^9.1.3",
"lint-staged": "^15.2.7",
"get-value": "^3.0.1",
"husky": "^9.1.4",
"lint-staged": "^15.2.8",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"only-allow": "^1.2.1",
"pathe": "^1.1.2",
"pkg-types": "^1.1.3",
"set-value": "^4.1.0",
"tslib": "^2.6.3",
"tsup": "^8.2.3",
"tsx": "^4.16.2",
"turbo": "^2.0.9",
"tsup": "^8.2.4",
"tsx": "^4.17.0",
"turbo": "^2.0.14",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.0.4"
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.0.5"
},
"publishConfig": {
"access": "public",
Expand Down
Loading

0 comments on commit d545321

Please sign in to comment.