pubinfo 2.0.0-beta.5 → 2.0.0-beta.7

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.
package/dist/eslint.d.mts CHANGED
@@ -1 +1,2 @@
1
+ import eslint from '@pubinfo/config/eslint';
1
2
  export { default } from '@pubinfo/config/eslint';
package/dist/eslint.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import _default from '@pubinfo/config/eslint';
2
- export = _default;
1
+ import eslint from '@pubinfo/config/eslint';
2
+ export { default } from '@pubinfo/config/eslint';
package/dist/eslint.mjs CHANGED
@@ -1 +1,2 @@
1
+ import eslint from '@pubinfo/config/eslint';
1
2
  export { default } from '@pubinfo/config/eslint';
package/dist/index.d.mts CHANGED
@@ -3,5 +3,3 @@ import '@pubinfo/core/request';
3
3
  import '@pubinfo/config/themes';
4
4
  import '@pubinfo/config/unocss';
5
5
  import '@pubinfo/vite';
6
- import '@pubinfo/config/eslint';
7
- import '@pubinfo/config/stylelint';
package/dist/index.d.ts CHANGED
@@ -3,5 +3,3 @@ import '@pubinfo/core/request';
3
3
  import '@pubinfo/config/themes';
4
4
  import '@pubinfo/config/unocss';
5
5
  import '@pubinfo/vite';
6
- import '@pubinfo/config/eslint';
7
- import '@pubinfo/config/stylelint';
@@ -1 +1,2 @@
1
+ import stylelint from '@pubinfo/config/stylelint';
1
2
  export { default } from '@pubinfo/config/stylelint';
@@ -1,2 +1,2 @@
1
- import _default from '@pubinfo/config/stylelint';
2
- export = _default;
1
+ import stylelint from '@pubinfo/config/stylelint';
2
+ export { default } from '@pubinfo/config/stylelint';
@@ -1 +1,2 @@
1
+ import stylelint from '@pubinfo/config/stylelint';
1
2
  export { default } from '@pubinfo/config/stylelint';
package/package.json CHANGED
@@ -1,45 +1,36 @@
1
1
  {
2
2
  "name": "pubinfo",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.5",
4
+ "version": "2.0.0-beta.7",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
8
- "import": "./dist/index.mjs",
9
- "require": "./dist/index.cjs"
8
+ "default": "./dist/index.mjs"
10
9
  },
11
10
  "./request": {
12
11
  "types": "./dist/request.d.ts",
13
- "import": "./dist/request.mjs",
14
- "require": "./dist/request.cjs"
12
+ "default": "./dist/request.mjs"
15
13
  },
16
14
  "./client": {
17
15
  "types": "./dist/client.d.ts",
18
- "import": "./dist/client.mjs",
19
- "require": "./dist/client.cjs"
16
+ "default": "./dist/client.mjs"
20
17
  },
21
18
  "./node": {
22
19
  "types": "./dist/node.d.ts",
23
- "import": "./dist/node.mjs",
24
- "require": "./dist/node.cjs"
20
+ "default": "./dist/node.mjs"
25
21
  },
26
22
  "./eslint": {
27
23
  "types": "./dist/eslint.d.ts",
28
- "import": "./dist/eslint.mjs",
29
- "require": "./dist/eslint.cjs"
24
+ "default": "./dist/eslint.mjs"
30
25
  },
31
26
  "./stylelint": {
32
27
  "types": "./dist/stylelint.d.ts",
33
- "import": "./dist/stylelint.mjs",
34
- "require": "./dist/stylelint.cjs"
35
- },
36
- "./style.css": {
37
- "import": "./dist/style.css",
38
- "require": "./dist/style.css"
28
+ "default": "./dist/stylelint.mjs"
39
29
  },
30
+ "./style.css": "./dist/style.css",
40
31
  "./types": "./types.d.ts"
41
32
  },
42
- "main": "dist/index.cjs",
33
+ "main": "dist/index.mjs",
43
34
  "module": "dist/index.mjs",
44
35
  "types": "dist/index.d.ts",
