penrose 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.ncurc.cjs ADDED
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ cooldown: '7d',
3
+ removeRange: true,
4
+ target: 'minor',
5
+ upgrade: true
6
+ };
@@ -6,14 +6,6 @@ default_stages: [pre-commit]
6
6
  fail_fast: true
7
7
 
8
8
  repos:
9
- - repo: local
10
- hooks:
11
- - id: nixfmt
12
- name: nixfmt
13
- entry: nixfmt
14
- language: system
15
- files: \.nix$
16
-
17
9
  - repo: https://github.com/pre-commit/mirrors-prettier
18
10
  rev: v3.1.0
19
11
  hooks:
package/Makefile CHANGED
@@ -8,10 +8,73 @@ ifneq ($(shell which tput),)
8
8
  endif
9
9
  endif
10
10
 
11
+ # ==============================================================================
12
+ # DEPENDENCY MANAGEMENT
13
+ # ==============================================================================
14
+
15
+ deps-scan:
16
+ @echo "$(YELLOW)Scanning root lockfiles for vulnerabilities...$(RESET)"
17
+ trivy fs pnpm-lock.yaml --table-mode detailed
18
+
19
+ repo-scan:
20
+ @echo "$(YELLOW)Scanning entire repository for vulnerabilities...$(RESET)"
21
+ trivy fs .
22
+
23
+ node-outdated:
24
+ @echo "$(YELLOW)Listing outdated Node dependencies...$(RESET)"
25
+ @pnpm outdated || true
26
+
27
+ node-upgrade: PACKAGE := $(word 2,$(MAKECMDGOALS))
28
+ node-upgrade:
29
+ @if [ -z "$(PACKAGE)" ]; then \
30
+ echo "$(YELLOW)Upgrading all Node dependencies...$(RESET)"; \
31
+ pnpm exec ncu --packageManager pnpm --install always; \
32
+ else \
33
+ echo "$(YELLOW)Upgrading '$(PACKAGE)'...$(RESET)"; \
34
+ pnpm exec ncu $(PACKAGE) --packageManager pnpm --install always; \
35
+ fi
36
+
37
+ # Prevent make from treating arguments to node-upgrade as targets
38
+ ifeq (node-upgrade,$(firstword $(MAKECMDGOALS)))
39
+ %:
40
+ @:
41
+ endif
42
+
43
+ node-why: PACKAGE := $(word 2,$(MAKECMDGOALS))
44
+ node-why:
45
+ @if [ -z "$(PACKAGE)" ]; then \
46
+ echo "$(RED)Error: Package name is required.$(RESET)"; \
47
+ echo "Usage: make node-why <package>"; \
48
+ exit 1; \
49
+ fi
50
+ @echo "$(YELLOW)Listing Node dependencies of '$(PACKAGE)'...$(RESET)"
51
+ pnpm why $(PACKAGE)
52
+
53
+ # Prevent make from treating arguments to node-why as targets
54
+ ifeq (node-why,$(firstword $(MAKECMDGOALS)))
55
+ %:
56
+ @:
57
+ endif
58
+
59
+ # ==============================================================================
60
+ # FORMAT
61
+ # ==============================================================================
62
+
11
63
  format:
12
64
  @echo "Formatting code..."
13
65
  pre-commit run format-js --all-files
14
66
 
67
+ # ==============================================================================
68
+ # LINT & TEST
69
+ # ==============================================================================
70
+
71
+ test:
72
+ vitest run
73
+
74
+ # ==============================================================================
75
+ # PUBLISH
76
+ # ==============================================================================
77
+
15
78
  bump-version:
16
79
  @BUMP=$(word 2,$(MAKECMDGOALS)); \
17
80
  VALID_BUMP="major minor patch premajor preminor prepatch prerelease"; \
@@ -29,7 +92,11 @@ bump-version:
29
92
 
30
93
  create-release:
