Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions Jenkinsfile

This file was deleted.

89 changes: 44 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@manuscripts/library",
"version": "1.3.14",
"version": "1.3.14-LEAN-2023.1",
"repository": "github:Atypon-OpenSource/manuscripts-library",
"license": "Apache-2.0",
"main": "dist/cjs",
Expand All @@ -11,60 +11,59 @@
],
"scripts": {
"build": "npm-run-all --parallel build:*",
"build:cjs": "tsc --outDir dist/cjs --module commonjs --project tsconfig.build.json",
"build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration --project tsconfig.build.json",
"dev": "yarn build:es --watch",
"build:cjs": "tsc --outDir dist/cjs --module commonjs",
Copy link

Copilot AI Jun 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the --project tsconfig.build.json flag; this drops your custom rootDir, excludes, and types settings. Consider preserving those via --project or migrating them into your base tsconfig.

Suggested change
"build:cjs": "tsc --outDir dist/cjs --module commonjs",
"build:cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",

Copilot uses AI. Check for mistakes.
"build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration",
"dev": "pnpm build:es --watch",
Copy link

Copilot AI Jun 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Using pnpm build:es may not invoke npm lifecycle hooks consistently across environments. Replace with pnpm run build:es --watch to ensure the script runs via the package manager's run command.

Suggested change
"dev": "pnpm build:es --watch",
"dev": "pnpm run build:es --watch",

Copilot uses AI. Check for mistakes.
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --fix --ext .ts,.tsx",
"prebuild": "rimraf dist",
"prettier": "prettier --write 'src/**/*.{ts,tsx}'",
"preversion": "npm-run-all --parallel lint typecheck test",
"test": "jest --runInBand",
"typecheck": "tsc --noEmit",
"version": "yarn build"
"version": "pnpm build"
},
"dependencies": {
"@manuscripts/json-schema": "2.2.10",
"citeproc": "^2.4.62",
"@citation-js/core": "^0.7.18",
"@citation-js/plugin-bibtex": "^0.7.18",
"@citation-js/plugin-csl": "^0.7.18",
"@citation-js/plugin-doi": "^0.7.18",
"@citation-js/plugin-enw": "^0.3.0",
"@citation-js/plugin-pubmed": "^0.3.0",
"@citation-js/plugin-ris": "^0.7.18"
"@manuscripts/json-schema": "2.2.12",
"citeproc": "2.4.63",
"@citation-js/core": "0.7.18",
"@citation-js/plugin-bibtex": "0.7.18",
"@citation-js/plugin-csl": "0.7.18",
"@citation-js/plugin-doi": "0.7.18",
"@citation-js/plugin-enw": "0.3.0",
"@citation-js/plugin-pubmed": "0.3.0",
"@citation-js/plugin-ris": "0.7.18"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@manuscripts/eslint-config": "^0.5.1",
"@types/jest": "^29.2.4",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"babel-jest": "^29.3.1",
"depcheck": "^1.4.3",
"csl-json": "^0.1.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.7",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-mdx": "^2.0.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"typescript": "^4.0.5"
"@babel/core": "7.23.7",
"@babel/preset-env": "7.23.8",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@manuscripts/eslint-config": "0.5.1",
"@types/jest": "29.5.14",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"babel-jest": "29.7.0",
"csl-json": "0.1.0",
"eslint": "8.57.1",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-mdx": "2.3.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.6.0",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-simple-import-sort": "8.0.0",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"rimraf": "6.0.1",
"typescript": "4.9.5"
}
}
Loading