@eslinted/defaults 16.0.2 → 16.0.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.
@@ -33,6 +33,5 @@ jobs:
33
33
  run: npm ci --loglevel=error --fund=false
34
34
  - name: Publish to NPM
35
35
  id: publish
36
- run: npm publish
37
-
36
+ run: npm run publish:release
38
37
  ...
@@ -150,7 +150,7 @@ export default {
150
150
  "always",
151
151
  {
152
152
  emptyObjects: "never",
153
- }
153
+ },
154
154
  ],
155
155
  "@stylistic/object-property-newline": 2,
156
156
  "@stylistic/one-var-declaration-per-line": [
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "$pkg": "2211.6.0",
2
+ "$pkg": "2211.7.0",
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "16.0.2",
6
+ "version": "16.0.3",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -42,11 +42,9 @@
42
42
  "start:ts": "node .",
43
43
  "start:svelte": "vite preview --open",
44
44
  "prepublishOnly": "npm test",
45
+ "publish:release": "cmd --% /c \"for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" (npm publish) else (npm publish --tag=next)\" || bash -c 'if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm publish; else npm publish --tag=next; fi'",
45
46
  "predeploy": "npm test",
46
47
  "deploy": ""
47
48
  },
48
- "publishConfig": {
49
- "tag": "next"
50
- },
51
49
  "author": "Jimmy Zhening Luo <jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)"
52
50
  }
@@ -160,7 +160,7 @@ export default {
160
160
  "always" /* always | @default never */,
161
161
  {
162
162
  emptyObjects: "never",
163
- }
163
+ },
164
164
  ],
165
165
  "@stylistic/object-property-newline": State.ON,
166
166
  "@stylistic/one-var-declaration-per-line": [