Skip to content

Commit 0768c2c

Browse files
authored
feat!: Use sdk library repo, update eslint and webpack (#67)
Uses @vertigis/sdk-library package for config files. Projects can now customize the webpack settings used when building. Fixed issues with webpack when creating a local dev project. Upgrade script updates eslint configuration and project type. BREAKING CHANGE: It is required to run the upgrade script to use this version with an existing project, as a new eslint configuration file needs to be added and the project type needs to be updated to "module"
1 parent 2a1de45 commit 0768c2c

25 files changed

+3434
-7821
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 8 deletions
This file was deleted.

bin/vertigis-web-sdk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ const script = scriptIndex === -1 ? args[0] : args[scriptIndex];
1313
if (["build", "create", "start", "upgrade"].includes(script)) {
1414
await import(`../scripts/${script}.js`);
1515
} else {
16-
console.error('Unknown script "' + script + '".');
16+
console.error(`Unknown script '${script}'.`);
1717
}

config/.eslintrc/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

config/.eslintrc/index.js

Lines changed: 0 additions & 219 deletions
This file was deleted.

config/.eslintrc/package.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)