@croco/utils-next-font-pretendard 0.0.2 → 0.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.
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +23 -17
- package/src/index.js +0 -13
- package/src/index.mjs +0 -5
- /package/{src → dist}/index.d.mts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var i=Object.create;var e=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var w=(r,o)=>{for(var t in o)e(r,t,{get:o[t],enumerable:!0})},n=(r,o,t,d)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of s(o))!f.call(r,a)&&a!==t&&e(r,a,{get:()=>o[a],enumerable:!(d=l(o,a))||d.enumerable});return r};var m=(r,o,t)=>(t=r!=null?i(c(r)):{},n(o||!r||!r.__esModule?e(t,"default",{value:r,enumerable:!0}):t,r)),F=r=>n(e({},"__esModule",{value:!0}),r);var g={};w(g,{pretendardFont:()=>b});module.exports=F(g);var p=m(require("next/font/local")),b=(0,p.default)({src:"../PretendardVariable.woff2",display:"swap",weight:"45 920"});0&&(module.exports={pretendardFont});
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"next/font/local";var t=r({src:"../PretendardVariable.woff2",display:"swap",weight:"45 920"});export{t as pretendardFont};
|
package/package.json
CHANGED
|
@@ -1,36 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@croco/utils-next-font-pretendard",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
|
-
"files": [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
5
|
+
"files": [
|
|
6
|
+
"dist",
|
|
7
|
+
"PretendardVariable.woff2"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"module": "./dist/index.mjs",
|
|
10
13
|
"exports": {
|
|
11
14
|
".": {
|
|
12
15
|
"require": {
|
|
13
|
-
"types": "./
|
|
14
|
-
"default": "./
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
15
18
|
},
|
|
16
19
|
"import": {
|
|
17
|
-
"types": "./
|
|
18
|
-
"default": "./
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"default": "./dist/index.mjs"
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"typecheck": "tsc --noEmit",
|
|
24
|
-
"lint": "eslint **/*.ts*"
|
|
25
|
-
},
|
|
26
25
|
"peerDependencies": {
|
|
27
|
-
"next": "^14.0.0"
|
|
26
|
+
"next": "^14.0.0 || ^15.0.0"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
29
|
+
"tsup": "8.3.5",
|
|
30
|
+
"next": "15.1.2",
|
|
31
|
+
"@croco/eslint-config": "0.0.0",
|
|
32
|
+
"@croco/utils-tsconfig": "0.0.0"
|
|
32
33
|
},
|
|
33
34
|
"publishConfig": {
|
|
34
35
|
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --minify",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"lint": "eslint **/*.ts*"
|
|
35
41
|
}
|
|
36
42
|
}
|
package/src/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var r = require('next/font/local');
|
|
4
|
-
|
|
5
|
-
function _interopDefault(e) {
|
|
6
|
-
return e && e.__esModule ? e : { default: e };
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
var r__default = /*#__PURE__*/ _interopDefault(r);
|
|
10
|
-
|
|
11
|
-
const a = r__default.default({ src: '../PretendardVariable.woff2', display: 'swap', weight: "45 920"});
|
|
12
|
-
|
|
13
|
-
exports.pretendardFont = a;
|
package/src/index.mjs
DELETED
|
File without changes
|
/package/{src → dist}/index.d.ts
RENAMED
|
File without changes
|