@microsoft/typespec-msgraph-reference 1.0.0

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/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "@microsoft/typespec-msgraph-reference",
3
+ "version": "1.0.0",
4
+ "description": "Reference models for Microsoft Graph across multiple clouds",
5
+ "main": "dist/index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/microsoftgraph/typespec-msgraph.git"
9
+ },
10
+ "keywords": [
11
+ "typespec-msgraph-reference"
12
+ ],
13
+ "author": "Microsoft Corporation",
14
+ "license": "MIT",
15
+ "bugs": {
16
+ "url": "https://github.com/microsoftgraph/typespec-msgraph/issues"
17
+ },
18
+ "homepage": "https://github.com/microsoftgraph/typespec-msgraph#readme",
19
+ "type": "module",
20
+ "engines": {
21
+ "node": ">=18.0.0"
22
+ },
23
+ "exports": {
24
+ "./Bleu/Beta": {
25
+ "typespec": "./lib/Bleu/Beta/main.tsp"
26
+ },
27
+ "./Bleu/V1.0": {
28
+ "typespec": "./lib/Bleu/V1.0/main.tsp"
29
+ },
30
+ "./Delos/Beta": {
31
+ "typespec": "./lib/Delos/Beta/main.tsp"
32
+ },
33
+ "./Delos/V1.0": {
34
+ "typespec": "./lib/Delos/V1.0/main.tsp"
35
+ },
36
+ "./Fairfax/Beta": {
37
+ "typespec": "./lib/Fairfax/Beta/main.tsp"
38
+ },
39
+ "./Fairfax/V1.0": {
40
+ "typespec": "./lib/Fairfax/V1.0/main.tsp"
41
+ },
42
+ "./GovSG/Beta": {
43
+ "typespec": "./lib/GovSG/Beta/main.tsp"
44
+ },
45
+ "./GovSG/V1.0": {
46
+ "typespec": "./lib/GovSG/V1.0/main.tsp"
47
+ },
48
+ "./Mooncake/Beta": {
49
+ "typespec": "./lib/Mooncake/Beta/main.tsp"
50
+ },
51
+ "./Mooncake/V1.0": {
52
+ "typespec": "./lib/Mooncake/V1.0/main.tsp"
53
+ },
54
+ "./Prod/Beta": {
55
+ "typespec": "./lib/Prod/Beta/main.tsp"
56
+ },
57
+ "./Prod/V1.0": {
58
+ "typespec": "./lib/Prod/V1.0/main.tsp"
59
+ },
60
+ "./USNat/Beta": {
61
+ "typespec": "./lib/USNat/Beta/main.tsp"
62
+ },
63
+ "./USNat/V1.0": {
64
+ "typespec": "./lib/USNat/V1.0/main.tsp"
65
+ },
66
+ "./USSec/Beta": {
67
+ "typespec": "./lib/USSec/Beta/main.tsp"
68
+ },
69
+ "./USSec/V1.0": {
70
+ "typespec": "./lib/USSec/V1.0/main.tsp"
71
+ }
72
+ },
73
+ "dependencies": {
74
+ "@typespec/compiler": "~1.9.0",
75
+ "@typespec/http": "~1.9.0",
76
+ "@microsoft/typespec-msgraph": "1.0.0"
77
+ },
78
+ "devDependencies": {
79
+ "typescript": "~5.9.2"
80
+ },
81
+ "scripts": {
82
+ "build": "tsc -p .",
83
+ "test": "echo \"No tests specified\""
84
+ }
85
+ }
@@ -0,0 +1 @@
1
+ Invoking: tsc -p .
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { $lib } from "./lib.js";
package/src/lib.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { createTypeSpecLibrary } from "@typespec/compiler";
2
+
3
+ export const $lib = createTypeSpecLibrary({
4
+ name: "@microsoft/typespec-msgraph-reference",
5
+ diagnostics: {},
6
+ } as const);
package/tsconfig.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "Node16",
4
+ "moduleResolution": "Node16",
5
+ "target": "es2019",
6
+ "lib": ["es2019"],
7
+ "esModuleInterop": true,
8
+ "forceConsistentCasingInFileNames": true,
9
+ "strict": true,
10
+ "skipLibCheck": true,
11
+ "declaration": true,
12
+ "declarationMap": true,
13
+ "sourceMap": true,
14
+ "rootDir": "./src",
15
+ "outDir": "./dist"
16
+ },
17
+ "include": ["src/**/*.ts"]
18
+ }