sv-arcgis 1.3.1 → 1.3.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/README.md +5 -0
- package/bin/sv-arcgis-setup.js +4 -6
- package/package.json +3 -3
package/README.md
CHANGED
package/bin/sv-arcgis-setup.js
CHANGED
|
@@ -377,12 +377,12 @@ if (initPromises.length > 0) {
|
|
|
377
377
|
if (demo.DEMO === true) {
|
|
378
378
|
let arcgisRouteDir;
|
|
379
379
|
if (isSvelte) {
|
|
380
|
-
// console.log("
|
|
380
|
+
// console.log("✅ Created demo in './src/'.");
|
|
381
381
|
// Create directory called 'arcgis' in './src/'
|
|
382
382
|
|
|
383
383
|
arcgisRouteDir = path.join(process.cwd(), 'src', 'lib');
|
|
384
384
|
} else if (isSvelteKit) {
|
|
385
|
-
console.log("
|
|
385
|
+
// console.log("✅ Created demo in './src/routes/'.");
|
|
386
386
|
// Create directory called 'arcgis' in './src/routes/'
|
|
387
387
|
|
|
388
388
|
arcgisRouteDir = path.join(process.cwd(), 'src', 'routes', 'arcgis');
|
|
@@ -502,7 +502,6 @@ if (demo.DEMO === true) {
|
|
|
502
502
|
flex-direction: column;
|
|
503
503
|
gap: 2rem;
|
|
504
504
|
width: 50vmax;
|
|
505
|
-
height: 100vh;
|
|
506
505
|
margin-inline: auto;
|
|
507
506
|
margin: 0;
|
|
508
507
|
padding: 0;
|
|
@@ -676,7 +675,6 @@ if (demo.DEMO === true) {
|
|
|
676
675
|
flex-direction: column;
|
|
677
676
|
gap: 2rem;
|
|
678
677
|
width: 50vmax;
|
|
679
|
-
height: 100vh;
|
|
680
678
|
margin-inline: auto;
|
|
681
679
|
margin: 0;
|
|
682
680
|
padding: 0;
|
|
@@ -840,7 +838,7 @@ generateConfig()
|
|
|
840
838
|
fs.writeFileSync(configFilePath, configFileText, { encoding: 'utf8', flag: 'w' });
|
|
841
839
|
|
|
842
840
|
// Show that config was written
|
|
843
|
-
console.log(\`✅ Updated \` + chalk.bold(\`/src/lib/config/index.\${usesTypeScript ? 'ts' : 'js'}\`));
|
|
841
|
+
console.log(\`✅ Updated config at \` + chalk.bold(\`/src/lib/config/index.\${usesTypeScript ? 'ts' : 'js'}\`));
|
|
844
842
|
}
|
|
845
843
|
|
|
846
844
|
if (!global.arcGisApiKeyIsNull || !global.arcGisClientIdIsNull || !global.arcGisClientSecretIsNull) {
|
|
@@ -849,7 +847,7 @@ generateConfig()
|
|
|
849
847
|
fs.writeFileSync(envFilePath, envFileText, { encoding: 'utf8', flag: 'w' });
|
|
850
848
|
|
|
851
849
|
// Show that env was written
|
|
852
|
-
console.log(\`✅ Updated \` + chalk.bold(\`.env\`));
|
|
850
|
+
console.log(\`✅ Updated env file at \` + chalk.bold(\`.env\`));
|
|
853
851
|
console.log(\`👀 Tip: Make sure your .gitignore has the line: .env\`);
|
|
854
852
|
}
|
|
855
853
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sv-arcgis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sv-arcgis": "./bin/sv-arcgis-setup.js"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"description": "a CLI tool that guides you through setting up a ArcGIS / SvelteKit development environment.",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"semantic-release": "^24.2.7",
|
|
33
32
|
"@semantic-release/changelog": "^6.0.3",
|
|
34
|
-
"@semantic-release/git": "^10.0.1"
|
|
33
|
+
"@semantic-release/git": "^10.0.1",
|
|
34
|
+
"semantic-release": "^25.0.2"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"bin",
|