Skip to content

Commit

Permalink
Style(demo): Apply TOML formatting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Oct 2, 2024
1 parent 410046f commit d0fde3a
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions apps/demo/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
# Settings in the [build] context are global and are applied to
# all contexts unless otherwise overridden by more specific contexts.
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
# If not set, defaults to the root directory.
base = "/"
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
# If not set, defaults to the root directory.
base = "/"

# Directory that contains the deploy-ready HTML files and
# assets generated by the build. This is relative to the base
# directory if one has been set, or the root directory if
# a base has not been set. This sample publishes the directory
# located at the absolute path "root/project/build-output"
publish = "/apps/demo/build/"
# Directory that contains the deploy-ready HTML files and
# assets generated by the build. This is relative to the base
# directory if one has been set, or the root directory if
# a base has not been set. This sample publishes the directory
# located at the absolute path "root/project/build-output"
publish = "/apps/demo/build/"

# Default build command.
# Default build command.
command = """\
# Default build command.
# Default build command.
command = """\
yarn lerna run --scope @lmc-eu/spirit-design-tokens build --skip-nx-cache \
&& yarn lerna run --scope @lmc-eu/spirit-icons build --skip-nx-cache \
&& cp -r packages/icons/dist/svg/. static/assets/icons/svg \
&& yarn lerna run --scope @lmc-eu/spirit-demo-app build --skip-nx-cache \
"""

# Ignore builds on Netlify
ignore = "node scripts/ignoreNetlifyBuilds.js"
# Ignore builds on Netlify
ignore = "node scripts/ignoreNetlifyBuilds.js"

[context.deploy-preview]
# Deploy preview only if there are changes in some directories
ignore = """\
# Deploy preview only if there are changes in some directories
ignore = """\
git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF \
./packages/web-react/ \
./packages/web/ \
Expand Down

0 comments on commit d0fde3a

Please sign in to comment.