heading-case 1.1.7 → 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.
@@ -0,0 +1,42 @@
1
+ var __webpack_modules__ = {};
2
+ var __webpack_module_cache__ = {};
3
+ function __webpack_require__(moduleId) {
4
+ var cachedModule = __webpack_module_cache__[moduleId];
5
+ if (void 0 !== cachedModule) return cachedModule.exports;
6
+ var module = __webpack_module_cache__[moduleId] = {
7
+ exports: {}
8
+ };
9
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
10
+ return module.exports;
11
+ }
12
+ __webpack_require__.m = __webpack_modules__;
13
+ (()=>{
14
+ __webpack_require__.n = (module)=>{
15
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
16
+ __webpack_require__.d(getter, {
17
+ a: getter
18
+ });
19
+ return getter;
20
+ };
21
+ })();
22
+ (()=>{
23
+ __webpack_require__.d = (exports, getters, values)=>{
24
+ var define = (defs, kind)=>{
25
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ [kind]: defs[key]
28
+ });
29
+ };
30
+ define(getters, "get");
31
+ define(values, "value");
32
+ };
33
+ })();
34
+ (()=>{
35
+ __webpack_require__.add = function(modules) {
36
+ Object.assign(__webpack_require__.m, modules);
37
+ };
38
+ })();
39
+ (()=>{
40
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
41
+ })();
42
+ export { __webpack_require__ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heading-case",
3
- "version": "1.1.7",
3
+ "version": "2.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rstackjs/heading-case"
@@ -11,42 +11,48 @@
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
13
  "import": "./dist/index.js"
14
+ },
15
+ "./cli": {
16
+ "types": "./dist/cli.d.ts",
17
+ "import": "./dist/cli.js"
18
+ },
19
+ "./core": {
20
+ "types": "./dist/core.d.ts",
21
+ "import": "./dist/core.js"
14
22
  }
15
23
  },
24
+ "types": "./dist/index.d.ts",
16
25
  "bin": {
17
26
  "heading-case": "./bin.js"
18
27
  },
19
- "types": "./dist/index.d.ts",
20
28
  "files": [
21
29
  "dist"
22
30
  ],
23
- "simple-git-hooks": {
24
- "pre-commit": "pnpm run lint:write"
25
- },
26
31
  "devDependencies": {
27
- "@rslib/core": "^0.23.2",
28
- "@rslint/core": "^0.8.0",
29
- "@rstest/core": "^0.11.8",
30
32
  "@types/node": "^24.13.3",
31
33
  "case-police": "^2.2.1",
32
34
  "pathe": "^2.0.3",
33
35
  "picocolors": "^1.1.1",
34
36
  "prettier": "^3.9.6",
35
37
  "rslog": "^2.3.0",
36
- "simple-git-hooks": "^2.13.1",
38
+ "rstack": "^0.6.5",
37
39
  "tinyglobby": "^0.2.17",
38
40
  "typescript": "^7.0.2"
39
41
  },
42
+ "peerDependencies": {
43
+ "prettier": "^3.0.0"
44
+ },
40
45
  "publishConfig": {
41
46
  "access": "public",
42
47
  "registry": "https://registry.npmjs.org/"
43
48
  },
44
49
  "scripts": {
45
- "build": "rslib",
46
- "dev": "rslib -w",
47
- "lint": "rslint && prettier -c .",
48
- "lint:write": "rslint --fix && prettier -w .",
49
- "test": "rstest",
50
- "bump": "npx bumpp"
50
+ "build": "rs lib",
51
+ "bump": "pnpx bumpp",
52
+ "check": "rs check",
53
+ "dev": "rs lib -w",
54
+ "format": "rs fmt",
55
+ "lint": "rs lint",
56
+ "test": "rs test"
51
57
  }
52
58
  }