@dana180597/date-time-logger 1.0.0 → 1.0.6

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.
@@ -2,10 +2,13 @@ name: Publish to npm
2
2
 
3
3
  on:
4
4
  schedule:
5
- # Every Monday at 9:00 AM UTC
6
- - cron: '0 9 * * 1'
5
+ # Every hour
6
+ - cron: '0 * * * *'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dana180597/date-time-logger",
3
- "version": "1.0.0",
3
+ "version": "1.0.6",
4
4
  "description": "A simple date/time utility",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
@@ -8,9 +8,5 @@
8
8
  "date",
9
9
  "time",
10
10
  "utility"
11
- ],
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/danapriman/date-time-logger.git"
15
- }
11
+ ]
16
12
  }
package/.npmrc.bak DELETED
@@ -1 +0,0 @@
1
- //registry.npmjs.org/:_authToken=${NPM_TOKEN}