![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
cli and node api version of gulp/grunt-rev, uses rev-path, rev-hash to generate a json of assets
gulp-rev
and grunt-rev
are great, but what if you want to just use package.json scripts for your dev and build process?
import nodeRev from 'node-rev'
nodeRev({
files: 'dist/styles/**/*.css',//glob to files you want in the manifest
outputDir: 'dist/styles',//where you want the files to be output that are part of the manifest
file: 'dist/css-assets.json',//optional, allows you to specify location of manifest file and name it, default is root of the project
hash: true//if you are in dev mode, you can set this to false to just have it create the manifest with the same filenames
})
this will result in the rev'd files being placed dist directory at the root of your project, and the asset menifest json file being placed in dist/css-assets.json.
example:
{"test.css":"test-934823cbc6.css"}
The cli is installed as node-rev in the .bin directory of your projects node_modules folder
nodeRev 'dist/styles/**/*.css' --hash -o 'dist/styles' --file 'dist/css-assets.json'
sample package.json configuration:
"scripts": {
"css-manifest": "nodeRev 'build/account/public/style/**/*.css' --hash -o 'build/account/public/style/' --file 'build/account/css-assets.json'"
}
FAQs
cli and node api version of gulp/grunt-rev, uses rev-path, rev-hash to generate a json of assets
The npm package node-rev receives a total of 639 weekly downloads. As such, node-rev popularity was classified as not popular.
We found that node-rev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.