work-dispatcher 0.0.1 → 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.
@@ -0,0 +1,3 @@
1
+ declare function sayHello(name: string): string;
2
+ export { sayHello };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,iBAAS,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEtC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ console.log('Work Dispatcher Module Loaded');
2
+ function sayHello(name) {
3
+ return `Hello, ${name}! Sam says`;
4
+ }
5
+ export { sayHello };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;AAE7C,SAAS,QAAQ,CAAC,IAAY;IAC5B,OAAO,UAAU,IAAI,YAAY,CAAC;AACpC,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "work-dispatcher",
3
- "version": "0.0.1",
3
+ "version": "1.0.0",
4
4
  "description": "Typescript library to handle task or work scheduling",
5
5
  "keywords": [
6
6
  "typescript"
@@ -15,9 +15,20 @@
15
15
  },
16
16
  "license": "GPL-3.0",
17
17
  "author": "PhilippAuch",
18
- "type": "commonjs",
19
- "main": "index.js",
18
+ "type": "module",
19
+ "main": "index.ts",
20
20
  "scripts": {
21
+ "build": "tsc",
21
22
  "test": "vitest"
23
+ },
24
+ "release": {
25
+ "branches": [
26
+ "main"
27
+ ]
28
+ },
29
+ "devDependencies": {
30
+ "semantic-release": "^25.0.2",
31
+ "typescript": "^5.9.3",
32
+ "vitest": "^4.0.16"
22
33
  }
23
34
  }
@@ -1,16 +0,0 @@
1
- ---
2
- version: 2
3
- updates:
4
- - package-ecosystem: 'github-actions'
5
- directory: '/'
6
- target-branch: 'develop'
7
- open-pull-requests-limit: 10
8
- schedule:
9
- interval: 'daily'
10
-
11
- - package-ecosystem: 'npm'
12
- directory: '/'
13
- target-branch: 'develop'
14
- open-pull-requests-limit: 10
15
- schedule:
16
- interval: 'daily'
@@ -1,23 +0,0 @@
1
- ---
2
- name: Workflow
3
-
4
- on:
5
- push:
6
- workflow_dispatch:
7
- workflow_call:
8
- inputs:
9
- branch-name:
10
- required: false
11
- type: string
12
- default: ${{ github.ref }}
13
-
14
- jobs:
15
- init:
16
- uses: PhilippAuch/workflows/.github/workflows/init.yaml@main
17
-
18
- test:
19
- uses: PhilippAuch/workflows/.github/workflows/testNode.yaml@main
20
-
21
- publish:
22
- needs: test
23
- uses: PhilippAuch/workflows/.github/workflows/publishRelease.yaml@main