Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Fix license
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrea committed Nov 8, 2019
1 parent 97b0445 commit cfc8ccb
Show file tree
Hide file tree
Showing 26 changed files with 231 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGES

## [1.1.1] - 2019-11-8
### Fixed
- Fix license. Read NOTICE file for further info

## [1.1.0] - 2019-11-7
### Changed
- Upgrade dependencies
Expand Down
12 changes: 0 additions & 12 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,3 @@

Copyright 2019 Javier Brea
Copyright 2019 XbyOrange

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
7 changes: 4 additions & 3 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
npm-file-link
Copyright 2019 Javier Brea

This project was forked, and ALL FILES WERE MODIFICATED, from:
XByOrange npm-file-link, distributed under The Apache Software License, Version 2.0. - Forked from xbyorange/npm-file-link github repository (https://github.com/XbyOrange/npm-file-link), branch v1.0.0, commit 7de958092ebb5b1f32fef4f7a30dcb9a9aabede0 (https://github.com/XbyOrange/npm-file-link/commit/7de958092ebb5b1f32fef4f7a30dcb9a9aabede0).

Portions of this software were developed at XbyOrange company.
XByOrange npm-file-link, distributed under The Apache Software License, Version 2.0.
Github repository (https://github.com/XbyOrange/npm-file-link), branch v1.0.0, commit 7de958092ebb5b1f32fef4f7a30dcb9a9aabede0. The original project files were wrongly licensed because an error of the main maintainer, Javier Brea, who received instructions from the XbyOrange company about licensing it as Apache2.0, but didn't include the appropiate license header in all repository files by error. The error has been fixed and XbyOrange license headers have been added to all original files, as it was the real intention of the XbyOrange company.
11 changes: 11 additions & 0 deletions bin/npm-file-link
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@
"use strict";

require("../src/command").runAndCatch();

/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-file-link",
"version": "1.1.0",
"version": "1.1.1",
"description": "CLI for linking npm repositories locally using \"file:\" method",
"keywords": [
"cli",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.organization=javierbrea
sonar.projectKey=npm-file-link
sonar.projectVersion=1.1.0
sonar.projectVersion=1.1.1

sonar.javascript.file.suffixes=.js
sonar.sourceEncoding=UTF-8
Expand Down
11 changes: 11 additions & 0 deletions src/check.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const path = require("path");
Expand Down
11 changes: 11 additions & 0 deletions src/command.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const chalk = require("chalk");
const program = require("commander");
const link = require("./link");
Expand Down
11 changes: 11 additions & 0 deletions src/inquire.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const inquirer = require("inquirer");
Expand Down
11 changes: 11 additions & 0 deletions src/link.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const chalk = require("chalk");
Expand Down
11 changes: 11 additions & 0 deletions src/npm.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const path = require("path");
Expand Down
11 changes: 11 additions & 0 deletions src/unlink.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const chalk = require("chalk");
Expand Down
11 changes: 11 additions & 0 deletions src/utils/helpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const FILE_DEPENDENCY = "file:../";
Expand Down
11 changes: 11 additions & 0 deletions src/utils/packages.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const path = require("path");
Expand Down
11 changes: 11 additions & 0 deletions src/utils/paths.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

"use strict";

const fs = require("fs");
Expand Down
11 changes: 11 additions & 0 deletions test/check.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const path = require("path");

const sinon = require("sinon");
Expand Down
11 changes: 11 additions & 0 deletions test/command.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const sinon = require("sinon");

const link = require("../src/link");
Expand Down
11 changes: 11 additions & 0 deletions test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const index = require("../index");

describe("index", () => {
Expand Down
11 changes: 11 additions & 0 deletions test/inquire.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const sinon = require("sinon");
const inquirer = require("inquirer");

Expand Down
11 changes: 11 additions & 0 deletions test/link.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const path = require("path");

const sinon = require("sinon");
Expand Down
11 changes: 11 additions & 0 deletions test/npm.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const path = require("path");

const sinon = require("sinon");
Expand Down
11 changes: 11 additions & 0 deletions test/unlink.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const path = require("path");

const sinon = require("sinon");
Expand Down
11 changes: 11 additions & 0 deletions test/utils/helpers.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const helpers = require("../../src/utils/helpers");

describe("helpers", () => {
Expand Down
11 changes: 11 additions & 0 deletions test/utils/packages.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const path = require("path");
const fsExtra = require("fs-extra");

Expand Down
11 changes: 11 additions & 0 deletions test/utils/paths.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
Copyright 2019 Javier Brea
Copyright 2019 XbyOrange
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

const path = require("path");

const sinon = require("sinon");
Expand Down

0 comments on commit cfc8ccb

Please sign in to comment.