Changes to wws

Breck Yunits
Breck Yunits
4 months ago
package.json
Changed around line 11
- "up": "npm install scroll-cli@latest"
+ "up": "npm install scroll-cli@latest; npm install scrollsdk@latest"
Changed around line 34
- "scroll-cli": "^130.5.0",
- "scrollsdk": "^84.0.0"
+ "scroll-cli": "^133.0.0",
+ "scrollsdk": "^87.0.0"
settings.parsers
Changed around line 3: wwsSubfolderParser
- cells keywordCell anyCell urlCell
+ atoms keywordAtom anyAtom urlAtom
wws.js
Changed around line 68: class WWSCli {
- .filter(word => word.endsWith(this.CommandFnDecoratorSuffix))
+ .filter(atom => atom.endsWith(this.CommandFnDecoratorSuffix))
Changed around line 204: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const subfolderName = sanitizeFolderName(subfolder.words[1])
+ const subfolderName = sanitizeFolderName(subfolder.atoms[1])
- const sourceRepo = subfolder.words[2]
+ const sourceRepo = subfolder.atoms[2]
Breck Yunits
Breck Yunits
4 months ago
root.scroll
Changed around line 88: registered 6/12/2024
+
+ folder zombo
+ description You can do anything.
+ www https://zombo.breckyunits.com
+ source https://github.com/breck7/zombo
+ editor Breck Yunits
+ email breck7@gmail.com
+ registered 9/14/2024
+ expires 9/14/2034
+ rep Breck Yunits
+ transactionId pm_1Pz4fFJktJxKl0r537cx4sCs
Breck Yunits
Breck Yunits
4 months ago
package.json
Changed around line 34
- "scroll-cli": "^130.4.1",
+ "scroll-cli": "^130.5.0",
Breck Yunits
Breck Yunits
4 months ago
clientInstall.scroll
Changed around line 1
+
+ From npm:
+ code
+ sudo npm install -g @breck/wws
+
+ From source:
Breck Yunits
Breck Yunits
4 months ago
package.json
Changed around line 1
- "name": "wws",
+ "name": "@breck/wws",
Breck Yunits
Breck Yunits
4 months ago
package.json
Changed around line 34
- "scroll-cli": "^130.3.6",
+ "scroll-cli": "^130.4.1",
Breck Yunits
Breck Yunits
4 months ago
wws.js
Changed around line 91: class WWSCli {
- const content = `title Your Copy of the World Wide Scroll
+ const content = `title The World Wide Scroll
- WWS version ${WWS_VERSION}
- https://wws.scroll.pub
- style text-align:center;
-
- import ../header.scroll
-
- thinColumns 1
-
- code
- ${wwsDir}
-
- endColumns
+ center
+ Your copy of the WWS is stored in \`${wwsDir}\`. ${this.fetchedFolders.length}/${this.folders.length} folders fetched. WWS version: ${WWS_VERSION}.
- thinColumns
+ ../header.scroll
Changed around line 112: wwsSnippetsParser
+ thinColumns
Changed around line 123: snippets ${this.fetchedFolders
-
- thinColumns 1
-
- # Fetched
+ thinColumn
+ # Fetched (${this.fetchedFolders.length})
-
- # Unfetched
+ # Unfetched (${this.unfetchedFolders.length})
- endColumns
-
Changed around line 223: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
+ buildCommand() {
+ this.init()
+ this.buildIndexPage()
+ }
+
Breck Yunits
Breck Yunits
4 months ago
wws.js
Changed around line 91: class WWSCli {
- const content = `title Your World Wide Scroll
+ const content = `title Your Copy of the World Wide Scroll
Breck Yunits
Breck Yunits
4 months ago
package.json
Changed around line 1
- "version": "0.10.0",
+ "version": "0.11.0",
releaseNotes.scroll
Changed around line 6: header.scroll
- thinColumns 1
+ thinColumn
- endColumns
-
+
+ br
+ 📦 0.11.0 9/12/2024
+ 🏥 bug fixes
+
+ 📦 0.10.0 9/6/2024
+ 🏥 upgrade scroll
+
Breck Yunits
Breck Yunits
4 months ago
clientInstall.scroll
Changed around line 1
- # Install the WWS client
+ # WWS command line client one-liner install
- git clone https://github.com/breck7/wws
- cd wws
- npm install --omit=dev
- npm install --omit=dev -g .
- wws list
- # Fetch a few sites:
- wws fetch scroll breck pldb
- wws open
+ git clone https://github.com/breck7/wws && cd wws && npm install --omit=dev && sudo npm install --omit=dev -g . && wws
+
+ # Fetch sites and open
+ code
+ wws fetch scroll breck pldb && wws open
+
+ # Uninstalling
+ code
+ sudo npm uninstall -g wws
wws.js
Changed around line 124: wwsSnippetsParser
- const settings = this.getFolderSettings(concept.id)
+ const settings = this.getFolderSettings(concept.folder)
- return concept.id + "/" + snippets
+ return concept.folder + "/" + snippets
Changed around line 138: endColumns
- ${this.fetchedFolders.map(concept => `- ${concept.id}\n link ${concept.id}/index.html`).join("\n")}
+ ${this.fetchedFolders.map(concept => `- ${concept.folder}\n link ${concept.folder}/index.html`).join("\n")}
- ${this.unfetchedFolders.map(concept => `- ${concept.id}`).join("\n")}
+ ${this.unfetchedFolders.map(concept => `- ${concept.folder}`).join("\n")}
Changed around line 160: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- concepts.forEach(concept => (concept.fetched = Disk.exists(path.join(wwsDir, concept.id))))
+ concepts.forEach(concept => (concept.fetched = Disk.exists(path.join(wwsDir, concept.folder))))
Changed around line 175: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const { fetched, id, description } = concept
+ const { fetched, folder, description } = concept
- Folder: id,
+ Folder: folder,
Changed around line 199: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const folder = this.folders.find(concept => concept.id === folderName)
+ const folder = this.folders.find(concept => concept.folder === folderName)
- const rootFolder = path.join(wwsDir, folder.id)
+ const rootFolder = path.join(wwsDir, folder.folder)
Changed around line 214: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- const settingsParticle = this.getFolderSettings(folder.id)
+ const settingsParticle = this.getFolderSettings(folder.folder)
Changed around line 232: viewSourceUrl https://github.com/breck7/wws/blob/main/wws.js
- if (!folderNames.length) fetchedFolders.forEach(concept => this.fetchScroll(concept.id))
+ if (!folderNames.length) fetchedFolders.forEach(concept => this.fetchScroll(concept.folder))