Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit 01e46da

Browse files
committed
feat:add ci and format
1 parent f2082ed commit 01e46da

File tree

7 files changed

+414
-29
lines changed

7 files changed

+414
-29
lines changed

.github/FUNDING.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: ryoppippi

.github/renovate.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"vulnerabilityAlerts": {
3+
"labels": [
4+
"security"
5+
]
6+
},
7+
"labels": [
8+
"dependencies",
9+
"renovate"
10+
],
11+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
12+
"rangeStrategy": "bump",
13+
"lockFileMaintenance": {
14+
"enabled": true
15+
},
16+
"platformAutomerge": true,
17+
"dependencyDashboard": false,
18+
"automerge": true,
19+
"branchConcurrentLimit": 0,
20+
"stabilityDays": 3
21+
}

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
NODE_VERSION: 22.x
9+
10+
jobs:
11+
ci:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: pnpm/action-setup@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: ${{ env.NODE_VERSION }}
19+
cache: pnpm
20+
- name: Install dependencies
21+
run: pnpm install --frozen-lockfile
22+
- name: Run check
23+
run: pnpm typecheck
24+
- name: Run lint
25+
run: pnpm lint

eslint.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { ryoppippi } from "@ryoppippi/eslint-config";
1+
import { ryoppippi } from '@ryoppippi/eslint-config';
22

33
export default ryoppippi({
4-
svelte: true,
5-
typescript: {
6-
tsconfigPath: "./tsconfig.json",
7-
},
4+
svelte: true,
5+
typescript: {
6+
tsconfigPath: './tsconfig.json',
7+
},
88
});

package.json

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
{
2-
"name": "svelte-preprocess-css-modules",
3-
"version": "1.0.0",
4-
"description": "",
5-
"main": "index.js",
6-
"scripts": {
7-
"build": "mkdist -d",
8-
"lint": "eslint --cache .",
9-
"format": "nr lint --fix"
10-
},
11-
"keywords": [],
12-
"author": "",
13-
"license": "MIT",
14-
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
15-
"devDependencies": {
16-
"@ryoppippi/eslint-config": "npm:@jsr/ryoppippi__eslint-config",
17-
"eslint": "^9.8.0",
18-
"mkdist": "^1.5.4"
19-
}
2+
"name": "svelte-preprocess-css-modules",
3+
"type": "module",
4+
"version": "0.0.0",
5+
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
6+
"description": "",
7+
"author": "",
8+
"license": "MIT",
9+
"keywords": [],
10+
"scripts": {
11+
"build": "mkdist -d",
12+
"lint": "eslint --cache .",
13+
"format": "nr lint --fix",
14+
"typecheck": "tsc --noEmit"
15+
},
16+
"devDependencies": {
17+
"@antfu/ni": "^0.22.0",
18+
"@ryoppippi/eslint-config": "npm:@jsr/ryoppippi__eslint-config",
19+
"eslint": "^9.8.0",
20+
"eslint-plugin-format": "^0.1.2",
21+
"eslint-plugin-svelte": "^2.43.0",
22+
"mkdist": "^1.5.4",
23+
"svelte": "5.0.0-next.210"
24+
}
2025
}

0 commit comments

Comments
 (0)