@digigov/cli-build 0.8.4 → 0.9.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/CHANGELOG.json +17 -0
- package/CHANGELOG.md +12 -1
- package/babel.common.js +0 -13
- package/copy-files.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/cli-build",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.9.0",
|
|
6
|
+
"tag": "@digigov/cli-build_v0.9.0",
|
|
7
|
+
"date": "Mon, 16 Jan 2023 13:05:21 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Include src directory to built packages"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"patch": [
|
|
15
|
+
{
|
|
16
|
+
"comment": "Remove babel-ts-to-proptypes from create digigov-app"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
4
21
|
{
|
|
5
22
|
"version": "0.8.4",
|
|
6
23
|
"tag": "@digigov/cli-build_v0.8.4",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# Change Log - @digigov/cli-build
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 16 Jan 2023 13:05:21 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.9.0
|
|
6
|
+
Mon, 16 Jan 2023 13:05:21 GMT
|
|
7
|
+
|
|
8
|
+
### Minor changes
|
|
9
|
+
|
|
10
|
+
- Include src directory to built packages
|
|
11
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- Remove babel-ts-to-proptypes from create digigov-app
|
|
4
15
|
|
|
5
16
|
## 0.8.4
|
|
6
17
|
Fri, 02 Dec 2022 11:20:56 GMT
|
package/babel.common.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// Mostly shared from
|
|
2
2
|
// https://github.com/mui-org/material-ui/blob/master/babel.config.js
|
|
3
3
|
const lib = require('@digigov/cli/lib');
|
|
4
|
-
const processTsDocData = require('@digigov/babel-ts-to-proptypes/utils');
|
|
5
4
|
|
|
6
5
|
function makeBabelConfig(dir, opts = { docs: false, proptypes: false }) {
|
|
7
6
|
const aliases = lib.aliases(null, true);
|
|
@@ -66,18 +65,6 @@ function makeBabelConfig(dir, opts = { docs: false, proptypes: false }) {
|
|
|
66
65
|
if (project.isLib || project.isApp) {
|
|
67
66
|
PLUGINS.push(require.resolve('babel-plugin-inline-import-data-uri'));
|
|
68
67
|
}
|
|
69
|
-
if (project.isLib && project.isTs && (opts.docs || opts.proptypes)) {
|
|
70
|
-
const tsDocData = processTsDocData([project.root]);
|
|
71
|
-
PLUGINS.push([
|
|
72
|
-
require.resolve('@digigov/babel-ts-to-proptypes'),
|
|
73
|
-
{
|
|
74
|
-
tsDocData,
|
|
75
|
-
root: project.root,
|
|
76
|
-
workspaceRoot: project.workspace.root,
|
|
77
|
-
docs: opts.docs,
|
|
78
|
-
},
|
|
79
|
-
]);
|
|
80
|
-
}
|
|
81
68
|
|
|
82
69
|
const RESOLVER = [
|
|
83
70
|
require.resolve('babel-plugin-module-resolver'),
|
package/copy-files.js
CHANGED