remutable-ts 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![npm version](https://img.shields.io/npm/v/remutable-ts.svg)](https://www.npmjs.com/package/remutable-ts)
2
+
1
3
  # remutable-ts
2
4
 
3
5
  remutable-ts provides a simple and **type-safe** way to remove readonly
@@ -58,7 +60,7 @@ console.log("Original example:", example);
58
60
  console.log("Writable example before mutation:", writableExample);
59
61
  ```
60
62
 
61
- ### 2. Using mutable(this) inside a class to get a writable view
63
+ ### 2. Using inside a class to get a writable view
62
64
 
63
65
  ```typescript
64
66
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remutable-ts",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "TypeScript utility to safely bypass readonly at compile-time with zero runtime overhead.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,8 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "build": "tsc",
12
- "example": "npx ts-node example/index.ts"
12
+ "example": "npx ts-node example/index.ts",
13
+ "publish": "npm publish --access public"
13
14
  },
14
15
  "keywords": [
15
16
  "typescript",