@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 CHANGED
@@ -1,4 +1,4 @@
1
1
  export default {
2
- "version": "0.56.0-dev.0",
3
- "commit": "2f53533d944dc8a4a4c1a67ba892f773e7513e96"
2
+ "version": "0.56.0-dev.2",
3
+ "commit": "31d22ebc48408770573759065328efa4cbf73252"
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/compiler",
3
- "version": "0.56.0-dev.0",
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-official": "vitest run --coverage --reporter=junit --reporter=default --no-file-parallelism",
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 . --ext .ts --max-warnings=0",
123
- "lint:fix": "eslint . --fix --ext .ts"
120
+ "lint": "eslint . --max-warnings=0",
121
+ "lint:fix": "eslint . --fix"
124
122
  }
125
123
  }
@@ -0,0 +1,11 @@
1
+ // @ts-check
2
+ import eslint from "@eslint/js";
3
+ import tsEslint from "typescript-eslint";
4
+
5
+ export default tsEslint.config(
6
+ {
7
+ ignores: ["**/dist/**/*", "**/.temp/**/*"],
8
+ },
9
+ eslint.configs.recommended,
10
+ ...tsEslint.configs.recommended
11
+ );
@@ -0,0 +1,11 @@
1
+ // @ts-check
2
+ import eslint from "@eslint/js";
3
+ import tsEslint from "typescript-eslint";
4
+
5
+ export default tsEslint.config(
6
+ {
7
+ ignores: ["**/dist/**/*", "**/.temp/**/*"],
8
+ },
9
+ eslint.configs.recommended,
10
+ ...tsEslint.configs.recommended
11
+ );
@@ -35,8 +35,8 @@
35
35
  "skipGeneration": true
36
36
  },
37
37
  {
38
- "path": "library-ts/.eslintrc.yml",
39
- "destination": ".eslintrc.yml"
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/.eslintrc.yml",
115
- "destination": ".eslintrc.yml"
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: {}