45
36
  "bin": {
@@ -61,12 +52,12 @@
61
52
  "sass": "1.77.8",
62
53
  "unocss": "^65.5.0",
63
54
  "vue": "^3.5.13",
64
- "vue-i18n": "^9.14.2",
55
+ "vue-i18n": "^10.0.5",
65
56
  "vue-router": "^4.5.0",
66
- "@pubinfo/cli": "2.0.0-beta.5",
67
- "@pubinfo/config": "2.0.0-beta.5",
68
- "@pubinfo/core": "2.0.0-beta.5",
69
- "@pubinfo/vite": "2.0.0-beta.5"
57
+ "@pubinfo/cli": "2.0.0-beta.7",
58
+ "@pubinfo/config": "2.0.0-beta.7",
59
+ "@pubinfo/core": "2.0.0-beta.7",
60
+ "@pubinfo/vite": "2.0.0-beta.7"
70
61
  },
71
62
  "devDependencies": {
72
63
  "unbuild": "^3.5.0"
package/dist/client.cjs DELETED
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- const themes = require('@pubinfo/config/themes');
4
-
5
-
6
-
7
- Object.prototype.hasOwnProperty.call(themes, '__proto__') &&
8
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
- Object.defineProperty(exports, '__proto__', {
10
- enumerable: true,
11
- value: themes['__proto__']
12
- });
13
-
14
- Object.keys(themes).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = themes[k];
16
- });
package/dist/client.d.cts DELETED
@@ -1 +0,0 @@
1
- export * from '@pubinfo/config/themes';
package/dist/eslint.cjs DELETED
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- const eslint = require('@pubinfo/config/eslint');
4
-
5
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
6
-
7
- const eslint__default = /*#__PURE__*/_interopDefaultCompat(eslint);
8
-
9
-
10
-
11
- module.exports = eslint__default;
package/dist/eslint.d.cts DELETED
@@ -1,2 +0,0 @@
1
- import _default from '@pubinfo/config/eslint';
2
- export = _default;
package/dist/index.cjs DELETED
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- const core = require('@pubinfo/core');
4
-
5
-
6
-
7
- Object.prototype.hasOwnProperty.call(core, '__proto__') &&
8
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
- Object.defineProperty(exports, '__proto__', {
10
- enumerable: true,
11
- value: core['__proto__']
12
- });
13
-
14
- Object.keys(core).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k];
16
- });
package/dist/index.d.cts DELETED
@@ -1,7 +0,0 @@
1
- export * from '@pubinfo/core';
2
- import '@pubinfo/core/request';
3
- import '@pubinfo/config/themes';
4
- import '@pubinfo/config/unocss';
5
- import '@pubinfo/vite';
6
- import '@pubinfo/config/eslint';
7
- import '@pubinfo/config/stylelint';
package/dist/node.cjs DELETED
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- const unocss = require('@pubinfo/config/unocss');
4
- const vite = require('@pubinfo/vite');
5
-
6
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
7
-
8
- const unocss__default = /*#__PURE__*/_interopDefaultCompat(unocss);
9
-
10
-
11
-
12
- exports.presetUnocss = unocss__default;
13
- Object.prototype.hasOwnProperty.call(vite, '__proto__') &&
14
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
15
- Object.defineProperty(exports, '__proto__', {
16
- enumerable: true,
17
- value: vite['__proto__']
18
- });
19
-
20
- Object.keys(vite).forEach(function (k) {
21
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = vite[k];
22
- });
package/dist/node.d.cts DELETED
@@ -1,2 +0,0 @@
1
- export { default as presetUnocss } from '@pubinfo/config/unocss';
2
- export * from '@pubinfo/vite';
package/dist/request.cjs DELETED
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- const request = require('@pubinfo/core/request');
4
-
5
-
6
-
7
- Object.prototype.hasOwnProperty.call(request, '__proto__') &&
8
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
- Object.defineProperty(exports, '__proto__', {
10
- enumerable: true,
11
- value: request['__proto__']
12
- });
13
-
14
- Object.keys(request).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = request[k];
16
- });
@@ -1 +0,0 @@
1
- export * from '@pubinfo/core/request';
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- const stylelint = require('@pubinfo/config/stylelint');
4
-
5
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
6
-
7
- const stylelint__default = /*#__PURE__*/_interopDefaultCompat(stylelint);
8
-
9
-
10
-
11
- module.exports = stylelint__default;
@@ -1,2 +0,0 @@
1
- import _default from '@pubinfo/config/stylelint';
2
- export = _default;