@tinacms/scripts 1.1.2 → 1.1.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 +1 -9
- package/dist/index.js +2 -2
- package/package.json +1 -2
package/LICENSE
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Portions of the TinaCMS software are licensed as follows:
|
|
4
|
-
|
|
5
|
-
* All software that resides under the "packages/@tinacms/datalayer/" and the "packages/@tinacms/graphql/" directories (the "Tina Data Layer"), is licensed under the license defined in "packages/@tinacms/datalayer/LICENSE".
|
|
6
|
-
|
|
7
|
-
* All software outside of the above-mentioned directories is available under the "Apache 2.0" license as set forth below.
|
|
8
|
-
|
|
9
|
-
Apache License
|
|
1
|
+
Apache License
|
|
10
2
|
Version 2.0, January 2004
|
|
11
3
|
http://www.apache.org/licenses/
|
|
12
4
|
|
package/dist/index.js
CHANGED
|
@@ -156,7 +156,7 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
156
156
|
bundle: true,
|
|
157
157
|
platform: "node",
|
|
158
158
|
target: "node12",
|
|
159
|
-
outfile: _path2.default.join(process.cwd(), "dist", "index.js"),
|
|
159
|
+
outfile: outInfo.outfile ? _path2.default.join(process.cwd(), "dist", `${outInfo.outfile}.js`) : _path2.default.join(process.cwd(), "dist", "index.js"),
|
|
160
160
|
external: external.filter((item) => !packageJSON.buildConfig.entryPoints[0].bundle.includes(item))
|
|
161
161
|
});
|
|
162
162
|
await _esbuild.build.call(void 0, {
|
|
@@ -165,7 +165,7 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
165
165
|
platform: "node",
|
|
166
166
|
target: "es2020",
|
|
167
167
|
format: "esm",
|
|
168
|
-
outfile: _path2.default.join(process.cwd(), "dist", "index.mjs"),
|
|
168
|
+
outfile: outInfo.outfile ? _path2.default.join(process.cwd(), "dist", `${outInfo.outfile}.mjs`) : _path2.default.join(process.cwd(), "dist", "index.mjs"),
|
|
169
169
|
external
|
|
170
170
|
});
|
|
171
171
|
} else if (["@tinacms/mdx"].includes(packageJSON.name)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/scripts",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"@tailwindcss/container-queries": "^0.1.0",
|
|
21
21
|
"@tailwindcss/line-clamp": "^0.3.1",
|
|
22
22
|
"@tailwindcss/typography": "^0.5.0",
|
|
23
|
-
"@types/inquirer": "^6.5.0",
|
|
24
23
|
"chalk": "^4.1.1",
|
|
25
24
|
"chokidar": "^3.5.2",
|
|
26
25
|
"commander": "^7.2.0",
|