@digigov/cli-build 0.8.3 → 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 CHANGED
@@ -1,6 +1,38 @@
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
+ },
21
+ {
22
+ "version": "0.8.4",
23
+ "tag": "@digigov/cli-build_v0.8.4",
24
+ "date": "Fri, 02 Dec 2022 11:20:56 GMT",
25
+ "comments": {
26
+ "dependency": [
27
+ {
28
+ "comment": "Updating dependency \"@digigov/babel-ts-to-proptypes\" from `0.5.2` to `0.5.3`"
29
+ },
30
+ {
31
+ "comment": "Updating dependency \"@digigov/cli\" from `0.6.3` to `0.6.4`"
32
+ }
33
+ ]
34
+ }
35
+ },
4
36
  {
5
37
  "version": "0.8.2",
6
38
  "tag": "@digigov/cli-build_v0.8.2",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,22 @@
1
1
  # Change Log - @digigov/cli-build
2
2
 
3
- This log was last generated on Wed, 31 Aug 2022 16:10:12 GMT and should not be manually modified.
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
15
+
16
+ ## 0.8.4
17
+ Fri, 02 Dec 2022 11:20:56 GMT
18
+
19
+ _Version update only_
4
20
 
5
21
  ## 0.8.2
6
22
  Wed, 31 Aug 2022 16:10:12 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
@@ -86,6 +86,7 @@ async function run() {
86
86
  [
87
87
  // use enhanced readme from workspace root for `@digigov/ui`
88
88
  // packageData.name === '@digigov/ui' ? '../../README.md' : './README.md',
89
+ './src',
89
90
  './README.md',
90
91
  './CHANGELOG.md',
91
92
  '../../LICENSE',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/cli-build",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "description": "Build plugin for Digigov CLI",
5
5
  "main": "./index.js",
6
6
  "author": "GRNET Devs <devs@lists.grnet.gr>",
@@ -29,13 +29,13 @@
29
29
  "glob": "7.1.6",
30
30
  "typescript": "4.2.3",
31
31
  "@types/node": "16.6.2",
32
- "@digigov/babel-ts-to-proptypes": "0.5.2",
32
+ "@digigov/babel-ts-to-proptypes": "0.5.3",
33
33
  "babel-plugin-istanbul": "6.0.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@digigov/cli": "0.6.3",
36
+ "@digigov/cli": "0.6.4",
37
37
  "rimraf": "3.0.2",
38
38
  "next": "10.0.9"
39
39
  },
40
40
  "scripts": {}
41
- }
41
+ }