@phun-ky/moebius 1.0.6 → 2.0.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@phun-ky/moebius",
3
- "version": "1.0.6",
3
+ "version": "2.0.0",
4
4
  "description": "Automatically generate color palettes!",
5
5
  "main": "dist/moebius.js",
6
6
  "types": "dist/moebius.d.ts",
@@ -9,21 +9,22 @@
9
9
  "access": "public"
10
10
  },
11
11
  "scripts": {
12
- "test": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.[jt]s\"",
13
- "pretest-ci": "rm -rf coverage && mkdir -p coverage",
14
- "test-ci": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.[jt]s\"",
12
+ "build": "npm run clean && npm run rollup",
13
+ "clean": "rm -rf dist dts",
14
+ "commit": "npx git-cz",
15
+ "dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
16
+ "docs:gen": "node ./node_modules/.bin/typedoc",
17
+ "release": "release-it",
15
18
  "rollup": "rollup -c",
16
19
  "prerollup:dev": "npm run clean",
17
20
  "rollup:dev": "rollup -c -w",
18
- "clean": "rm -rf dist dts",
19
- "build": "npm run clean && npm run rollup",
20
- "dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
21
- "docs:gen": "node ./node_modules/.bin/typedoc --entryPoints src --entryPointStrategy expand --gitRevision main --githubPages false --plugin typedoc-plugin-markdown --tsconfig tsconfig.json --hideInPageTOC --out api --readme none",
22
- "style:lint": "./node_modules/.bin/eslint -c ./.eslintrc --max-warnings=0 src --ignore-path .gitignore ",
23
- "style:format": "prettier-eslint --config .prettierrc --eslint-config-path $PWD/.eslintrc --list-different --write \"./src/**/*.ts\"",
24
21
  "style:code": "npx putout src",
25
- "commit": "npx git-cz",
26
- "release": "release-it"
22
+ "style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
23
+ "style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src && ./node_modules/.bin/prettier --check src",
24
+ "test": "npm run test:unit",
25
+ "pretest:ci": "rm -rf coverage && mkdir -p coverage",
26
+ "test:ci": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.[jt]s\"",
27
+ "test:unit": "glob -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.[jt]s\""
27
28
  },
28
29
  "files": [
29
30
  "/dist/moebius.js",
@@ -68,50 +69,47 @@
68
69
  },
69
70
  "homepage": "https://github.com/phun-ky/moebius#readme",
70
71
  "devDependencies": {
72
+ "@phun-ky/eslint-config": "^0.1.6",
71
73
  "@release-it/conventional-changelog": "^8.0.1",
72
- "@rollup/plugin-commonjs": "^25.0.7",
74
+ "@rollup/plugin-commonjs": "^28.0.3",
73
75
  "@rollup/plugin-node-resolve": "^15.2.3",
74
76
  "@rollup/plugin-terser": "^0.4.4",
75
- "@testing-library/dom": "^9.3.4",
77
+ "@testing-library/dom": "^10.4.0",
76
78
  "@testing-library/jest-dom": "^6.4.2",
77
- "@typescript-eslint/eslint-plugin": "^5.62.0",
78
- "@typescript-eslint/parser": "^5.0.1",
79
+ "@types/node": "^22.15.3",
79
80
  "cobertura": "^1.0.1",
80
- "cssnano": "^6.0.3",
81
- "eslint": "^8.56.0",
82
- "eslint-config-prettier": "^9.1.0",
83
- "eslint-import-resolver-typescript": "3.6.1",
84
- "eslint-plugin-compat": "^4.2.0",
85
- "eslint-plugin-import": "^2.29.1",
86
- "eslint-plugin-prettier": "^5.1.3",
81
+ "eslint": "^9.20.0",
82
+ "eslint-config-prettier": "^10.1.2",
87
83
  "git-cz": "^4.9.0",
88
- "glob": "^10.3.10",
84
+ "glob": "^11.0.2",
89
85
  "global-jsdom": "^24.0.0",
90
86
  "jsdom": "^24.0.0",
91
- "postcss": "^8.3.0",
92
- "postcss-cli": "^8.3.1",
93
- "prettier": "^3.2.5",
94
- "prettier-eslint": "^16.3.0",
95
- "prettier-eslint-cli": "^8.0.1",
87
+ "prettier": "3.5.3",
96
88
  "putout": "^35.1.0",
97
89
  "quibble": "^0.9.1",
98
90
  "release-it": "^17.1.1",
91
+ "remark-gfm": "^4.0.1",
92
+ "remark-github": "^12.0.0",
93
+ "remark-insert-headings": "^0.0.0",
94
+ "remark-toc": "^9.0.0",
99
95
  "rollup": "^4.12.0",
100
96
  "rollup-plugin-dts": "^6.1.0",
101
97
  "rollup-plugin-typescript2": "^0.36.0",
102
- "stylus": "^0.63.0",
103
- "ts-node": "^10.9.1",
98
+ "stylus": "^0.64.0",
104
99
  "tslib": "^2.3.1",
105
100
  "tsx": "^4.7.1",
106
- "typedoc": "^0.25.8",
107
- "typedoc-plugin-frontmatter": "^0.0.2",
108
- "typedoc-plugin-markdown": "^3.17.1",
109
- "typedoc-plugin-mdn-links": "^3.1.16",
110
- "typedoc-plugin-no-inherit": "^1.4.0",
111
- "typedoc-plugin-rename-defaults": "^0.7.0",
112
- "typescript": "^5.0.0"
101
+ "typedoc": "^0.28.4",
102
+ "typedoc-plugin-frontmatter": "^1.3.0",
103
+ "typedoc-plugin-markdown": "^4.6.3",
104
+ "typedoc-plugin-mdn-links": "^5.0.1",
105
+ "typedoc-plugin-no-inherit": "^1.6.1",
106
+ "typedoc-plugin-remark": "^2.0.0",
107
+ "typedoc-plugin-rename-defaults": "^0.7.3",
108
+ "typescript": "^5.7.3",
109
+ "unified-prettier": "^2.0.1"
113
110
  },
114
111
  "dependencies": {
112
+ "@phun-ky/typeof": "^1.2.10",
115
113
  "chroma-js": "^2.4.2",
116
114
  "nearest-color": "^0.4.4"
117
115
  },
@@ -121,7 +119,7 @@
121
119
  }
122
120
  },
123
121
  "engines": {
124
- "node": ">=20.11.1",
125
- "npm": ">=10.2.4"
122
+ "node": ">=22.9.0",
123
+ "npm": ">=11.0.0"
126
124
  }
127
125
  }