@tsonic/js 10.0.45 → 10.0.46
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/README.md +7 -5
- package/globals.d.ts +1 -1
- package/package.json +1 -1
- package/tsonic.bindings.json +1 -1
package/README.md
CHANGED
|
@@ -15,8 +15,7 @@ This package is part of Tsonic: https://tsonic.org.
|
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
mkdir my-app && cd my-app
|
|
18
|
-
npx --yes tsonic@latest init --surface js
|
|
19
|
-
npx --yes tsonic@latest add npm @tsonic/js
|
|
18
|
+
npx --yes tsonic@latest init --surface @tsonic/js
|
|
20
19
|
```
|
|
21
20
|
|
|
22
21
|
```ts
|
|
@@ -38,10 +37,13 @@ npm run dev
|
|
|
38
37
|
npx --yes tsonic@latest add npm @tsonic/js
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
If the workspace is not already JS surface, set
|
|
40
|
+
If the workspace is not already JS surface, set `surface` in
|
|
41
|
+
`tsonic.workspace.json` to `@tsonic/js`:
|
|
42
42
|
|
|
43
|
-
```
|
|
44
|
-
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"surface": "@tsonic/js"
|
|
46
|
+
}
|
|
45
47
|
```
|
|
46
48
|
|
|
47
49
|
## Optional direct imports
|
package/globals.d.ts
CHANGED
package/package.json
CHANGED