@intelligentgraphics/ig.gfx.packager
IG.Gfx.Packager 1.2.4 (1.2.4.100)
Last updated 4 months ago by ig_dev .
Original npm · Tarball · package.json
$ cnpm install @intelligentgraphics/ig.gfx.packager 
SYNC missed versions from official npm registry.

IG.Gfx.Packager

Requirements

node.js (https://nodejs.org/en/download/) >= 6

Installation

1. Install this package as a dev dependency

npm i --save-dev @intelligentgraphics/ig.gfx.packager

2. Add a build and a release command to the package.json

{
	"name": "a data repo",
	"scripts": {
		"build": "packager build",
		"release": "packager release"
	}
}

3. Configure a banner comment (this will be added to the output js files)

{
	"name": "a data repo",
	"scripts": {
		"build": "packager build",
		"release": "packager release"
	},
	"packager": {
		"banner": "This belongs to a data repo"
	}
}

Example final package.json

{
	"name": "IG.Graphics.Data.IGX",
	"version": "1.0.0",
	"private": true,
	"scripts": {
		"build": "packager build",
		"release": "packager release"
	},
	"devDependencies": {
		"@intelligentgraphics/ig.gfx.packager": "^1.1.3"
	},
	"packager": {
		"banner": "This file is part of the IG.Graphics IGX Data Package. \n Copyright (C) 2015 - 2020 intelligentgraphics. All Rights Reserved."
	}
}

Usage

The grunt based workflow required packages to be registered manually inside the grunt file. This is no longer the case. This packager instead uses folder names for commands.

Building a package

This compiles the typescript of a single folder and moves the generated javascript and typescript declaration files into the bin folder.

npm run build Furniture

This command can also accept more than one folder name. When multiple folders are provided, they will be build in series.

Package an upload a single package

Do not use yet.

npm run release Furniture

History

IG.Gfx.Packager 1.2.4

  • fixed node 6 support
  • added missing transpilation of js files

IG.Gfx.Packager 1.2.3

  • added transpilation of dependencies. disabled release command

IG.Gfx.Packager 1.2.2

  • changed target to node 6
  • added compilation with babel to ensure everything works on node 8

IG.Gfx.Packager 1.2.1

IG.Gfx.Packager 1.2.0

  • updated readme

IG.Gfx.Packager 1.2.0-alpha.0

  • moved bridge settings validation
  • disabled index json reading
  • added maybe working net packager replacement

IG.Gfx.Packager 1.1.3

  • added newVersion, targetDomain and targetSubdomain options

IG.Gfx.Packager 1.1.2

IG.Gfx.Packager 1.1.1

  • fixed releasing of packages with src folder

IG.Gfx.Packager 1.1.0

  • [release] added noUpload option
  • [release] added using of default value for domains and subdomains when the input value is empty
  • [release] added ensuring that the new version is greater than the current version
  • [release] added overwriting of domain and subdomain via prompt

IG.Gfx.Packager 1.1.0-alpha.5

  • fixed node polyfills...

IG.Gfx.Packager 1.1.0-alpha.4

  • fixed locales not being published

IG.Gfx.Packager 1.1.0-alpha.3

  • added localization

IG.Gfx.Packager 1.1.0-alpha.2

  • rename to ig.gfx.packager
  • added overwriting of domain and subdomain via prompt for publish

IG.Gfx.Packager 1.1.0-alpha.1

  • fixed release log format
  • added moving of built zip

IG.Gfx.Packager 1.1.0-alpha.0

  • added remaining release functionality
  • release command initial commit

IG.Gfx.Packager 1.0.4

  • added clean option

Current Tags

  • 1.2.4                                ...           latest (4 months ago)
  • 1.2.0-alpha.0                                ...           next (4 months ago)

14 Versions

  • 1.2.4                                ...           4 months ago
  • 1.2.3                                ...           4 months ago
  • 1.2.2                                ...           4 months ago
  • 1.2.1                                ...           4 months ago
  • 1.2.0                                ...           4 months ago
  • 1.2.0-alpha.0                                ...           4 months ago
  • 1.1.3                                ...           6 months ago
  • 1.1.2                                ...           6 months ago
  • 1.1.1                                ...           6 months ago
  • 1.1.0                                ...           6 months ago
  • 1.1.0-alpha.5                                ...           9 months ago
  • 1.1.0-alpha.4                                ...           9 months ago
  • 1.1.0-alpha.3                                ...           9 months ago
  • 1.1.0-alpha.2                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 14
Last Month 14
Dependencies (3)
Dev Dependencies (30)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |