@allahjs/utils 0.0.2 → 1.0.0

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 (2) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +30 -18
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 allah-utils
3
+ Copyright (c) 2024 allah-prime
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allahjs/utils",
3
- "version": "0.0.2",
3
+ "version": "1.0.0",
4
4
  "description": "A utility library for common JavaScript/TypeScript functions",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/esm/index.js",
@@ -48,6 +48,23 @@
48
48
  "README.md",
49
49
  "LICENSE"
50
50
  ],
51
+ "scripts": {
52
+ "build": "rollup -c",
53
+ "build:watch": "rollup -c -w",
54
+ "dev": "rollup -c -w",
55
+ "test": "jest --passWithNoTests",
56
+ "test:watch": "jest --watch",
57
+ "lint": "eslint \"src/**/*.{ts,js}\"",
58
+ "lint:fix": "eslint \"src/**/*.{ts,js}\" --fix",
59
+ "type-check": "tsc --noEmit",
60
+ "clean": "rimraf dist",
61
+ "prepublishOnly": "pnpm run clean && pnpm run build && pnpm run test",
62
+ "publish:npm": "npm publish --registry=https://registry.npmjs.org/",
63
+ "publish:dry": "npm publish --dry-run",
64
+ "docs:dev": "dumi dev",
65
+ "docs:build": "dumi build",
66
+ "docs:preview": "dumi preview"
67
+ },
51
68
  "keywords": [
52
69
  "utils",
53
70
  "utilities",
@@ -68,6 +85,11 @@
68
85
  "publishConfig": {
69
86
  "access": "public"
70
87
  },
88
+ "pnpm": {
89
+ "overrides": {
90
+ "eslint": "9.39.2"
91
+ }
92
+ },
71
93
  "devDependencies": {
72
94
  "@allahjs/eslint": "^0.0.3",
73
95
  "@rollup/plugin-alias": "6.0.0",
@@ -76,6 +98,10 @@
76
98
  "@rollup/plugin-node-resolve": "16.0.3",
77
99
  "@rollup/plugin-replace": "6.0.3",
78
100
  "@rollup/plugin-typescript": "12.3.0",
101
+ "@semantic-release/changelog": "^6.0.3",
102
+ "@semantic-release/git": "^10.0.1",
103
+ "@semantic-release/github": "^9.2.6",
104
+ "@semantic-release/npm": "^12.0.1",
79
105
  "@types/crypto-js": "4.2.2",
80
106
  "@types/jest": "30.0.0",
81
107
  "@types/node": "25.2.3",
@@ -87,6 +113,7 @@
87
113
  "rimraf": "6.1.3",
88
114
  "rollup": "4.57.1",
89
115
  "rollup-plugin-dts": "6.3.0",
116
+ "semantic-release": "^25.0.0",
90
117
  "stream-browserify": "3.0.0",
91
118
  "ts-jest": "29.4.6",
92
119
  "tslib": "2.8.1",
@@ -96,27 +123,12 @@
96
123
  "engines": {
97
124
  "node": ">=22.0.0"
98
125
  },
126
+ "packageManager": "pnpm@9.1.0",
99
127
  "dependencies": {
100
128
  "axios": "1.13.5",
101
129
  "crypto-js": "4.2.0",
102
130
  "dayjs": "1.11.19",
103
131
  "jsencrypt": "3.5.4",
104
132
  "uuid": "13.0.0"
105
- },
106
- "scripts": {
107
- "build": "rollup -c",
108
- "build:watch": "rollup -c -w",
109
- "dev": "rollup -c -w",
110
- "test": "jest --passWithNoTests",
111
- "test:watch": "jest --watch",
112
- "lint": "eslint \"src/**/*.{ts,js}\"",
113
- "lint:fix": "eslint \"src/**/*.{ts,js}\" --fix",
114
- "type-check": "tsc --noEmit",
115
- "clean": "rimraf dist",
116
- "publish:npm": "npm publish --registry=https://registry.npmjs.org/",
117
- "publish:dry": "npm publish --dry-run",
118
- "docs:dev": "dumi dev",
119
- "docs:build": "dumi build",
120
- "docs:preview": "dumi preview"
121
133
  }
122
- }
134
+ }