Skip to content

Commit cd8b449

Browse files
authored
Merge pull request #25 from svecosystem/rebrand
chore: rebrand
2 parents 2756426 + d53fb9e commit cd8b449

File tree

5 files changed

+17
-80
lines changed

5 files changed

+17
-80
lines changed

.changeset/pretty-pots-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@svecosystem/strip-types": patch
3+
---
4+
5+
chore: initial release

CHANGELOG.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# sv-strip
1+
# @svecosystem/strip-types
22

33
A type stripper for Svelte.
44

55
```sh
6-
pnpm install sv-strip
6+
pnpm install @svecosystem/strip-types
77
```
88

99
```ts
10-
import { strip } from 'sv-strip';
10+
import { strip } from '@svecosystem/strip-types';
1111

1212
const ts = `<script lang="ts">
1313
let value = $state<string>('');
@@ -40,7 +40,7 @@ const js = strip(ts);
4040

4141
## Formatting
4242

43-
By default `sv-strip` will remove leading and trailing whitespace when removing nodes. This will result in an output that is correctly formatted (with a small performance penalty).
43+
By default `@svecosystem/strip-types` will remove leading and trailing whitespace when removing nodes. This will result in an output that is correctly formatted (with a small performance penalty).
4444

4545
If you are doing your own formatting you can disable this behavior with the `format` option like so:
4646
```ts
@@ -60,7 +60,7 @@ const js = strip(ts, { removeEmptyScripts: false });
6060

6161
### Formatting
6262

63-
While `sv-strip` includes a `format` option it is not a formatter. It will do it's best to maintain the formatting of the original code when stripping types but it is still recommended to use your own formatter if possible.
63+
While `@svecosystem/strip-types` includes a `format` option it is not a formatter. It will do it's best to maintain the formatting of the original code when stripping types but it is still recommended to use your own formatter if possible.
6464

6565
### Unsupported Syntax
6666

package.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
{
2-
"name": "sv-strip",
2+
"name": "@svecosystem/strip-types",
33
"description": "A type stripper for Svelte.",
4-
"version": "0.2.1",
4+
"version": "0.0.0",
55
"license": "MIT",
66
"author": {
77
"name": "Aidan Bleser",
88
"url": "https://github.com/ieedan"
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/ieedan/sv-strip.git"
12+
"url": "git+https://github.com/svecosystem/strip-types.git"
1313
},
1414
"bugs": {
15-
"url": "https://github.com/ieedan/sv-strip/issues"
15+
"url": "https://github.com/svecosystem/strip-types/issues"
1616
},
17-
"keywords": [
18-
"svelte",
19-
"strip",
20-
"types",
21-
"typescript",
22-
"javascript"
23-
],
17+
"keywords": ["svelte", "strip", "types", "typescript", "javascript"],
2418
"packageManager": "[email protected]",
2519
"type": "module",
2620
"scripts": {
@@ -32,9 +26,7 @@
3226
"changeset": "changeset",
3327
"ci:release": "unbuild && changeset publish"
3428
},
35-
"files": [
36-
"dist"
37-
],
29+
"files": ["dist"],
3830
"exports": {
3931
".": {
4032
"import": "./dist/index.mjs",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type Options = {
2323
* ## Usage
2424
* ```ts
2525
* import assert from 'node:assert';
26-
* import { strip } from 'sv-strip';
26+
* import { strip } from '@svecosystem/strip-types';
2727
*
2828
* const source = `<script lang="ts">
2929
* let value = $state<string>('');

0 commit comments

Comments
 (0)