@vertexvis/rollup-plugin-vertexvis-copyright 0.1.3 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,8 +8,8 @@ const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights res
8
8
  function copyright(copyright = copyrightText) {
9
9
  return {
10
10
  name: 'vertex-copyright',
11
- renderChunk: code => {
12
- const lines = copyright.split('\n').map(line => ` * ${line}`);
11
+ renderChunk: (code) => {
12
+ const lines = copyright.split('\n').map((line) => ` * ${line}`);
13
13
  return `/**!\n${lines.join('\n')}\n */\n${code}`;
14
14
  },
15
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bundle.cjs.js","sources":["../src/copyright.ts","../src/plugin.ts"],"sourcesContent":["const year = new Date(Date.now()).getFullYear();\n\nexport const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights reserved.`;\n","import { Plugin } from 'rollup';\nimport { copyrightText } from './copyright';\n\nexport function copyright(copyright: string = copyrightText): Plugin {\n return {\n name: 'vertex-copyright',\n renderChunk: code => {\n const lines = copyright.split('\\n').map(line => ` * ${line}`);\n return `/**!\\n${lines.join('\\n')}\\n */\\n${code}`;\n },\n };\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;MAEnC,aAAa,GAAG,iBAAiB,IAAI;;SCClC,SAAS,CAAC,YAAoB,aAAa;IACzD,OAAO;QACL,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,IAAI;YACf,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC;YAC9D,OAAO,SAAS,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC;SAClD;KACF,CAAC;AACJ,CAAC;;;;;"}
1
+ {"version":3,"file":"bundle.cjs.js","sources":["../src/copyright.ts","../src/plugin.ts"],"sourcesContent":["const year = new Date(Date.now()).getFullYear();\n\nexport const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights reserved.`;\n","import { Plugin } from 'rollup';\n\nimport { copyrightText } from './copyright';\n\nexport function copyright(copyright: string = copyrightText): Plugin {\n return {\n name: 'vertex-copyright',\n renderChunk: (code) => {\n const lines = copyright.split('\\n').map((line) => ` * ${line}`);\n return `/**!\\n${lines.join('\\n')}\\n */\\n${code}`;\n },\n };\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;MAEnC,aAAa,GAAG,iBAAiB,IAAI;;SCElC,SAAS,CAAC,YAAoB,aAAa;IACzD,OAAO;QACL,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,CAAC,IAAI;YAChB,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,MAAM,IAAI,EAAE,CAAC,CAAC;YAChE,OAAO,SAAS,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC;SAClD;KACF,CAAC;AACJ;;;;;"}
@@ -4,8 +4,8 @@ const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights res
4
4
  function copyright(copyright = copyrightText) {
5
5
  return {
6
6
  name: 'vertex-copyright',
7
- renderChunk: code => {
8
- const lines = copyright.split('\n').map(line => ` * ${line}`);
7
+ renderChunk: (code) => {
8
+ const lines = copyright.split('\n').map((line) => ` * ${line}`);
9
9
  return `/**!\n${lines.join('\n')}\n */\n${code}`;
10
10
  },
11
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bundle.esm.js","sources":["../src/copyright.ts","../src/plugin.ts"],"sourcesContent":["const year = new Date(Date.now()).getFullYear();\n\nexport const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights reserved.`;\n","import { Plugin } from 'rollup';\nimport { copyrightText } from './copyright';\n\nexport function copyright(copyright: string = copyrightText): Plugin {\n return {\n name: 'vertex-copyright',\n renderChunk: code => {\n const lines = copyright.split('\\n').map(line => ` * ${line}`);\n return `/**!\\n${lines.join('\\n')}\\n */\\n${code}`;\n },\n };\n}\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;MAEnC,aAAa,GAAG,iBAAiB,IAAI;;SCClC,SAAS,CAAC,YAAoB,aAAa;IACzD,OAAO;QACL,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,IAAI;YACf,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC;YAC9D,OAAO,SAAS,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC;SAClD;KACF,CAAC;AACJ,CAAC;;;;"}
1
+ {"version":3,"file":"bundle.esm.js","sources":["../src/copyright.ts","../src/plugin.ts"],"sourcesContent":["const year = new Date(Date.now()).getFullYear();\n\nexport const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights reserved.`;\n","import { Plugin } from 'rollup';\n\nimport { copyrightText } from './copyright';\n\nexport function copyright(copyright: string = copyrightText): Plugin {\n return {\n name: 'vertex-copyright',\n renderChunk: (code) => {\n const lines = copyright.split('\\n').map((line) => ` * ${line}`);\n return `/**!\\n${lines.join('\\n')}\\n */\\n${code}`;\n },\n };\n}\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;MAEnC,aAAa,GAAG,iBAAiB,IAAI;;SCElC,SAAS,CAAC,YAAoB,aAAa;IACzD,OAAO;QACL,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,CAAC,IAAI;YAChB,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,MAAM,IAAI,EAAE,CAAC,CAAC;YAChE,OAAO,SAAS,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC;SAClD;KACF,CAAC;AACJ;;;;"}
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "@vertexvis/rollup-plugin-vertexvis-copyright",
3
- "version": "0.1.3",
3
+ "version": "0.4.1",
4
4
  "description": "Rollup plugin that prepends a Vertex copyright to JS bundles.",
5
- "author": "Dan Schultz (https://github.com/danschultz)",
6
5
  "license": "MIT",
6
+ "author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",
7
+ "homepage": "https://github.com/Vertexvis/vertex-web-tools#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/Vertexvis/vertex-web-tools.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/Vertexvis/vertex-web-tools/issues"
14
+ },
7
15
  "main": "./dist/bundle.cjs.js",
8
16
  "module": "./dist/bundle.esm.js",
9
17
  "typings": "./dist/index.d.ts",
@@ -27,16 +35,12 @@
27
35
  "test:coverage": "echo 'No unit tests defined'"
28
36
  },
29
37
  "dependencies": {
30
- "rollup": "^1.19.4"
38
+ "rollup": "^2.63.0"
31
39
  },
32
40
  "devDependencies": {
33
- "@vertexvis/eslint-config-vertexvis-typescript": "0.2.3",
34
- "@vertexvis/typescript-config-vertexvis": "1.0.2",
35
- "rollup-plugin-terser": "^5.1.1",
36
- "rollup-plugin-typescript2": "^0.22.1"
37
- },
38
- "peerDependencies": {
39
- "eslint": "^6.1.0",
40
- "typescript": "^3.7.4"
41
+ "@vertexvis/eslint-config-vertexvis-typescript": "0.5.0",
42
+ "@vertexvis/typescript-config-vertexvis": "1.1.0",
43
+ "rollup-plugin-terser": "^7.0.2",
44
+ "rollup-plugin-typescript2": "^0.31.1"
41
45
  }
42
46
  }
package/CHANGELOG.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "name": "@vertexvis/rollup-plugin-vertexvis-copyright",
3
- "entries": [
4
- {
5
- "version": "0.1.0",
6
- "tag": "@vertexvis/rollup-plugin-vertexvis-copyright_v0.1.0",
7
- "date": "Thu, 05 Mar 2020 22:32:00 GMT",
8
- "comments": {
9
- "minor": [
10
- {
11
- "comment": "Initial release"
12
- }
13
- ]
14
- }
15
- }
16
- ]
17
- }
package/CHANGELOG.md DELETED
@@ -1,11 +0,0 @@
1
- # Change Log - @vertexvis/rollup-plugin-vertexvis-copyright
2
-
3
- This log was last generated on Thu, 05 Mar 2020 22:32:00 GMT and should not be manually modified.
4
-
5
- ## 0.1.0
6
- Thu, 05 Mar 2020 22:32:00 GMT
7
-
8
- ### Minor changes
9
-
10
- - Initial release
11
-
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=`Copyright (c) ${new Date(Date.now()).getFullYear()} Vertex Software LLC. All rights reserved.`;exports.copyright=function(t=e){return{name:"vertex-copyright",renderChunk:e=>`/**!\n${t.split("\n").map(e=>" * "+e).join("\n")}\n */\n${e}`}},exports.copyrightText=e;
2
- //# sourceMappingURL=bundle.cjs.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle.cjs.min.js","sources":["../src/copyright.ts","../src/plugin.ts"],"sourcesContent":["const year = new Date(Date.now()).getFullYear();\n\nexport const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights reserved.`;\n","import { Plugin } from 'rollup';\nimport { copyrightText } from './copyright';\n\nexport function copyright(copyright: string = copyrightText): Plugin {\n return {\n name: 'vertex-copyright',\n renderChunk: code => {\n const lines = copyright.split('\\n').map(line => ` * ${line}`);\n return `/**!\\n${lines.join('\\n')}\\n */\\n${code}`;\n },\n };\n}\n"],"names":["copyrightText","Date","now","getFullYear","copyright","name","renderChunk","code","split","map","line","join"],"mappings":"oEAAA,MAEaA,EAAgB,iBAFhB,IAAIC,KAAKA,KAAKC,OAAOC,qFCGRC,EAAoBJ,GAC5C,MAAO,CACLK,KAAM,mBACNC,YAAaC,GAEJ,SADOH,EAAUI,MAAM,MAAMC,IAAIC,GAAQ,MAAMA,GAChCC,KAAK,eAAeJ"}
@@ -1,2 +0,0 @@
1
- const e=`Copyright (c) ${new Date(Date.now()).getFullYear()} Vertex Software LLC. All rights reserved.`;function n(n=e){return{name:"vertex-copyright",renderChunk:e=>`/**!\n${n.split("\n").map(e=>" * "+e).join("\n")}\n */\n${e}`}}export{n as copyright,e as copyrightText};
2
- //# sourceMappingURL=bundle.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle.esm.min.js","sources":["../src/copyright.ts","../src/plugin.ts"],"sourcesContent":["const year = new Date(Date.now()).getFullYear();\n\nexport const copyrightText = `Copyright (c) ${year} Vertex Software LLC. All rights reserved.`;\n","import { Plugin } from 'rollup';\nimport { copyrightText } from './copyright';\n\nexport function copyright(copyright: string = copyrightText): Plugin {\n return {\n name: 'vertex-copyright',\n renderChunk: code => {\n const lines = copyright.split('\\n').map(line => ` * ${line}`);\n return `/**!\\n${lines.join('\\n')}\\n */\\n${code}`;\n },\n };\n}\n"],"names":["copyrightText","Date","now","getFullYear","copyright","name","renderChunk","code","split","map","line","join"],"mappings":"AAAA,MAEaA,EAAgB,iBAFhB,IAAIC,KAAKA,KAAKC,OAAOC,mECGlBC,EAAUA,EAAoBJ,GAC5C,MAAO,CACLK,KAAM,mBACNC,YAAaC,GAEJ,SADOH,EAAUI,MAAM,MAAMC,IAAIC,GAAQ,MAAMA,GAChCC,KAAK,eAAeJ"}