Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix record series #85

Merged
merged 12 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 1 addition & 36 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,7 @@ module.exports = {
'@rushstack/security/no-unsafe-regexp': 1,
// STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json
'@typescript-eslint/adjacent-overload-signatures': 1,
// STANDARDIZED BY: @typescript-eslint\eslint-plugin\dist\configs\recommended.json
//
// CONFIGURATION: By default, these are banned: String, Boolean, Number, Object, Symbol
'@typescript-eslint/ban-types': [
1,
{
extendDefaults: false,
types: {
String: {
message: "Use 'string' instead",
fixWith: 'string',
},
Boolean: {
message: "Use 'boolean' instead",
fixWith: 'boolean',
},
Number: {
message: "Use 'number' instead",
fixWith: 'number',
},
Object: {
message:
"Use 'object' instead, or else define a proper TypeScript type:",
},
Symbol: {
message: "Use 'symbol' instead",
fixWith: 'symbol',
},
Function: {
message:
"The 'Function' type accepts any function-like value.\nIt provides no type safety when calling the function, which can be a common source of bugs.\nIt also accepts things like class declarations, which will throw at runtime as they will not be called with 'new'.\nIf you are expecting the function to accept certain arguments, you should explicitly define the function shape.",
},
},
},
],
// RATIONALE: Code is more readable when the type of every variable is immediately obvious.
// RATIONALE: Code is more readable when the type of every variable is immediately obvious.
// Even if the compiler may be able to infer a type, this inference will be unavailable
// to a person who is reviewing a GitHub diff. This rule makes writing code harder,
// but writing code is a much less important activity than reading it.
Expand Down
40 changes: 28 additions & 12 deletions .github/workflows/jekyll_gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,51 @@ concurrency:
jobs:
# Build job
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true

- name: Install dependencies
working-directory: ./jekyll_files
run: bundle install

- name: Move LaserficheSharePointIntegrationAppManifest.json
run: cp ./UserDocuments/LaserficheSharePointIntegrationAppManifest.json ./jekyll_files/docs/assets/LaserficheSharePointIntegrationAppManifest.json

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./jekyll_files
destination: ./_site
working-directory: ./jekyll_files
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./jekyll_files/_site

# Deployment job
deploy:
if: ${{ github.run_attempt != 1 }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- name: Tag commit
uses: rickstaa/action-create-tag@v1
Expand All @@ -54,7 +54,7 @@ jobs:
gulp package-solution --ship

- name: Upload Build Package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
${{ env.packagePath }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/veracode_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand Down
4 changes: 3 additions & 1 deletion jekyll_files/Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
source "https://rubygems.org"
gemspec

# gem "jekyll-github-metadata", ">= 2.15"
gem "jekyll", "~> 4.2"

gem "jekyll-include-cache", group: :jekyll_plugins

gem "html-proofer", "~> 5.0", :group => :development

gem 'wdm', '>= 0.1.0' if Gem.win_platform?
93 changes: 47 additions & 46 deletions jekyll_files/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,38 @@ PATH
GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
Ascii85 (2.0.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2)
async (2.6.4)
console (~> 1.10)
async (2.21.1)
console (~> 1.29)
fiber-annotation
io-event (~> 1.1)
timers (~> 4.1)
io-event (~> 1.6, >= 1.6.5)
bigdecimal (3.1.8)
colorator (1.1.0)
concurrent-ruby (1.2.2)
console (1.23.2)
concurrent-ruby (1.3.4)
console (1.29.2)
fiber-annotation
fiber-local
fiber-local (~> 1.1)
json
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
ffi (1.15.5)
ffi (1.17.0-x64-mingw-ucrt)
fiber-annotation (0.2.0)
fiber-local (1.0.0)
fiber-local (1.1.0)
fiber-storage
fiber-storage (1.0.0)
forwardable-extended (2.6.0)
google-protobuf (3.24.3-x64-mingw-ucrt)
google-protobuf (3.24.3-x86_64-linux)
google-protobuf (4.29.1-x64-mingw-ucrt)
bigdecimal
rake (>= 13)
hashery (2.1.2)
html-proofer (5.0.8)
html-proofer (5.0.9)
addressable (~> 2.3)
async (~> 2.1)
nokogiri (~> 1.13)
Expand All @@ -47,10 +51,10 @@ GEM
yell (~> 2.0)
zeitwerk (~> 2.5)
http_parser.rb (0.8.0)
i18n (1.14.1)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-event (1.3.2)
jekyll (4.3.2)
io-event (1.7.4)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -74,64 +78,61 @@ GEM
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
json (2.9.0)
kramdown (2.5.1)
rexml (>= 3.3.9)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
nokogiri (1.16.5-x64-mingw-ucrt)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-linux)
nokogiri (1.17.1-x64-mingw-ucrt)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
pdf-reader (2.11.0)
Ascii85 (~> 1.0)
pdf-reader (2.13.0)
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
afm (~> 0.2.1)
hashery (~> 2.0)
ruby-rc4
ttfunk
public_suffix (5.0.3)
racc (1.8.0)
public_suffix (6.0.1)
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.2)
strscan
rouge (4.1.3)
rexml (3.3.9)
rouge (4.5.1)
ruby-rc4 (0.1.5)
safe_yaml (1.0.5)
sass-embedded (1.66.1-x64-mingw-ucrt)
google-protobuf (~> 3.23)
sass-embedded (1.66.1-x86_64-linux-gnu)
google-protobuf (~> 3.23)
strscan (3.1.0)
sass-embedded (1.82.0-x64-mingw-ucrt)
google-protobuf (~> 4.28)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
timers (4.3.5)
ttfunk (1.7.0)
typhoeus (1.4.0)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.4.2)
webrick (1.8.1)
unicode-display_width (2.6.0)
wdm (0.2.0)
webrick (1.9.1)
yell (2.2.2)
zeitwerk (2.6.11)
zeitwerk (2.7.1)

PLATFORMS
x64-mingw-ucrt
x86_64-linux

DEPENDENCIES
LaserficheDocs!
bundler (>= 2.3.5)
html-proofer (~> 5.0)
jekyll (~> 4.2)
jekyll-include-cache
wdm (>= 0.1.0)

BUNDLED WITH
2.3.26
2.5.14
Loading
Loading