Skip to content

Commit fa7bec5

Browse files
committed
feat(TEC-33): bump eslint/vue to 1.0.4
1 parent 6dc9b26 commit fa7bec5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+7934
-4686
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist
22
node_modules
3+
*/*/node_modules

.eslintrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import vue from '@lenne.tech/eslint-config-vue';
2+
3+
export default vue;

package-lock.json

Lines changed: 7374 additions & 4263 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,28 @@
1919
"dist"
2020
],
2121
"scripts": {
22-
"reinit": "rm -rf node_modules && rm -rf package-lock.json && yes | npx nuxt cleanup && npm cache clean --force && npm i",
22+
"reinit": "npx rimraf package-lock.json && npx nuxt cleanup && npx rimraf node_modules && npm cache clean --force && npm i",
2323
"build": "nuxt-module-build build",
2424
"dev": "nuxi dev playground/nuxt-app",
25-
"dev:generate-types": "GENERATE_TYPES=1 nuxi dev playground/nuxt-app",
25+
"dev:generate-types": "npx cross-env GENERATE_TYPES=1 nuxi dev playground/nuxt-app",
2626
"dev:build": "nuxi build playground/nuxt-app",
2727
"dev:prepare": "nuxt-module-build --stub && cd ./playground/nuxt-app && npm i && nuxi prepare",
2828
"release": "standard-version && git push --follow-tags origin main",
2929
"release:minor": "standard-version --release-as minor && git push --follow-tags origin main",
3030
"release:major": "standard-version --release-as major && git push --follow-tags origin main",
31-
"lint": "eslint .",
32-
"lint:fix": "eslint . --fix",
31+
"lint": "eslint '**/*.{ts,js,vue}'",
32+
"lint:fix": "eslint '**/*.{ts,js,vue}' --fix",
3333
"test": "vitest run",
34-
"test:watch": "vitest watch"
34+
"test:watch": "vitest watch",
35+
"unlink:link": "npx yalc remove @lenne.tech/[email protected] && npm install",
36+
"link:link": "npx yalc add @lenne.tech/[email protected] && npx yalc link @lenne.tech/[email protected] && npm install"
3537
},
3638
"dependencies": {
3739
"@babel/core": "7.26.0",
3840
"@graphql-codegen/cli": "5.0.3",
3941
"@graphql-codegen/client-preset": "4.5.1",
4042
"@graphql-codegen/typescript": "4.1.2",
41-
"@nuxt/kit": "3.14.1592",
43+
"@nuxtjs/tailwindcss": "^6.12.2",
4244
"@pinia/nuxt": "0.9.0",
4345
"gql-query-builder": "3.8.0",
4446
"graphql": "16.10.0",
@@ -52,14 +54,16 @@
5254
"vue": "3.5.13"
5355
},
5456
"devDependencies": {
55-
"@lenne.tech/eslint-config-vue": "0.0.16",
57+
"@eslint/eslintrc": "^3.2.0",
58+
"@eslint/js": "^9.18.0",
59+
"@lenne.tech/eslint-config-vue": "1.0.4",
60+
"@nuxt/kit": "^3.15.1",
5661
"@nuxt/module-builder": "0.8.4",
57-
"@nuxt/schema": "3.14.1592",
62+
"@nuxt/schema": "^3.15.1",
5863
"@nuxt/test-utils": "3.15.1",
5964
"@types/node": "22.10.2",
60-
"eslint": "8.57.1",
61-
"nuxt": "3.14.1592",
62-
"prettier": "3.4.2",
65+
"eslint": "9.17.0",
66+
"nuxt": "^3.15.1",
6367
"standard-version": "9.5.0",
6468
"typescript": "5.7.2",
6569
"vitest": "2.1.8"

playground/nuxt-app/src/base/default.ts

Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K]
44
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
55
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
66
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
7-
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
7+
export type Incremental<T> = { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never } | T;
88
/** All built-in and custom scalars, mapped to their actual values */
99
export interface Scalars {
10-
ID: { input: string; output: string; }
11-
String: { input: string; output: string; }
12-
Boolean: { input: boolean; output: boolean; }
13-
Int: { input: number; output: number; }
14-
Float: { input: number; output: number; }
1510
/** Any scalar type */
16-
Any: { input: any; output: any; }
11+
Any: { input: any; output: any };
12+
Boolean: { input: boolean; output: boolean };
1713
/** Date custom scalar type */
18-
Date: { input: any; output: any; }
14+
Date: { input: any; output: any };
15+
Float: { input: number; output: number };
16+
ID: { input: string; output: string };
17+
Int: { input: number; output: number };
1918
/** JSON scalar type. Information on the exact schema of the JSON object is contained in the description of the field. */
20-
JSON: { input: any; output: any; }
19+
JSON: { input: any; output: any };
20+
String: { input: string; output: string };
2121
/** The `Upload` scalar type represents a file upload. */
22-
Upload: { input: any; output: any; }
22+
Upload: { input: any; output: any };
2323
}
2424

