immosquare-cleaner 1.2.2 → 1.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8955a1cc723b8879a2b500cec45203853c478ba77f225dd271aeb2dd6fabf32e
4
- data.tar.gz: 4cd13cd6271fc8eac845b4138fe64183c1325f2b0acd09a0243cb6be178f4fdf
3
+ metadata.gz: 53d2dc2a160c411d3acbeb2dc03692343ef60b598468fe288bfca2ec85667e87
4
+ data.tar.gz: 802af16e18bb055b0f6a6a77b2e9ec47d2a1dab3d7a624ee848cd4f813f27e48
5
5
  SHA512:
6
- metadata.gz: cd8d298e396a4956432fe9a7c38f653d4ef562f6516c2e8df3b124a9b0b74d106edf58f765c32a3260c8396d385b32b368c96979ea36b322c88837760ac4c964
7
- data.tar.gz: 5cc16c3d0852e96e32d5d3e81046dcbeab39ef377dbcb0ebb4e1aa5c833edeb09a24aef1bac0c22f9b7e533bc15c79a2a467e921044f6bb6b6a5a9be57e8a2e6
6
+ metadata.gz: c75021c32ffb683d464ef3834eb0e40bec740645f7be9afc045942b99093b160ad6e9867798858d37b030e34227a2f1b31df72895e9e376cd704f82af4e522a4
7
+ data.tar.gz: d4023816cebb368e5bff4bbc5ac7b824135532b2d738b74a0df0c530923a375bef4ee627a77f31d09ffd22d1e44bcc94f3e77d241963eb83ca142d8d039f98d8
@@ -33,12 +33,15 @@ module ImmosquareCleaner
33
33
 
34
34
  ##============================================================##
35
35
  ## Prettier flags:
36
- ## --no-color : strip ANSI escape codes — VS Code Output panel
37
- ## renders them as raw `ESC` characters
38
- ## --write : format the file in place
39
- ## --config : pin the shared config shipped with the gem
36
+ ## --no-color : strip ANSI escape codes — VS Code Output
37
+ ## panel renders them as raw `ESC` characters
38
+ ## --write : format the file in place
39
+ ## --ignore-unknown : leave files Prettier has no parser for
40
+ ## (bun.lock, LICENSE…) untouched instead of
41
+ ## failing with "No parser could be inferred"
42
+ ## --config : pin the shared config shipped with the gem
40
43
  ##============================================================##
41
- cmds = ["bun prettier --no-color --write #{Shellwords.escape(file_path)} --config #{ImmosquareCleaner.gem_root}/linters/prettier.yml"]
44
+ cmds = ["bun prettier --no-color --write --ignore-unknown #{Shellwords.escape(file_path)} --config #{ImmosquareCleaner.gem_root}/linters/prettier.yml"]
42
45
  launch_cmds(cmds)
43
46
  end
44
47
 
@@ -1,3 +1,3 @@
1
1
  module ImmosquareCleaner
2
- VERSION = "1.2.2".freeze
2
+ VERSION = "1.2.3".freeze
3
3
  end
data/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "immosquare-cleaner",
3
3
  "//": [
4
- "TypeScript 7.0 has no stable programmatic API.",
5
- "ESLint uses the TypeScript 6.0.3 tarball so bun update --latest cannot replace it.",
6
- "Remove this lock when typescript-eslint supports the TypeScript 7.1 API."
4
+ "TypeScript 7 provides tsc through @typescript/native.",
5
+ "ESLint and SonarJS use the TypeScript 6 API through the official @typescript/typescript6 alias.",
6
+ "Keep this alias until both tools support the native TypeScript API."
7
7
  ],
8
8
  "private": true,
9
9
  "dependencies": {
10
- "@babel/parser": "^8.0.5",
10
+ "@babel/parser": "^8.0.7",
11
11
  "@eslint/js": "^10.0.1",
12
- "@typescript-eslint/eslint-plugin": "^8.71.0",
13
- "@typescript-eslint/parser": "^8.71.0",
12
+ "@typescript-eslint/eslint-plugin": "^8.71.2",
13
+ "@typescript-eslint/parser": "^8.71.2",
14
14
  "@typescript/native": "npm:typescript@^7.0.2",
15
15
  "eslint": "^10.12.0",
16
16
  "eslint-plugin-align-import": "^1.0.0",
@@ -18,7 +18,7 @@
18
18
  "eslint-plugin-prefer-arrow": "^1.2.3",
19
19
  "eslint-plugin-sonarjs": "^4.2.2",
20
20
  "eslint-plugin-unused-imports": "^4.4.1",
21
- "prettier": "^3.9.9",
22
- "typescript": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz"
21
+ "prettier": "^3.9.10",
22
+ "typescript": "npm:@typescript/typescript6@^6.0.2"
23
23
  }
24
24
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - immosquare