Skip to content

Commit

Permalink
Merge pull request #1573 from alphagov/ldeb-npm-pack
Browse files Browse the repository at this point in the history
Move rules about release files from .gitattributes to package.json
  • Loading branch information
lfdebrux authored Sep 2, 2022
2 parents 7b42985 + 1700382 commit 6902529
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 38 deletions.
28 changes: 0 additions & 28 deletions .gitattributes

This file was deleted.

1 change: 1 addition & 0 deletions bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const command = process.argv[2]
await Promise.all([
fs.copy(path.join(kitRoot, 'prototype-starter'), installDirectory),
copyFile('LICENCE.txt'),
copyFile('.gitignore'),
copyFile('.nvmrc')
])

Expand Down
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@
"bin": {
"govuk-prototype-kit": "bin/cli"
},
"files": [
"bin/",
"lib/",
"prototype-starter/",
"CHANGELOG.md",
"CONTRIBUTING.md",
"LICENCE.txt",
"README.md",
".gitignore",
"govuk-prototype-kit.config.json",
"index.js",
"listen-on-port.js",
"server.js",
"start.js"
],
"scripts": {
"start": "echo 'This project cannot be started, in order to test this project please create a prototype kit using the cli.'",
"lint": "standard '**/*.js' scripts/create-release-archive scripts/cli lib/build/dev-server lib/build/generate-assets",
Expand Down
10 changes: 0 additions & 10 deletions prototype-starter/.gitignore

This file was deleted.

0 comments on commit 6902529

Please sign in to comment.