Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .fernignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Specify files that shouldn't be modified by Fern

AGENTS.md
legacy/
src/management/index.ts
src/management/wrapper
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tests
.github
.fernignore
.prettierrc.yml
biome.json
tsconfig.json
yarn.lock
pnpm-lock.yaml
11 changes: 0 additions & 11 deletions jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ export default {
testPathIgnorePatterns: ["\.browser\.(spec|test)\.[jt]sx?$", "/tests/wire/"],
setupFilesAfterEnv: [],
},
{
displayName: "browser",
preset: "ts-jest",
testEnvironment: "<rootDir>/src/management/tests/BrowserTestEnvironment.ts",
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
roots: ["<rootDir>/src/management/tests"],
testMatch: ["<rootDir>/src/management/tests/unit/**/?(*.)+(browser).(spec|test).[jt]s?(x)"],
setupFilesAfterEnv: [],
},
{
displayName: "wire",
preset: "ts-jest",
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,18 @@
],
"scripts": {
"format": "prettier . --write --ignore-unknown",
"format:check": "prettier . --check --ignore-unknown",
"lint": "eslint . --ext .js,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.tsx --fix",
"check": "yarn format:check && yarn lint",
"check:fix": "yarn format && yarn lint:fix",
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm",
"test": "jest --config jest.config.mjs",
"test:unit": "jest --selectProjects unit",
"test:browser": "jest --selectProjects browser",
"test:wire": "jest --selectProjects wire",
"prepare": "husky",
"lint": "eslint . --ext .js,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.tsx --fix",
"lint:check": "eslint . --ext .js,.ts,.tsx",
"lint:package": "publint --pack npm",
"test:coverage": "jest --config jest.config.mjs --coverage",
Expand All @@ -77,10 +79,10 @@
"@types/jest": "^29.5.14",
"ts-jest": "^29.3.4",
"jest-environment-jsdom": "^29.7.0",
"msw": "^2.8.4",
"msw": "2.11.2",
"@types/node": "^18.19.70",
"prettier": "^3.4.2",
"typescript": "~5.7.2",
"prettier": "3.4.2",
"typedoc": "^0.28.7",
"typedoc-plugin-missing-exports": "^4.0.0",
"nock": "^14.0.6",
Expand Down
Loading
Loading