Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Incorrect build script documentation #730

Open
@mrrossmullen

Description

Bug report

  • I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
  • I’ve read and agree to the Code of Conduct.
  • I’ve searched for any related issues and avoided creating a duplicate issue.

What happened

Applying the build process scripts detailed in the documentation cause build errors when run on Windows when running npm run watch.

What I expected to happen

Build process to complete successfully with no errors shown. Error appears to be npm having difficulty finding the placeholder for each script key within package.json.

doesn't work : "build": "build:css && npm run build:autoprefix"
works : "build": "npm run build:css && npm run build:autoprefix"

Reproducing

  • Website URL: https://designsystem.gov.au/get-started/development-environment/#scripts
  • Browser: n/a
  • Operating system: Windows 10

Steps to reproduce:

  1. Follow guidance for adding scripts section in package.json
  2. run npm run watch

Attachments

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

documentationIssue or pull request related to documentation.🐛 bugSomething isn’t working the way it should.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions