Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Revert https://github.com/graphql/dataloader/pull/222#386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
NShahri wants to merge19 commits intographql:main
base:main
Choose a base branch
Loading
fromNShahri:remove-extra-promises
Draft
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
19 commits
Select commitHold shift + click to select a range
b0814f9
upgrade packages including eslint, jest and changesets, install types…
NShahriOct 28, 2025
910c937
use tsup to build/watch the package
NShahriOct 28, 2025
a454ec2
fix the eslint config and script
NShahriOct 28, 2025
fab2884
fix prettier config
NShahriOct 28, 2025
ed9862a
fix the jest config and enaable ESM for jest
NShahriOct 28, 2025
faf3fb0
mirate to typescript
NShahriOct 28, 2025
b73bb0b
remove not required files like flow,jest,yarn and babel configs
NShahriOct 28, 2025
05c662a
refactor: make DataLoader properties private and define move some met…
NShahriOct 28, 2025
6da3bbb
Implement custom handler for unhandled promise rejections in Jest tests
NShahriOct 30, 2025
028d3c9
Switch from Yarn to NPM for dependency installation
NShahriOct 30, 2025
9fc234f
Update validation workflow name and trigger events
NShahriOct 30, 2025
ca45b68
Fix command syntax for running CI tests in validation.yml
NShahriNov 3, 2025
6374f4a
use global dependency when DataLoader initiated, refactor tests for e…
NShahriNov 5, 2025
509a351
skip unhandled rejections test
NShahriNov 5, 2025
523fde1
replace tsup with tsdown
NShahriNov 12, 2025
da5bfb8
use Node’s type stripping for development, tsc for build
NShahriNov 12, 2025
67ae31e
remove cache hits
NShahriNov 1, 2025
1aa1fba
cleanup
NShahriNov 12, 2025
7ca8681
update package.json to correct paths for module exports
NShahriNov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fix the eslint config and script
  • Loading branch information
@NShahri
NShahri committedOct 28, 2025
commita454ec2b21eaf100caaed02284e51ecb44bb0f91
2 changes: 0 additions & 2 deletions.eslintignore
View file
Open in desktop

This file was deleted.

177 changes: 0 additions & 177 deletions.eslintrc
View file
Open in desktop

This file was deleted.

18 changes: 18 additions & 0 deletionseslint.config.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import eslintConfigPrettier from 'eslint-config-prettier';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import { defineConfig } from 'eslint/config';

export default defineConfig([
{
files: ['**/*.{js,mjs,cjs,ts,mts,cts}'],
plugins: { js },
extends: ['js/recommended'],
languageOptions: { globals: { ...globals.browser, ...globals.node } },
},
tseslint.configs.recommended,
eslintConfigPrettier,
eslintPluginPrettierRecommended,
]);
6 changes: 1 addition & 5 deletionspackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,11 +23,7 @@
"scripts": {
"test": "npm run lint && npm run check && npm run testonly",
"test:ci": "npm run lint && npm run check && npm run testonly -- --coverage",
"lint": "eslint .",
"check": "flow check --max-warnings 0",
"build": "babel src --ignore src/__tests__ --out-dir dist/ ; cp src/index.js dist/index.js.flow ; cp src/index.d.ts dist/",
"watch": "babel resources/watch.js | node",
"testonly": "jest src",
"lint": "eslint ./src --ext .js,.ts",
"check": "tsc --noEmit --pretty",
"build": "tsup",
"watch": "tsup --watch",
Expand Down
36 changes: 36 additions & 0 deletionstsconfig.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// Environment Settings
// See also https://aka.ms/tsconfig/module
"module": "nodenext",
"target": "esnext",
"types": ["node"],

// Other Outputs
"sourceMap": true,
"declaration": true,
"declarationMap": true,

// Stricter Typechecking Options
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,

// Style Options
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,

// Recommended Options
"strict": true,
// "verbatimModuleSyntax": true,
"isolatedModules": true,
"noUncheckedSideEffectImports": true,
"moduleDetection": "force",
"skipLibCheck": true,
"allowImportingTsExtensions": true
}
}

[8]ページ先頭

©2009-2025 Movatter.jp