2525
/** Authentication data */
@@ -78,7 +78,7 @@ export enum ComparisonOperatorEnum {
7878
LTE = 'LTE',
7979
NE = 'NE',
8080
NIN = 'NIN',
81-
REGEX = 'REGEX'
81+
REGEX = 'REGEX',
8282
}
8383

8484
/** CoreAuth */
@@ -175,7 +175,7 @@ export interface FindAndCountUsersResult {
175175
export enum LogicalOperatorEnum {
176176
AND = 'AND',
177177
NOR = 'NOR',
178-
OR = 'OR'
178+
OR = 'OR',
179179
}
180180

181181
/** Metadata of API */
@@ -222,80 +222,65 @@ export interface Mutation {
222222
verifyUser: Scalars['Boolean']['output'];
223223
}
224224

225-
226225
export interface MutationCreateTodoArgs {
227226
input: TodoCreateInput;
228227
}
229228

230-
231229
export interface MutationCreateUserArgs {
232230
input: UserCreateInput;
233231
}
234232

235-
236233
export interface MutationDeleteFileArgs {
237234
filename: Scalars['String']['input'];
238235
}
239236

240-
241237
export interface MutationDeleteTodoArgs {
242238
id: Scalars['String']['input'];
243239
}
244240

245-
246241
export interface MutationDeleteUserArgs {
247242
id: Scalars['String']['input'];
248243
}
249244

250-
251245
export interface MutationErrorTodoArgs {
252246
id: Scalars['String']['input'];
253247
}
254248

255-
256249
export interface MutationLogoutArgs {
257250
allDevices?: InputMaybe<Scalars['Boolean']['input']>;
258251
}
259252

260-
261253
export interface MutationResetPasswordArgs {
262254
password: Scalars['String']['input'];
263255
token: Scalars['String']['input'];
264256
}
265257

266-
267258
export interface MutationSignInArgs {
268259
input: AuthSignInInput;
269260
}
270261

271-
272262
export interface MutationSignUpArgs {
273263
input: AuthSignUpInput;
274264
}
275265

276-
277266
export interface MutationUpdateTodoArgs {
278267
id: Scalars['String']['input'];
279268
input: TodoInput;
280269
}
281270

282-
283271
export interface MutationUpdateUserArgs {
284272
id: Scalars['String']['input'];
285273
input: UserInput;
286274
}
287275

288-
289276
export interface MutationUploadFileArgs {
290277
file: Scalars['Upload']['input'];
291278
}
292279

293-
294280
export interface MutationUploadFilesArgs {
295281
files: Array<Scalars['Upload']['input']>;
296282
}
297283

298-
299284
export interface MutationVerifyUserArgs {
300285
token: Scalars['String']['input'];
301286
}
@@ -324,7 +309,6 @@ export interface Query {
324309
requestPasswordResetMail: Scalars['Boolean']['output'];
325310
}
326311

327-
328312
export interface QueryFindAndCountTodosArgs {
329313
filter?: InputMaybe<FilterInput>;
330314
limit?: InputMaybe<Scalars['Int']['input']>;
@@ -335,7 +319,6 @@ export interface QueryFindAndCountTodosArgs {
335319
take?: InputMaybe<Scalars['Int']['input']>;
336320
}
337321

338-
339322
export interface QueryFindAndCountUsersArgs {
340323
filter?: InputMaybe<FilterInput>;
341324
limit?: InputMaybe<Scalars['Int']['input']>;
@@ -346,7 +329,6 @@ export interface QueryFindAndCountUsersArgs {
346329
take?: InputMaybe<Scalars['Int']['input']>;
347330
}
348331

349-
350332
export interface QueryFindTodosArgs {
351333
filter?: InputMaybe<FilterInput>;
352334
limit?: InputMaybe<Scalars['Int']['input']>;
@@ -357,7 +339,6 @@ export interface QueryFindTodosArgs {
357339
take?: InputMaybe<Scalars['Int']['input']>;
358340
}
359341

360-
361342
export interface QueryFindUsersArgs {
362343
filter?: InputMaybe<FilterInput>;
363344
limit?: InputMaybe<Scalars['Int']['input']>;
@@ -368,27 +349,22 @@ export interface QueryFindUsersArgs {
368349
take?: InputMaybe<Scalars['Int']['input']>;
369350
}
370351

371-
372352
export interface QueryGetFileInfoArgs {
373353
filename: Scalars['String']['input'];
374354
}
375355

376-
377356
export interface QueryGetTodoArgs {
378357
id: Scalars['String']['input'];
379358
}
380359

381-
382360
export interface QueryGetUserArgs {
383361
id: Scalars['String']['input'];
384362
}
385363

386-
387364
export interface QueryGetVerifiedStateArgs {
388365
token: Scalars['String']['input'];
389366
}
390367

391-
392368
export interface QueryRequestPasswordResetMailArgs {
393369
email: Scalars['String']['input'];
394370
}
@@ -422,7 +398,7 @@ export interface SortInput {
422398
/** SortInput order of items */
423399
export enum SortOrderEnum {
424400
ASC = 'ASC',
425-
DESC = 'DESC'
401+
DESC = 'DESC',
426402
}
427403

428404
export interface Subscription {

0 commit comments

Comments
 (0)