
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@nauto/web-apps-archetype-dev
Advanced tools
Builder archetype for Nauto's frontend applications (Development)
This package contains the builder archetype for Nauto's web applications.
The following scripts are provided by the archetype and are meant to provide sensible defaults for development workflows on our web applications. They leverage a project's local tsconfig.json
and tslint.json
to determine which files are relevant for a particular script.
We're using webpack to inject some global variables to be used by both your application and by your build tooling:
process.env.NODE_ENV
NODE_ENV=production
, and 'development' otherwise.process.env.APP_ENV
NODE_ENV
NODE_ENV=staging ne builder build
, process.env.APP_ENV
will be 'staging', and process.env.NODE_ENV
will be 'development'start
Runs a webpack
dev server with hot module reloading.
build
Runs webpack
with the --optimize-minimize
flag and the archetypal webpack configuration. Outputs to the dist/
folder. In order to build for a particular environment, you'll need to set NODE_ENV appropriately:
NODE_ENV=production ne builder run build
server
Runs an express server serving static files from dist/
; typically used with the build
script to serve its output.
lint
Runs tslint
against the files specified in your local tsconfig.json
test
Runs jest
with the archetypal configuration.
The following examples can be run from within a project using builder
and this archetype:
# list all available scripts
ne builder
# run an archetypal script
# (behavior can be overridden with a local script of the same name)
ne builder run <script-name>
This is currently a manual process that will some day be automated:
# in projects/archetyp:
# bump versions of archetype
npm --no-git-tag-version version <version-type>
# sync with dev archetype
npm run builder:gen-dev
# commit
git commit
# tag
git tag @nauto/web-apps-archetype@<version-number>
# publish archetype
npm publish
# publish dev archetype
(cd dev && npm publish)
# push tags and code
git push && git push --tags
If that all succeeds, you should be able to start using your changes right away:
# in your app folder
yarn add @nauto/web-apps-archetype{,-dev}
FAQs
Builder archetype for Nauto's frontend applications (Development)
The npm package @nauto/web-apps-archetype-dev receives a total of 1 weekly downloads. As such, @nauto/web-apps-archetype-dev popularity was classified as not popular.
We found that @nauto/web-apps-archetype-dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.