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

Commit dcd5dcf

Browse files
committed
Add deprecation notice
1 parent 9484269 commit dcd5dcf

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1+
# Announcement of Archival & Deprecation
2+
3+
Due to Deno 1.45 releasing workspace support Despace will now be archived and deprecated with no further support planned for Despace. Thanks for using Despace!
4+
15
# Despace
6+
27
A polyfill for Deno's in development workspace feature
38

49
## Installation
10+
511
To install despace use the following command: `deno install --name=despace --allow-read --allow-write --global jsr:@studios/despace`
612

713
## Usage
14+
815
### Initializing Despace
16+
917
To initialize Despace in a project use `despace init`, if you have a config file that isn't `deno.json` or `deno.jsonc` you can specify the file or use the `--make` flag to create a config file
1018

1119
## Building Despace config
20+
1221
To build your Despace imports file use `despace build`, if you want despace to automatically rebuild on config changes use the `--watch` flag
1322

1423
## Updating despace
15-
To update the Despace utility run `despace update`
24+
25+
To update the Despace utility run `despace update`

cli.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { gray } from "jsr:@std/fmt/colors";
1+
import { gray, yellow } from "jsr:@std/fmt/colors";
22
import denoConfig from "./deno.json" with { type: "json" };
33
import Init from "./options/init.ts";
44
import Install from "./options/install.ts";
@@ -8,6 +8,14 @@ const args = Deno.args.map((a) => a.toLowerCase());
88

99
const prefix = gray("[Despace]");
1010

11+
console.warn(
12+
`${prefix} ${
13+
yellow(
14+
"Despace is now deprecated in favor of Deno's built in workspace support.",
15+
)
16+
}`,
17+
);
18+
1119
switch (args[0]) {
1220
case "init": {
1321
await Init(args);

deno.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@studios/despace",
3-
"description": "A CLI utility for polyfilling Deno's workspace feature while it's still in development",
4-
"version": "0.1.8",
3+
"description": "[Deprecated] A CLI utility for polyfilling Deno's workspace feature while it's still in development",
4+
"version": "0.1.9",
55
"exports": "./cli.ts",
66
"fmt": {
77
"indentWidth": 4,

0 commit comments

Comments
 (0)