@kno2/bluebutton 0.0.0 → 0.6.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.
@@ -1,29 +1,47 @@
1
- name: Node.js Package
2
-
3
- on:
4
- release:
5
- types: [created]
6
-
7
- jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@v2
12
- - uses: actions/setup-node@v2
13
- with:
14
- node-version: '14.x'
15
- - run: npm ci
16
-
17
- publish-npm:
18
- needs: build
19
- runs-on: ubuntu-latest
20
- steps:
21
- - uses: actions/checkout@v2
22
- - uses: actions/setup-node@v2
23
- with:
24
- node-version: '14.x'
25
- registry-url: https://registry.npmjs.org/
26
- - run: npm ci
27
- - run: npm publish
28
- env:
29
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1
+ name: Node.js Package
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ version:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Set Result
12
+ uses: actions/github-script@v3
13
+ id: set-result
14
+ with:
15
+ script: return context.ref.replace('/refs/tags/', '')
16
+ result-encoding: string
17
+ - name: Set Version
18
+ uses: |
19
+ actions/checkout@v2
20
+ actions/setup-node@v2
21
+ with:
22
+ node-version: '14.x'
23
+ - run: npm version --no-git-tag-version "${{steps.set-result.outputs.result}}"
24
+
25
+ build:
26
+ needs: version
27
+ runs-on: ubuntu-latest
28
+ steps:
29
+ - uses: actions/checkout@v2
30
+ - uses: actions/setup-node@v2
31
+ with:
32
+ node-version: '14.x'
33
+ - run: npm ci
34
+
35
+ publish-npm:
36
+ needs: build
37
+ runs-on: ubuntu-latest
38
+ steps:
39
+ - uses: actions/checkout@v2
40
+ - uses: actions/setup-node@v2
41
+ with:
42
+ node-version: '14.x'
43
+ registry-url: https://registry.npmjs.org/
44
+ - run: npm ci
45
+ - run: npm publish
46
+ env:
47
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- <orderEntry type="library" name="bluebutton.js node_modules" level="project" />
8
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ <orderEntry type="library" name="bluebutton.js node_modules" level="project" />
8
+ </component>
9
9
  </module>
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptLibraryMappings">
4
- <file url="file://$PROJECT_DIR$" libraries="{bluebutton.js node_modules}" />
5
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptLibraryMappings">
4
+ <file url="file://$PROJECT_DIR$" libraries="{bluebutton.js node_modules}" />
5
+ </component>
6
6
  </project>
@@ -1,14 +1,14 @@
1
- <component name="libraryTable">
2
- <library name="bluebutton.js node_modules" type="javaScript">
3
- <properties>
4
- <option name="frameworkName" value="node_modules" />
5
- <sourceFilesUrls>
6
- <item url="file://$PROJECT_DIR$/node_modules" />
7
- </sourceFilesUrls>
8
- </properties>
9
- <CLASSES>
10
- <root url="file://$PROJECT_DIR$/node_modules" />
11
- </CLASSES>
12
- <SOURCES />
13
- </library>
1
+ <component name="libraryTable">
2
+ <library name="bluebutton.js node_modules" type="javaScript">
3
+ <properties>
4
+ <option name="frameworkName" value="node_modules" />
5
+ <sourceFilesUrls>
6
+ <item url="file://$PROJECT_DIR$/node_modules" />
7
+ </sourceFilesUrls>
8
+ </properties>
9
+ <CLASSES>
10
+ <root url="file://$PROJECT_DIR$/node_modules" />
11
+ </CLASSES>
12
+ <SOURCES />
13
+ </library>
14
14
  </component>
package/.idea/misc.xml CHANGED
@@ -1,14 +1,14 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
- <OptionsSetting value="true" id="Add" />
5
- <OptionsSetting value="true" id="Remove" />
6
- <OptionsSetting value="true" id="Checkout" />
7
- <OptionsSetting value="true" id="Update" />
8
- <OptionsSetting value="true" id="Status" />
9
- <OptionsSetting value="true" id="Edit" />
10
- <ConfirmationsSetting value="0" id="Add" />
11
- <ConfirmationsSetting value="0" id="Remove" />
12
- </component>
13
- <component name="ProjectRootManager" version="2" />
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" />
14
14
  </project>
package/.idea/modules.xml CHANGED
@@ -1,8 +1,8 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/bluebutton.js.iml" filepath="$PROJECT_DIR$/.idea/bluebutton.js.iml" />
6
- </modules>
7
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/bluebutton.js.iml" filepath="$PROJECT_DIR$/.idea/bluebutton.js.iml" />
6
+ </modules>
7
+ </component>
8
8
  </project>
package/.idea/vcs.xml CHANGED
@@ -1,6 +1,6 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
6
  </project>