@typespec/compiler 0.56.0-dev.0 → 0.56.0-dev.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.
- package/dist/manifest.js +2 -2
- package/package.json +4 -6
- package/templates/emitter-ts/eslint.config.js +11 -0
- package/templates/library-ts/eslint.config.js +11 -0
- package/templates/scaffolding.json +4 -4
- package/templates/emitter-ts/.eslintrc.yml +0 -14
- package/templates/library-ts/.eslintrc.yml +0 -14
package/dist/manifest.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/compiler",
|
|
3
|
-
"version": "0.56.0-dev.
|
|
3
|
+
"version": "0.56.0-dev.2",
|
|
4
4
|
"description": "TypeSpec Compiler Preview",
|
|
5
5
|
"author": "Microsoft Corporation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,12 +83,10 @@
|
|
|
83
83
|
"@types/semver": "^7.5.8",
|
|
84
84
|
"@types/sinon": "~17.0.3",
|
|
85
85
|
"@types/yargs": "~17.0.32",
|
|
86
|
-
"@typespec/eslint-config-typespec": "~0.55.0 || >=0.56.0-dev <0.56.0",
|
|
87
86
|
"@typespec/internal-build-utils": "~0.55.0 || >=0.56.0-dev <0.56.0",
|
|
88
87
|
"@vitest/coverage-v8": "^1.4.0",
|
|
89
88
|
"@vitest/ui": "^1.4.0",
|
|
90
89
|
"c8": "^9.1.0",
|
|
91
|
-
"eslint": "^8.57.0",
|
|
92
90
|
"grammarkdown": "~3.3.2",
|
|
93
91
|
"rimraf": "~5.0.5",
|
|
94
92
|
"sinon": "~17.0.1",
|
|
@@ -114,12 +112,12 @@
|
|
|
114
112
|
"test": "vitest run",
|
|
115
113
|
"test:ui": "vitest --ui",
|
|
116
114
|
"test:watch": "vitest -w",
|
|
117
|
-
"test
|
|
115
|
+
"test:ci": "vitest run --coverage --reporter=junit --reporter=default",
|
|
118
116
|
"test:e2e": "vitest run --config ./vitest.config.e2e.ts",
|
|
119
117
|
"gen-manifest": "node scripts/generate-manifest.js",
|
|
120
118
|
"regen-nonascii": "node scripts/regen-nonascii.js",
|
|
121
119
|
"fuzz": "node dist/test/manual/fuzz.js run",
|
|
122
|
-
"lint": "eslint . --
|
|
123
|
-
"lint:fix": "eslint . --fix
|
|
120
|
+
"lint": "eslint . --max-warnings=0",
|
|
121
|
+
"lint:fix": "eslint . --fix"
|
|
124
122
|
}
|
|
125
123
|
}
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"skipGeneration": true
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"path": "library-ts
|
|
39
|
-
"destination": ".
|
|
38
|
+
"path": "library-ts/eslint.config.js",
|
|
39
|
+
"destination": "eslint.config.js"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"path": "library-ts/lib/decorators.tsp.mu",
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
"skipGeneration": true
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"path": "emitter-ts
|
|
115
|
-
"destination": ".
|
|
114
|
+
"path": "emitter-ts/eslint.config.js",
|
|
115
|
+
"destination": "eslint.config.js"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"path": "emitter-ts/package.json",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
root: true
|
|
2
|
-
env:
|
|
3
|
-
es2021: true
|
|
4
|
-
node: true
|
|
5
|
-
extends:
|
|
6
|
-
- eslint:recommended
|
|
7
|
-
- plugin:@typescript-eslint/recommended
|
|
8
|
-
parser: "@typescript-eslint/parser"
|
|
9
|
-
parserOptions:
|
|
10
|
-
ecmaVersion: latest
|
|
11
|
-
sourceType: module
|
|
12
|
-
plugins:
|
|
13
|
-
- "@typescript-eslint"
|
|
14
|
-
rules: {}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
root: true
|
|
2
|
-
env:
|
|
3
|
-
es2021: true
|
|
4
|
-
node: true
|
|
5
|
-
extends:
|
|
6
|
-
- eslint:recommended
|
|
7
|
-
- plugin:@typescript-eslint/recommended
|
|
8
|
-
parser: "@typescript-eslint/parser"
|
|
9
|
-
parserOptions:
|
|
10
|
-
ecmaVersion: latest
|
|
11
|
-
sourceType: module
|
|
12
|
-
plugins:
|
|
13
|
-
- "@typescript-eslint"
|
|
14
|
-
rules: {}
|