@futdevpro/fsm-dynamo 1.9.12 → 1.9.14
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/main.yml +64 -38
- package/build/_modules/utils.index.d.ts +2 -0
- package/build/_modules/utils.index.d.ts.map +1 -0
- package/build/_modules/utils.index.js +5 -0
- package/build/_modules/utils.index.js.map +1 -0
- package/futdevpro-fsm-dynamo-01.09.14.tgz +0 -0
- package/package.json +10 -1
- package/src/_modules/utils.index.ts +4 -0
- package/futdevpro-fsm-dynamo-01.09.12.tgz +0 -0
|
@@ -18,42 +18,70 @@ env:
|
|
|
18
18
|
LATEST_VERSION: 0.0.0
|
|
19
19
|
VERSION_PUBLISHED: false
|
|
20
20
|
|
|
21
|
+
|
|
21
22
|
jobs:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
23
|
+
|
|
24
|
+
job1:
|
|
25
|
+
name: Test TEST1
|
|
26
|
+
if: false
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
# Map a step output to a job output
|
|
29
|
+
outputs:
|
|
30
|
+
output1: ${{steps.step1.outputs.test}}
|
|
31
|
+
output2: ${{steps.step2.outputs.test}}
|
|
32
|
+
|
|
33
|
+
steps:
|
|
34
|
+
- id: step1
|
|
35
|
+
run: |
|
|
36
|
+
echo "::set-output name=test::hello"
|
|
37
|
+
- id: step2
|
|
38
|
+
run: |
|
|
39
|
+
echo "::set-output name=test::world"
|
|
40
|
+
|
|
41
|
+
job2:
|
|
42
|
+
name: Test TEST2
|
|
43
|
+
runs-on: ubuntu-latest
|
|
44
|
+
needs: job1
|
|
45
|
+
steps:
|
|
46
|
+
- run:
|
|
47
|
+
echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}
|
|
48
|
+
|
|
49
|
+
test:
|
|
50
|
+
name: Test Build
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
outputs:
|
|
53
|
+
version_published: ${{ steps.check_version.outputs.version_published }}
|
|
54
|
+
steps:
|
|
55
|
+
- name: Checkout code
|
|
56
|
+
uses: actions/checkout@v2
|
|
57
|
+
- name: Set NPM RC
|
|
58
|
+
run: |
|
|
59
|
+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
|
60
|
+
- name: Install pnpm
|
|
61
|
+
run: |
|
|
62
|
+
npm i -g pnpm
|
|
63
|
+
- name: Install Packages
|
|
64
|
+
run: |
|
|
65
|
+
pnpm i
|
|
66
|
+
- name: Build
|
|
67
|
+
run: |
|
|
68
|
+
npx tsc
|
|
69
|
+
- name: Install Jasmine
|
|
70
|
+
run: |
|
|
71
|
+
npm i -g jasmine
|
|
72
|
+
- name: Test
|
|
73
|
+
run: |
|
|
74
|
+
jasmine
|
|
75
|
+
- name: Test Pack
|
|
76
|
+
run: |
|
|
77
|
+
pnpm pack
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
check_version:
|
|
52
81
|
name: Check Version
|
|
53
|
-
|
|
82
|
+
needs: [ test ]
|
|
54
83
|
runs-on: ubuntu-latest
|
|
55
84
|
steps:
|
|
56
|
-
#- uses: .github/workflows/get_env_template.yml
|
|
57
85
|
- name: Checkout code
|
|
58
86
|
uses: actions/checkout@v2
|
|
59
87
|
|
|
@@ -93,16 +121,16 @@ jobs:
|
|
|
93
121
|
echo latest: "${{ env.LATEST_VERSION }}"
|
|
94
122
|
echo this is the latest: "${{ env.LATEST_VERSION == env.THIS_VERSION }}"
|
|
95
123
|
echo this version is published: "${{ env.VERSION_PUBLISHED }}"
|
|
96
|
-
|
|
97
124
|
echo all published versions: $(npm view ${{ env.PACKAGE_NAME }} versions)
|
|
98
125
|
|
|
99
126
|
echo "::set-output name=version_published::$(echo ${{ env.VERSION_PUBLISHED }})"
|
|
100
127
|
|
|
101
|
-
|
|
102
128
|
deploy:
|
|
103
129
|
name: Deploy to NPM
|
|
104
|
-
needs: [
|
|
105
|
-
if: needs.
|
|
130
|
+
needs: [ check_version ]
|
|
131
|
+
if: needs.check_version.steps.version_check_results.outputs.version_published == false
|
|
132
|
+
|
|
133
|
+
#if: needs.check_version.version_check_results.outputs.version_published == 'false'
|
|
106
134
|
runs-on: ubuntu-latest
|
|
107
135
|
steps:
|
|
108
136
|
- name: Checkout code
|
|
@@ -159,8 +187,6 @@ jobs:
|
|
|
159
187
|
|
|
160
188
|
|
|
161
189
|
|
|
162
|
-
|
|
163
|
-
|
|
164
190
|
|
|
165
191
|
|
|
166
192
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.index.d.ts","sourceRoot":"","sources":["../../src/_modules/utils.index.ts"],"names":[],"mappings":"AAGA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.index.js","sourceRoot":"","sources":["../../src/_modules/utils.index.ts"],"names":[],"mappings":";;;AAGA,gEAAsC"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "01.09.
|
|
3
|
+
"version": "01.09.14",
|
|
4
4
|
"description": "Full Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prep": "npm i pnpm -g && npm i rimraf nodemon -g",
|
|
@@ -89,6 +89,12 @@
|
|
|
89
89
|
"module": "./build/_modules/location.index.js",
|
|
90
90
|
"types": "./build/_modules/location.index.d.ts",
|
|
91
91
|
"typings": "./build/_modules/location.index.d.ts"
|
|
92
|
+
},
|
|
93
|
+
"./utils": {
|
|
94
|
+
"default": "./build/_modules/utils.index.js",
|
|
95
|
+
"module": "./build/_modules/utils.index.js",
|
|
96
|
+
"types": "./build/_modules/utils.index.d.ts",
|
|
97
|
+
"typings": "./build/_modules/utils.index.d.ts"
|
|
92
98
|
}
|
|
93
99
|
},
|
|
94
100
|
"typesVersions": {
|
|
@@ -122,6 +128,9 @@
|
|
|
122
128
|
],
|
|
123
129
|
"location": [
|
|
124
130
|
"build/_modules/location.index.d.ts"
|
|
131
|
+
],
|
|
132
|
+
"utils": [
|
|
133
|
+
"build/_modules/utils.index.d.ts"
|
|
125
134
|
]
|
|
126
135
|
}
|
|
127
136
|
},
|
|
Binary file
|