From 9d013650661f5a852f4c0ac90e0b731767384644 Mon Sep 17 00:00:00 2001
From: ElectronicsArchiver
<85485984+ElectronicsArchiver@users.noreply.github.com>
Date: Fri, 6 Jan 2023 15:37:39 -0500
Subject: [PATCH 01/12] Added editorconfig
---
.editorconfig | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..a41c4fe
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@
+
+root = true
+
+[*]
+
+end_of_line = lf
+
+[*.{gitignore,json,yaml,ts,md}]
+
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+charset = utf-8
+
+[*.md]
+
+trim_trailing_whitespace = false
\ No newline at end of file
From ec827b2ddc498c1e01e168fb2d480a39f6952f95 Mon Sep 17 00:00:00 2001
From: ElectronicsArchiver
<85485984+ElectronicsArchiver@users.noreply.github.com>
Date: Fri, 6 Jan 2023 15:38:51 -0500
Subject: [PATCH 02/12] Implemented News Updater
---
News/Imports.json | 10 ++++
News/Source/App.ts | 21 ++++++++
News/Source/Content.ts | 93 ++++++++++++++++++++++++++++++++
News/Source/News.ts | 13 +++++
News/Source/Paths.ts | 18 +++++++
News/Source/Readme.ts | 19 +++++++
News/deno.json | 8 +++
News/deno.lock | 120 +++++++++++++++++++++++++++++++++++++++++
8 files changed, 302 insertions(+)
create mode 100644 News/Imports.json
create mode 100644 News/Source/App.ts
create mode 100644 News/Source/Content.ts
create mode 100644 News/Source/News.ts
create mode 100644 News/Source/Paths.ts
create mode 100644 News/Source/Readme.ts
create mode 100644 News/deno.json
create mode 100644 News/deno.lock
diff --git a/News/Imports.json b/News/Imports.json
new file mode 100644
index 0000000..ec67ecd
--- /dev/null
+++ b/News/Imports.json
@@ -0,0 +1,10 @@
+{
+ "imports" : {
+
+ "Chunk" : "https://deno.land/std@0.171.0/collections/chunk.ts" ,
+ "YAML" : "https://deno.land/std@0.171.0/encoding/yaml.ts" ,
+ "Path" : "https://deno.land/std@0.171.0/path/mod.ts" ,
+
+ "Paths" : "./Source/Paths.ts"
+ }
+}
diff --git a/News/Source/App.ts b/News/Source/App.ts
new file mode 100644
index 0000000..12273ed
--- /dev/null
+++ b/News/Source/App.ts
@@ -0,0 +1,21 @@
+
+import { insertNews } from './Readme.ts'
+import * as Paths from 'Paths'
+
+
+const
+ { writeTextFile, readTextFile } = Deno ,
+ { log } = console ;
+
+
+log(`๐ Inserting updated News`);
+
+
+const readme = await readTextFile(Paths.ReadMe);
+
+const updated = await insertNews(readme);
+
+await writeTextFile(Paths.ReadMe,updated);
+
+
+log(`๐ Finished news insertion`);
\ No newline at end of file
diff --git a/News/Source/Content.ts b/News/Source/Content.ts
new file mode 100644
index 0000000..ba5f246
--- /dev/null
+++ b/News/Source/Content.ts
@@ -0,0 +1,93 @@
+
+import { loadNews } from './News.ts'
+import { chunk } from 'Chunk'
+
+
+const { log } = console;
+
+
+const Fill = '-'.repeat(34);
+
+const Mark = ``;
+
+
+const Space = 'โ';
+
+
+const indent = ( line ) =>
+ `${ Space.repeat(3) }${ line }`
+
+const trim = ( line ) =>
+ line.trim();
+
+
+const link = /(\[[\S\s]+?\])/g
+
+
+interface News {
+
+ title : News
+}
+
+
+function toPanel ( news : News ){
+
+ const { links } = news;
+
+ const insertLinks = ( line ) =>
+ line.replaceAll(link,( text ) => {
+
+ const name = text
+ .slice(1,-1);
+
+ const url = links[name] ?? '#';
+
+ return `${ name }`
+ })
+
+
+ let { title , lines } = news;
+
+ lines = lines
+ .split('\n')
+ .map(trim);
+
+ lines.unshift(`${ title }`,'');
+
+ lines = lines
+ .map(indent)
+ .map(insertLinks)
+ .join('
');
+
+ return [
+ `${ Space }
` ,
+ lines ,
+ `
${ Space.repeat(80) }`
+ ].join('')
+}
+
+
+export async function compileNews (){
+
+ const articles = await loadNews();
+
+ log(`๐ Found ${ articles.length } news articles`)
+
+ const panels = articles
+ .map(toPanel);
+
+ const news = chunk(panels,2)
+ .map(( pair ) => pair.join(Space.repeat(5)))
+ .join('
');
+
+ const items = [
+ Mark ,
+ '
' , + news , + '' , + Mark + ] + + return items + .join('\n \n') +} diff --git a/News/Source/News.ts b/News/Source/News.ts new file mode 100644 index 0000000..e7fe51b --- /dev/null +++ b/News/Source/News.ts @@ -0,0 +1,13 @@ + +import { parse } from 'YAML' +import { News } from 'Paths' + +const { readTextFile } = Deno; + + +export async function loadNews (){ + + const yaml = await readTextFile(News); + + return parse(yaml) ?? [] +} \ No newline at end of file diff --git a/News/Source/Paths.ts b/News/Source/Paths.ts new file mode 100644 index 0000000..01ea581 --- /dev/null +++ b/News/Source/Paths.ts @@ -0,0 +1,18 @@ + +import { fromFileUrl , dirname , join } from 'Path' + + +const { url } = import.meta; + +const folder = + dirname(fromFileUrl(url)); + +const repository = + join(folder,'..','..'); + + +export const News = + join(repository,'News','Data','News.yaml'); + +export const ReadMe = + join(repository,'profile','README.md'); diff --git a/News/Source/Readme.ts b/News/Source/Readme.ts new file mode 100644 index 0000000..eeb6762 --- /dev/null +++ b/News/Source/Readme.ts @@ -0,0 +1,19 @@ + +import { compileNews } from './Content.ts' + + +const + content = `[\\s\\S]+?` , + marker = `` , + pattern = `${ marker }(${ content })${ marker }` ; + + +export async function insertNews ( readme : string ) : string { + + const news = await compileNews(); + + return readme.replace( + new RegExp(pattern,'im') , + () => news + ) +} \ No newline at end of file diff --git a/News/deno.json b/News/deno.json new file mode 100644 index 0000000..6a3ce4d --- /dev/null +++ b/News/deno.json @@ -0,0 +1,8 @@ +{ + "importMap" : "Imports.json" , + + "tasks" : { + "develop" : "deno run --watch=Source,Data --allow-read=Data,../profile/README.md --allow-write=../profile/README.md Source/App.ts" , + "update" : "deno run --allow-read=Data --allow-write=../profile/README.md Source/App.ts" + } +} diff --git a/News/deno.lock b/News/deno.lock new file mode 100644 index 0000000..0abfed4 --- /dev/null +++ b/News/deno.lock @@ -0,0 +1,120 @@ +{ + "version": "2", + "remote": { + "https://deno.land/std@0.168.0/_util/asserts.ts": "d0844e9b62510f89ce1f9878b046f6a57bf88f208a10304aab50efcb48365272", + "https://deno.land/std@0.168.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934", + "https://deno.land/std@0.168.0/bytes/bytes_list.ts": "aba5e2369e77d426b10af1de0dcc4531acecec27f9b9056f4f7bfbf8ac147ab4", + "https://deno.land/std@0.168.0/bytes/concat.ts": "97a1274e117510ffffc9499c4debb9541e408732bab2e0ca624869ae13103c10", + "https://deno.land/std@0.168.0/bytes/copy.ts": "d14a58f188a997ee0d2ba696d0c82a42f4fb4b6705e90a4238b77d7644dae24c", + "https://deno.land/std@0.168.0/encoding/_yaml/dumper/dumper.ts": "5bd334372608a1aec7a2343705930889d4048f57a2c4d398f1d6d75996ecd0d3", + "https://deno.land/std@0.168.0/encoding/_yaml/dumper/dumper_state.ts": "3c1bc8519c1832f0f136856881b97f0b42f64b7968767dbc36b8b0b6cae963dc", + "https://deno.land/std@0.168.0/encoding/_yaml/error.ts": "6ca899f6d86c6979bce6d7c3a6a8e2a360b09d8b0f55d2e649bd1233604fb7c9", + "https://deno.land/std@0.168.0/encoding/_yaml/loader/loader.ts": "db200890459e9490b21d8ce657d9566327e1d1d20ed493393a1f04a51516436c", + "https://deno.land/std@0.168.0/encoding/_yaml/loader/loader_state.ts": "59124e56d864274ce4043dca8bf63e937c6e960e4ad120465e424b38f3469b2d", + "https://deno.land/std@0.168.0/encoding/_yaml/mark.ts": "7f67f43755b2602fefe52012eb3ab627880da97edd0f6c00f916ceb2ddb1b5d1", + "https://deno.land/std@0.168.0/encoding/_yaml/parse.ts": "f0c9b19957b78003e268cea886451d9eb5a71645308c1e64db05efb669ffb114", + "https://deno.land/std@0.168.0/encoding/_yaml/schema.ts": "db295ea6079fce9c38f4ee2ff1233c65db598b35b379551e445b558534b2e1fd", + "https://deno.land/std@0.168.0/encoding/_yaml/schema/core.ts": "bcb47a389d596369fbfccf73a6b221ac3ca5440149b4f6df1e707f2efc6854ef", + "https://deno.land/std@0.168.0/encoding/_yaml/schema/default.ts": "8b6bd9cb1cab07a3397e1cc3843edba6ad40d1bd15687c1f56cd977da834d984", + "https://deno.land/std@0.168.0/encoding/_yaml/schema/extended.ts": "e8b8976bcfda4c339709fba75787168fbc780458e52b9729386284d33f57e21a", + "https://deno.land/std@0.168.0/encoding/_yaml/schema/failsafe.ts": "7254a9ca0dff8f30377098622812e55c4535aaf352fecb4ec51939e596bd74e7", + "https://deno.land/std@0.168.0/encoding/_yaml/schema/json.ts": "2205d0d3d3377de56f92ac0f4a82bf561ea0d7b86eb195c9f0c32c7c7871d78f", + "https://deno.land/std@0.168.0/encoding/_yaml/schema/mod.ts": "6769df6082aceee9849f71168f4353ba4f92e4a2a5a429a422debac13a593d4e", + "https://deno.land/std@0.168.0/encoding/_yaml/state.ts": "374b8dc170417beccb364e543b25eef73576196f4a526836bb3a621b87a204a3", + "https://deno.land/std@0.168.0/encoding/_yaml/stringify.ts": "ec15035c1928f96f4e42c0a0e9f3082512e294fd6b8ff6a0403a3ee9282f69aa", + "https://deno.land/std@0.168.0/encoding/_yaml/type.ts": "95ad0cdbab49343b1527ebc7762c477726c34702438375be6781b44e03e9fcfc", + "https://deno.land/std@0.168.0/encoding/_yaml/type/binary.ts": "04c00f4e5c491c0c09e894dfd4e2ce312d5cf4bb2a9eb04c4a05d3a6fb17bfbe", + "https://deno.land/std@0.168.0/encoding/_yaml/type/bool.ts": "95c030531adc3d66a59979dc25c2fcdeb1f58ae40a91d6f9e9a537af0fd2b5a4", + "https://deno.land/std@0.168.0/encoding/_yaml/type/float.ts": "60e26783fd0e4472bd222e028323ff68e0c5ff37a9871298c676335d8574cf87", + "https://deno.land/std@0.168.0/encoding/_yaml/type/function.ts": "b5642dda5ef8d47c0325a2b89a022cbce3be45ba21f8c4f9202364d967c6b3e5", + "https://deno.land/std@0.168.0/encoding/_yaml/type/int.ts": "166cdd73d9473373e0e65e9f65d5fd8e96cbd303b58535e2ff2e049bb73dbefb", + "https://deno.land/std@0.168.0/encoding/_yaml/type/map.ts": "78bf5447d2e3f79d59bf7cb63a76ca7797854a0d8e2154c6fd35775c4e5c8c61", + "https://deno.land/std@0.168.0/encoding/_yaml/type/merge.ts": "094b272e6087c6aef39cd9617fa6603ec934e507faad6c276d293e2734f9b083", + "https://deno.land/std@0.168.0/encoding/_yaml/type/mod.ts": "b2f267dc0b0296cf8f6109aa129e2cf6d1e1f8c59f8903f0330c18749eca2d3c", + "https://deno.land/std@0.168.0/encoding/_yaml/type/nil.ts": "1988843acab56e99e883cd047c40cc7fb799b6d335f541f022ae3b914abcbe35", + "https://deno.land/std@0.168.0/encoding/_yaml/type/omap.ts": "fd3f2f9a8ae634996da84d021353ac8bf4b41e714f2711159d756d0e2f3aabd1", + "https://deno.land/std@0.168.0/encoding/_yaml/type/pairs.ts": "90736f87b6e39a144205a235d8851f7bebf6bb3835fd03742c30253d5ecd7ec5", + "https://deno.land/std@0.168.0/encoding/_yaml/type/regexp.ts": "a9e70491fa7ede8689b933d81142aa7635a253733a4df626bd479c55cb64222e", + "https://deno.land/std@0.168.0/encoding/_yaml/type/seq.ts": "135f37a1b6dcb3688bc0dad0c9dc3a04370b1fc94267960586ea23877ffd3088", + "https://deno.land/std@0.168.0/encoding/_yaml/type/set.ts": "2937ac0e1ce8c121a4009e74568e341e2a380fdb5f41f16050ce2ca7537b2bd8", + "https://deno.land/std@0.168.0/encoding/_yaml/type/str.ts": "6420d3a0099d9fbc35861241b7dad65b800ff3909efe71ab71c895326187ab8d", + "https://deno.land/std@0.168.0/encoding/_yaml/type/timestamp.ts": "3db0667dd9bdc3b3f0e8596fff023e87bc9fca230a545bb67d0bf3b732c1c656", + "https://deno.land/std@0.168.0/encoding/_yaml/type/undefined.ts": "5b595082d064cf50a3345f5fdda8c02beb0768e9d97d4bd4c53ac81a9f94e185", + "https://deno.land/std@0.168.0/encoding/_yaml/utils.ts": "c7e6bf055b08fffe700c7cbdfa2939cab7b9676ff75b6dc98d72d41b3b173d37", + "https://deno.land/std@0.168.0/encoding/yaml.ts": "42baa442cb37a7e1f5d1aa5256ba988d139fe7bb2940151d8ed689be0ea67ce9", + "https://deno.land/std@0.168.0/io/buf_reader.ts": "6c0eb067040a9931be2d24de50f56e67b10e3ff69d5344575df06caddf551417", + "https://deno.land/std@0.168.0/io/buf_writer.ts": "b1ee5325cec3386596c67b1c7510bfc7e42b2f505060fe2e9d6536cdefdbb30c", + "https://deno.land/std@0.168.0/io/buffer.ts": "04e4d9a7bffffeddd75df7da795001871857d83f8e7772e6a3eee9d174f33d38", + "https://deno.land/std@0.168.0/io/read_delim.ts": "6bff17d31730eeab402633ee53701ac16e7b575a343c432acf7bd61bd649fd05", + "https://deno.land/std@0.168.0/io/read_lines.ts": "51e2841394effe1473f588de2a87d62b1c2deb63ce869115506324e228f9e67b", + "https://deno.land/std@0.168.0/io/read_string_delim.ts": "70b20eebd853269252d4a833834a2677b711f216842709d11005ba291d822a0a", + "https://deno.land/std@0.168.0/io/types.d.ts": "790d3a3fa6b7f298d4cfbcf8bfd9d4be595c1b1acaa3eebb3009177df98bf93c", + "https://deno.land/std@0.168.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", + "https://deno.land/std@0.168.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", + "https://deno.land/std@0.168.0/path/_util.ts": "d16be2a16e1204b65f9d0dfc54a9bc472cafe5f4a190b3c8471ec2016ccd1677", + "https://deno.land/std@0.168.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", + "https://deno.land/std@0.168.0/path/glob.ts": "81cc6c72be002cd546c7a22d1f263f82f63f37fe0035d9726aa96fc8f6e4afa1", + "https://deno.land/std@0.168.0/path/mod.ts": "cf7cec7ac11b7048bb66af8ae03513e66595c279c65cfa12bfc07d9599608b78", + "https://deno.land/std@0.168.0/path/posix.ts": "b859684bc4d80edfd4cad0a82371b50c716330bed51143d6dcdbe59e6278b30c", + "https://deno.land/std@0.168.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", + "https://deno.land/std@0.168.0/path/win32.ts": "7cebd2bda6657371adc00061a1d23fdd87bcdf64b4843bb148b0b24c11b40f69", + "https://deno.land/std@0.171.0/_util/asserts.ts": "178dfc49a464aee693a7e285567b3d0b555dc805ff490505a8aae34f9cfb1462", + "https://deno.land/std@0.171.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3", + "https://deno.land/std@0.171.0/bytes/bytes_list.ts": "b4cbdfd2c263a13e8a904b12d082f6177ea97d9297274a4be134e989450dfa6a", + "https://deno.land/std@0.171.0/bytes/concat.ts": "d26d6f3d7922e6d663dacfcd357563b7bf4a380ce5b9c2bbe0c8586662f25ce2", + "https://deno.land/std@0.171.0/bytes/copy.ts": "939d89e302a9761dcf1d9c937c7711174ed74c59eef40a1e4569a05c9de88219", + "https://deno.land/std@0.171.0/collections/chunk.ts": "541f4b537109163f859e7b2e2ff6245669cf4d7feaeae9674b01e1acf3929291", + "https://deno.land/std@0.171.0/encoding/_yaml/dumper/dumper.ts": "49053c293a2250b33f2efc0ce3973280c6dc3bc0b41397af3863b5f03340e01b", + "https://deno.land/std@0.171.0/encoding/_yaml/dumper/dumper_state.ts": "975a3702752a29251c5746206507dfebbfede60dd2c0dec161dc22633fbc6085", + "https://deno.land/std@0.171.0/encoding/_yaml/error.ts": "e60ab51d7c0253cf0d1cf7d445202e8e3da5c77aae0032071ba7400121c281b4", + "https://deno.land/std@0.171.0/encoding/_yaml/loader/loader.ts": "6c59f60faaf78d73db0e016293f4bfed19e6356d7064230d07d6b68a65a1df5d", + "https://deno.land/std@0.171.0/encoding/_yaml/loader/loader_state.ts": "fcc82fcdf167acb0e9e5e32b32682e58b45f2d44210bf685794797ccb5621232", + "https://deno.land/std@0.171.0/encoding/_yaml/mark.ts": "0027d6f62a70a6c64b85bd1751ddf1646ea97edcefbf5bea1706d5e519f4e34f", + "https://deno.land/std@0.171.0/encoding/_yaml/parse.ts": "63e79582e07145ca1d3205d1ac72b82bf5ce14159dabae195abe7e36de8111bd", + "https://deno.land/std@0.171.0/encoding/_yaml/schema.ts": "0833c75c59bf72c8a8f96f6c0615bcd98d23fdd9b076657f42b5c1a4f9d972b0", + "https://deno.land/std@0.171.0/encoding/_yaml/schema/core.ts": "366f56673336ba24f5723c04319efcc7471be5f55d5f8d95c9b4a38ec233d4c6", + "https://deno.land/std@0.171.0/encoding/_yaml/schema/default.ts": "96e9ed6ead36f53a0832c542fc9b8cca7f8b4a67c1c8424e1423a39ee7154db7", + "https://deno.land/std@0.171.0/encoding/_yaml/schema/extended.ts": "f9bd75c79ebdfb92a8e167488b6bde7113a31b8fabe20ad7eed0904fba11bcd2", + "https://deno.land/std@0.171.0/encoding/_yaml/schema/failsafe.ts": "cddcbf0258bbe0cd77ca10e2f5aec13439f50d4068f96aab08ca2d64496dabe8", + "https://deno.land/std@0.171.0/encoding/_yaml/schema/json.ts": "c86905dfb1b6c4633750bfbb5bd529a30be5c08287ab7eb6694390b40e276487", + "https://deno.land/std@0.171.0/encoding/_yaml/schema/mod.ts": "051f93dd97a15aaad2da62bd24627e8fd2f02fb026d21567d924b720d606f078", + "https://deno.land/std@0.171.0/encoding/_yaml/state.ts": "ef03d55ec235d48dcfbecc0ab3ade90bfae69a61094846e08003421c2cf5cfc6", + "https://deno.land/std@0.171.0/encoding/_yaml/stringify.ts": "426b73e4dbaeed26ed855add3862786d7e374bd4c59e5e1bd9a6fcd5082be3c7", + "https://deno.land/std@0.171.0/encoding/_yaml/type.ts": "5ded5472a0f17a219ac3b0e90d96dc8472a68654a40258a31e03a6c6297b6788", + "https://deno.land/std@0.171.0/encoding/_yaml/type/binary.ts": "935d39794420ac3718d26716192239de6a53566c6f2ba5010e8ed26936b94a89", + "https://deno.land/std@0.171.0/encoding/_yaml/type/bool.ts": "1c99cfbaa94b022575b636a73e1549569b26fc6bbff2cd5e539aa77b49bdf303", + "https://deno.land/std@0.171.0/encoding/_yaml/type/float.ts": "f60ad19b27050add694bfc255b7efef27103f047861aa657823ff3f6853bad11", + "https://deno.land/std@0.171.0/encoding/_yaml/type/function.ts": "65a37f6bef43ef141854ee48a1058d9c9c4c80ed6eed6cd35608329a6957e27a", + "https://deno.land/std@0.171.0/encoding/_yaml/type/int.ts": "892f59bb7b2dbd64dd9b643c17441af95c0b962ad027e454cb84a68864787b86", + "https://deno.land/std@0.171.0/encoding/_yaml/type/map.ts": "92e647a6aec0dc184ea4b039a77a15883b54da754311189c595b43f6aaa50030", + "https://deno.land/std@0.171.0/encoding/_yaml/type/merge.ts": "8192bf3e4d637f32567917f48bb276043da9cf729cf594e5ec191f7cd229337e", + "https://deno.land/std@0.171.0/encoding/_yaml/type/mod.ts": "060e2b3d38725094b77ea3a3f05fc7e671fced8e67ca18e525be98c4aa8f4bbb", + "https://deno.land/std@0.171.0/encoding/_yaml/type/nil.ts": "606e8f0c44d73117c81abec822f89ef81e40f712258c74f186baa1af659b8887", + "https://deno.land/std@0.171.0/encoding/_yaml/type/omap.ts": "fbd5da9970c211335ff7c8fa11e9c5e9256e568d52418ac237d1538c5cb0d5e6", + "https://deno.land/std@0.171.0/encoding/_yaml/type/pairs.ts": "ea487a44c0ae64d8d952779fa1cb5fa0a12f32a0b5d3d1e8c1f06f446448427c", + "https://deno.land/std@0.171.0/encoding/_yaml/type/regexp.ts": "672000d22a1062d61577d30b218c28f5cb1d039a7a60079fdde6a4e558d5ca51", + "https://deno.land/std@0.171.0/encoding/_yaml/type/seq.ts": "39b28f7c7aa41263c5c42cab9d184f03555e9ba19493766afc0c0c325a9ac49f", + "https://deno.land/std@0.171.0/encoding/_yaml/type/set.ts": "0e30a9f750306b514c8ae9869d1ac2548d57beab55b33e85ea9673ca0a08264c", + "https://deno.land/std@0.171.0/encoding/_yaml/type/str.ts": "a67a3c6e429d95041399e964015511779b1130ea5889fa257c48457bd3446e31", + "https://deno.land/std@0.171.0/encoding/_yaml/type/timestamp.ts": "706ea80a76a73e48efaeb400ace087da1f927647b53ad6f754f4e06d51af087f", + "https://deno.land/std@0.171.0/encoding/_yaml/type/undefined.ts": "94a316ca450597ccbc6750cbd79097ad0d5f3a019797eed3c841a040c29540ba", + "https://deno.land/std@0.171.0/encoding/_yaml/utils.ts": "26b311f0d42a7ce025060bd6320a68b50e52fd24a839581eb31734cd48e20393", + "https://deno.land/std@0.171.0/encoding/yaml.ts": "02571d1bbbcfd7c5647789cee872ecf9c1c470e1b1a40948ed219fb661e19d87", + "https://deno.land/std@0.171.0/io/buf_reader.ts": "90a7adcb3638d8e1361695cdf844d58bcd97c41711dc6f9f8acc0626ebe097f5", + "https://deno.land/std@0.171.0/io/buf_writer.ts": "759c69d304b04d2909976f2a03a24a107276fbd81ed13593c5c2d43d104b52f3", + "https://deno.land/std@0.171.0/io/buffer.ts": "24abd4a65403ca3fdffcb6d3f985b0285adfd785f1311ce681708a21126776ad", + "https://deno.land/std@0.171.0/io/read_delim.ts": "7e102c66f00a118fa1e1ccd4abb080496f43766686907fd8b9522fdf85443586", + "https://deno.land/std@0.171.0/io/read_lines.ts": "baee9e35034f2fdfccf63bc24b7e3cb45aa1c1c5de26d178f7bcbc572e87772f", + "https://deno.land/std@0.171.0/io/read_string_delim.ts": "46eb0c9db3547caf8c759631effa200bbe48924f9b34f41edc627bde36cee52d", + "https://deno.land/std@0.171.0/path/_constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0", + "https://deno.land/std@0.171.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b", + "https://deno.land/std@0.171.0/path/_util.ts": "86c2375a996c1931b2f2ac71fefd5ddf0cf0e579fa4ab12d3e4c552d4223b8d8", + "https://deno.land/std@0.171.0/path/common.ts": "ee7505ab01fd22de3963b64e46cff31f40de34f9f8de1fff6a1bd2fe79380000", + "https://deno.land/std@0.171.0/path/glob.ts": "d479e0a695621c94d3fd7fe7abd4f9499caf32a8de13f25073451c6ef420a4e1", + "https://deno.land/std@0.171.0/path/mod.ts": "4b83694ac500d7d31b0cdafc927080a53dc0c3027eb2895790fb155082b0d232", + "https://deno.land/std@0.171.0/path/posix.ts": "2ecc259e6f34013889b7638ff90339a82d8178f629155761ce6001e41af55a43", + "https://deno.land/std@0.171.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1", + "https://deno.land/std@0.171.0/path/win32.ts": "99170a0eb0e2b1ce41499c1e86bb55320cb6606299ad947f57ee0a291cdb93d5", + "https://deno.land/std@0.171.0/types.d.ts": "220ed56662a0bd393ba5d124aa6ae2ad36a00d2fcbc0e8666a65f4606aaa9784" + } +} From 05ac5a81d7385c4e91c6fbc1f73ae7bdf4fef357 Mon Sep 17 00:00:00 2001 From: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Fri, 6 Jan 2023 15:39:09 -0500 Subject: [PATCH 03/12] Added Updater Workflow --- .github/workflows/News.yml | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/News.yml diff --git a/.github/workflows/News.yml b/.github/workflows/News.yml new file mode 100644 index 0000000..7006b2f --- /dev/null +++ b/.github/workflows/News.yml @@ -0,0 +1,42 @@ + +name : Update News Section + +on : + workflow_dispatch : + + +concurrency: + + cancel-in-progress : true + group : news + + +jobs : + Build : + + runs-on : ubuntu-latest + + steps : + + - name : Checkout + uses : actions/checkout@v3 + + - name : Setup Deno + uses : denoland/setup-deno@v1 + with : + + deno-version : v1.29 + + - name : Goto Updater + run : cd News + + - name : Run Updater + run : deno task build + + - name : Commit Page + uses : EndBug/add-and-commit@v9 + with : + + default_author : github_actor + message : Updated News Section + add : profile/README.md From b27797ba187c6e4b4b5aa883429cad725904be2f Mon Sep 17 00:00:00 2001 From: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Fri, 6 Jan 2023 15:39:40 -0500 Subject: [PATCH 04/12] Added Example News --- News/Data/News.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++++ profile/README.md | 17 +++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 News/Data/News.yaml diff --git a/News/Data/News.yaml b/News/Data/News.yaml new file mode 100644 index 0000000..c999b96 --- /dev/null +++ b/News/Data/News.yaml @@ -0,0 +1,53 @@ + +# +# News Articles +# ============= +# +# Structure: +# ---------- +# +# - title :
+ +โFrom 4ba3a21633fa99241a8f2c600d43cf436feae083 Mon Sep 17 00:00:00 2001 From: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Fri, 6 Jan 2023 15:55:17 -0500 Subject: [PATCH 07/12] Made Workflow Watch News.yaml --- .github/workflows/News.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/News.yml b/.github/workflows/News.yml index 2a92945..6b424f5 100644 --- a/.github/workflows/News.yml +++ b/.github/workflows/News.yml @@ -4,6 +4,16 @@ name : Update News Section on : workflow_dispatch : + push : + + branches : + + - 'main' + + paths : + + - 'News/Data/News.yaml' + concurrency: From 3f661d8ec88f7fb0111f77b6f4df49c9ec3db3c8 Mon Sep 17 00:00:00 2001 From: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Sat, 21 Jan 2023 05:42:48 -0500 Subject: [PATCH 08/12] Replaced With News-Section Action --- .github/.News.yml | 32 +++++++ .github/workflows/News.yml | 34 +++---- News/Imports.json | 10 --- News/{Data/News.yaml => Overview.yaml} | 0 News/Source/App.ts | 21 ----- News/Source/Content.ts | 93 ------------------- News/Source/News.ts | 13 --- News/Source/Paths.ts | 18 ---- News/Source/Readme.ts | 19 ---- News/deno.json | 8 -- News/deno.lock | 120 ------------------------- 11 files changed, 51 insertions(+), 317 deletions(-) create mode 100644 .github/.News.yml delete mode 100644 News/Imports.json rename News/{Data/News.yaml => Overview.yaml} (100%) delete mode 100644 News/Source/App.ts delete mode 100644 News/Source/Content.ts delete mode 100644 News/Source/News.ts delete mode 100644 News/Source/Paths.ts delete mode 100644 News/Source/Readme.ts delete mode 100644 News/deno.json delete mode 100644 News/deno.lock diff --git a/.github/.News.yml b/.github/.News.yml new file mode 100644 index 0000000..29d695d --- /dev/null +++ b/.github/.News.yml @@ -0,0 +1,32 @@ +# # +# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ # +# โ โ # +# โ ๏ผญ๏ฝ๏ฝ๏ฝ๏ฝ ๏ฝ๏ผค๏ฝ๏ฝ๏ฝ๏ผ๏ผฎ๏ฝ ๏ฝ๏ฝ โ # +# โ Action Settings โ # +# โ โ # +# โ ๐ News sections generated from your input. โ # +# โ โ # +# โ https://github.com/MarkedDown/News โ # +# โ โ # +# โ โ # +# โ Configuration โ # +# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโจ # +# โ โ # +# โ A configuration describes from where data โ # +# โ should be loaded and where to inject it. โ # +# โ โ # +# โ โ # +# โ Example โ # +# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโจ # +# โ โ # +# โ - Inject : Example/README.md โ # +# โ Input : Example/News.yaml โ # +# โ โ # +# โ โ # +# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ # +# # + + +- Inject : profile/README.md + Input : News/Overview.yaml + diff --git a/.github/workflows/News.yml b/.github/workflows/News.yml index 6b424f5..a571665 100644 --- a/.github/workflows/News.yml +++ b/.github/workflows/News.yml @@ -1,20 +1,28 @@ name : Update News Section -on : - workflow_dispatch : +on: - push : + workflow_dispatch: - branches : - - - 'main' + pull_request: + + branches : [ main ] + + paths : + - 'News/**' + + push: + + branches : [ main ] + paths : - - 'News/Data/News.yaml' + - 'News/**' + concurrency: cancel-in-progress : true @@ -31,17 +39,13 @@ jobs : - name : Checkout uses : actions/checkout@v3 - - name : Setup Deno - uses : denoland/setup-deno@v1 + - name : Run News Builder + uses : MarkedDown/News@1.0.0 with : - deno-version : v1.29 - - - name : Run Updater - working-directory: ./News - run : deno task update + config : .github/.News.yml - - name : Commit Page + - name : Commit Changes uses : EndBug/add-and-commit@v9 with : diff --git a/News/Imports.json b/News/Imports.json deleted file mode 100644 index ec67ecd..0000000 --- a/News/Imports.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "imports" : { - - "Chunk" : "https://deno.land/std@0.171.0/collections/chunk.ts" , - "YAML" : "https://deno.land/std@0.171.0/encoding/yaml.ts" , - "Path" : "https://deno.land/std@0.171.0/path/mod.ts" , - - "Paths" : "./Source/Paths.ts" - } -} diff --git a/News/Data/News.yaml b/News/Overview.yaml similarity index 100% rename from News/Data/News.yaml rename to News/Overview.yaml diff --git a/News/Source/App.ts b/News/Source/App.ts deleted file mode 100644 index 12273ed..0000000 --- a/News/Source/App.ts +++ /dev/null @@ -1,21 +0,0 @@ - -import { insertNews } from './Readme.ts' -import * as Paths from 'Paths' - - -const - { writeTextFile, readTextFile } = Deno , - { log } = console ; - - -log(`๐ Inserting updated News`); - - -const readme = await readTextFile(Paths.ReadMe); - -const updated = await insertNews(readme); - -await writeTextFile(Paths.ReadMe,updated); - - -log(`๐ Finished news insertion`); \ No newline at end of file diff --git a/News/Source/Content.ts b/News/Source/Content.ts deleted file mode 100644 index ba5f246..0000000 --- a/News/Source/Content.ts +++ /dev/null @@ -1,93 +0,0 @@ - -import { loadNews } from './News.ts' -import { chunk } from 'Chunk' - - -const { log } = console; - - -const Fill = '-'.repeat(34); - -const Mark = ``; - - -const Space = 'โ'; - - -const indent = ( line ) => - `${ Space.repeat(3) }${ line }` - -const trim = ( line ) => - line.trim(); - - -const link = /(\[[\S\s]+?\])/g - - -interface News { - - title : News -} - - -function toPanel ( news : News ){ - - const { links } = news; - - const insertLinks = ( line ) => - line.replaceAll(link,( text ) => { - - const name = text - .slice(1,-1); - - const url = links[name] ?? '#'; - - return `${ name }` - }) - - - let { title , lines } = news; - - lines = lines - .split('\n') - .map(trim); - - lines.unshift(`${ title }`,''); - - lines = lines - .map(indent) - .map(insertLinks) - .join('
โโโ๐ Backend Feature
โโโ
โโโAllow package authors to transfer
โโโtheir ownership to another user.
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ๐ฌ Testing
โโโ
โโโThis is a test message!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโ๐ฌ Testing
โโโ
โโโThis is a test message!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ๐ Merry Christmas
โโโ
โโโfrom all of us here at Pulsar edit!
โโโWe wish everyone a great new year!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ + +
' , - news , - '' , - Mark - ] - - return items - .join('\n \n') -} diff --git a/News/Source/News.ts b/News/Source/News.ts deleted file mode 100644 index e7fe51b..0000000 --- a/News/Source/News.ts +++ /dev/null @@ -1,13 +0,0 @@ - -import { parse } from 'YAML' -import { News } from 'Paths' - -const { readTextFile } = Deno; - - -export async function loadNews (){ - - const yaml = await readTextFile(News); - - return parse(yaml) ?? [] -} \ No newline at end of file diff --git a/News/Source/Paths.ts b/News/Source/Paths.ts deleted file mode 100644 index 01ea581..0000000 --- a/News/Source/Paths.ts +++ /dev/null @@ -1,18 +0,0 @@ - -import { fromFileUrl , dirname , join } from 'Path' - - -const { url } = import.meta; - -const folder = - dirname(fromFileUrl(url)); - -const repository = - join(folder,'..','..'); - - -export const News = - join(repository,'News','Data','News.yaml'); - -export const ReadMe = - join(repository,'profile','README.md'); diff --git a/News/Source/Readme.ts b/News/Source/Readme.ts deleted file mode 100644 index eeb6762..0000000 --- a/News/Source/Readme.ts +++ /dev/null @@ -1,19 +0,0 @@ - -import { compileNews } from './Content.ts' - - -const - content = `[\\s\\S]+?` , - marker = `` , - pattern = `${ marker }(${ content })${ marker }` ; - - -export async function insertNews ( readme : string ) : string { - - const news = await compileNews(); - - return readme.replace( - new RegExp(pattern,'im') , - () => news - ) -} \ No newline at end of file diff --git a/News/deno.json b/News/deno.json deleted file mode 100644 index 24fb093..0000000 --- a/News/deno.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "importMap" : "Imports.json" , - - "tasks" : { - "develop" : "deno run --watch=Source,Data --allow-read=Data,../profile/README.md --allow-write=../profile/README.md Source/App.ts" , - "update" : "deno run --allow-read=Data,../profile/README.md --allow-write=../profile/README.md Source/App.ts" - } -} diff --git a/News/deno.lock b/News/deno.lock deleted file mode 100644 index 0abfed4..0000000 --- a/News/deno.lock +++ /dev/null @@ -1,120 +0,0 @@ -{ - "version": "2", - "remote": { - "https://deno.land/std@0.168.0/_util/asserts.ts": "d0844e9b62510f89ce1f9878b046f6a57bf88f208a10304aab50efcb48365272", - "https://deno.land/std@0.168.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934", - "https://deno.land/std@0.168.0/bytes/bytes_list.ts": "aba5e2369e77d426b10af1de0dcc4531acecec27f9b9056f4f7bfbf8ac147ab4", - "https://deno.land/std@0.168.0/bytes/concat.ts": "97a1274e117510ffffc9499c4debb9541e408732bab2e0ca624869ae13103c10", - "https://deno.land/std@0.168.0/bytes/copy.ts": "d14a58f188a997ee0d2ba696d0c82a42f4fb4b6705e90a4238b77d7644dae24c", - "https://deno.land/std@0.168.0/encoding/_yaml/dumper/dumper.ts": "5bd334372608a1aec7a2343705930889d4048f57a2c4d398f1d6d75996ecd0d3", - "https://deno.land/std@0.168.0/encoding/_yaml/dumper/dumper_state.ts": "3c1bc8519c1832f0f136856881b97f0b42f64b7968767dbc36b8b0b6cae963dc", - "https://deno.land/std@0.168.0/encoding/_yaml/error.ts": "6ca899f6d86c6979bce6d7c3a6a8e2a360b09d8b0f55d2e649bd1233604fb7c9", - "https://deno.land/std@0.168.0/encoding/_yaml/loader/loader.ts": "db200890459e9490b21d8ce657d9566327e1d1d20ed493393a1f04a51516436c", - "https://deno.land/std@0.168.0/encoding/_yaml/loader/loader_state.ts": "59124e56d864274ce4043dca8bf63e937c6e960e4ad120465e424b38f3469b2d", - "https://deno.land/std@0.168.0/encoding/_yaml/mark.ts": "7f67f43755b2602fefe52012eb3ab627880da97edd0f6c00f916ceb2ddb1b5d1", - "https://deno.land/std@0.168.0/encoding/_yaml/parse.ts": "f0c9b19957b78003e268cea886451d9eb5a71645308c1e64db05efb669ffb114", - "https://deno.land/std@0.168.0/encoding/_yaml/schema.ts": "db295ea6079fce9c38f4ee2ff1233c65db598b35b379551e445b558534b2e1fd", - "https://deno.land/std@0.168.0/encoding/_yaml/schema/core.ts": "bcb47a389d596369fbfccf73a6b221ac3ca5440149b4f6df1e707f2efc6854ef", - "https://deno.land/std@0.168.0/encoding/_yaml/schema/default.ts": "8b6bd9cb1cab07a3397e1cc3843edba6ad40d1bd15687c1f56cd977da834d984", - "https://deno.land/std@0.168.0/encoding/_yaml/schema/extended.ts": "e8b8976bcfda4c339709fba75787168fbc780458e52b9729386284d33f57e21a", - "https://deno.land/std@0.168.0/encoding/_yaml/schema/failsafe.ts": "7254a9ca0dff8f30377098622812e55c4535aaf352fecb4ec51939e596bd74e7", - "https://deno.land/std@0.168.0/encoding/_yaml/schema/json.ts": "2205d0d3d3377de56f92ac0f4a82bf561ea0d7b86eb195c9f0c32c7c7871d78f", - "https://deno.land/std@0.168.0/encoding/_yaml/schema/mod.ts": "6769df6082aceee9849f71168f4353ba4f92e4a2a5a429a422debac13a593d4e", - "https://deno.land/std@0.168.0/encoding/_yaml/state.ts": "374b8dc170417beccb364e543b25eef73576196f4a526836bb3a621b87a204a3", - "https://deno.land/std@0.168.0/encoding/_yaml/stringify.ts": "ec15035c1928f96f4e42c0a0e9f3082512e294fd6b8ff6a0403a3ee9282f69aa", - "https://deno.land/std@0.168.0/encoding/_yaml/type.ts": "95ad0cdbab49343b1527ebc7762c477726c34702438375be6781b44e03e9fcfc", - "https://deno.land/std@0.168.0/encoding/_yaml/type/binary.ts": "04c00f4e5c491c0c09e894dfd4e2ce312d5cf4bb2a9eb04c4a05d3a6fb17bfbe", - "https://deno.land/std@0.168.0/encoding/_yaml/type/bool.ts": "95c030531adc3d66a59979dc25c2fcdeb1f58ae40a91d6f9e9a537af0fd2b5a4", - "https://deno.land/std@0.168.0/encoding/_yaml/type/float.ts": "60e26783fd0e4472bd222e028323ff68e0c5ff37a9871298c676335d8574cf87", - "https://deno.land/std@0.168.0/encoding/_yaml/type/function.ts": "b5642dda5ef8d47c0325a2b89a022cbce3be45ba21f8c4f9202364d967c6b3e5", - "https://deno.land/std@0.168.0/encoding/_yaml/type/int.ts": "166cdd73d9473373e0e65e9f65d5fd8e96cbd303b58535e2ff2e049bb73dbefb", - "https://deno.land/std@0.168.0/encoding/_yaml/type/map.ts": "78bf5447d2e3f79d59bf7cb63a76ca7797854a0d8e2154c6fd35775c4e5c8c61", - "https://deno.land/std@0.168.0/encoding/_yaml/type/merge.ts": "094b272e6087c6aef39cd9617fa6603ec934e507faad6c276d293e2734f9b083", - "https://deno.land/std@0.168.0/encoding/_yaml/type/mod.ts": "b2f267dc0b0296cf8f6109aa129e2cf6d1e1f8c59f8903f0330c18749eca2d3c", - "https://deno.land/std@0.168.0/encoding/_yaml/type/nil.ts": "1988843acab56e99e883cd047c40cc7fb799b6d335f541f022ae3b914abcbe35", - "https://deno.land/std@0.168.0/encoding/_yaml/type/omap.ts": "fd3f2f9a8ae634996da84d021353ac8bf4b41e714f2711159d756d0e2f3aabd1", - "https://deno.land/std@0.168.0/encoding/_yaml/type/pairs.ts": "90736f87b6e39a144205a235d8851f7bebf6bb3835fd03742c30253d5ecd7ec5", - "https://deno.land/std@0.168.0/encoding/_yaml/type/regexp.ts": "a9e70491fa7ede8689b933d81142aa7635a253733a4df626bd479c55cb64222e", - "https://deno.land/std@0.168.0/encoding/_yaml/type/seq.ts": "135f37a1b6dcb3688bc0dad0c9dc3a04370b1fc94267960586ea23877ffd3088", - "https://deno.land/std@0.168.0/encoding/_yaml/type/set.ts": "2937ac0e1ce8c121a4009e74568e341e2a380fdb5f41f16050ce2ca7537b2bd8", - "https://deno.land/std@0.168.0/encoding/_yaml/type/str.ts": "6420d3a0099d9fbc35861241b7dad65b800ff3909efe71ab71c895326187ab8d", - "https://deno.land/std@0.168.0/encoding/_yaml/type/timestamp.ts": "3db0667dd9bdc3b3f0e8596fff023e87bc9fca230a545bb67d0bf3b732c1c656", - "https://deno.land/std@0.168.0/encoding/_yaml/type/undefined.ts": "5b595082d064cf50a3345f5fdda8c02beb0768e9d97d4bd4c53ac81a9f94e185", - "https://deno.land/std@0.168.0/encoding/_yaml/utils.ts": "c7e6bf055b08fffe700c7cbdfa2939cab7b9676ff75b6dc98d72d41b3b173d37", - "https://deno.land/std@0.168.0/encoding/yaml.ts": "42baa442cb37a7e1f5d1aa5256ba988d139fe7bb2940151d8ed689be0ea67ce9", - "https://deno.land/std@0.168.0/io/buf_reader.ts": "6c0eb067040a9931be2d24de50f56e67b10e3ff69d5344575df06caddf551417", - "https://deno.land/std@0.168.0/io/buf_writer.ts": "b1ee5325cec3386596c67b1c7510bfc7e42b2f505060fe2e9d6536cdefdbb30c", - "https://deno.land/std@0.168.0/io/buffer.ts": "04e4d9a7bffffeddd75df7da795001871857d83f8e7772e6a3eee9d174f33d38", - "https://deno.land/std@0.168.0/io/read_delim.ts": "6bff17d31730eeab402633ee53701ac16e7b575a343c432acf7bd61bd649fd05", - "https://deno.land/std@0.168.0/io/read_lines.ts": "51e2841394effe1473f588de2a87d62b1c2deb63ce869115506324e228f9e67b", - "https://deno.land/std@0.168.0/io/read_string_delim.ts": "70b20eebd853269252d4a833834a2677b711f216842709d11005ba291d822a0a", - "https://deno.land/std@0.168.0/io/types.d.ts": "790d3a3fa6b7f298d4cfbcf8bfd9d4be595c1b1acaa3eebb3009177df98bf93c", - "https://deno.land/std@0.168.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.168.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.168.0/path/_util.ts": "d16be2a16e1204b65f9d0dfc54a9bc472cafe5f4a190b3c8471ec2016ccd1677", - "https://deno.land/std@0.168.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.168.0/path/glob.ts": "81cc6c72be002cd546c7a22d1f263f82f63f37fe0035d9726aa96fc8f6e4afa1", - "https://deno.land/std@0.168.0/path/mod.ts": "cf7cec7ac11b7048bb66af8ae03513e66595c279c65cfa12bfc07d9599608b78", - "https://deno.land/std@0.168.0/path/posix.ts": "b859684bc4d80edfd4cad0a82371b50c716330bed51143d6dcdbe59e6278b30c", - "https://deno.land/std@0.168.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.168.0/path/win32.ts": "7cebd2bda6657371adc00061a1d23fdd87bcdf64b4843bb148b0b24c11b40f69", - "https://deno.land/std@0.171.0/_util/asserts.ts": "178dfc49a464aee693a7e285567b3d0b555dc805ff490505a8aae34f9cfb1462", - "https://deno.land/std@0.171.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3", - "https://deno.land/std@0.171.0/bytes/bytes_list.ts": "b4cbdfd2c263a13e8a904b12d082f6177ea97d9297274a4be134e989450dfa6a", - "https://deno.land/std@0.171.0/bytes/concat.ts": "d26d6f3d7922e6d663dacfcd357563b7bf4a380ce5b9c2bbe0c8586662f25ce2", - "https://deno.land/std@0.171.0/bytes/copy.ts": "939d89e302a9761dcf1d9c937c7711174ed74c59eef40a1e4569a05c9de88219", - "https://deno.land/std@0.171.0/collections/chunk.ts": "541f4b537109163f859e7b2e2ff6245669cf4d7feaeae9674b01e1acf3929291", - "https://deno.land/std@0.171.0/encoding/_yaml/dumper/dumper.ts": "49053c293a2250b33f2efc0ce3973280c6dc3bc0b41397af3863b5f03340e01b", - "https://deno.land/std@0.171.0/encoding/_yaml/dumper/dumper_state.ts": "975a3702752a29251c5746206507dfebbfede60dd2c0dec161dc22633fbc6085", - "https://deno.land/std@0.171.0/encoding/_yaml/error.ts": "e60ab51d7c0253cf0d1cf7d445202e8e3da5c77aae0032071ba7400121c281b4", - "https://deno.land/std@0.171.0/encoding/_yaml/loader/loader.ts": "6c59f60faaf78d73db0e016293f4bfed19e6356d7064230d07d6b68a65a1df5d", - "https://deno.land/std@0.171.0/encoding/_yaml/loader/loader_state.ts": "fcc82fcdf167acb0e9e5e32b32682e58b45f2d44210bf685794797ccb5621232", - "https://deno.land/std@0.171.0/encoding/_yaml/mark.ts": "0027d6f62a70a6c64b85bd1751ddf1646ea97edcefbf5bea1706d5e519f4e34f", - "https://deno.land/std@0.171.0/encoding/_yaml/parse.ts": "63e79582e07145ca1d3205d1ac72b82bf5ce14159dabae195abe7e36de8111bd", - "https://deno.land/std@0.171.0/encoding/_yaml/schema.ts": "0833c75c59bf72c8a8f96f6c0615bcd98d23fdd9b076657f42b5c1a4f9d972b0", - "https://deno.land/std@0.171.0/encoding/_yaml/schema/core.ts": "366f56673336ba24f5723c04319efcc7471be5f55d5f8d95c9b4a38ec233d4c6", - "https://deno.land/std@0.171.0/encoding/_yaml/schema/default.ts": "96e9ed6ead36f53a0832c542fc9b8cca7f8b4a67c1c8424e1423a39ee7154db7", - "https://deno.land/std@0.171.0/encoding/_yaml/schema/extended.ts": "f9bd75c79ebdfb92a8e167488b6bde7113a31b8fabe20ad7eed0904fba11bcd2", - "https://deno.land/std@0.171.0/encoding/_yaml/schema/failsafe.ts": "cddcbf0258bbe0cd77ca10e2f5aec13439f50d4068f96aab08ca2d64496dabe8", - "https://deno.land/std@0.171.0/encoding/_yaml/schema/json.ts": "c86905dfb1b6c4633750bfbb5bd529a30be5c08287ab7eb6694390b40e276487", - "https://deno.land/std@0.171.0/encoding/_yaml/schema/mod.ts": "051f93dd97a15aaad2da62bd24627e8fd2f02fb026d21567d924b720d606f078", - "https://deno.land/std@0.171.0/encoding/_yaml/state.ts": "ef03d55ec235d48dcfbecc0ab3ade90bfae69a61094846e08003421c2cf5cfc6", - "https://deno.land/std@0.171.0/encoding/_yaml/stringify.ts": "426b73e4dbaeed26ed855add3862786d7e374bd4c59e5e1bd9a6fcd5082be3c7", - "https://deno.land/std@0.171.0/encoding/_yaml/type.ts": "5ded5472a0f17a219ac3b0e90d96dc8472a68654a40258a31e03a6c6297b6788", - "https://deno.land/std@0.171.0/encoding/_yaml/type/binary.ts": "935d39794420ac3718d26716192239de6a53566c6f2ba5010e8ed26936b94a89", - "https://deno.land/std@0.171.0/encoding/_yaml/type/bool.ts": "1c99cfbaa94b022575b636a73e1549569b26fc6bbff2cd5e539aa77b49bdf303", - "https://deno.land/std@0.171.0/encoding/_yaml/type/float.ts": "f60ad19b27050add694bfc255b7efef27103f047861aa657823ff3f6853bad11", - "https://deno.land/std@0.171.0/encoding/_yaml/type/function.ts": "65a37f6bef43ef141854ee48a1058d9c9c4c80ed6eed6cd35608329a6957e27a", - "https://deno.land/std@0.171.0/encoding/_yaml/type/int.ts": "892f59bb7b2dbd64dd9b643c17441af95c0b962ad027e454cb84a68864787b86", - "https://deno.land/std@0.171.0/encoding/_yaml/type/map.ts": "92e647a6aec0dc184ea4b039a77a15883b54da754311189c595b43f6aaa50030", - "https://deno.land/std@0.171.0/encoding/_yaml/type/merge.ts": "8192bf3e4d637f32567917f48bb276043da9cf729cf594e5ec191f7cd229337e", - "https://deno.land/std@0.171.0/encoding/_yaml/type/mod.ts": "060e2b3d38725094b77ea3a3f05fc7e671fced8e67ca18e525be98c4aa8f4bbb", - "https://deno.land/std@0.171.0/encoding/_yaml/type/nil.ts": "606e8f0c44d73117c81abec822f89ef81e40f712258c74f186baa1af659b8887", - "https://deno.land/std@0.171.0/encoding/_yaml/type/omap.ts": "fbd5da9970c211335ff7c8fa11e9c5e9256e568d52418ac237d1538c5cb0d5e6", - "https://deno.land/std@0.171.0/encoding/_yaml/type/pairs.ts": "ea487a44c0ae64d8d952779fa1cb5fa0a12f32a0b5d3d1e8c1f06f446448427c", - "https://deno.land/std@0.171.0/encoding/_yaml/type/regexp.ts": "672000d22a1062d61577d30b218c28f5cb1d039a7a60079fdde6a4e558d5ca51", - "https://deno.land/std@0.171.0/encoding/_yaml/type/seq.ts": "39b28f7c7aa41263c5c42cab9d184f03555e9ba19493766afc0c0c325a9ac49f", - "https://deno.land/std@0.171.0/encoding/_yaml/type/set.ts": "0e30a9f750306b514c8ae9869d1ac2548d57beab55b33e85ea9673ca0a08264c", - "https://deno.land/std@0.171.0/encoding/_yaml/type/str.ts": "a67a3c6e429d95041399e964015511779b1130ea5889fa257c48457bd3446e31", - "https://deno.land/std@0.171.0/encoding/_yaml/type/timestamp.ts": "706ea80a76a73e48efaeb400ace087da1f927647b53ad6f754f4e06d51af087f", - "https://deno.land/std@0.171.0/encoding/_yaml/type/undefined.ts": "94a316ca450597ccbc6750cbd79097ad0d5f3a019797eed3c841a040c29540ba", - "https://deno.land/std@0.171.0/encoding/_yaml/utils.ts": "26b311f0d42a7ce025060bd6320a68b50e52fd24a839581eb31734cd48e20393", - "https://deno.land/std@0.171.0/encoding/yaml.ts": "02571d1bbbcfd7c5647789cee872ecf9c1c470e1b1a40948ed219fb661e19d87", - "https://deno.land/std@0.171.0/io/buf_reader.ts": "90a7adcb3638d8e1361695cdf844d58bcd97c41711dc6f9f8acc0626ebe097f5", - "https://deno.land/std@0.171.0/io/buf_writer.ts": "759c69d304b04d2909976f2a03a24a107276fbd81ed13593c5c2d43d104b52f3", - "https://deno.land/std@0.171.0/io/buffer.ts": "24abd4a65403ca3fdffcb6d3f985b0285adfd785f1311ce681708a21126776ad", - "https://deno.land/std@0.171.0/io/read_delim.ts": "7e102c66f00a118fa1e1ccd4abb080496f43766686907fd8b9522fdf85443586", - "https://deno.land/std@0.171.0/io/read_lines.ts": "baee9e35034f2fdfccf63bc24b7e3cb45aa1c1c5de26d178f7bcbc572e87772f", - "https://deno.land/std@0.171.0/io/read_string_delim.ts": "46eb0c9db3547caf8c759631effa200bbe48924f9b34f41edc627bde36cee52d", - "https://deno.land/std@0.171.0/path/_constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0", - "https://deno.land/std@0.171.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b", - "https://deno.land/std@0.171.0/path/_util.ts": "86c2375a996c1931b2f2ac71fefd5ddf0cf0e579fa4ab12d3e4c552d4223b8d8", - "https://deno.land/std@0.171.0/path/common.ts": "ee7505ab01fd22de3963b64e46cff31f40de34f9f8de1fff6a1bd2fe79380000", - "https://deno.land/std@0.171.0/path/glob.ts": "d479e0a695621c94d3fd7fe7abd4f9499caf32a8de13f25073451c6ef420a4e1", - "https://deno.land/std@0.171.0/path/mod.ts": "4b83694ac500d7d31b0cdafc927080a53dc0c3027eb2895790fb155082b0d232", - "https://deno.land/std@0.171.0/path/posix.ts": "2ecc259e6f34013889b7638ff90339a82d8178f629155761ce6001e41af55a43", - "https://deno.land/std@0.171.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1", - "https://deno.land/std@0.171.0/path/win32.ts": "99170a0eb0e2b1ce41499c1e86bb55320cb6606299ad947f57ee0a291cdb93d5", - "https://deno.land/std@0.171.0/types.d.ts": "220ed56662a0bd393ba5d124aa6ae2ad36a00d2fcbc0e8666a65f4606aaa9784" - } -} From 24fc76b2dafcf705ac40bf993ba776dc57275769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=88=E3=83=88=E3=82=82?= <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Sat, 21 Jan 2023 05:44:12 -0500 Subject: [PATCH 09/12] Delete .editorconfig --- .editorconfig | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index a41c4fe..0000000 --- a/.editorconfig +++ /dev/null @@ -1,18 +0,0 @@ - -root = true - -[*] - -end_of_line = lf - -[*.{gitignore,json,yaml,ts,md}] - -trim_trailing_whitespace = true -insert_final_newline = true -indent_style = space -indent_size = 4 -charset = utf-8 - -[*.md] - -trim_trailing_whitespace = false \ No newline at end of file From 9b2f93bfdc79c9eeea6d6e36dc9cf9a79ecab5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=88=E3=83=88=E3=82=82?= <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Sat, 21 Jan 2023 05:45:48 -0500 Subject: [PATCH 10/12] Workflow Test --- News/Overview.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/News/Overview.yaml b/News/Overview.yaml index c999b96..2508aa8 100644 --- a/News/Overview.yaml +++ b/News/Overview.yaml @@ -33,7 +33,7 @@ Backend Feature : https://github.com/orgs/pulsar-edit/projects/2?pane=issue&itemId=17528685 -- title : ๐ฌ Testing +- title : ๐ฌ Testing2 lines : | This is a test message! From 6bd3310c330851444a1ece469435f9e0c1d5bb87 Mon Sep 17 00:00:00 2001 From: ElectronicsArchiver
-โFrom 66cbfba212fe0944e0873da11a13639acb81ffdb Mon Sep 17 00:00:00 2001 From: ElectronicsArchiver <85485984+ElectronicsArchiver@users.noreply.github.com> Date: Sat, 21 Jan 2023 09:03:17 -0500 Subject: [PATCH 12/12] Fixed Example --- News/Overview.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/News/Overview.yaml b/News/Overview.yaml index 2508aa8..1379a50 100644 --- a/News/Overview.yaml +++ b/News/Overview.yaml @@ -18,9 +18,9 @@ # Warning: # -------- # -# Lines shouldn't be longer than 50 characters. +# Lines shouldn't be longer than 40 characters. # -##########################################################| Stop Here +#######|<-------------------------------------->| Stop Here # - title : ๐ [Backend Feature]
โโโ๐ Backend Feature
โโโ
โโโAllow package authors to transfer
โโโtheir ownership to another user.
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ๐ฌ Testing
โโโ
โโโThis is a test message!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโ๐ฌ Testing
โโโ
โโโThis is a test message!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ๐ Merry Christmas
โโโ
โโโfrom all of us here at Pulsar edit!
โโโWe wish everyone a great new year!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ +โ
โโโ๐ Backend Feature
โโโ
โโโAllow package authors to transfer
โโโtheir ownership to another user.
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ๐ฌ Testing2
โโโ
โโโThis is a test message!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโ๐ฌ Testing
โโโ
โโโThis is a test message!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโ๐ Merry Christmas
โโโ
โโโfrom all of us here at Pulsar edit!
โโโWe wish everyone a great new year!
โโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