textmode.filters.js 1.2.1 → 1.2.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "name": "textmode.filters.js",
3
- "version": "1.2.1",
3
+ "version": "1.2.3-beta.1",
4
4
  "description": "Image filters plugin for textmode.js",
5
5
  "type": "module",
6
+ "devEngines": {
7
+ "runtime": {
8
+ "name": "node",
9
+ "version": "^24.0.0",
10
+ "onFail": "error"
11
+ },
12
+ "packageManager": {
13
+ "name": "npm",
14
+ "version": "^11.0.0",
15
+ "onFail": "error"
16
+ }
17
+ },
6
18
  "main": "./dist/textmode.filters.umd.js",
7
19
  "module": "./dist/textmode.filters.esm.js",
8
20
  "types": "./dist/types/index.d.ts",
@@ -19,58 +31,93 @@
19
31
  "scripts": {
20
32
  "dev": "vite --port 5179 --host",
21
33
  "build:bundle": "vite build",
22
- "build:types": "tsc",
34
+ "build:types": "textmode-types build",
23
35
  "build": "npm run build:bundle && npm run build:types",
24
- "check": "npm run check:format && npm run lint && npm run lint:md && npm run check:types && npm run check:examples && npm run build",
25
- "check:examples": "node ./scripts/check-examples.mjs",
26
- "dev:docs": "typedoc --watch",
27
- "build:docs": "typedoc",
36
+ "check": "textmode-project check",
37
+ "docs:links:add": "textmode-docs links add",
38
+ "docs:api:check": "textmode-docs api-check",
39
+ "docs:check": "textmode-docs check",
40
+ "docs:dev": "textmode-docs watch",
41
+ "docs:build": "textmode-docs build",
28
42
  "preview": "vite preview",
29
- "format": "prettier --write .",
30
- "check:format": "prettier --check .",
31
- "check:types": "tsc --noEmit",
32
- "lint:md": "markdownlint-cli2",
33
- "lint:md:fix": "markdownlint-cli2 --fix",
34
- "lint": "eslint src --config eslint.config.js",
35
- "prepare": "husky"
43
+ "format": "prettier --write . --ignore-unknown",
44
+ "format:check": "prettier --check . --ignore-unknown",
45
+ "typecheck": "textmode-types check",
46
+ "types:verify": "textmode-types verify",
47
+ "lint:markdown": "markdownlint-cli2 --config package.json --configPointer /markdownlint-cli2",
48
+ "lint:markdown:fix": "markdownlint-cli2 --config package.json --configPointer /markdownlint-cli2 --fix",
49
+ "lint": "eslint src",
50
+ "prepare": "install-git-hooks",
51
+ "prepack": "textmode-project prepack",
52
+ "release": "semantic-release",
53
+ "test": "vitest run",
54
+ "test:watch": "vitest"
36
55
  },
37
56
  "peerDependencies": {
38
- "textmode.js": ">=0.7.0"
57
+ "textmode.js": ">=0.16.0"
39
58
  },
40
59
  "devDependencies": {
41
- "@commitlint/cli": "^20.5.0",
42
- "@commitlint/config-conventional": "^20.5.0",
43
- "@eslint/js": "^9.39.4",
44
- "@mapwhit/glsl-minify": "^1.0.0",
45
- "@rollup/plugin-terser": "^0.4.4",
46
- "@semantic-release/exec": "^7.1.0",
47
- "@semantic-release/git": "^10.0.1",
48
- "@types/node": "^24.0.13",
49
- "eslint": "^9.39.2",
50
- "eslint-plugin-jsdoc": "^62.9.0",
51
- "globals": "^17.5.0",
52
- "husky": "^9.1.7",
53
- "lint-staged": "^16.4.0",
54
- "markdownlint-cli2": "^0.22.1",
55
- "markdownlint-cli2-formatter-default": "^0.0.6",
56
- "prettier": "^3.8.3",
57
- "semantic-release": "^25.0.3",
58
- "textmode.js": "^0.16.0",
59
- "typedoc": "^0.28.19",
60
- "typedoc-plugin-frontmatter": "^1.3.1",
61
- "typedoc-plugin-markdown": "^4.11.0",
62
- "typedoc-vitepress-theme": "^1.1.2",
63
- "typescript": "^5.9.2",
64
- "typescript-eslint": "^8.59.0",
65
- "vite": "^6.3.4"
60
+ "@commitlint/cli": "^21.2.1",
61
+ "@textmode/commitlint-config": "^0.1.1",
62
+ "@textmode/docs": "^0.2.2",
63
+ "@textmode/eslint-config": "^0.2.0",
64
+ "@textmode/markdownlint-config": "^0.1.1",
65
+ "@textmode/prettier-config": "^0.1.0",
66
+ "@textmode/release-config": "^0.1.2",
67
+ "@textmode/tooling-scripts": "^0.5.0",
68
+ "@textmode/tsconfig": "^0.2.0",
69
+ "@textmode/vite-config": "^0.1.0",
70
+ "@textmode/vite-plugin-glsl": "0.1.0",
71
+ "@types/node": "^24.0.0",
72
+ "@vitest/ui": "^4.1.10",
73
+ "eslint": "^10.6.0",
74
+ "lint-staged": "^17.0.8",
75
+ "markdownlint-cli2": "^0.23.2",
76
+ "prettier": "^3.9.4",
77
+ "semantic-release": "^25.0.5",
78
+ "terser": "^5.46.1",
79
+ "textmode.js": "^0.17.0",
80
+ "typescript": "^6.0.3",
81
+ "vite": "^8.1.3",
82
+ "vitest": "^4.1.10"
66
83
  },
67
84
  "license": "MIT",
68
85
  "author": "humanbydefinition",
69
86
  "lint-staged": {
70
87
  "*": "prettier --ignore-unknown --write"
71
88
  },
89
+ "prettier": "@textmode/prettier-config",
90
+ "commitlint": {
91
+ "extends": [
92
+ "@textmode/commitlint-config"
93
+ ]
94
+ },
95
+ "release": {
96
+ "extends": "@textmode/release-config"
97
+ },
72
98
  "repository": {
73
99
  "type": "git",
74
100
  "url": "https://github.com/humanbydefinition/textmode.filters.js"
101
+ },
102
+ "markdownlint-cli2": {
103
+ "globs": [
104
+ "**/*.md"
105
+ ],
106
+ "ignores": [
107
+ "api/**",
108
+ "node_modules/**",
109
+ "dist/**",
110
+ "examples/**/*.md",
111
+ "**/CHANGELOG.md"
112
+ ],
113
+ "fix": false,
114
+ "outputFormatters": [
115
+ [
116
+ "markdownlint-cli2-formatter-default"
117
+ ]
118
+ ],
119
+ "config": {
120
+ "extends": "@textmode/markdownlint-config"
121
+ }
75
122
  }
76
123
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,YAAY,EACX,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EA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