Skip to content

Commit

Permalink
Merge pull request #71 from package-url/jdalton/sync
Browse files Browse the repository at this point in the history
Syncing commits from fork back into master
  • Loading branch information
jdalton authored Aug 12, 2024
2 parents b6e5902 + 4fad311 commit 7ce34d0
Show file tree
Hide file tree
Showing 12 changed files with 1,972 additions and 582 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
node_modules/
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore artifacts:
*.json
*.xml
*.yml
*.md
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"tabWidth": 4,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
15 changes: 12 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
'use strict'

const PackageURL = require('./src/package-url');
const {
Component,
KnownQualifierNames,
PackageURL,
Type
} = require('./src/package-url')

module.exports = {
PackageURL
};
Component,
KnownQualifierNames,
PackageURL,
Type
}
158 changes: 42 additions & 116 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@
"url": "git+https://github.com/package-url/packageurl-js.git"
},
"scripts": {
"test": "mocha"
"test": "mocha",
"prettify": "prettier --write ./**/*.js"
},
"devDependencies": {
"mocha": "^10.2.0"
}
"mocha": "^10.4.0",
"prettier": "^3.2.5"
},
"files": [
"*{.js,.ts}",
"src/**/*{.js,.ts}",
"LICENSE",
"README.md"
]
}
Loading

0 comments on commit 7ce34d0

Please sign in to comment.