Sha256: 1c1bc80b972e9e8e7d5c303c7d51f5cfb3e68f1f03193f27c1202972e6de0602

Contents?: true

Size: 772 Bytes

Versions: 6

Compression:

Stored size: 772 Bytes

Contents

---
# tasks file for qb.npm_package_module

- name: set npm_package_json_path
  set_fact:
    npm_package_json_path: "{{ qb_dir }}/package.json"

- name: create package.json
  command: npm init -y
  args:
    chdir: "{{ qb_dir }}"
    creates: "{{ npm_package_json_path }}"

- name: set package.json scalar values
  state:
    json:
      key: "{{ npm_package_json_path }}:{{ item.key }}"
      set: "{{ item.value }}"
  with_dict:
    name: "{{ npm_package_scoped_name }}"
    private: "{{ npm_package_private }}"
    version: "{{ npm_package_version }}"
    description: "{{ npm_package_description }}"
    main: "{{ npm_package_main }}"
    keywords: "{{ npm_package_keywords | to_json }}"
    license: "{{ npm_package_license }}"
    author: "{{ npm_package_author }}"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
qb-0.1.23 roles/qb.npm_package/tasks/main.yml
qb-0.1.22 roles/qb.npm_package/tasks/main.yml
qb-0.1.21 roles/qb.npm_package/tasks/main.yml
qb-0.1.20 roles/qb.npm_package/tasks/main.yml
qb-0.1.19 roles/qb.npm_package/tasks/main.yml
qb-0.1.18 roles/qb.npm_package/tasks/main.yml