@nudata/nudata-assets
v0.9.82
Published
Assets required by the nudata app
Downloads
106
Readme
What is this
Holds some assets required for the nudata app
Currently following assets are published
- nudata_bundle javascript and css from
[email protected]:shyamsfo/vue-sfdc-nudata.git
- knex_browser javascript from
[email protected]:shyamsfo/knex-for-browser.git
- duck_wasm javascript from
[email protected]:duckdb-wasm-examples/duckdbwasm-vitebrowser.git
[email protected]:shyamsfo/vue-sfdc-nudata.git
also has some scripts to publish directly instead of using this repo
Installation and usage
Run from html directly using:
<script type="module" crossorigin="" src="https://www.your_fav_cdn.com/@nudata/nudata-assets/0.9.4/duck_entry.js"></script>
<script src="https://mac.nuwire.dev/nudata/js/nudata_bundle.js" defer="defer"></script>
Development Setup
- Clone the repo.
yarn install
to install required dependencies
Building
Build environment:
[HOME-MAC 08:04:33 /Users/shyam/devel/nodejs/nudata-builder (master) 73]nvm --version
0.38.0
[HOME-MAC 08:04:37 /Users/shyam/devel/nodejs/nudata-builder (master) 74]yarn --version
1.22.19
[HOME-MAC 08:04:41 /Users/shyam/devel/nodejs/nudata-builder (master) 75]node --version
v14.18.0
[HOME-MAC 08:04:47 /Users/shyam/devel/nodejs/nudata-builder (master) 76]node_modules/.bin/webpack --version
System:
OS: macOS 13.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 20.20 MB / 16.00 GB
Binaries:
Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.0/bin/npm
Browsers:
Chrome: 111.0.5563.146
Firefox: 111.0.1
Safari: 16.2
Packages:
copy-webpack-plugin: ^6.1.0 => 6.4.1
exports-loader: ^3.1.0 => 3.1.0
html-webpack-plugin: ^4.4.1 => 4.5.2
webpack: 5.75.0 => 5.75.0
webpack-cli: 5.0.1 => 5.0.1
webpack-dev-server: ^4.11.1 => 4.11.1
Publishing assets
- Copy over the assets from other repositories into
assets/css
andassets/js
- Use the
scripts/copy.sh
as appropriate yarn publish
to publish the repo- Check on npmjs and unpkg to make sure the new version is available
yarn tag add <version> <tag>
to add the tag such asbeta
orsfdc
yarn tl
to list the tags- Use the packages in your other projects
yarn build
will build the system.yarn publish ---access=public
to publish to the repo.
Publish
- First commit all the code using
git add .
andgit commit -m "Commit message"
- Then run
yarn publish --access public
- This will ask for new version number
- package.json will be updated with new version number and a new commit will be done
prepublish
will be run that will do the clean build- package will be published
- git push (including tags) will be done.
- Verify package has been published at https://www.npmjs.com/package/@shyamsfo/nudata
More Info
Coming soon.