Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Commit 82a6110

Browse files
committed
Release 4.0.0
1 parent 6d77e05 commit 82a6110

File tree

10 files changed

+35
-153
lines changed

10 files changed

+35
-153
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ The Universal Permissive License (UPL), Version 1.0*
88
We plan to provide this functionality in the future. At that time, you will need to follow [The Oracle Contributor Agreement](https://www.oracle.com/technetwork/community/oca-486395.html)
99
(OCA).
1010

11-
If you have ideas, comments, or issues related to generator, swing on by the [Oracle JET discussion forum.](https://community.oracle.com/community/development_tools/oracle-jet/generators)
11+
If you have ideas, comments, or issues to discuss, swing on by the [Oracle JET discussion forum.](https://community.oracle.com/community/development_tools/oracle-jet/generators)
1212

Gruntfile.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.md

Lines changed: 18 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,18 @@
1-
# grunt-oraclejet 3.2.0
2-
3-
## About the module
4-
This module contains build and serve tasks for Oracle JET web and hybrid mobile applications.
5-
6-
This is an open source project maintained by Oracle Corp.
7-
8-
## Installation
9-
The grunt-oraclejet module will be automatically installed if you scaffold a web or hybrid mobile app following the [Oracle JET Developers Guide](http://docs.oracle.com/middleware/jet320/jet/).
10-
11-
### Manual installation
12-
This plugin requires Grunt `~1.0.1`
13-
14-
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
15-
16-
```shell
17-
npm install grunt-oraclejet --save-dev
18-
```
19-
20-
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
21-
22-
```js
23-
grunt.loadNpmTasks('grunt-oraclejet');
24-
```
25-
26-
## Usage
27-
28-
### Overview
29-
In your project's Gruntfile, add a section named `oraclejet` to the data object passed into `grunt.initConfig()`.
30-
31-
```js
32-
grunt.initConfig({
33-
oraclejet: {
34-
options: {
35-
// Task-specific options go here.
36-
},
37-
your_target: {
38-
// Target-specific file lists and/or options go here.
39-
},
40-
},
41-
});
42-
```
43-
44-
### Options
45-
46-
#### options.separator
47-
Type: `String`
48-
Default value: `', '`
49-
50-
A string value that is used to do something with whatever.
51-
52-
#### options.punctuation
53-
Type: `String`
54-
Default value: `'.'`
55-
56-
A string value that is used to do something else with whatever else.
57-
58-
### Usage Examples
59-
60-
#### Default Options
61-
In this example, the default options are used to do something with whatever. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result would be `Testing, 1 2 3.`
62-
63-
```js
64-
grunt.initConfig({
65-
oraclejet: {
66-
options: {},
67-
files: {
68-
'dest/default_options': ['src/testing', 'src/123'],
69-
},
70-
},
71-
});
72-
```
73-
74-
#### Custom Options
75-
In this example, custom options are used to do something else with whatever else. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result in this case would be `Testing: 1 2 3 !!!`
76-
77-
```js
78-
grunt.initConfig({
79-
oraclejet: {
80-
options: {
81-
separator: ': ',
82-
punctuation: ' !!!',
83-
},
84-
files: {
85-
'dest/default_options': ['src/testing', 'src/123'],
86-
},
87-
},
88-
});
89-
```
90-
91-
## [Contributing](https://github.com/oracle/grunt-oraclejet/tree/master/CONTRIBUTING.md)
92-
Oracle JET is an open source project. Pull Requests are currently not being accepted. See
93-
[CONTRIBUTING](https://github.com/oracle/grunt-oraclejet/tree/master/CONTRIBUTING.md)
94-
for details.
95-
96-
## [License](https://github.com/oracle/grunt-oraclejet/tree/master/LICENSE.md)
97-
Copyright (c) 2014, 2017 Oracle and/or its affiliates
98-
The Universal Permissive License (UPL), Version 1.0
1+
# @oracle/grunt-oraclejet 4.0.0
2+
3+
## About the module
4+
This module contains build and serve tasks for Oracle JET web and hybrid mobile applications.
5+
6+
This is an open source project maintained by Oracle Corp.
7+
8+
## Installation
9+
This module will be automatically installed when you scaffold a web or hybrid mobile app following the [Oracle JET Developers Guide](http://docs.oracle.com/middleware/jet500/jet/).
10+
11+
## [Contributing](https://github.com/oracle/grunt-oraclejet/tree/master/CONTRIBUTING.md)
12+
Oracle JET is an open source project. Pull Requests are currently not being accepted. See
13+
[CONTRIBUTING](https://github.com/oracle/grunt-oraclejet/tree/master/CONTRIBUTING.md)
14+
for details.
15+
16+
## [License](https://github.com/oracle/grunt-oraclejet/tree/master/LICENSE.md)
17+
Copyright (c) 2014, 2017 Oracle and/or its affiliates
18+
The Universal Permissive License (UPL), Version 1.0

RELEASENOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Release Notes for grunt-oraclejet ##
22

3+
### 4.0.0
4+
* Moved module into @oracle scope, changing the name to @oracle/grunt-oraclejet
5+
36
### 3.2.0
47
* No changes
58

package.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "grunt-oraclejet",
2+
"name": "@oracle/grunt-oraclejet",
33
"description": "Build and serve tasks for Oracle JET web and mobile applications",
4-
"version": "3.2.0",
4+
"version": "4.0.0",
55
"license": "UPL-1.0",
66
"homepage": "http://oraclejet.org",
77
"main": "tasks/build.js",
@@ -19,19 +19,13 @@
1919
},
2020
"dependencies":
2121
{
22-
"oraclejet-tooling": "~3.2.0"
22+
"@oracle/oraclejet-tooling": "~4.0.0"
2323
},
2424
"devDependencies": {
25-
"eslint": "^3.11.0",
26-
"grunt-eslint": "^19.0.0",
27-
"grunt": "^1.0.1",
28-
"grunt-contrib-clean": "^1.0.0",
29-
"grunt-contrib-copy": "^1.0.0",
30-
"load-grunt-configs": "^1.0.0",
31-
"load-grunt-tasks": "^3.5.2"
25+
"eslint": "~3.19.0"
3226
},
3327
"keywords": [
3428
"gruntplugin"
3529
],
36-
"jetdocversion": "320"
30+
"jetdocversion": "500"
3731
}

tasks/configs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
33
The Universal Permissive License (UPL), Version 1.0
44
*/
55
'use strict';

tasks/help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
33
The Universal Permissive License (UPL), Version 1.0
44
*/
55
'use strict';

tasks/oraclejet-build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
33
The Universal Permissive License (UPL), Version 1.0
44
*/
55
'use strict';
66

77
/*
88
* grunt-oraclejet
99
*/
10-
const ojet = require('oraclejet-tooling');
10+
const ojet = require('@oracle/oraclejet-tooling');
1111
const utils = require('./utils');
1212

1313
module.exports = function (grunt) {

tasks/oraclejet-serve.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
33
The Universal Permissive License (UPL), Version 1.0
44
*/
55
'use strict';
@@ -8,7 +8,7 @@
88
* # Dependencies
99
*/
1010

11-
const ojet = require('oraclejet-tooling');
11+
const ojet = require('@oracle/oraclejet-tooling');
1212
const utils = require('./utils');
1313

1414
/**

tasks/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
2+
Copyright (c) 2015, 2017, Oracle and/or its affiliates.
33
The Universal Permissive License (UPL), Version 1.0
44
*/
55
'use strict';
@@ -12,7 +12,7 @@ const SUPPORTED_PLATFORMS = ['web', 'ios', 'android', 'windows'];
1212
const configs = require('./configs');
1313
const path = require('path');
1414
const fs = require('fs');
15-
const ojetConfig = require('oraclejet-tooling').config;
15+
const ojetConfig = require('@oracle/oraclejet-tooling').config;
1616

1717
let grunt = {};
1818
const utils = {};

0 commit comments

Comments
 (0)