copy-file-util 0.1.6 → 1.0.0

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.
package/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Individual contributors to copy-file-util
3
+ Copyright (c) 2022-2023 Individual contributors to copy-file-util
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -45,7 +45,7 @@ $ npm install --global copy-file-util
45
45
  $ copy-file src/web/api.html docs/api-manual.html
46
46
  ```
47
47
 
48
- ### 3. CLI Flags
48
+ ### 3. CLI flags
49
49
  Command-line flags:
50
50
  | Flag | Description | Values |
51
51
  | ---------- | ---------------------------------------------- | ---------- |
@@ -58,7 +58,7 @@ Examples:
58
58
  - `copy-file app.js app.mjs --quiet`   Displays no output.
59
59
  - `copy-file app.js --folder dist`   Copies **app.js** into the **dist** folder.
60
60
 
61
- ### 4. Template Variables
61
+ ### 4. Template variables
62
62
  The *target* parameter can contain template variables, like `{{pkg.version}}` and `{{pkg.name}}`, which will be replaced with values with values from your project's **package.json** file.
63
63
 
64
64
  Example:
@@ -1,4 +1,4 @@
1
- //! copy-file-util v0.1.6 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
1
+ //! copy-file-util v1.0.0 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
2
2
 
3
3
  export type Settings = {
4
4
  cd: string;
package/dist/copy-file.js CHANGED
@@ -1,4 +1,4 @@
1
- //! copy-file-util v0.1.6 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
1
+ //! copy-file-util v1.0.0 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
2
2
 
3
3
  import fs from 'fs';
4
4
  import path from 'path';
@@ -1,4 +1,4 @@
1
- //! copy-file-util v0.1.6 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
1
+ //! copy-file-util v1.0.0 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
2
2
 
3
3
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copy-file-util",
3
- "version": "0.1.6",
3
+ "version": "1.0.0",
4
4
  "description": "Copy or rename a file with optional package version number (CLI tool designed for use in npm scripts)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -79,24 +79,24 @@
79
79
  "test": "mocha spec/*.spec.js"
80
80
  },
81
81
  "dependencies": {
82
- "chalk": "~5.1",
83
- "cli-argv-util": "~0.1",
84
- "dna-engine": "~2.2",
82
+ "chalk": "~5.2",
83
+ "cli-argv-util": "~1.0",
84
+ "dna-engine": "~2.3",
85
85
  "fancy-log": "~2.0",
86
86
  "slash": "~5.0"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@types/fancy-log": "~2.0",
90
- "@types/node": "~18.11",
91
- "@typescript-eslint/eslint-plugin": "~5.43",
92
- "@typescript-eslint/parser": "~5.43",
93
- "add-dist-header": "~0.3",
90
+ "@types/node": "~18.14",
91
+ "@typescript-eslint/eslint-plugin": "~5.52",
92
+ "@typescript-eslint/parser": "~5.52",
93
+ "add-dist-header": "~1.0",
94
94
  "assert-deep-strict-equal": "~1.0",
95
95
  "cpy-cli": "~4.2",
96
- "eslint": "~8.28",
96
+ "eslint": "~8.34",
97
97
  "jshint": "~2.13",
98
- "mocha": "~10.1",
99
- "rimraf": "~3.0",
98
+ "mocha": "~10.2",
99
+ "rimraf": "3",
100
100
  "run-scripts-util": "~0.1",
101
101
  "typescript": "~4.9"
102
102
  }