Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped deps. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Let's start simple. In order to get values from your `package.json` file injecte
```json
{
"name": "@appnest/readme",
"version": "1.2.5"
"version": "1.2.7"
}
```

Expand All @@ -129,7 +129,7 @@ Welcome to {{ pkg.name }}. This is version {{ pkg.version }}!
When running `node_modules/.bin/readme generate` the file `README.md` will be generated with the following contents:

```markdown
Welcome to @appnest/readme. This is version 1.2.5.
Welcome to @appnest/readme. This is version 1.2.7.
```

### Usage
Expand Down Expand Up @@ -550,14 +550,14 @@ If you have a variable from your `blueprint.json` file you want to stamp to your

Objects are formatted as a list with the keys being bold. If you for example want to stamp the `dependencies` field from your `package.json` file you write `{{ pkg.dependencies }}` and the dependencies will be stamped in a nice formatted way like this.

* **@types/glob**: ^7.1.1
* **@types/glob**: ^7.1.4
* **check-links**: ^1.1.8
* **colors**: ^1.4.0
* **commander**: ^5.0.0
* **fs-extra**: ^9.0.0
* **glob**: ^7.1.6
* **commander**: ^8.2.0
* **fs-extra**: ^10.0.0
* **glob**: ^7.2.0
* **path**: ^0.12.7
* **web-component-analyzer**: 1.0.3
* **web-component-analyzer**: 1.1.6

#### 1D Arrays

