A Repo for builds of unpublished helpers and tools from Mendix's Monorepo
This Repo/Github Action runs overnight and carbon copies what is currently in the Widget-Resources repo, builds the packages it needs and releases them to NPM and Github
Package | Download | Original |
---|---|---|
@ahwelgemoed/nightly-piw-native-utility |
NPM
Github |
piw-native-utils-internal |
@ahwelgemoed/nightly-piw-utility |
NPM
Github |
piw-utils-internal |
These are internal tool thats are open source but have not been published, so there is no guarantee with it, use if for "education" purposes.
Expand Steps
-
Clones Latest commit from Master here with a depth of 1
-
Runs Npm install in Root of cloned repo
-
Runs Post install. (ACT and GH Action runner seems to sometimes not run post install command)
-
Loop over Package to Publish Object Array
4.1 Reads
packages.json
4.2 Changes some params in
package.json
-
Name
-
Version (Set to UNIX time)
-
Private
-
Desc
-
Scripts
-
publishConfig
-
repository
4.3 Over writes old package.json with new one
4.4 runs
npm run build
to make changes in package.json take4.5 copy this dir to a new clean folder
4.6 Set up npm config
4.7 Loop over
.npmrc
Settings4.7.1 writes
.npmrc
file with settings for NPM or GH Packages4.7.2 Run
npm publish
publishes NPM package4.8 Makes Action rest for 5sec before starting next loop
-
Copyright © 2021 Arno welgemoed
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.