31
94
  @VERSION=$$(pnpm pkg get version --browser=false | tr -d '"'); \
32
- gh release create $$VERSION;
95
+ gh release create $$VERSION; \
96
+ git fetch --tags;
97
+
98
+ publish:
99
+ pnpm publish
33
100
 
34
101
  # Prevent make from treating arguments to bump-version as targets
35
102
  ifeq (bump-version,$(firstword $(MAKECMDGOALS)))
package/mise.lock ADDED
@@ -0,0 +1,192 @@
1
+ # @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html
2
+
3
+ [[tools.node]]
4
+ version = "24.18.0"
5
+ backend = "core:node"
6
+
7
+ [tools.node."platforms.linux-arm64"]
8
+ checksum = "sha256:6b4484c2190274175df9aa8f28e2d758a819cb1c1fe6ab481e2f95b463ab8508"
9
+ url = "https://nodejs.org/dist/v24.18.0/node-v24.18.0-linux-arm64.tar.gz"
10
+
11
+ [tools.node."platforms.linux-arm64-musl"]
12
+ checksum = "sha256:b1c6c2dc31b46dd8fb2322f4fe75b07e775c5120bc37251deeea28f529d4567b"
13
+ url = "https://unofficial-builds.nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-arm64-musl.tar.gz"
14
+
15
+ [tools.node."platforms.linux-x64"]
16
+ checksum = "sha256:783130984963db7ba9cbd01089eaf2c2efb055c7c1693c943174b967b3050cb8"
17
+ url = "https://nodejs.org/dist/v24.18.0/node-v24.18.0-linux-x64.tar.gz"
18
+
19
+ [tools.node."platforms.linux-x64-musl"]
20
+ checksum = "sha256:ea58409911e141ec6b19d9178efa2d9185a13295005b1cbf5521b3157eed1d95"
21
+ url = "https://unofficial-builds.nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-x64-musl.tar.gz"
22
+
23
+ [tools.node."platforms.macos-arm64"]
24
+ checksum = "sha256:e1a97e14c99c803e96c7339403282ea05a499c32f8d83defe9ef5ec66f979ed1"
25
+ url = "https://nodejs.org/dist/v24.18.0/node-v24.18.0-darwin-arm64.tar.gz"
26
+
27
+ [tools.node."platforms.macos-x64"]
28
+ checksum = "sha256:dfd0dbd3e721503434df7b7205e719f61b3a3a31b2bcf9729b8b91fea240f080"
29
+ url = "https://nodejs.org/dist/v24.18.0/node-v24.18.0-darwin-x64.tar.gz"
30
+
31
+ [tools.node."platforms.windows-x64"]
32
+ checksum = "sha256:0ae68406b42d7725661da979b1403ec9926da205c6770827f33aac9d8f26e821"
33
+ url = "https://nodejs.org/dist/v24.18.0/node-v24.18.0-win-x64.zip"
34
+
35
+ [[tools.pnpm]]
36
+ version = "11.15.0"
37
+ backend = "aqua:pnpm/pnpm"
38
+
39
+ [tools.pnpm."platforms.linux-arm64"]
40
+ checksum = "sha256:d0c62d5953a9ba168267d81d178edf0fcdd9ea947da7b3e21ff8f65a679dd4ba"
41
+ url = "https://github.com/pnpm/pnpm/releases/download/v11.15.0/pnpm-linux-arm64.tar.gz"
42
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/481462338"
43
+ provenance = "github-attestations"
44
+
45
+ [tools.pnpm."platforms.linux-arm64-musl"]
46
+ checksum = "sha256:04efd75a46b7d79dda92dbddaed729c4b54cc50d2ca836cb0f24f1f591387916"
47
+ url = "https://github.com/pnpm/pnpm/releases/download/v11.15.0/pnpm-linux-arm64-musl.tar.gz"
48
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/481462341"
49
+ provenance = "github-attestations"
50
+
51
+ [tools.pnpm."platforms.linux-x64"]
52
+ checksum = "sha256:f9fb813541b04a9c63f0b87d4116794b24ecf6c61f1c0757f3f32b03bb3b55b3"
53
+ url = "https://github.com/pnpm/pnpm/releases/download/v11.15.0/pnpm-linux-x64.tar.gz"
54
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/481462340"
55
+ provenance = "github-attestations"
56
+
57
+ [tools.pnpm."platforms.linux-x64-musl"]
58
+ checksum = "sha256:1a8ad7bbf355dc37d516d443e3de0768920fc22a03761ac7ff02a790a55ffb2d"
59
+ url = "https://github.com/pnpm/pnpm/releases/download/v11.15.0/pnpm-linux-x64-musl.tar.gz"
60
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/481462339"
61
+ provenance = "github-attestations"
62
+
63
+ [tools.pnpm."platforms.macos-arm64"]
64
+ checksum = "sha256:662da4d7515b268c20fae097147a0ddcb91f9eba23b79c1c8d403e0d6fea1900"
65
+ url = "https://github.com/pnpm/pnpm/releases/download/v11.15.0/pnpm-darwin-arm64.tar.gz"
66
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/481462336"
67
+ provenance = "github-attestations"
68
+
69
+ [tools.pnpm."platforms.windows-x64"]
70
+ checksum = "sha256:da333ad91f95ee97caf9bb66a5a100f328d42b72a39007d4f3f2639a2b4166e7"
71
+ url = "https://github.com/pnpm/pnpm/releases/download/v11.15.0/pnpm-win32-x64.zip"
72
+ url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/481465354"
73
+ provenance = "github-attestations"
74
+
75
+ [[tools.pre-commit]]
76
+ version = "4.6.0"
77
+ backend = "aqua:pre-commit/pre-commit"
78
+
79
+ [tools.pre-commit."platforms.linux-arm64"]
80
+ checksum = "sha256:ea8a0c84902e48c1875558f2f362ed8476773aa5fc8c16c5d8f2acc2a2830a65"
81
+ url = "https://github.com/pre-commit/pre-commit/releases/download/v4.6.0/pre-commit-4.6.0.pyz"
82
+ url_api = "https://api.github.com/repos/pre-commit/pre-commit/releases/assets/401888770"
83
+
84
+ [tools.pre-commit."platforms.linux-arm64-musl"]
85
+ checksum = "sha256:ea8a0c84902e48c1875558f2f362ed8476773aa5fc8c16c5d8f2acc2a2830a65"
86
+ url = "https://github.com/pre-commit/pre-commit/releases/download/v4.6.0/pre-commit-4.6.0.pyz"
87
+ url_api = "https://api.github.com/repos/pre-commit/pre-commit/releases/assets/401888770"
88
+
89
+ [tools.pre-commit."platforms.linux-x64"]
90
+ checksum = "sha256:ea8a0c84902e48c1875558f2f362ed8476773aa5fc8c16c5d8f2acc2a2830a65"
91
+ url = "https://github.com/pre-commit/pre-commit/releases/download/v4.6.0/pre-commit-4.6.0.pyz"
92
+ url_api = "https://api.github.com/repos/pre-commit/pre-commit/releases/assets/401888770"
93
+
94
+ [tools.pre-commit."platforms.linux-x64-musl"]
95
+ checksum = "sha256:ea8a0c84902e48c1875558f2f362ed8476773aa5fc8c16c5d8f2acc2a2830a65"
96
+ url = "https://github.com/pre-commit/pre-commit/releases/download/v4.6.0/pre-commit-4.6.0.pyz"
97
+ url_api = "https://api.github.com/repos/pre-commit/pre-commit/releases/assets/401888770"
98
+
99
+ [tools.pre-commit."platforms.macos-arm64"]
100
+ checksum = "sha256:ea8a0c84902e48c1875558f2f362ed8476773aa5fc8c16c5d8f2acc2a2830a65"
101
+ url = "https://github.com/pre-commit/pre-commit/releases/download/v4.6.0/pre-commit-4.6.0.pyz"
102
+ url_api = "https://api.github.com/repos/pre-commit/pre-commit/releases/assets/401888770"
103
+
104
+ [tools.pre-commit."platforms.macos-x64"]
105
+ checksum = "sha256:ea8a0c84902e48c1875558f2f362ed8476773aa5fc8c16c5d8f2acc2a2830a65"
106
+ url = "https://github.com/pre-commit/pre-commit/releases/download/v4.6.0/pre-commit-4.6.0.pyz"
107
+ url_api = "https://api.github.com/repos/pre-commit/pre-commit/releases/assets/401888770"
108
+
109
+ [[tools.ripgrep]]
110
+ version = "15.2.0"
111
+ backend = "aqua:BurntSushi/ripgrep"
112
+
113
+ [tools.ripgrep."platforms.linux-arm64"]
114
+ checksum = "sha256:a740b91c82eaf9914cfedd353572f2791cbe0162c84101ee0951058f4dcbc90d"
115
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-aarch64-unknown-linux-gnu.tar.gz"
116
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478119579"
117
+
118
+ [tools.ripgrep."platforms.linux-arm64-musl"]
119
+ checksum = "sha256:800b1e7206afe799dfb5a6901f23147cfaabe0e52210538100f61e86e1740915"
120
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-aarch64-unknown-linux-musl.tar.gz"
121
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478120060"
122
+
123
+ [tools.ripgrep."platforms.linux-x64"]
124
+ checksum = "sha256:33e15bcf1624b25cdd2a55813a47a2f95dbe126268203e76aa6a585d1e7b149c"
125
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz"
126
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478120097"
127
+
128
+ [tools.ripgrep."platforms.linux-x64-musl"]
129
+ checksum = "sha256:33e15bcf1624b25cdd2a55813a47a2f95dbe126268203e76aa6a585d1e7b149c"
130
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-x86_64-unknown-linux-musl.tar.gz"
131
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478120097"
132
+
133
+ [tools.ripgrep."platforms.macos-arm64"]
134
+ checksum = "sha256:3750b2e93f37e0c692657da574d7019a101c0084da05a790c83fd335bad973e4"
135
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-aarch64-apple-darwin.tar.gz"
136
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478118851"
137
+
138
+ [tools.ripgrep."platforms.macos-x64"]
139
+ checksum = "sha256:af7825fcc69a2afc7a7aea55fc9af90e26421d8f20fe59df32e233c0b8a231c1"
140
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-x86_64-apple-darwin.tar.gz"
141
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478119585"
142
+
143
+ [tools.ripgrep."platforms.windows-x64"]
144
+ checksum = "sha256:71b2fef860abe467217a538ff31de02f5258807c0129f771846f87bd029aafc5"
145
+ url = "https://github.com/BurntSushi/ripgrep/releases/download/15.2.0/ripgrep-15.2.0-x86_64-pc-windows-msvc.zip"
146
+ url_api = "https://api.github.com/repos/BurntSushi/ripgrep/releases/assets/478119643"
147
+
148
+ [[tools.trivy]]
149
+ version = "0.72.0"
150
+ backend = "aqua:aquasecurity/trivy"
151
+
152
+ [tools.trivy."platforms.linux-arm64"]
153
+ checksum = "sha256:2ca2c023109c2db6b2b77366b6717291452d4531167377d95c79547f0c8e3467"
154
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_Linux-ARM64.tar.gz"
155
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015056"
156
+ provenance = "cosign"
157
+
158
+ [tools.trivy."platforms.linux-arm64-musl"]
159
+ checksum = "sha256:2ca2c023109c2db6b2b77366b6717291452d4531167377d95c79547f0c8e3467"
160
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_Linux-ARM64.tar.gz"
161
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015056"
162
+ provenance = "cosign"
163
+
164
+ [tools.trivy."platforms.linux-x64"]
165
+ checksum = "sha256:bbb64b9695866ce4a7a8f5c9592002c5961cab378577fa3f8a040df362b9b2ea"
166
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_Linux-64bit.tar.gz"
167
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015055"
168
+ provenance = "cosign"
169
+
170
+ [tools.trivy."platforms.linux-x64-musl"]
171
+ checksum = "sha256:bbb64b9695866ce4a7a8f5c9592002c5961cab378577fa3f8a040df362b9b2ea"
172
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_Linux-64bit.tar.gz"
173
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015055"
174
+ provenance = "cosign"
175
+
176
+ [tools.trivy."platforms.macos-arm64"]
177
+ checksum = "sha256:88f208680dc05da2b459e19b4f5aa2b4dc7c2117892ba4aab2ae63baba330016"
178
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_macOS-ARM64.tar.gz"
179
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015117"
180
+ provenance = "cosign"
181
+
182
+ [tools.trivy."platforms.macos-x64"]
183
+ checksum = "sha256:ee5e60df8a98e5b89fd74a6d86f9e5c7e9a266a35002cb1e43291698b3bfee08"
184
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_macOS-64bit.tar.gz"
185
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015094"
186
+ provenance = "cosign"
187
+
188
+ [tools.trivy."platforms.windows-x64"]
189
+ checksum = "sha256:ed3cf122060f61818fe1f735fd97557954e16e10bc8b058af9852271cf2e91b3"
190
+ url = "https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_windows-64bit.zip"
191
+ url_api = "https://api.github.com/repos/aquasecurity/trivy/releases/assets/462015116"
192
+ provenance = "cosign"
package/mise.toml ADDED
@@ -0,0 +1,28 @@
1
+ [tools]
2
+ node = "24"
3
+ pnpm = "latest"
4
+ pre-commit = "latest"
5
+ ripgrep = "latest"
6
+ trivy = "latest"
7
+
8
+ [settings]
9
+ lockfile = true
10
+ minimum_release_age = "7d"
11
+ npm.package_manager = "pnpm"
12
+
13
+ [env]
14
+ _.path = ["{{config_root}}/node_modules/.bin"]
15
+
16
+ [hooks.enter]
17
+ run = """
18
+ mise install --quiet
19
+ mise run pnpm-install
20
+ if [ -d .git ]; then pre-commit install --overwrite > /dev/null 2>&1; fi
21
+ """
22
+
23
+ [tasks.pnpm-install]
24
+ description = "Installs dependencies with pnpm"
25
+ quiet = true
26
+ run = "pnpm install --loglevel error"
27
+ sources = ["package.json", "pnpm-lock.yaml", "mise.toml"]
28
+ outputs = ["node_modules/.pnpm/lock.yaml"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "penrose",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Build derivative images",
5
5
  "main": "lib/penrose.js",
6
6
  "repository": {
@@ -19,22 +19,22 @@
19
19
  "dependencies": {
20
20
  "bluebird": "3.7.2",
21
21
  "chalk": "4.1.2",
22
- "fs-extra": "11.3.5",
22
+ "fs-extra": "11.3.6",
23
23
  "lodash": "4.18.1",
24
- "prettier": "3.8.3",
24
+ "prettier": "3.9.5",
25
25
  "replace-ext": "2.0.0",
26
- "sharp": "0.34.5"
26
+ "sharp": "0.35.3"
27
27
  },
28
28
  "devDependencies": {
29
- "@typescript-eslint/eslint-plugin": "8.59.2",
30
- "@typescript-eslint/parser": "8.59.2",
29
+ "@typescript-eslint/eslint-plugin": "8.64.0",
30
+ "@typescript-eslint/parser": "8.64.0",
31
31
  "eslint": "8.57.1",
32
32
  "eslint-config-prettier": "9.1.2",
33
- "eslint-plugin-prettier": "5.5.5",
33
+ "eslint-plugin-prettier": "5.5.6",
34
34
  "glob": "13.0.6",
35
- "npm-check-updates": "22.1.1",
35
+ "npm-check-updates": "22.2.9",
36
36
  "typescript": "6.0.3",
37
- "vitest": "3.2.4"
37
+ "vitest": "3.2.7"
38
38
  },
39
39
  "scripts": {
40
40
  "test": "vitest run"
@@ -1,3 +1,12 @@
1
1
  allowBuilds:
2
- "esbuild@0.27.7": true
3
- "sharp@0.34.5": true
2
+ "esbuild@0.28.1": true
3
+ "sharp@0.35.3": true
4
+
5
+ blockExoticSubdeps: true
6
+
7
+ minimumReleaseAge: 10080
8
+
9
+ trustPolicy: no-downgrade
10
+
11
+ trustPolicyExclude:
12
+ - eslint-config-prettier@9.1.2
package/.envrc DELETED
@@ -1,47 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- version_gte() {
4
- local cmd="$1"
5
- local required_version="$2"
6
- local installed_version=$($cmd | grep -oE "[0-9]+(\.[0-9]+)+" | head -n 1)
7
-
8
- if [ -z "$installed_version" ]; then
9
- return 1
10
- fi
11
-
12
- IFS="."
13
- set -- $installed_version
14
- local installed_parts="$@"
15
- set -- $required_version
16
- local required_parts="$@"
17
- unset IFS
18
-
19
- local i=1
20
- for required_part in $required_parts; do
21
- installed_part=$(echo "$installed_parts" | cut -d " " -f $i)
22
- if [ "${installed_part:-0}" -lt "$required_part" ]; then
23
- return 1
24
- elif [ "${installed_part:-0}" -gt "$required_part" ]; then
25
- return 0
26
- fi
27
- i=$((i + 1))
28
- done
29
-
30
- return 0
31
- }
32
-
33
- if type nix-shell >/dev/null 2>&1; then
34
- if ! has devenv; then
35
- # Install devenv v1.x. Hash from https://www.nixhub.io/packages/devenv
36
- if version_gte "nix --version" "2.30.0"; then
37
- nix profile add github:NixOS/nixpkgs/80d901ec0377e19ac3f7bb8c035201e2e098cc97#devenv
38
- else
39
- nix profile install github:NixOS/nixpkgs/80d901ec0377e19ac3f7bb8c035201e2e098cc97#devenv
40
- fi
41
- fi
42
-
43
- eval "$(devenv direnvrc)"
44
- use devenv
45
- else
46
- echo "nix-shell is not available. Install Nix: https://nixos.org/download"
47
- fi
package/.ncurc.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "removeRange": true,
3
- "target": "minor",
4
- "upgrade": true
5
- }
package/devenv.lock DELETED
@@ -1,123 +0,0 @@
1
- {
2
- "nodes": {
3
- "devenv": {
4
- "locked": {
5
- "dir": "src/modules",
6
- "lastModified": 1770833792,
7
- "owner": "cachix",
8
- "repo": "devenv",
9
- "rev": "1e5f2d43973d3f4a6e7bf3e13fd39e0c4d9af3de",
10
- "type": "github"
11
- },
12
- "original": {
13
- "dir": "src/modules",
14
- "owner": "cachix",
15
- "repo": "devenv",
16
- "type": "github"
17
- }
18
- },
19
- "flake-compat": {
20
- "flake": false,
21
- "locked": {
22
- "lastModified": 1767039857,
23
- "owner": "NixOS",
24
- "repo": "flake-compat",
25
- "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
26
- "type": "github"
27
- },
28
- "original": {
29
- "owner": "NixOS",
30
- "repo": "flake-compat",
31
- "type": "github"
32
- }
33
- },
34
- "git-hooks": {
35
- "inputs": {
36
- "flake-compat": "flake-compat",
37
- "gitignore": "gitignore",
38
- "nixpkgs": [
39
- "nixpkgs"
40
- ]
41
- },
42
- "locked": {
43
- "lastModified": 1770726378,
44
- "owner": "cachix",
45
- "repo": "git-hooks.nix",
46
- "rev": "5eaaedde414f6eb1aea8b8525c466dc37bba95ae",
47
- "type": "github"
48
- },
49
- "original": {
50
- "owner": "cachix",
51
- "repo": "git-hooks.nix",
52
- "type": "github"
53
- }
54
- },
55
- "gitignore": {
56
- "inputs": {
57
- "nixpkgs": [
58
- "git-hooks",
59
- "nixpkgs"
60
- ]
61
- },
62
- "locked": {
63
- "lastModified": 1762808025,
64
- "owner": "hercules-ci",
65
- "repo": "gitignore.nix",
66
- "rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c",
67
- "type": "github"
68
- },
69
- "original": {
70
- "owner": "hercules-ci",
71
- "repo": "gitignore.nix",
72
- "type": "github"
73
- }
74
- },
75
- "nixpkgs": {
76
- "inputs": {
77
- "nixpkgs-src": "nixpkgs-src"
78
- },
79
- "locked": {
80
- "lastModified": 1770434727,
81
- "owner": "cachix",
82
- "repo": "devenv-nixpkgs",
83
- "rev": "8430f16a39c27bdeef236f1eeb56f0b51b33d348",
84
- "type": "github"
85
- },
86
- "original": {
87
- "owner": "cachix",
88
- "ref": "rolling",
89
- "repo": "devenv-nixpkgs",
90
- "type": "github"
91
- }
92
- },
93
- "nixpkgs-src": {
94
- "flake": false,
95
- "locked": {
96
- "lastModified": 1769922788,
97
- "narHash": "sha256-H3AfG4ObMDTkTJYkd8cz1/RbY9LatN5Mk4UF48VuSXc=",
98
- "owner": "NixOS",
99
- "repo": "nixpkgs",
100
- "rev": "207d15f1a6603226e1e223dc79ac29c7846da32e",
101
- "type": "github"
102
- },
103
- "original": {
104
- "owner": "NixOS",
105
- "ref": "nixpkgs-unstable",
106
- "repo": "nixpkgs",
107
- "type": "github"
108
- }
109
- },
110
- "root": {
111
- "inputs": {
112
- "devenv": "devenv",
113
- "git-hooks": "git-hooks",
114
- "nixpkgs": "nixpkgs",
115
- "pre-commit-hooks": [
116
- "git-hooks"
117
- ]
118
- }
119
- }
120
- },
121
- "root": "root",
122
- "version": 7
123
- }
package/devenv.nix DELETED
@@ -1,40 +0,0 @@
1
- {
2
- pkgs,
3
- lib,
4
- config,
5
- inputs,
6
- ...
7
- }:
8
- {
9
- env.DEVENV_TASKS_QUIET = 1;
10
-
11
- packages = with pkgs; [
12
- graphicsmagick
13
- nixfmt
14
- pre-commit
15
- ripgrep
16
- ];
17
-
18
- languages = {
19
- javascript = {
20
- enable = true;
21
- package = pkgs.nodejs_24;
22
- pnpm = {
23
- enable = true;
24
- install = {
25
- enable = true;
26
- };
27
- };
28
- };
29
- };
30
-
31
- dotenv = {
32
- disableHint = true;
33
- };
34
-
35
- enterShell = ''
36
- if [ -d ".git" ]; then
37
- pre-commit install --overwrite > /dev/null 2>&1
38
- fi
39
- '';
40
- }
package/devenv.yaml DELETED
@@ -1,4 +0,0 @@
1
- # yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
2
- inputs:
3
- nixpkgs:
4
- url: github:cachix/devenv-nixpkgs/rolling