linted 19.1.0 → 19.1.2

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.
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "_schemaVersion": "20.18.0",
2
+ "_schemaVersion": "20.18.2",
3
3
  "name": "linted",
4
- "version": "19.1.0",
4
+ "version": "19.1.2",
5
5
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -61,7 +61,7 @@
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@eslinted/core": "5.0.2",
64
+ "@eslinted/core": "5.0.5",
65
65
  "@html-eslint/eslint-plugin": "0.27.0",
66
66
  "@html-eslint/parser": "0.27.0",
67
67
  "@stylistic/eslint-plugin": "2.9.0",
@@ -78,6 +78,10 @@
78
78
  },
79
79
  "devDependencies": {
80
80
  "@eslint/config-inspector": "^0.5.5",
81
+ "@types/chai": "^5.0.0",
82
+ "@types/mocha": "^10.0.9",
83
+ "chai": "^5.1.2",
84
+ "mocha": "^10.7.3",
81
85
  "npm-run-all": "^4.1.5",
82
86
  "run-script-os": "^1.1.6",
83
87
  "ts-add-js-extension": "^1.6.4",
@@ -87,7 +91,7 @@
87
91
  "build": "run-os",
88
92
  "build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_fix $npm_package_config_lint default",
89
93
  "build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_fix% %npm_package_config_lint% windows",
90
- "rebuild": "run-s \"clean:{1}:{4}\" \"compile:{1}:*\" \"fix:{2} -- {1}\" \"lint:{3}\" --",
94
+ "rebuild": "run-s \"clean:{1}:{4}\" \"compile:{1}:*\" \"fix:{2} -- {1}\" \"lint:{3}\" \"test:{1}\" --",
91
95
  "clean:ts:default": "rm -rf dist",
92
96
  "clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
93
97
  "clean:svelte:default": "rm -rf build .svelte-kit",
@@ -115,6 +119,8 @@
115
119
  "postbuild": "echo \"Build (+lint) complete.\"",
116
120
  "pretest": "npm run build",
117
121
  "test": "",
122
+ "test:ts": "mocha",
123
+ "test:svelte": "",
118
124
  "start": "run-os",
119
125
  "start:default": "npm run starter:$npm_package_config_language",
120
126
  "start:windows": "npm run starter:%npm_package_config_language%",
@@ -125,5 +131,10 @@
125
131
  "predeploy": "npm test",
126
132
  "deploy": ""
127
133
  },
134
+ "mocha": {
135
+ "spec": [
136
+ "dist/**/*.spec.js"
137
+ ]
138
+ },
128
139
  "author": "Jimmy Zhening Luo <1450044+jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)"
129
140
  }
File without changes
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "display": "@jimbojet/tsc",
3
- "_version": "5.6.5",
3
+ "_version": "5.6.7",
4
4
  "_help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
5
  "$schema": "https://json.schemastore.org/tsconfig",
6
6
  "include": [
@@ -52,6 +52,8 @@
52
52
  // "rootDirs": [],
53
53
  // "typeRoots": [],
54
54
  "types": [
55
+ "mocha",
56
+ "chai",
55
57
  /* {CONFIGURE} */
56
58
  ],
57
59
  // #endregion MODULES