Skip to content

Commit

Permalink
chore: update the files from template
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Feb 24, 2024
1 parent 111c8c9 commit 0fdf6dc
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
*.md text eol=lf
.git* text eol=lf
*.js text eol=lf
*.ps1 text eol=lf
*.json text eol=lf
LICENSE* text eol=lf
.editorconfig text eol=lf
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/front-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Testing on Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Treat .env.ci as the environment for CI
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/_/h"

if [ -f "$(dirname -- "$0")/_/commit-msg" ]; then
. "$(dirname -- "$0")/_/commit-msg"
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/_/h"
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ different contents can be found in [`.editorconfig`].

### Allowed Commit Types
The commit types are dependent on the type of changes in the code. Commits should be atomic as much
as possible to not confuse the reviewers, easy to rebase or cherry-pick the commit, and generation of change logs.
as possible to not confuse the reviewers, easy to rebase or cherry-pick the commit, and generation
of change logs.

Meanwhile, the scope names are dependent on the topic. It is recommended to looking on the
previous commits to see the pattern on scope names.
Expand Down
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 Kenneth Trecy Tobias
Copyright (c) 2024 Kenneth Trecy Tobias

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
34 changes: 19 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"private": "true",
"license": "MIT",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"dev": "npm run development",
"build": "vite build",
"preview": "vite preview",
Expand All @@ -23,33 +23,37 @@
"test:e2e:fast": "npx playwright test"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@fullhuman/postcss-purgecss": "^5.0.0",
"@playwright/test": "^1.39.0",
"@sveltejs/adapter-cloudflare": "^2.3.3",
"@sveltejs/kit": "^1.27.1",
"@sveltejs/adapter-cloudflare": "^4.1.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/svelte": "^3.2.2",
"@testing-library/svelte": "^4.1.0",
"@tsconfig/recommended": "^1.0.3",
"@types/node": "^18.18.7",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"autoprefixer": "^10.4.16",
"changelogen": "^0.4.1",
"esbuild": "^0.16.17",
"eslint": "^8.52.0",
"changelogen": "^0.5.5",
"esbuild": "^0.20.0",
"eslint-config-whitelistyle": "github:KennethTrecy/eslint-config-whitelistyle",
"eslint-plugin-svelte": "^2.34.0",
"eslint-plugin-svelte3": "^4.0.0",
"eslint": "^8.52.0",
"gramma": "github:KennethTrecy/gramma#v1.7.0-rc1",
"husky": "^8.0.3",
"jsdom": "^20.0.3",
"husky": "^9.0.10",
"jsdom": "^24.0.0",
"postcss": "^8.4.31",
"sass": "^1.69.5",
"sass": "^1.71.1",
"svelte-preprocess": "^4.10.7",
"svelte": "^4.2.12",
"tslib": "^2.6.2",
"typescript": "^4.9.5",
"vite": "^4.5.0",
"vitest": "^0.28.5"
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vitest": "^1.3.1"
},
"dependencies": {
"@octokit/core": "^4.2.4",
Expand Down
1 change: 1 addition & 0 deletions src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ declare namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
interface Platform {
env: {
PUBLIC_PRODUCTION_BASE_URL: string
Expand Down
3 changes: 0 additions & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { resolve } from "path"
import adapter from "@sveltejs/adapter-cloudflare"
import { vitePreprocess } from "@sveltejs/kit/vite"

/** @type {import("@sveltejs/kit").Config} */
const configuration = {
"preprocess": vitePreprocess(),

"kit": {
"adapter": adapter(),
"alias": {
Expand Down

0 comments on commit 0fdf6dc

Please sign in to comment.