Expand Down
160 changes: 80 additions & 80 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,82 +1,82 @@
{
"name": "@appnest/readme",
"version": "1.2.7",
"description": "Automatically generate a beautiful best-practice README file based on the contents of your repository",
"license": "MIT",
"module": "index.esm.js",
"main": "index.cjs.js",
"types": "index.d.ts",
"author": "Appnest",
"scripts": {
"prebuild": "node prebuild.js",
"b:lib": "rollup -c && rollup -c=rollup-cli.config.js",
"b:lib:prebuild": "npm run prebuild && npm run b:lib",
"readme": "npm run b:lib && npm run generate:readme",
"generate:readme": "node dist/cli.cjs.js generate",
"publish": "cd dist && npm publish --access=public && cd ..",
"git:add:commit:push": "git add . && git commit --no-edit --amend --no-verify && git push",
"bump:patch": "npm version patch && npm run git:add:commit:push",
"bump:minor": "npm version minor && npm run git:add:commit:push",
"bump:major": "npm version major && npm run git:add:commit:push",
"publish:patch": "npm run bump:patch && npm run b:lib:prebuild && npm run publish",
"publish:minor": "npm run bump:minor && npm run b:lib:prebuild && npm run publish",
"publish:major": "npm run bump:major && npm run b:lib:prebuild && npm run publish",
"push:readme": "npm run readme && git add . && git commit -m 'New readme' && git push",
"ncu": "ncu -u -a && npm update && npm install"
},
"bugs": {
"url": "https://github.com/andreasbm/readme/issues"
},
"homepage": "https://github.com/andreasbm/readme#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/andreasbm/readme.git"
},
"keywords": [
"opensource",
"project",
"readme",
"template",
"boilerplate",
"nodejs",
"maintaining",
"generator"
],
"contributors": [
{
"name": "Andreas Mehlsen",
"url": "https://twitter.com/andreasmehlsen",
"img": "https://avatars1.githubusercontent.com/u/6267397?s=460&v=4",
"info": [
"🔥"
]
},
{
"name": "You?",
"img": "https://joeschmoe.io/api/v1/random",
"url": "https://github.com/andreasbm/readme/blob/master/CONTRIBUTING.md"
}
],
"bin": {
"readme": "cli.cjs.js"
},
"dependencies": {
"@types/glob": "^7.1.1",
"check-links": "^1.1.8",
"colors": "^1.4.0",
"commander": "^5.0.0",
"fs-extra": "^9.0.0",
"glob": "^7.1.6",
"path": "^0.12.7",
"web-component-analyzer": "1.0.3"
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
"@wessberg/rollup-plugin-ts": "^1.2.21",
"rimraf": "^3.0.2",
"rollup": "^2.1.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0"
}
"name": "@appnest/readme",
"version": "1.2.7",
"description": "Automatically generate a beautiful best-practice README file based on the contents of your repository",
"license": "MIT",
"module": "index.esm.js",
"main": "index.cjs.js",
"types": "index.d.ts",
"author": "Appnest",
"scripts": {
"prebuild": "node prebuild.js",
"b:lib": "rollup -c && rollup -c=rollup-cli.config.js",
"b:lib:prebuild": "npm run prebuild && npm run b:lib",
"readme": "npm run b:lib && npm run generate:readme",
"generate:readme": "node dist/cli.cjs.js generate",
"publish": "cd dist && npm publish --access=public && cd ..",
"git:add:commit:push": "git add . && git commit --no-edit --amend --no-verify && git push",
"bump:patch": "npm version patch && npm run git:add:commit:push",
"bump:minor": "npm version minor && npm run git:add:commit:push",
"bump:major": "npm version major && npm run git:add:commit:push",
"publish:patch": "npm run bump:patch && npm run b:lib:prebuild && npm run publish",
"publish:minor": "npm run bump:minor && npm run b:lib:prebuild && npm run publish",
"publish:major": "npm run bump:major && npm run b:lib:prebuild && npm run publish",
"push:readme": "npm run readme && git add . && git commit -m 'New readme' && git push",
"ncu": "ncu -u -a && npm update && npm install"
},
"bugs": {
"url": "https://github.com/andreasbm/readme/issues"
},
"homepage": "https://github.com/andreasbm/readme#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/andreasbm/readme.git"
},
"keywords": [
"opensource",
"project",
"readme",
"template",
"boilerplate",
"nodejs",
"maintaining",
"generator"
],
"contributors": [
{
"name": "Andreas Mehlsen",
"url": "https://twitter.com/andreasmehlsen",
"img": "https://avatars1.githubusercontent.com/u/6267397?s=460&v=4",
"info": [
"🔥"
]
},
{
"name": "You?",
"img": "https://joeschmoe.io/api/v1/random",
"url": "https://github.com/andreasbm/readme/blob/master/CONTRIBUTING.md"
}
],
"bin": {
"readme": "cli.cjs.js"
},
"dependencies": {
"@types/glob": "^7.1.4",
"check-links": "^1.1.8",
"colors": "^1.4.0",
"commander": "^8.2.0",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"path": "^0.12.7",
"web-component-analyzer": "1.1.6"
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
"rollup-plugin-ts": "^1.4.7",
"rimraf": "^3.0.2",
"rollup": "^2.58.0",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.5"
}
}
50 changes: 25 additions & 25 deletions rollup-default.config.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import ts from "@wessberg/rollup-plugin-ts";
import commonjs from "rollup-plugin-commonjs";
import resolve from "rollup-plugin-node-resolve";
import ts from "rollup-plugin-ts";
import commonjs from "@rollup/plugin-commonjs";
import resolve from "@rollup/plugin-node-resolve";
import pkg from "./package.json";
import json from "rollup-plugin-json";
import json from "@rollup/plugin-json";

export const distPath = "dist";
export const srcPath = "src";

export const config = {
plugins: [
resolve({
module: true,
browser: true,
jsnext: true,
main: false,
modulesOnly: false
}),
json(),
ts({
transpiler: "babel"
}),
commonjs({
include: "**/node_modules/**"
})
],
external: [
...Object.keys(pkg.dependencies || {}),
...Object.keys(pkg.devDependencies || {}),
],
treeshake: false
plugins: [
resolve({
module: true,
browser: true,
jsnext: true,
main: false,
modulesOnly: false,
}),
json(),
ts({
transpiler: "babel",
}),
commonjs({
include: "**/node_modules/**",
}),
],
external: [
...Object.keys(pkg.dependencies || {}),
...Object.keys(pkg.devDependencies || {}),
],
treeshake: false,
};
Loading