@tinacms/scripts 0.0.0-202223144248 → 0.0.0-202258181912
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 +7 -1
- package/__mocks__/styleMock.js +13 -0
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/__mocks__/styleMock.js
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright 2021 Forestry.io Holdings, Inc.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software
|
|
8
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
9
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10
|
+
See the License for the specific language governing permissions and
|
|
11
|
+
limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
|
|
1
14
|
// __mocks__/styleMock.js
|
|
2
15
|
|
|
3
16
|
module.exports = ''
|
package/dist/index.js
CHANGED
|
@@ -371,7 +371,10 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
371
371
|
platform: "node",
|
|
372
372
|
outdir: _path2.default.join(process.cwd(), "dist"),
|
|
373
373
|
external,
|
|
374
|
-
target: "node12"
|
|
374
|
+
target: "node12",
|
|
375
|
+
define: {
|
|
376
|
+
"process.env.TINA_INTERNAL_MONOREPO": process.env.TINA_INTERNAL_MONOREPO ? '"true"' : "'false'"
|
|
377
|
+
}
|
|
375
378
|
});
|
|
376
379
|
}
|
|
377
380
|
const extension2 = _path2.default.extname(entry);
|