@sablier/devkit 1.10.3 → 1.11.0
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/.prettierrc.js +13 -0
- package/just/base.just +6 -5
- package/just/npm.just +3 -2
- package/package.json +3 -2
package/.prettierrc.js
ADDED
package/just/base.just
CHANGED
|
@@ -29,19 +29,20 @@ _clean +globs:
|
|
|
29
29
|
nlx del-cli "{{ globs }}"
|
|
30
30
|
|
|
31
31
|
# Clear node_modules recursively
|
|
32
|
-
[confirm("Are you sure you want to delete all node_modules, including in subdirectories?
|
|
33
|
-
clean-modules +globs="**/node_modules":
|
|
34
|
-
|
|
32
|
+
[confirm("Are you sure you want to delete all node_modules, including in subdirectories? [y/N]"), no-cd]
|
|
33
|
+
@clean-modules +globs="**/node_modules":
|
|
34
|
+
echo "🧹 Deleting node_modules recursively..."
|
|
35
|
+
nlx del-cli --verbose {{ globs }}
|
|
35
36
|
|
|
36
37
|
# Install the Node.js dependencies; run with --frozen to install the dependencies with the frozen lockfile
|
|
37
38
|
[no-cd]
|
|
38
|
-
install *args:
|
|
39
|
+
@install *args:
|
|
39
40
|
ni {{ args }}
|
|
40
41
|
|
|
41
42
|
# Build with TypeScript
|
|
42
43
|
[no-cd]
|
|
43
44
|
[arg("project", long, short="p", help="Path to tsconfig.json")]
|
|
44
|
-
tsc-build project="tsconfig.json":
|
|
45
|
+
@tsc-build project="tsconfig.json":
|
|
45
46
|
na tsc -p {{ project }}
|
|
46
47
|
alias tb := tsc-build
|
|
47
48
|
|
package/just/npm.just
CHANGED
|
@@ -16,9 +16,10 @@ npm := require("npm")
|
|
|
16
16
|
|
|
17
17
|
# Publish the npm package, e.g. v1.0.0
|
|
18
18
|
[group("publish")]
|
|
19
|
-
|
|
19
|
+
[arg("tag", long, value="true")]
|
|
20
|
+
publish tag="false" *args:
|
|
20
21
|
npm publish {{ args }}
|
|
21
|
-
@just tag $(jq -r '.version' package.json)
|
|
22
|
+
@{{ if tag == "true" { "just tag $(jq -r '.version' package.json)" } else { "true" } }}
|
|
22
23
|
|
|
23
24
|
# Publish using the `beta` tag, e.g. v1.0.0-beta.1
|
|
24
25
|
[group("publish")]
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Configuration files and reusable scripts for Sablier repositories",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.11.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Sablier Labs Ltd",
|
|
9
9
|
"url": "https://sablier.com"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"./biome": "./biome/base.jsonc",
|
|
29
29
|
"./biome/base": "./biome/base.jsonc",
|
|
30
30
|
"./biome/ui": "./biome/ui.jsonc",
|
|
31
|
-
"./prettier": "./.prettierrc.
|
|
31
|
+
"./prettier": "./.prettierrc.js",
|
|
32
32
|
"./tsconfig/base": "./tsconfig/base.json",
|
|
33
33
|
"./tsconfig/build": "./tsconfig/build.json",
|
|
34
34
|
"./tsconfig/next": "./tsconfig/next.json",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"just/",
|
|
43
43
|
"tsconfig/",
|
|
44
44
|
"vitest/",
|
|
45
|
+
".prettierrc.js",
|
|
45
46
|
".prettierrc.json"
|
|
46
47
|
],
|
|
47
48
|
"keywords": [
|