Skip to content

Commit

Permalink
Merge pull request #101 from commercelayer/feature/100_plugin-user-agent
Browse files Browse the repository at this point in the history
feat: add custom user agent
  • Loading branch information
pviti authored Nov 21, 2023
2 parents 0a5baf2 + d6e1c20 commit 8d4d6be
Show file tree
Hide file tree
Showing 5 changed files with 1,021 additions and 782 deletions.
24 changes: 24 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .github/release.yaml

changelog:
exclude:
labels:
- ignore-for-release
authors:
- octocat
categories:
- title: 💥 Breaking Change
labels:
- breaking-change
- title: 🚀 Enhancement
labels:
- enhancement
- title: 🐛 Bug Fix
labels:
- bug
- title: 📝 Documentation
labels:
- documentation
- title: Other Changes
labels:
- "*"
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '16 10 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@commercelayer/cli-plugin-imports",
"description": "Commerce Layer CLI Imports plugin",
"version": "3.7.6",
"version": "3.8.0",
"author": "Pierluigi Viti <[email protected]>",
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-imports/issues",
"engines": {
Expand Down Expand Up @@ -54,26 +54,26 @@
"types": "lib/index.d.ts",
"devDependencies": {
"@commercelayer/cli-dev": "^2.0.5",
"@commercelayer/eslint-config-ts": "^1.0.1",
"@oclif/plugin-help": "^5.2.17",
"@oclif/test": "^2.4.6",
"@types/chai": "^4.3.5",
"@types/cli-progress": "^3.11.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.5.2",
"chai": "^4.3.7",
"eslint": "^8.47.0",
"@commercelayer/eslint-config-ts": "^1.2.0",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^2.5.6",
"@types/chai": "^4.3.10",
"@types/cli-progress": "^3.11.5",
"@types/mocha": "^10.0.4",
"@types/node": "^20.9.2",
"chai": "^4.3.10",
"eslint": "^8.54.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"dependencies": {
"@commercelayer/cli-core": "^3.12.1",
"@commercelayer/sdk": "^5.12.5",
"@commercelayer/cli-core": "^4.3.3",
"@commercelayer/sdk": "^5.22.1",
"@fast-csv/parse": "^4.3.6",
"@oclif/core": "^2.11.8",
"axios": "^1.4.0",
"@oclif/core": "^2.15.0",
"axios": "^1.6.2",
"cli-progress": "^3.12.0",
"cli-table3": "^0.6.3",
"open": "^8.4.2",
Expand Down
Loading

0 comments on commit 8d4d6be

Please sign in to comment.