extension-create 1.0.0 → 1.0.3

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Cezar Augusto <boss@cezaraugusto.net> (https://cezaraugusto.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -92,8 +92,6 @@ If you want to target a specific browser, just pass the `--browser` flag to the
92
92
 
93
93
  That's it!
94
94
 
95
- > _Hint: pass `all` instead of `edge` as an argument to load both Edge and Chrome at the same time!_
96
-
97
95
  ## Program Options Table
98
96
 
99
97
  For a list of all commands available, see [OPTIONS_TABLE.md](OPTIONS_TABLE.md).
package/dist/cli.js CHANGED
@@ -116,7 +116,7 @@ var package_default = {
116
116
  node: ">=18"
117
117
  },
118
118
  name: "extension-create",
119
- version: "1.0.0",
119
+ version: "1.0.3",
120
120
  description: "Create cross-browser extensions with no build configuration.",
121
121
  main: "./dist/cli.js",
122
122
  types: "./dist/cli.d.ts",
@@ -132,9 +132,9 @@ var package_default = {
132
132
  url: "https://cezaraugusto.com"
133
133
  },
134
134
  scripts: {
135
- postinstall: "node ./scripts/copyMarkdownFilesToCli.js",
135
+ copyMarkdownFilesToCli: "node ./scripts/copyMarkdownFilesToCli.js",
136
136
  clean: "rm -rf dist",
137
- compile: "tsup-node ./cli.ts --format cjs --dts --target=node18",
137
+ compile: "yarn copyMarkdownFilesToCli && tsup-node ./cli.ts --format cjs --dts --target=node18",
138
138
  test: "jest"
139
139
  },
140
140
  keywords: [
@@ -153,11 +153,8 @@ var package_default = {
153
153
  dependencies: {
154
154
  "@extension-create/create": "*",
155
155
  "@extension-create/develop": "*",
156
- "@types/jest": "^29.5.11",
157
156
  commander: "^11.1.0",
158
- inquirer: "^9.2.12",
159
- semver: "^7.5.4",
160
- tsconfig: "*"
157
+ semver: "^7.5.4"
161
158
  },
162
159
  devDependencies: {
163
160
  "@types/inquirer": "^9.0.7",
@@ -169,6 +166,7 @@ var package_default = {
169
166
  jest: "^29.7.0",
170
167
  "mock-fs": "^5.2.0",
171
168
  "ts-jest": "^29.1.2",
169
+ tsconfig: "*",
172
170
  tsup: "^8.0.1",
173
171
  typescript: "^5.3.3"
174
172
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "node": ">=18"
9
9
  },
10
10
  "name": "extension-create",
11
- "version": "1.0.0",
11
+ "version": "1.0.3",
12
12
  "description": "Create cross-browser extensions with no build configuration.",
13
13
  "main": "./dist/cli.js",
14
14
  "types": "./dist/cli.d.ts",
@@ -24,9 +24,9 @@
24
24
  "url": "https://cezaraugusto.com"
25
25
  },
26
26
  "scripts": {
27
- "postinstall": "node ./scripts/copyMarkdownFilesToCli.js",
27
+ "copyMarkdownFilesToCli": "node ./scripts/copyMarkdownFilesToCli.js",
28
28
  "clean": "rm -rf dist",
29
- "compile": "tsup-node ./cli.ts --format cjs --dts --target=node18",
29
+ "compile": "yarn copyMarkdownFilesToCli && tsup-node ./cli.ts --format cjs --dts --target=node18",
30
30
  "test": "jest"
31
31
  },
32
32
  "keywords": [
@@ -45,11 +45,8 @@
45
45
  "dependencies": {
46
46
  "@extension-create/create": "*",
47
47
  "@extension-create/develop": "*",
48
- "@types/jest": "^29.5.11",
49
48
  "commander": "^11.1.0",
50
- "inquirer": "^9.2.12",
51
- "semver": "^7.5.4",
52
- "tsconfig": "*"
49
+ "semver": "^7.5.4"
53
50
  },
54
51
  "devDependencies": {
55
52
  "@types/inquirer": "^9.0.7",
@@ -61,6 +58,7 @@
61
58
  "jest": "^29.7.0",
62
59
  "mock-fs": "^5.2.0",
63
60
  "ts-jest": "^29.1.2",
61
+ "tsconfig": "*",
64
62
  "tsup": "^8.0.1",
65
63
  "typescript": "^5.3.3"
66
64
  }