@jnrs/shared 1.0.18 → 1.1.1

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +9 -21
  3. package/package.json +12 -9
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 JNRS Tech Co., Ltd.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,41 +1,29 @@
1
1
  # @jnrs/shared
2
2
 
3
- ## 目录
4
- - [@jnrs/shared](#jnrsshared)
5
- - [目录](#目录)
6
- - [介绍](#介绍)
7
- - [软件架构](#软件架构)
8
- - [安装教程](#安装教程)
9
- - [使用示例](#使用示例)
10
- - [API](#api)
11
- - [@jnrs/core 模块](#jnrscore-模块)
12
- - [@jnrs/core/lodash 模块](#jnrscorelodash-模块)
13
- - [@jnrs/core/uuid 模块](#jnrscoreuuid-模块)
3
+ ## ✨ 介绍
4
+ 巨能前端工程化开发,通用工具包
14
5
 
15
- #### 介绍
16
- 巨能前端基建通用包
6
+ ## 💻 技术栈
7
+ TypeScript
17
8
 
18
- #### 软件架构
19
- jnrs-monorepo-frontend
20
-
21
- #### 安装教程
9
+ ## 🧩 安装教程
22
10
  ```shell
23
11
  pnpm add @jnrs/shared
24
12
  ```
25
13
 
26
- #### 使用示例
14
+ ## 🔍 使用示例
27
15
  ```typescript
28
16
  import { Fullscreen } from '@jnrs/shared'
29
17
  import { debounce } from '@jnrs/shared/lodash'
30
18
  import { uuidv4 } from '@jnrs/shared/uuid'
31
19
  ```
32
20
 
33
- ## API
21
+ ## 📋 API
34
22
 
35
23
  #### @jnrs/core 模块
36
- -
24
+
37
25
  - Fullscreen
38
- - 函数
26
+ 函数
39
27
  - setDefaultLocale
40
28
  - formatDateTime
41
29
  - formatWeekday
package/package.json CHANGED
@@ -1,21 +1,24 @@
1
1
  {
2
2
  "name": "@jnrs/shared",
3
- "version": "1.0.18",
4
- "description": "As the name suggests.",
3
+ "version": "1.1.1",
4
+ "description": "巨能前端工程化开发,通用工具包",
5
+ "keywords": [
6
+ "jnrs",
7
+ "shared"
8
+ ],
5
9
  "author": "Talia-Tan",
6
- "license": "UNLICENSED",
10
+ "license": "MIT",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://gitee.com/jnrs_git/jnrs-monorepo-frontend.git"
14
+ },
7
15
  "publishConfig": {
8
16
  "access": "public"
9
17
  },
10
- "keywords": [
11
- "jnrs/shared",
12
- "jnrs",
13
- "utils",
14
- "typescript"
15
- ],
16
18
  "main": "dist/index.js",
17
19
  "module": "dist/index.js",
18
20
  "types": "dist/index.d.ts",
21
+ "sideEffects": false,
19
22
  "files": [
20
23
  "dist",
21
24
  "README.md",