Closed fishcharlie closed 3 years ago
https://unpkg.com/browse/dynamoose@2.2.0/package.json has no funding information, so i'm not sure why dynamoose
would be showing up in your npm fund
output in the first place.
Since the implication is that you're doing local edits to "try out" what it would look like, can you please share your modified package.json?
Below is my modified package.json file that was on my local disk when I tried to install it from a different directory.
As you mentioned, I did just want to try it out and test it before pushing the changes. I found an RFC that mentioned support for array's in the funding
section. However the documentation is pretty awful (https://docs.npmjs.com/configuring-npm/package-json.html#funding), as it has no mention of array support. Nor does it give any details about what you are allowed to put in the type
field or how the type
field is used.
So due to the lack of documentation, I'm unsure if I'm doing it right. Which is why I wanted to test it.
{
"name": "dynamoose",
"version": "2.2.0",
"description": "Dynamoose is a modeling tool for Amazon's DynamoDB (inspired by Mongoose)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://dynamoosejs.com",
"directories": {
"doc": "docs"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.8.0",
"mocha": "^7.1.2",
"nyc": "^15.0.1",
"typescript": "^3.8.3"
},
"scripts": {
"prepare": "npm run build:clean; npm run build",
"build": "tsc",
"build:clean": "rm -rf dist",
"build:watch": "npm run build -- -w",
"test:nocoverage": "mocha",
"test": "nyc npm run test:nocoverage",
"test:debug": "npm run test:nocoverage -- --no-timeout --inspect=9229",
"test:debug:breakpoint": "npm run test:nocoverage -- --no-timeout --inspect-brk=9229",
"lint": "eslint . --ext .ts,.js --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"site:install": "cd docs && npm install",
"site:start": "cd docs && npm start",
"site:build": "cd docs && npm run build",
"site:swizzle": "cd docs && npm run swizzle"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dynamoose/dynamoose.git"
},
"author": {
"name": "Charlie Fish",
"email": "fishcharlie.code@gmail.com",
"url": "https://charlie.fish"
},
"contributors": [
{
"name": "Brandon Goode"
}
],
"bugs": {
"url": "https://github.com/dynamoose/dynamoose/issues"
},
"dependencies": {
"@types/node": "^13.13.4",
"@types/source-map-support": "^0.5.1",
"aws-sdk": "^2.668.0",
"source-map-support": "^0.5.19",
"uuid": "^8.0.0"
},
"license": "Unlicense",
"keywords": [
"dynamodb",
"dynamo",
"mongoose",
"aws",
"amazon",
"document",
"model",
"schema",
"database",
"data",
"datastore",
"query",
"scan",
"nosql",
"db",
"nosql",
"store",
"document store",
"table",
"json",
"object",
"storage"
],
"engines": {
"node": ">=8.0.0"
},
"files": [
"dist"
],
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/fishcharlie"
},
{
"type": "opencollective",
"url": "https://opencollective.com/dynamoose"
}
]
}
The “type” isn’t particularly useful, but yes, that’s correct.
It can be a url string, an object, or an array of either.
npm v6
is no longer in active development; We will continue to push security releases to v6
at our team's discretion as-per our Support Policy.
If your bug is reproducible on v7
, please re-file this issue using our new issue template.
If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo
Closing: This is an automated message.
What / Why
When
npm fund PACKAGENAME --which=1
Where
How
Current Behavior
Steps to Reproduce
npm fund PACKAGENAME --which=1
The package.json for the local package has:
Expected Behavior
Who
References