並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 12 件 / 12件

新着順 人気順

fs-extra githubの検索結果1 - 12 件 / 12件

  • Rustのビルドを高速化する方法 | POSTD

    Rustコードのコンパイルが遅いことは誰でも知っています。しかし筆者は、世の中のほとんどのRustコードはコンパイルをもっと速くできると強く感じています。 例えば、つい最近の記事にこのように書かれていました。 一方、Rustでは、プロジェクトやCIサーバーの性能にもよりますが、 CIパイプラインの実行に15~45分かかります。 これは筆者には理解できません。GitHub Actions上にあるrust-analyzerのCIの所要時間は8分です。しかも、これは100万行の依存関係に加え、20万行の独自コードが記述されたとても大規模で複雑なプロジェクトでの話です。 確かに、Rustは根本的な部分で非常にコンパイルが遅いのは間違いありません。Rustはジェネリクスのジレンマにおいて「遅いコンパイラ」を選び、全体的な設計思想としてコンパイル時間よりもランタイムを優先しています(この点に関する優れ

      Rustのビルドを高速化する方法 | POSTD
    • GitHub Actions で Storybook をお手軽に共有するやつ作ってみた - BASEプロダクトチームブログ

      この記事はBASE Advent Calendar 2019の8日目の記事です。 devblog.thebase.in エンジニアの右京です! みなさん!Storybook は使っていますか?BASE ではUIコンポーネントの社内展開はもちろん、日々の業務の中でもサンプルの実装を共有したりするために Storybook が使われています。BASEではこれを「特定のリポジトリにコードをコミットすると、自動的に社内向けサーバーへデプロイされる仕組み (ようするに社内 GitHub Pages ですね)」を利用して社内共有しているのですが、毎度のセットアップが大変なので Gtihub Actions を使ってお手軽に設定できるようにしてみたよ、という内容です。 github.co.jp TL;DR 社内用向けドキュメントサーバーへのデプロイを他のリポジトリから使いやすいように Action 化し

        GitHub Actions で Storybook をお手軽に共有するやつ作ってみた - BASEプロダクトチームブログ
      • Fast Rust Builds

        Fast Rust Builds Sep 4, 2021 It’s common knowledge that Rust code is slow to compile. But I have a strong gut feeling that most Rust code out there compiles much slower than it could. As an example, one fairly recent post says: With Rust, on the other hand, it takes between 15 and 45 minutes to run a CI pipeline, depending on your project and the power of your CI servers. This doesn’t make sense t

        • JavaScript ライジングスター 2021 - Qiita

          2022 / 2021 / 2020 / 2019 JavaScriptライブラリのトレンドを紹介しているbestofjs.orgが、2021年に最もホットであったJavaScriptライブラリのランキングを発表しました。 選考基準は累計スター数ではなく、『2021年の一年間で増えたスターの数』です。 過去流行っていたけど落ち目となった技術は出てこないので、最近注目されている技術がわかります。 ちなみに2016年の総合ランキング1位はVue.js、2017年の総合ランキング1位はVue.js、2018年の総合ランキング1位はVue.js、2019年の総合ランキング1位はVue.js、2020年の総合ランキングはDenoです。 以下は2021年のランキング、2021 JavaScript Rising Starsの日本語訳です。 JavaScript ライジングスター 2021 6回目のJa

            JavaScript ライジングスター 2021 - Qiita
          • Spring Boot/Reactで実装したWebアプリをCDKでECSにデプロイする | DevelopersIO

            こんにちは、CX事業本部のうらわです。 今回はバックエンドはSpring Boot、フロントエンドはReact(SPA)のWebアプリケーションをAWS CDK(以下、CDK)でAmazon ECSデプロイしてみました。フロントエンドはS3/Cloud Frontで配信するのではなく、Spring Bootの一部としてデプロイします。 本記事ではSpring BootやReactで実装するアプリ自体のコードの説明は重要な点のみです。全てのコード例は以下のGitHubを参照ください。 urawa72/spring-boot-react-app 作業環境 $ sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H15 $ java --version openjdk 11.0.11 2021-04-20 O

              Spring Boot/Reactで実装したWebアプリをCDKでECSにデプロイする | DevelopersIO
            • AWS CDK を使って node_modules を AWS Lambda Layers にデプロイするサンプル | DevelopersIO

              Lambda Layers へデプロイする流れ Lambda Layers へ node_modules をデプロイするにあたり、ベースとなるプロジェクトをcloneしておきます。これは私が自分の手元で AWS CDK のワークショップ を実施してプッシュした状態のリポジトリです。 git clone git@github.com:cm-wada-yusuke/eval-cdk.git -b v0.1.0 ワークショップによって構築されるアプリケーションは、 AWS CDK Stacks: エンドポイントにアクセスすると DynamoDB のカウントを増やすアプリケーション AWS CDK Stacks: DynamoDB のテーブルビューア( cdk-dynamo-table-viewer ) Lambda Function のソースコード というコンポーネントで構成されています。これら

                AWS CDK を使って node_modules を AWS Lambda Layers にデプロイするサンプル | DevelopersIO
              • Deno 1.41: smaller deno compile binaries

                Deno’s goal is to simplify programming in as many environments as possible. In this 1.41 release, we’re excited to announce improvements that broaden how and where Deno can be used: we’ve roughly halved the size of deno compile binaries, as well as added an official Linux ARM 64 build. Additionally, we’ve continued to improve Node.js compatibility, the LSP to include better auto-completion, and De

                  Deno 1.41: smaller deno compile binaries
                • Release 2.0.0 (2020-09-10) · serverless/serverless

                  ⚠ BREAKING CHANGES Node.js version 10 or later is required (dropped support for v6 and v8) CLI: Locally installed (in service node_modules) CLI will be run instead of global one, when globally installed serverless CLI is invoked in a context of a service, which has locally installed serverless. slss alias for serverless CLI command was removed. Rely on sls or serverless instead bin/serverless was

                    Release 2.0.0 (2020-09-10) · serverless/serverless
                  • Node.jsライブラリsharpを使って画像の圧縮とwebp生成を自動化する

                    画像の圧縮とWebP画像の生成を自動化させるモジュールjsを作成しました。 当初はimageminを使用していましたが、クオリティの設定や元ファイルの状態によっては圧縮されないファイルがあり(※)、sharpを使用することにしました。 ※これ以上圧縮できない場合に生成されない(・?) オリジナル画像があるフォルダ(src\/imagesとする)と圧縮した画像・WebP生成した画像を入れるフォルダ(\/public\/imagesとする)を用意する。 タスク📁\src\imagesのjpg/pngを📁\public\imagesへ圧縮して格納する📁public/imagesに圧縮されたjpg/pngが格納されたらWebP画像を生成するgif/svgは変換せず📁public/imagesへ複製📁src/images内のフォルダ・画像を削除したら📁public/images内も削除す

                      Node.jsライブラリsharpを使って画像の圧縮とwebp生成を自動化する
                    • How to Write Shell Scripts in Node with Google's zx Library — SitePoint

                      In this article, we’ll learn what Google’s zx library provides, and how we can use it to write shell scripts with Node.js. We’ll then learn how to use the features of zx by building a command-line tool that helps us bootstrap configuration for new Node.js projects. Writing Shell Scripts: the Problem Creating a shell script — a script that’s executed by a shell such as Bash or zsh — can be a great

                        How to Write Shell Scripts in Node with Google's zx Library — SitePoint
                      • Angular サーバーサイドレンダリング を Firebase Cloud Functions で動かす

                        Angular サーバーサイドレンダリング を Firebase Cloud Functions で動かす 2019.06.21 Angular Angular, Firebase, サーバーサイドレンダリング, サーバーレス Angular でサーバーサイドレンダリング Angular でサーバーサイドレンダリングを行う方法をまとめます。 基本 この記事 を参考にしていますが、うまくいかない個所もあったので、備忘録がてらやり方をまとめておきます。やり方も少しだけかえています。 Firebase を使ってサービスを構築する予定だったので、サーバーサイドには Firebase Cloud Functions を利用します。元記事には GCP のサービスを使う方法もあります。 Firebase の無料枠で試せます。 Firebase のアカウントの用意、NodeJS & Angular のイン

                          Angular サーバーサイドレンダリング を Firebase Cloud Functions で動かす
                        • zx を使って JavaScript でスクリプトを書いてみる - Webdelog

                          シェルで複雑な処理を書きたい場合はスクリプトファイルを作成することになります。 私の場合、JavaScript で書きたくなります。Node.js にはChild process というモジュールが存在しています。 これを経由することで子プロセスを作成して OS のコマンドを Node.js から実行することができます。 const { spawn } = require('child_process'); const ls = spawn('ls', ['-lh', '/usr']); ls.stdout.on('data', (data) => { console.log(`stdout: ${data}`); }); しかし非同期処理が callback 方式だったり、Promise.then や async await を使って処理をシンプルに書くためには promisify を通

                            zx を使って JavaScript でスクリプトを書いてみる - Webdelog
                          1