sirius-common-utils 1.0.7 → 1.0.9
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/package.json +10 -6
- package/.eslintrc.cjs +0 -20
- package/.idea/js-common-utils.iml +0 -9
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/vite.config.js +0 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sirius-common-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/sirius-common-utils.umd.cjs",
|
|
6
6
|
"module": "./dist/sirius-common-utils.js",
|
|
@@ -10,16 +10,19 @@
|
|
|
10
10
|
"require": "./dist/sirius-common-utils.umd.cjs"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
+
"files": [
|
|
14
|
+
"./dist"
|
|
15
|
+
],
|
|
13
16
|
"repository": {
|
|
14
17
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/yangshuyi/
|
|
18
|
+
"url": "git+https://github.com/yangshuyi/sirius-common-utils.git"
|
|
16
19
|
},
|
|
17
20
|
"author": "",
|
|
18
21
|
"license": "ISC",
|
|
19
22
|
"bugs": {
|
|
20
|
-
"url": "https://github.com/yangshuyi/
|
|
23
|
+
"url": "https://github.com/yangshuyi/sirius-common-utils/issues"
|
|
21
24
|
},
|
|
22
|
-
"homepage": "https://github.com/yangshuyi/
|
|
25
|
+
"homepage": "https://github.com/yangshuyi/sirius-common-utils#readme",
|
|
23
26
|
"publishConfig": {
|
|
24
27
|
"access": "public"
|
|
25
28
|
},
|
|
@@ -28,14 +31,15 @@
|
|
|
28
31
|
"scripts": {
|
|
29
32
|
"dev": "vite",
|
|
30
33
|
"build": "vite build",
|
|
31
|
-
"
|
|
34
|
+
"publish": "vite build && npm publish"
|
|
32
35
|
},
|
|
33
36
|
"peerDependencies": {
|
|
34
37
|
"axios": "1.3.4",
|
|
35
38
|
"dayjs": "^1.11.9",
|
|
36
39
|
"js-base64": "^3.7.2",
|
|
37
40
|
"js-md5": "^0.7.3",
|
|
38
|
-
"lodash": "^4.17.21"
|
|
41
|
+
"lodash": "^4.17.21",
|
|
42
|
+
"dexie": "4.0.1-alpha.25"
|
|
39
43
|
},
|
|
40
44
|
"devDependencies": {
|
|
41
45
|
"@vitejs/plugin-react": "^4.0.3",
|
package/.eslintrc.cjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: { browser: true, es2020: true },
|
|
4
|
-
extends: [
|
|
5
|
-
'eslint:recommended',
|
|
6
|
-
'plugin:react/recommended',
|
|
7
|
-
'plugin:react/jsx-runtime',
|
|
8
|
-
'plugin:react-hooks/recommended',
|
|
9
|
-
],
|
|
10
|
-
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
11
|
-
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
|
12
|
-
settings: { react: { version: '18.2' } },
|
|
13
|
-
plugins: ['react-refresh'],
|
|
14
|
-
rules: {
|
|
15
|
-
'react-refresh/only-export-components': [
|
|
16
|
-
'warn',
|
|
17
|
-
{ allowConstantExport: true },
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/js-common-utils.iml" filepath="$PROJECT_DIR$/.idea/js-common-utils.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/.idea/vcs.xml
DELETED
package/vite.config.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import react from '@vitejs/plugin-react'
|
|
3
|
-
|
|
4
|
-
// https://vitejs.dev/config/
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
plugins: [react()],
|
|
7
|
-
build:{
|
|
8
|
-
rollupOptions: {
|
|
9
|
-
external: ["vue","axios","dayjs","js-base64","js-md5","lodash"],
|
|
10
|
-
},
|
|
11
|
-
minify: false,
|
|
12
|
-
lib:{
|
|
13
|
-
name: 'sirius-common-utils',
|
|
14
|
-
entry: './src/packages/index.js'
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
})
|