How to use the @seagull/libraries.createFolderRecursive function in @seagull/libraries

To help you get started, we’ve selected a few @seagull/libraries examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github seagull-js / seagull / packages / build / src / services / prepare.ts View on Github external
private createPagesFolder() {
    const { appFolder } = this.config
    const location = path.join(appFolder, 'dist', 'assets', 'pages')
    createFolderRecursive(location, this.fs)
  }
  private copyStaticFolder() {
github seagull-js / seagull / packages / build / src / services / prepare.ts View on Github external
private createBackendFolder() {
    const { appFolder } = this.config
    const location = path.join(appFolder, 'dist', 'assets', 'backend')
    createFolderRecursive(location, this.fs)
  }
  private createPagesFolder() {
github seagull-js / seagull / packages / mock-cloudwatchlogs / src / mock_cloudwatchlogs_fs.ts View on Github external
private ensureLogGroup = (name: string) => {
    const dir = pathModule.join(this.localFolder, name)
    const dirExists = this.fsModule.existsSync(dir)
    return !dirExists && createFolderRecursive(dir, this.fsModule)
  }
github seagull-js / seagull / packages / mock-s3 / src / mock-fs.ts View on Github external
private ensureBucket = (name: string) => {
    const dir = pathModule.join(this.localFolder, name)
    const dirExists = this.fsModule.existsSync(dir)
    return !dirExists && createFolderRecursive(dir, this.fsModule)
  }