@piserve-tech/octa-form-submission-webcomponent 1.0.0 → 1.0.2
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/copy-assets.js +7 -7
- package/package.json +2 -1
package/copy-assets.js
CHANGED
|
@@ -23,11 +23,11 @@ if (fs.existsSync(path.join(__dirname, 'dist', 'assets'))) {
|
|
|
23
23
|
srcBundleJs = path.join(__dirname, 'dist', 'bundle.js');
|
|
24
24
|
srcBundleCss = path.join(__dirname, 'dist', 'bundle.css');
|
|
25
25
|
} else {
|
|
26
|
-
srcAssets = path.join(__dirname, 'node_modules', '@piserve-tech', 'form-submission-webcomponent', 'dist', 'assets');
|
|
27
|
-
srcBundleJs = path.join(__dirname, 'node_modules', '@piserve-tech', 'form-submission-webcomponent', 'dist', 'bundle.js');
|
|
28
|
-
srcBundleCss = path.join(__dirname, 'node_modules', '@piserve-tech', 'form-submission-webcomponent', 'dist', 'bundle.css');
|
|
26
|
+
srcAssets = path.join(__dirname, 'node_modules', '@piserve-tech', 'octa-form-submission-webcomponent', 'dist', 'assets');
|
|
27
|
+
srcBundleJs = path.join(__dirname, 'node_modules', '@piserve-tech', 'octa-form-submission-webcomponent', 'dist', 'bundle.js');
|
|
28
|
+
srcBundleCss = path.join(__dirname, 'node_modules', '@piserve-tech', 'octa-form-submission-webcomponent', 'dist', 'bundle.css');
|
|
29
29
|
}
|
|
30
|
-
const destAssets = path.join(process.cwd(), 'src', 'assets', 'form-submission-webcomponent');
|
|
30
|
+
const destAssets = path.join(process.cwd(), 'src', 'assets', 'octa-form-submission-webcomponent');
|
|
31
31
|
|
|
32
32
|
copyRecursiveSync(srcAssets, destAssets);
|
|
33
33
|
|
|
@@ -37,11 +37,11 @@ const destBundleCss = path.join(destAssets, 'bundle.css');
|
|
|
37
37
|
|
|
38
38
|
if (fs.existsSync(srcBundleJs)) {
|
|
39
39
|
fs.copyFileSync(srcBundleJs, destBundleJs);
|
|
40
|
-
console.log('bundle.js copied to src/assets/form-submission-webcomponent');
|
|
40
|
+
console.log('bundle.js copied to src/assets/octa-form-submission-webcomponent');
|
|
41
41
|
}
|
|
42
42
|
if (fs.existsSync(srcBundleCss)) {
|
|
43
43
|
fs.copyFileSync(srcBundleCss, destBundleCss);
|
|
44
|
-
console.log('bundle.css copied to src/assets/form-submission-webcomponent');
|
|
44
|
+
console.log('bundle.css copied to src/assets/octa-form-submission-webcomponent');
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
console.log('Assets and bundles copied to src/assets/form-submission-webcomponent');
|
|
47
|
+
console.log('Assets and bundles copied to src/assets/octa-form-submission-webcomponent');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@piserve-tech/octa-form-submission-webcomponent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Distributable web component build for form submission (bundle.js, bundle.css, fonts, icons)",
|
|
5
5
|
"main": "dist/bundle.js",
|
|
6
6
|
"style": "dist/bundle.css",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"@piserve-tech/file-preview": "1.0.0",
|
|
41
41
|
"@piserve-tech/file-upload": "1.1.51",
|
|
42
42
|
"@piserve-tech/form-submission-webcomponent": "^1.0.7",
|
|
43
|
+
"@piserve-tech/octa-form-submission-webcomponent": "^1.0.1",
|
|
43
44
|
"@syncfusion/ej2-material-theme": "~25.1.40",
|
|
44
45
|
"@types/google.maps": "^3.55.8",
|
|
45
46
|
"@types/googlemaps": "^3.43.3",
|