File tree 12 files changed +22
-21
lines changed
12 files changed +22
-21
lines changed Original file line number Diff line number Diff line change 1
- # denali-typescript
1
+ # @ denali-js/ typescript
2
2
3
- [ ![ CircleCI] ( https://img.shields.io/circleci/project/github/denali-js/denali- typescript.svg?style=flat-square )] ( https://circleci.com/gh/denali-js/denali- typescript )
4
- [ ![ Dependencies] ( https://img.shields.io/david/denali-js/denali- typescript.svg?style=flat-square )] ( https://david-dm.org/denali-js/denali- typescript )
5
- [ ![ npm downloads] ( https://img.shields.io/npm/dm/denali-typescript.svg?style=flat-square )] ( https://www.npmjs.com/package/denali-typescript )
6
- ![ latest version] ( https://img.shields.io/npm/v/denali-typescript.svg?style=flat-square )
3
+ [ ![ CircleCI] ( https://img.shields.io/circleci/project/github/@ denali-js/typescript.svg?style=flat-square )] ( https://circleci.com/gh/@ denali-js/typescript )
4
+ [ ![ Dependencies] ( https://img.shields.io/david/@ denali-js/typescript.svg?style=flat-square )] ( https://david-dm.org/@ denali-js/typescript )
5
+ [ ![ npm downloads] ( https://img.shields.io/npm/dm/@ denali-js/ typescript.svg?style=flat-square )] ( https://www.npmjs.com/package/@ denali-js/ typescript )
6
+ ![ latest version] ( https://img.shields.io/npm/v/@ denali-js/ typescript.svg?style=flat-square )
7
7
8
- Build your Denali app using Typescript! Just ` $ denali install denali-typescript `
8
+ Build your Denali app using Typescript! Just ` $ denali install @ denali-js/ typescript `
9
9
and you're good to go!
10
10
11
11
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import { unlinkSync , renameSync } from 'fs' ;
2
2
import * as glob from 'glob' ;
3
- import { Blueprint , ui } from 'denali-cli' ;
3
+ import { Blueprint , ui } from '@ denali-js/ cli' ;
4
4
import * as createDebug from 'debug' ;
5
5
6
- const debug = createDebug ( 'denali-typescript' ) ;
6
+ const debug = createDebug ( '@ denali-js/ typescript' ) ;
7
7
8
8
export default class DenaliTypescriptBlueprint extends Blueprint {
9
- static blueprintName = 'denali-typescript ' ;
9
+ static blueprintName = 'default ' ;
10
10
static description = 'Installs denali-typescript' ;
11
11
12
12
async postInstall ( ) {
Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' ) ;
2
2
const chalk = require ( 'chalk' ) ;
3
- const { AddonBuilder, ui } = require ( `denali-cli` ) ;
3
+ const { AddonBuilder, ui } = require ( `@ denali-js/ cli` ) ;
4
4
const Funnel = require ( 'broccoli-funnel' ) ;
5
5
const MergeTree = require ( 'broccoli-merge-trees' ) ;
6
6
const { typescript : Typescript } = require ( 'broccoli-typescript-compiler' ) ;
Original file line number Diff line number Diff line change 1
- import { MixinApplicator , MixinFactory } from 'denali' ;
1
+ import { MixinApplicator , MixinFactory } from '@ denali-js/core ' ;
2
2
3
3
export interface Mixable < T > {
4
4
add < U extends T > ( Mixin : MixinApplicator < T , U > ) : U & Mixable < U > ;
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " denali-typescript" ,
3
- "version" : " 0.0.11 " ,
2
+ "name" : " @ denali-js/ typescript" ,
3
+ "version" : " 0.1.0 " ,
4
4
"scripts" : {
5
5
"build" : " denali build" ,
6
6
"prepublishOnly" : " npm run build" ,
18
18
"main" : " dist/lib/index.js" ,
19
19
"typings" : " dist/lib/index.d.ts" ,
20
20
"license" : " MIT" ,
21
+ "repository" : " denali-js/typescript" ,
21
22
"dependencies" : {
22
23
"@types/debug" : " ^0.0.30" ,
23
24
"@types/glob" : " ^5.0.32" ,
24
25
"bluebird" : " ^3.4.6" ,
25
26
"broccoli-typescript-compiler" : " 2.2.0" ,
26
27
"chalk" : " ^2.1.0" ,
27
28
"debug" : " ^3.0.1" ,
28
- "denali" : " 0.0.44 " ,
29
- "denali-cli" : " 0.0.24 " ,
29
+ "@ denali-js/core " : " ^0.1.0 " ,
30
+ "@ denali-js/ cli" : " ^0.1.0 " ,
30
31
"glob" : " ^7.1.2" ,
31
32
"lodash" : " ^4.16.4" ,
32
33
"resolve" : " ^1.4.0" ,
Original file line number Diff line number Diff line change 1
1
import test from 'ava' ;
2
2
import * as fs from 'fs' ;
3
3
import * as path from 'path' ;
4
- import { CommandAcceptanceTest } from 'denali-cli' ;
4
+ import { CommandAcceptanceTest } from '@ denali-js/ cli' ;
5
5
6
6
test ( 'transpiles source with typescript' , async ( t ) => {
7
7
let build = new CommandAcceptanceTest ( 'build' , { name : 'build-command' } ) ;
Original file line number Diff line number Diff line change 1
- import { Action } from 'denali' ;
1
+ import { Action } from '@ denali-js/core ' ;
2
2
3
3
export default abstract class ApplicationAction extends Action {
4
4
}
Original file line number Diff line number Diff line change 1
- import { Application } from 'denali' ;
1
+ import { Application } from '@ denali-js/core ' ;
2
2
3
3
export default class DummyApplication extends Application {
4
4
}
Original file line number Diff line number Diff line change 1
- import { Router } from 'denali' ;
1
+ import { Router } from '@ denali-js/core ' ;
2
2
3
3
export default function drawRoutes ( router : Router ) {
4
4
Original file line number Diff line number Diff line change 2
2
"name" : " dummy" ,
3
3
"version" : " 0.0.0" ,
4
4
"dependencies" : {
5
- "denali" : " *" ,
6
- "denali-typescript" : " *"
5
+ "@ denali-js/core " : " *" ,
6
+ "@ denali-js/ typescript" : " *"
7
7
}
8
8
}
You can’t perform that action at this time.
0 commit comments