Skip to content

Commit

Permalink
chore: bump flake nixpkgs input, use deno v2 and bump deps (#1500)
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter authored Dec 17, 2024
1 parent bbc609e commit 9e4776d
Show file tree
Hide file tree
Showing 8 changed files with 1,246 additions and 1,429 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deno-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
deno-version: v2.1.3

- name: Check
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deno-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
deno-version: v2.1.3

- name: Regenerate Deno lock
run: deno cache **/*.ts --lock=deno.lock
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
deno-version: v2.1.3

- name: Generate health files
run: deno task generate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
deno-version: v2.1.3

- name: Run Lint
run: deno task lint
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
deno-version: v2.1.3

- name: Generate Stylus import file
run: deno task stylus-import
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maintainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
deno-version: v2.1.3

- name: Sync maintainers
if: ${{ github.repository == 'catppuccin/userstyles' && github.ref == 'refs/heads/main' }}
Expand Down
20 changes: 10 additions & 10 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
"imports": {
"@/": "./scripts/",
"@actions/core": "npm:@actions/[email protected]",
"@catppuccin/palette": "npm:@catppuccin/palette@1.3.0",
"@octokit/rest": "npm:@octokit/[email protected].1",
"@std/assert": "jsr:@std/assert@^1.0.5",
"@std/cli": "jsr:@std/cli@^1.0.6",
"@catppuccin/palette": "npm:@catppuccin/palette@^1.7.1",
"@octokit/rest": "npm:@octokit/rest@^21.0.2",
"@std/assert": "jsr:@std/assert@^1.0.9",
"@std/cli": "jsr:@std/cli@^1.0.8",
"@std/fmt": "jsr:@std/fmt@^1.0.2",
"@std/fs": "jsr:@std/fs@^1.0.3",
"@std/path": "jsr:@std/path@^1.0.7",
"@std/fs": "jsr:@std/fs@^1.0.6",
"@std/path": "jsr:@std/path@^1.0.8",
"@std/yaml": "jsr:@std/yaml@^1.0.5",
"ajv": "npm:[email protected]",
"@catppuccin/catppuccin/": "https://raw.githubusercontent.com/catppuccin/catppuccin/d4f2666c2b04337f0a8632713de0889d9a7d332d/",
"handlebars": "npm:[email protected]",
"json-schema-to-typescript": "npm:[email protected].2",
"json-schema-to-typescript": "npm:json-schema-to-typescript@^15.0.3",
"less": "npm:[email protected]",
"postcss-less": "npm:[email protected]",
"postcss-value-parser": "npm:[email protected]",
"stylelint": "npm:stylelint@16.10.0",
"stylelint": "npm:stylelint@^16.12.0",
"stylelint-config-recommended": "npm:[email protected]",
"stylelint-config-standard": "npm:[email protected]",
"svgo": "npm:[email protected]",
"type-fest": "npm:type-fest@4.23.0",
"type-fest": "npm:type-fest@^4.30.2",
"usercss-meta": "npm:[email protected]"
},
"tasks": {
Expand All @@ -33,7 +33,7 @@
"update-types": "deno run -A ./scripts/types/update-types.ts",
"format": "deno run -A npm:[email protected] --write ."
},
"nodeModulesDir": true,
"nodeModulesDir": "auto",
"fmt": {
"include": ["scripts/**/*.ts", "scripts/**/*.js"]
},
Expand Down
Loading

0 comments on commit 9e4776d

Please sign in to comment.