mftsccs-browser 2.2.47-beta → 2.2.48-beta
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
CHANGED
|
@@ -931,13 +931,13 @@ This creates the `dist/` folder with:
|
|
|
931
931
|
- `dist/main.bundle.js` - Main bundle
|
|
932
932
|
- `dist/types/` - TypeScript declarations
|
|
933
933
|
|
|
934
|
-
|
|
934
|
+
To also add the WICO autocomplete metadata bundle to the same `dist/` folder:
|
|
935
935
|
|
|
936
936
|
```bash
|
|
937
937
|
npm run build:wico
|
|
938
938
|
```
|
|
939
939
|
|
|
940
|
-
This
|
|
940
|
+
This runs the full `build` first (so `dist/main.bundle.js` and `dist/serviceWorker.bundle.js` are present), then adds `dist/wico-metadata.bundle.js` — everything from the main entry plus `getTsccsAutocompleteMetadata`/`tsccsAutocompleteMetadata` — importable via the `mftsccs-browser/wico` subpath. A single `npm publish` ships both.
|
|
941
941
|
|
|
942
942
|
#### 3. Test the Package Locally (Optional but Recommended)
|
|
943
943
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type TsccsAutocompleteEntry = {
|
|
2
|
+
parameters: string[];
|
|
3
|
+
documentation?: string;
|
|
4
|
+
};
|
|
5
|
+
export type TsccsAutocompleteMetadata = Record<string, Record<string, TsccsAutocompleteEntry>>;
|
|
6
|
+
export declare const tsccsAutocompleteMetadata: TsccsAutocompleteMetadata;
|
|
7
|
+
export declare function getTsccsAutocompleteMetadata(): TsccsAutocompleteMetadata;
|
package/dist/types/app.d.ts
CHANGED