@dana180597/date-time-logger 1.0.0 → 1.0.5
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/.github/workflows/publish.yml +4 -1
- package/README.md +3 -3
- package/package.json +1 -1
- package/.npmrc.bak +0 -1
|
@@ -6,6 +6,9 @@ on:
|
|
|
6
6
|
- cron: '0 9 * * 1'
|
|
7
7
|
workflow_dispatch: # Allow manual trigger
|
|
8
8
|
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
|
|
9
12
|
jobs:
|
|
10
13
|
publish:
|
|
11
14
|
runs-on: ubuntu-latest
|
|
@@ -37,6 +40,6 @@ jobs:
|
|
|
37
40
|
git push --tags
|
|
38
41
|
|
|
39
42
|
- name: Publish to npm
|
|
40
|
-
run: npm publish --access public
|
|
43
|
+
run: npm publish --access public --registry https://registry.npmjs.org/
|
|
41
44
|
env:
|
|
42
45
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# date-time-logger
|
|
1
|
+
# @dana180597/date-time-logger
|
|
2
2
|
|
|
3
3
|
A simple date/time utility for Node.js.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install date-time-logger
|
|
8
|
+
npm install @dana180597/date-time-logger
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```javascript
|
|
14
|
-
const { now, ping } = require('date-time-logger');
|
|
14
|
+
const { now, ping } = require('@dana180597/date-time-logger');
|
|
15
15
|
|
|
16
16
|
// Get the current ISO timestamp
|
|
17
17
|
console.log(now());
|
package/package.json
CHANGED
package/.npmrc.bak
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
|