daimond113
e6ee935c11
feat: show available targets when none fit
...
This will help prevent user confusion with
targets. Instead of a cryptic "no matching
versions available" error, it'll now list the
available targets (if the source decides to output
them, so if the specifier has a target option)
2025-03-09 16:01:54 +01:00
daimond113
ff5c2e5d61
refactor: specify many new clippy lints
...
Adds quite a lot of Clippy lints which fit with my
personal taste for how pesde's codebase should
look like. Stylistic lints are mostly warns, and
behavioural lints are mostly denied.
2025-03-08 22:00:52 +01:00
daimond113
aa4f283e4c
refactor: allow publishing other packages on error
...
Previously, if a package failed to publish the
whole publishing process would halt. Then, if
a re-ran publishing got to an already published
package it'd error, which would require users to
manually publish the missing packages. This commit
fixes that by printing errors, but allowing other
members to still get published.
2025-02-16 11:32:16 +01:00
daimond113
d6e2f611d8
perf: use or_else variants for expensive errors
...
This commit changes the error construction in
multiple places from the `*_or` to the `*_or_else`
variants. This is done to avoid the heap
allocation (for example, `to_string`) when there
is no need to.
2025-02-14 23:42:33 +01:00
daimond113
04aaa40c69
refactor: make specifier index not an option
...
Instead, we use the `default` serde attribute
to deserialize the index as `DEFAULT_INDEX_NAME`
if it is not present. This removes a lot of
redundancy around the codebase about getting
the index name.
2025-02-12 17:41:49 +01:00
daimond113
c6242b8569
refactor: use better colors for the publish command
...
Switches the background color of the publish
command's package announcement to a better
looking color. Will possibly change the design
of the command's UI in the future.
2025-02-06 23:00:03 +01:00
daimond113
0b5c233734
style: remove comma from ,) expressions
2025-02-02 15:25:11 +01:00
daimond113
4009313281
fix: do not include incompatible files in workspace packages
...
Fixes `default.project.json` being copied if it
is present in a workspace package.
2025-01-30 23:45:31 +01:00
daimond113
95896091cd
refactor: switch out dependencies
...
Switches the `colored` crate to the `console`
crate. Additionally, to optimize the compiled
program's size switches the `inquire` crate's
backend from `crossterm` to `console`. Console was
picked out because we depend on `indicatif` which
only supports `console`.
Also switches from `winreg` to `windows-registry`,
which `reqwest` depends on to optimize size even
further. Currently has to duplicate dependencies,
as `reqwest` depends on an older version but will
become optimized once `reqwest` updates to the
latest version of the crate.
Signed-off-by: daimond113 <contact@daimond113.com>
2025-01-19 22:29:27 +01:00
daimond113
d4979bbdb2
feat: switch lib & cli to v1 api
Debug / Get build version (push) Has been cancelled
Test & Lint / lint (push) Has been cancelled
Debug / Build for linux-x86_64 (push) Has been cancelled
Debug / Build for macos-aarch64 (push) Has been cancelled
Debug / Build for macos-x86_64 (push) Has been cancelled
Debug / Build for windows-x86_64 (push) Has been cancelled
2025-01-13 13:21:22 +01:00
daimond113
217ca238ff
feat: remove cli side dependency checks
2025-01-09 22:36:53 +01:00
daimond113
0ceb2f6653
style: enable hard_tabs rustfmt option
2025-01-02 22:37:27 +01:00
daimond113
a627a7253f
feat: add utility function to reduce code duplication
2025-01-02 22:21:18 +01:00
daimond113
83fa22f7de
feat: remove more data redundancy from lockfiles
2025-01-01 17:16:41 +01:00
daimond113
78e58d63fa
feat: improve container_folder api
2025-01-01 16:35:59 +01:00
daimond113
d0169976cd
feat: store dependency over downloaded graphs
2025-01-01 16:28:53 +01:00
daimond113
6a8dfe0ba3
feat: switch to flat graph handling
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
2025-01-01 00:34:21 +01:00
daimond113
c3d2c768db
feat: add path dependencies
...
Fixes #13
2024-12-30 18:33:48 +01:00
daimond113
ccb2924362
feat: remove old includes compat
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
2024-12-30 13:37:30 +01:00
daimond113
a4d7b4d6e0
feat: allow ignoring syntax errors in file parsing
...
Fixes #16
2024-12-29 23:09:24 +01:00
daimond113
2936f88a99
feat: use paths instead of pathbufs where applicable
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
2024-12-29 12:47:36 +01:00
daimond113
aabb353d25
perf: lazily format error messages
Debug / Get build version (push) Waiting to run
Debug / Build for linux-x86_64 (push) Blocked by required conditions
Debug / Build for macos-aarch64 (push) Blocked by required conditions
Debug / Build for macos-x86_64 (push) Blocked by required conditions
Debug / Build for windows-x86_64 (push) Blocked by required conditions
Test & Lint / lint (push) Waiting to run
2024-12-28 18:13:53 +01:00
daimond113
8e6d877241
perf: use arcs where possible, remove unnecessary cloning
2024-12-28 16:50:14 +01:00
daimond113
52603ea43e
feat: switch to tracing for logging
Test & Lint / lint (push) Waiting to run
2024-12-16 23:00:37 +01:00
daimond113
919b0036e5
feat: display included scripts in publish command
Test & Lint / lint (push) Waiting to run
2024-12-13 23:52:45 +01:00
dai
f8d0bc6c4d
fix: correctly get index URLs in publish command
2024-12-12 16:23:11 +01:00
daimond113
16ab05ec72
feat(registry): support granular allowence of specifier types
2024-12-11 21:31:42 +01:00
daimond113
eab46e4ee5
fix: allow publishing packages with scripts with no lib or bin
2024-12-08 13:55:18 +01:00
daimond113
ac74c57709
feat: add scripts packages
2024-12-07 15:08:52 +01:00
daimond113
a9243b0214
fix: support old includes behaviour
2024-11-26 18:12:56 +01:00
daimond113
b5b3257cac
fix: install dependencies of packages in x command
2024-11-26 12:50:14 +01:00
daimond113
15d6655889
style: apply clippy lints
2024-11-26 12:25:31 +01:00
daimond113
2c003c62aa
fix: switch to wax for better globs
2024-11-24 20:21:16 +01:00
daimond113
37a7c34084
feat: use globs in includes field
2024-11-23 22:54:28 +01:00
daimond113
bb92a06d64
feat: support fallback wally registries
2024-11-22 19:40:20 +01:00
daimond113
a067fbd4bd
fix: correctly resolve peer dependencies
2024-11-22 15:52:54 +01:00
daimond113
b180bea063
feat(registry): move to body bytes over multipart for uploading
2024-11-11 13:22:09 +01:00
daimond113
d490c0a6f3
feat: continue change to async
2024-11-10 16:43:25 +01:00
daimond113
2b0f29a2f9
feat: begin switch to async
2024-11-05 20:44:24 +01:00
daimond113
9bc80a43db
refactor: allow specifying different index when publishing
2024-11-04 14:53:59 +01:00
daimond113
09820e322c
refactor: use fs-err for fs operations
2024-11-01 20:57:32 +01:00
daimond113
d346fe1d34
refactor: optimize boolean expression in publish command
2024-10-20 18:15:14 +02:00
daimond113
c7c1daab36
feat: improve auth system for registry changes
2024-10-14 19:40:02 +02:00
daimond113
15df417472
feat: allow full version reqs in workspace spec version field
2024-10-13 14:13:21 +02:00
daimond113
bf77b69b0b
fix: correct pesde.toml inclusion message in publish
2024-10-13 11:59:31 +02:00
daimond113
43a8d6272a
fix: remove duplicate manifest name in publish command
2024-10-12 18:59:57 +02:00
daimond113
fa00a97f8b
feat: publish members when publishing workspace
2024-10-12 16:00:21 +02:00
daimond113
962482962b
feat: support multitarget workspace members
2024-10-06 23:49:59 +02:00
daimond113
821cc989ef
feat: remove unnecessary feature flags
2024-09-29 00:26:46 +02:00
daimond113
10c804e2f3
feat: add roblox server target
2024-09-06 23:38:44 +02:00