Skip to content
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ yarn-error.log*
tmp/
/.idea/
/.vscode/
/src/version.ts
/src/versions.ts
16 changes: 2 additions & 14 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,10 @@
* limitations under the License.
*/

import { FlatCompat } from '@eslint/eslintrc'
import js from '@eslint/js'
import config from '@manuscripts/eslint-config'
import { defineConfig } from 'eslint/config'
import header from 'eslint-plugin-header'

header.rules.header.meta.schema = false

const compat = new FlatCompat({
recommendedConfig: js.configs.recommended,
})

export default defineConfig([
{
ignores: ['**/__snapshots__/**'],
},
...compat.config(config),
...compat.extends('plugin:diff/diff'),
{ ignores: ['**/__snapshots__/**'] },
...config,
])
31 changes: 7 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@manuscripts/transform",
"description": "ProseMirror transformer for Manuscripts applications",
"version": "4.3.43",
"version": "4.3.44-LEAN-5581.2",
"repository": "github:Atypon-OpenSource/manuscripts-transform",
"license": "Apache-2.0",
"main": "dist/cjs",
Expand All @@ -19,11 +19,11 @@
"build:cjs": "tsc --outDir dist/cjs --module commonjs",
"build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration",
"dev": "pnpm version-file && npm-run-all --parallel \"build:* --watch\"",
"version-file": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"lint": "eslint src --ext .js,.ts",
"lint:fix": "eslint src --fix --ext .js,.ts",
"version-file": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/versions.ts",
"lint": "eslint 'src/**/*.{js,ts}'",
"lint:all": "ESLINT_ALL_FILES=true eslint 'src/**/*.{js,ts}'",
"lint:fix": "eslint --fix 'src/**/*.{js,ts}'",
"prebuild": "rimraf dist && pnpm version-file",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\" \"*.{js,json}\"",
"preversion": "npm-run-all --parallel typecheck lint build test",
"test": "TZ=UTC vitest run",
"typecheck": "tsc --noEmit",
Expand All @@ -41,39 +41,22 @@
"w3c-xmlserializer": "4.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.39.1",
"@jats4r/dtds": "0.0.10",
"@manuscripts/eslint-config": "0.5.1",
"@manuscripts/eslint-config": "1.0.1",
"@types/csl": "npm:csl-json@0.1.0",
Comment on lines 44 to 46
"@types/lodash": "4.17.16",
"@types/mime": "3.0.4",
"@types/node": "20.17.46",
"@types/semver": "7.7.0",
"@types/uuid": "9.0.8",
"@types/w3c-xmlserializer": "2.0.4",
"@typescript-eslint/eslint-plugin": "8.46.4",
"@typescript-eslint/parser": "8.46.4",
"@vitest/coverage-v8": "4.1.6",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-diff": "2.0.3",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-mdx": "3.6.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint": "10.3.0",
"husky": "8.0.3",
"jsdom": "29.1.1",
"libxmljs2": "0.35.0",
"migration-base": "npm:@manuscripts/transform@2.3.20",
"npm-run-all": "4.1.5",
"prettier": "3.6.2",
"vitest": "4.1.6",
"prosemirror-state": "1.4.3",
"prosemirror-view": "1.39.2",
Expand Down
Loading