feat: faster build via npm ci (#305)

This adds package-lock.json to speed up install and the build.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
This commit is contained in:
Marcin Rataj 2020-01-06 15:40:55 +01:00 committed by GitHub
parent f8108f2007
commit ce8b300ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8062 additions and 8 deletions

View File

@ -15,7 +15,7 @@ jobs:
NO_SANDBOX: true NO_SANDBOX: true
steps: steps:
- checkout - checkout
- run: npm install - run: npm ci
- run: npm run build - run: npm run build
- persist_to_workspace: - persist_to_workspace:
root: . root: .

1
.gitignore vendored
View File

@ -20,7 +20,6 @@ npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
yarn.lock yarn.lock
package-lock.json
glyph*.svg glyph*.svg
stroke*.svg stroke*.svg

View File

@ -21,8 +21,14 @@ Please ensure your pull request adheres to the following guidelines:
### 3. Submitting it through a PR ### 3. Submitting it through a PR
- Make sure to run `npm run build:readme` or `yarn build:readme` before submitting the Pull Request. - Make sure to run `npm ci && npm run build:readme` before submitting the Pull Request.
- The pull request should have a useful title and include a link to the package and why it should be included. - The pull request should have a useful title and include a link to the package and why it should be included.
- Submit products when they are useable, or at a state which has something to show which is awesome in itself. This cuts down on half-finished implementations. - Submit products when they are useable, or at a state which has something to show which is awesome in itself. This cuts down on half-finished implementations.
Thank you for your suggestions! Thank you for your suggestions!
-----
**NOTE**: If you want to edit the README file directly (not the items/links) you need to modify the [`scripts/readme-template.md`](https://github.com/ipfs/awesome-ipfs/blob/master/scripts/readme-template.md) instead and run `make build` again. Thank you!

View File

@ -1,6 +1,6 @@
build: build:
npm --version npm --version
node --version node --version
npm install npm ci
npm run lint npm run lint
npm run build npm run build

View File

@ -23,9 +23,10 @@ _This list is for projects, tools, or pretty much any things related to IPFS tha
## Contribute to this list! ## Contribute to this list!
Everyone is welcome to submit their new awesome-ipfs item. In order to add an element to this list, you need to modify the files in `/data` and then run a simple `make build` before publishing your pull request as the Readme and the website are automatically generated. Check the [CONTRIBUTING.md guidelines](https://github.com/ipfs/awesome-ipfs/blob/master/CONTRIBUTING.md) to learn how to do so. Everyone is welcome to submit their new awesome-ipfs item, but it will be accepted only if it meets our [content policy](https://github.com/ipfs/awesome-ipfs/blob/master/POLICY.md).
Readme and the website are automatically generated. In order to add an element to this list, you need to modify the files in `/data` and then run `make build` before publishing your pull request. Read [contributing guidelines](https://github.com/ipfs/awesome-ipfs/blob/master/CONTRIBUTING.md) to learn how to do so.
**NOTE**: If you want to edit the README file directly (not the items/links) you need to modify the [README template](https://github.com/ipfs/awesome-ipfs/blob/master/scripts/readme-template.md) instead and run `make build` again. Thank you!
## Apps ## Apps

8047
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -18,9 +18,10 @@ _This list is for projects, tools, or pretty much any things related to IPFS tha
## Contribute to this list! ## Contribute to this list!
Everyone is welcome to submit their new awesome-ipfs item. In order to add an element to this list, you need to modify the files in `/data` and then run a simple `make build` before publishing your pull request as the Readme and the website are automatically generated. Check the [CONTRIBUTING.md guidelines](https://github.com/ipfs/awesome-ipfs/blob/master/CONTRIBUTING.md) to learn how to do so. Everyone is welcome to submit their new awesome-ipfs item, but it will be accepted only if it meets our [content policy](https://github.com/ipfs/awesome-ipfs/blob/master/POLICY.md).
Readme and the website are automatically generated. In order to add an element to this list, you need to modify the files in `/data` and then run `make build` before publishing your pull request. Read [contributing guidelines](https://github.com/ipfs/awesome-ipfs/blob/master/CONTRIBUTING.md) to learn how to do so.
**NOTE**: If you want to edit the README file directly (not the items/links) you need to modify the [README template](https://github.com/ipfs/awesome-ipfs/blob/master/scripts/readme-template.md) instead and run `make build` again. Thank you!
#PLACEHOLDER_CATEGORIES# #PLACEHOLDER_CATEGORIES#