xenopomp-essentials 0.1.2 → 0.1.3-rc.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.
@@ -1,6 +1,7 @@
1
1
  import ririd from '@ririd/eslint-config';
2
2
  import { D as Defined } from '../shared/xenopomp-essentials.BFV6RP1V.mjs';
3
3
 
4
+ type RiridReturn = ReturnType<typeof ririd>;
4
5
  type RiridParams = Parameters<typeof ririd>;
5
6
  type RiridOptions = Defined<RiridParams[0]>;
6
7
  type UserConfig = Defined<RiridParams[1]>;
@@ -32,6 +33,6 @@ type UserConfig = Defined<RiridParams[1]>;
32
33
  * // ...
33
34
  * );
34
35
  */
35
- declare function xenopomp(options?: RiridOptions, ...userConfigs: UserConfig[]): ReturnType<typeof ririd>;
36
+ declare function xenopomp(options?: RiridOptions, ...userConfigs: UserConfig[]): RiridReturn;
36
37
 
37
- export { xenopomp };
38
+ export { xenopomp as default };
package/eslint/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import ririd from '@ririd/eslint-config';
2
2
  import { D as Defined } from '../shared/xenopomp-essentials.BFV6RP1V.js';
3
3
 
4
+ type RiridReturn = ReturnType<typeof ririd>;
4
5
  type RiridParams = Parameters<typeof ririd>;
5
6
  type RiridOptions = Defined<RiridParams[0]>;
6
7
  type UserConfig = Defined<RiridParams[1]>;
@@ -32,6 +33,6 @@ type UserConfig = Defined<RiridParams[1]>;
32
33
  * // ...
33
34
  * );
34
35
  */
35
- declare function xenopomp(options?: RiridOptions, ...userConfigs: UserConfig[]): ReturnType<typeof ririd>;
36
+ declare function xenopomp(options?: RiridOptions, ...userConfigs: UserConfig[]): RiridReturn;
36
37
 
37
- export { xenopomp };
38
+ export { xenopomp as default };
package/eslint/index.mjs CHANGED
@@ -1 +1 @@
1
- import s from"@ririd/eslint-config";import{deepmerge as n}from"deepmerge-ts";import e from"globals";const r={next:!0,react:!0,jsonc:!1,yaml:!1,stylistic:{semi:!0,quotes:"single"},typescript:{overrides:{"ts/consistent-type-definitions":["error","interface"],"ts/interface-name-prefix":"off","ts/explicit-function-return-type":"off","ts/explicit-module-boundary-types":"off","ts/no-explicit-any":"off"}},rules:{"import/order":"off","react/react-in-jsx-scope":"off","react/prop-types":"off","antfu/top-level-function":"off","perfectionist/sort-imports":"off","perfectionist/sort-named-imports":"off","perfectionist/sort-named-exports":"off","antfu/consistent-chaining":"off","perfectionist/sort-exports":"off","style/no-multiple-empty-lines":"off"}};function i(t,...o){return s(n(r,t),{name:"Old config",languageOptions:{globals:{...e.browser,...e.jquery,...e.node,document:"readonly",navigator:"readonly",window:"readonly"}},ignores:["**/.next/*","**/node_modules/*","**/.github/*","cypress","**/__tests__/e2e/*","*.json","**/*.d.ts",".eslintrc.js","eslint.config.js",".prettierrc",".stylelintrc.js","tsconfig.json","package.json","*.md","*.config.ts","*.config.js","*.md"]},{name:"Rules breakup #1",rules:{"@next/next/no-duplicate-head":"off"}},{name:"Rules breakup #2",rules:{"style/operator-linebreak":"off","test/consistent-test-it":"off","test/prefer-lowercase-title":"off","style/jsx-quotes":"off","style/multiline-ternary":"off","style/indent":"off"},ignores:["cypress"]},...o)}export{i as xenopomp};
1
+ import s from"@ririd/eslint-config";import{deepmerge as r}from"deepmerge-ts";import e from"globals";const n={next:!0,react:!0,jsonc:!1,yaml:!1,stylistic:{semi:!0,quotes:"single"},typescript:{overrides:{"ts/consistent-type-definitions":["error","interface"],"ts/interface-name-prefix":"off","ts/explicit-function-return-type":"off","ts/explicit-module-boundary-types":"off","ts/no-explicit-any":"off"}},rules:{"import/order":"off","react/react-in-jsx-scope":"off","react/prop-types":"off","antfu/top-level-function":"off","perfectionist/sort-imports":"off","perfectionist/sort-named-imports":"off","perfectionist/sort-named-exports":"off","antfu/consistent-chaining":"off","perfectionist/sort-exports":"off","style/no-multiple-empty-lines":"off"}};function i(t,...o){return s(r(n,t),{name:"Old config",languageOptions:{globals:{...e.browser,...e.jquery,...e.node,document:"readonly",navigator:"readonly",window:"readonly"}},ignores:["**/.next/*","**/node_modules/*","**/.github/*","cypress","**/__tests__/e2e/*","*.json","**/*.d.ts",".eslintrc.js","eslint.config.js",".prettierrc",".stylelintrc.js","tsconfig.json","package.json","*.md","*.config.ts","*.config.js","*.md"]},{name:"Rules breakup #1",rules:{"@next/next/no-duplicate-head":"off"}},{name:"Rules breakup #2",rules:{"style/operator-linebreak":"off","test/consistent-test-it":"off","test/prefer-lowercase-title":"off","style/jsx-quotes":"off","style/multiline-ternary":"off","style/indent":"off"},ignores:["cypress"]},...o)}export{i as default};
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "xenopomp-essentials",
3
- "version": "0.1.2",
3
+ "version": "0.1.3-rc.2",
4
4
  "author": "XenoPOMP <101574433+XenoPOMP@users.noreply.github.com>",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "private": false,
8
+ "publishConfig": {
9
+ "tag": "rc"
10
+ },
8
11
  "repository": {
9
12
  "type": "git",
10
13
  "url": "https://github.com/XenoPOMP/xenopomp-essentials-js.git"
@@ -52,6 +55,7 @@
52
55
  "@trivago/prettier-plugin-sort-imports": "^5.2.1",
53
56
  "@vitejs/plugin-react": "^4.3.4",
54
57
  "@vitest/coverage-istanbul": "^3.0.4",
58
+ "eslint-flat-config-utils": "^2.0.1",
55
59
  "esno": "^4.8.0",
56
60
  "husky": "^9.1.7",
57
61
  "hygen": "^6.2.11",