feat: Convert package scripts to work with JS
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import appConfig from '../../config/app';
|
||||
import appConfig from '../../config/app.js';
|
||||
|
||||
export async function up(knex) {
|
||||
if (!appConfig.isCloud) return;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import capitalize from 'lodash/capitalize';
|
||||
import lowerCase from 'lodash/lowerCase';
|
||||
import capitalize from 'lodash/capitalize.js';
|
||||
import lowerCase from 'lodash/lowerCase.js';
|
||||
|
||||
export async function up(knex) {
|
||||
await knex.schema.createTable('roles', (table) => {
|
||||
|
Reference in New Issue
Block a user