prepare-package 1.1.10 → 1.1.12

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/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # CHANGELOG
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
+
7
+ ## Changelog Categories
8
+
9
+ - `BREAKING` for breaking changes.
10
+ - `Added` for new features.
11
+ - `Changed` for changes in existing functionality.
12
+ - `Deprecated` for soon-to-be removed features.
13
+ - `Removed` for now removed features.
14
+ - `Fixed` for any bug fixes.
15
+ - `Security` in case of vulnerabilities.
16
+
17
+ ---
18
+ ## [1.0.0] - 2024-06-19
19
+ ### Added
20
+ - Initial release of the project 🚀
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 ITW Creative Works
3
+ Copyright (c) 2025 ITW Creative Works
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/dist/index.js CHANGED
@@ -38,7 +38,7 @@ module.exports = async function (options) {
38
38
  // || 'node -e \'require(`prepare-package`)()\'';
39
39
  // theirPackageJSON.scripts['prepare:watch'] = theirPackageJSON.scripts['prepare:watch']
40
40
  // || `nodemon -w ./src -e '*' --exec 'npm run prepare'`
41
- theirPackageJSON.scripts.prepare = `node -e \\"require('prepare-package')()\\"`;
41
+ theirPackageJSON.scripts.prepare = `node -e \"require('prepare-package')()\"`;
42
42
  theirPackageJSON.scripts['prepare:watch'] = `nodemon -w ./src -e '*' --exec 'npm run prepare'`
43
43
 
44
44
  // Log the options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prepare-package",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Prepare a Node.js package before being published",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -10,13 +10,8 @@
10
10
  "prepare:watch": "nodemon -w ./src -e '*' --exec 'npm run prepare'",
11
11
  "postinstall": "node -e \"require('./dist/index.js')({cwd: process.env.INIT_CWD, isPostInstall: true})\""
12
12
  },
13
- "preparePackage": {
14
- "input": "src",
15
- "output": "dist",
16
- "replace": {}
17
- },
18
13
  "engines": {
19
- "node": ">=6.0.0"
14
+ "node": ">=12"
20
15
  },
21
16
  "repository": {
22
17
  "type": "git",
@@ -34,6 +29,11 @@
34
29
  "url": "https://github.com/itw-creative-works/prepare-package/issues"
35
30
  },
36
31
  "homepage": "https://itwcreativeworks.com",
32
+ "preparePackage": {
33
+ "input": "src",
34
+ "output": "dist",
35
+ "replace": {}
36
+ },
37
37
  "dependencies": {
38
38
  "chalk": "^4.1.2",
39
39
  "fs-jetpack": "^4.3.1",
@@ -42,4 +42,4 @@
42
42
  "devDependencies": {
43
43
  "mocha": "^8.4.0"
44
44
  }
45
- }
45
+ }