@oicl/openbridge-webcomponents 0.0.5 → 0.0.7
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/custom-elements.json +534 -534
- package/fix-generated.cjs +18 -6
- package/package.json +2 -3
package/fix-generated.cjs
CHANGED
@@ -17,9 +17,9 @@ function addRepositoryToPackageJsonVue() {
|
|
17
17
|
const packageJson = require('../openbridge-webcomponents-vue/package.json');
|
18
18
|
packageJson.repository = {
|
19
19
|
type: 'git',
|
20
|
-
url: 'https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
21
|
-
directory:
|
22
|
-
}
|
20
|
+
url: 'git+https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
21
|
+
directory: 'packages/openbridge-webcomponents-vue',
|
22
|
+
};
|
23
23
|
fs.writeFileSync(
|
24
24
|
'../openbridge-webcomponents-vue/package.json',
|
25
25
|
JSON.stringify(packageJson, null, 2)
|
@@ -30,9 +30,20 @@ function addRepositoryToPackageJsonReact() {
|
|
30
30
|
const packageJson = require('../openbridge-webcomponents-react/package.json');
|
31
31
|
packageJson.repository = {
|
32
32
|
type: 'git',
|
33
|
-
url: 'https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
34
|
-
directory:
|
35
|
-
}
|
33
|
+
url: 'git+https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git',
|
34
|
+
directory: 'packages/openbridge-webcomponents-react',
|
35
|
+
};
|
36
|
+
fs.writeFileSync(
|
37
|
+
'../openbridge-webcomponents-react/package.json',
|
38
|
+
JSON.stringify(packageJson, null, 2)
|
39
|
+
);
|
40
|
+
}
|
41
|
+
|
42
|
+
function fixFilePathInPackageJsonReact() {
|
43
|
+
const packageJson = require('../openbridge-webcomponents-react/package.json');
|
44
|
+
packageJson.files = packageJson.files.map((file) => {
|
45
|
+
return file.replace('dist/', '');
|
46
|
+
});
|
36
47
|
fs.writeFileSync(
|
37
48
|
'../openbridge-webcomponents-react/package.json',
|
38
49
|
JSON.stringify(packageJson, null, 2)
|
@@ -42,3 +53,4 @@ function addRepositoryToPackageJsonReact() {
|
|
42
53
|
fixIndexFiles();
|
43
54
|
addRepositoryToPackageJsonVue();
|
44
55
|
addRepositoryToPackageJsonReact();
|
56
|
+
fixFilePathInPackageJsonReact();
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@oicl/openbridge-webcomponents",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.7",
|
4
4
|
"type": "module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
7
|
-
"url": "https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git",
|
7
|
+
"url": "git+https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents.git",
|
8
8
|
"directory": "packages/openbridge-webcomponents"
|
9
9
|
},
|
10
10
|
"scripts": {
|
@@ -74,7 +74,6 @@
|
|
74
74
|
"vite-plugin-dts": "^3.6.3",
|
75
75
|
"xmldom": "^0.6.0"
|
76
76
|
},
|
77
|
-
"readme": "README.md",
|
78
77
|
"types": "./dist/index.d.ts",
|
79
78
|
"customElements": "custom-elements.json"
|
80
79
|
}
|